summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-22 00:20:46 +0200
committerGünther Deschner <gd@samba.org>2008-08-22 00:21:31 +0200
commitefbb8c189dbb04526c250c218847fcb337ee729a (patch)
treecf2002b01372f4ac570f6bdb9ba2b74a40de0271 /source3
parentb67adb49ecbb7eff4446321962f3a00984e88d01 (diff)
downloadsamba-efbb8c189dbb04526c250c218847fcb337ee729a.tar.gz
samba-efbb8c189dbb04526c250c218847fcb337ee729a.tar.bz2
samba-efbb8c189dbb04526c250c218847fcb337ee729a.zip
rpc_server: make it a little more obvious what flags we send to a client.
Guenther (This used to be commit f3791e03ab09cadb1f54e32e67f4dfb3cf42e708)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 7ece482d75..4e211cfb81 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -521,7 +521,16 @@ NTSTATUS _netr_ServerAuthenticate2(pipes_struct *p,
return NT_STATUS_ACCESS_DENIED;
}
- srv_flgs = 0x000001ff;
+ /* 0x000001ff */
+ srv_flgs = NETLOGON_NEG_ACCOUNT_LOCKOUT |
+ NETLOGON_NEG_PERSISTENT_SAMREPL |
+ NETLOGON_NEG_ARCFOUR |
+ NETLOGON_NEG_PROMOTION_COUNT |
+ NETLOGON_NEG_CHANGELOG_BDC |
+ NETLOGON_NEG_FULL_SYNC_REPL |
+ NETLOGON_NEG_MULTIPLE_SIDS |
+ NETLOGON_NEG_REDO |
+ NETLOGON_NEG_PASSWORD_CHANGE_REFUSAL;
if (lp_server_schannel() != false) {
srv_flgs |= NETLOGON_NEG_SCHANNEL;