git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7a529
)
r11293: Use the right search when forming the data for the PAC.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 25 Oct 2005 13:38:00 +0000
(13:38 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:45:14 +0000
(13:45 -0500)
Andrew Bartlett
(This used to be commit
ecacef213b28adb84d3ffb5b76bf1b079e25426c
)
source4/auth/auth_sam.c
patch
|
blob
|
history
diff --git
a/source4/auth/auth_sam.c
b/source4/auth/auth_sam.c
index 72fed82ea9717c8f03b62f86f5ba4c8d82907712..eefd262ff44b24f5a498c64493d931332ed65c21 100644
(file)
--- a/
source4/auth/auth_sam.c
+++ b/
source4/auth/auth_sam.c
@@
-546,8
+546,8
@@
NTSTATUS sam_get_server_info_principal(TALLOC_CTX *mem_ctx, const char *principa
}
/* grab domain info */
- ret_domain = gendb_search
_dn(sam_ctx, tmp_ctx
,
-
domain_dn, &msgs_domain, domain_attrs
);
+ ret_domain = gendb_search
(sam_ctx, tmp_ctx, NULL, &msgs_domain, domain_attrs
,
+
"(ncName=%s)", ldb_dn_linearize(tmp_ctx, domain_dn)
);
if (ret_domain != 1) {
talloc_free(tmp_ctx);