From 7dae041b1ac03a57abf0a4efcb43db54137a4eb1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 31 Dec 2005 05:34:29 +0000 Subject: r12637: test CLDAP with both NULL and non-NULL user (This used to be commit 2b603d3ecf2f3108942422bda864e41c8addbf60) --- source4/torture/ldap/cldap.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/torture/ldap') 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"; -- cgit