summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-31 05:34:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:11 -0500
commit7dae041b1ac03a57abf0a4efcb43db54137a4eb1 (patch)
treeb75bf83a88cf94951dbf96d9c068162f56de4fa1 /source4/torture/ldap
parentca2f6f69d96fc80c26b54ae82617abaa15efef45 (diff)
downloadsamba-7dae041b1ac03a57abf0a4efcb43db54137a4eb1.tar.gz
samba-7dae041b1ac03a57abf0a4efcb43db54137a4eb1.tar.bz2
samba-7dae041b1ac03a57abf0a4efcb43db54137a4eb1.zip
r12637: test CLDAP with both NULL and non-NULL user
(This used to be commit 2b603d3ecf2f3108942422bda864e41c8addbf60)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/cldap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/ldap/cldap.c b/source4/torture/ldap/cldap.c
index e6952174f6..02b50e8155 100644
--- a/source4/torture/ldap/cldap.c
+++ b/source4/torture/ldap/cldap.c
@@ -89,6 +89,12 @@ static BOOL test_cldap_netlogon(TALLOC_CTX *mem_ctx, const char *dest)
status = cldap_netlogon(cldap, mem_ctx, &search);
CHECK_STATUS(status, NT_STATUS_OK);
+ printf("Trying with User=NULL\n");
+
+ search.in.user = NULL;
+ status = cldap_netlogon(cldap, mem_ctx, &search);
+ CHECK_STATUS(status, NT_STATUS_OK);
+
printf("Trying with User=Administrator\n");
search.in.user = "Administrator";