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:
parent
ce77c0e8bf
commit
2b603d3ecf
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user