1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r12637: test CLDAP with both NULL and non-NULL user

This commit is contained in:
Andrew Tridgell 2005-12-31 05:34:29 +00:00 committed by Gerald (Jerry) Carter
parent ce77c0e8bf
commit 2b603d3ecf

View File

@ -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";