s4: Fix a -Wunused-value warning
authorVolker Lendecke <vl@samba.org>
Wed, 26 Sep 2012 17:07:32 +0000 (10:07 -0700)
committerVolker Lendecke <vl@samba.org>
Wed, 26 Sep 2012 19:52:00 +0000 (21:52 +0200)
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 26 21:52:00 CEST 2012 on sn-devel-104

source4/cldap_server/netlogon.c

index ce257e9e1aea2a16e0048579fa864c254a1ace72..6d5efb5560c9c51d8bb498aea93ccb03c1c48e33 100644 (file)
@@ -241,7 +241,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
        }
 
        if (str_list_check(services, "ntp_signd")) {
-               server_type | DS_SERVER_TIMESERV | DS_SERVER_GOOD_TIMESERV;
+               server_type |= DS_SERVER_TIMESERV | DS_SERVER_GOOD_TIMESERV;
        }
 
        if (samdb_rodc(sam_ctx, &am_rodc) == LDB_SUCCESS && !am_rodc) {