summaryrefslogtreecommitdiff
path: root/source4/cldap_server/cldap_server.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-27 23:39:57 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-28 00:19:30 +1000
commit91bb4893c486275602242b67c810f02adb7ce9ba (patch)
treef8b336a64dba9398315e1f8303e0ad67c043689b /source4/cldap_server/cldap_server.h
parent7f25723cf504b3cdc0db68ff4125539baa486975 (diff)
downloadsamba-91bb4893c486275602242b67c810f02adb7ce9ba.tar.gz
samba-91bb4893c486275602242b67c810f02adb7ce9ba.tar.bz2
samba-91bb4893c486275602242b67c810f02adb7ce9ba.zip
s4-netlogon: fixed getDcNameEx2 for blank inputs
w2k8r2 returns the local DC information on no inputs for getDcNameEx2. This is needed for starting dsa.msc (ADUC) on Win7. CDLAP on the same call returns an error. This uses a parameter fill_on_blank_request to distinguish the two cases.
Diffstat (limited to 'source4/cldap_server/cldap_server.h')
-rw-r--r--source4/cldap_server/cldap_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/cldap_server/cldap_server.h b/source4/cldap_server/cldap_server.h
index 2eaf59401f..e40a1bd4ba 100644
--- a/source4/cldap_server/cldap_server.h
+++ b/source4/cldap_server/cldap_server.h
@@ -43,6 +43,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
const char *src_address,
uint32_t version,
struct loadparm_context *lp_ctx,
- struct netlogon_samlogon_response *netlogon);
+ struct netlogon_samlogon_response *netlogon,
+ bool fill_on_blank_request);
#include "cldap_server/proto.h"