diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-05-26 14:47:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-05-26 14:47:11 +1000 |
commit | a9542ba21b4d4ef088ac2cf31f9f4074dc211aa8 (patch) | |
tree | 1a37558709ed1d783847548e7b7aeaf7a0889b69 /source4/auth | |
parent | 02996093088a9244c44f46818ac093430d21a99c (diff) | |
download | samba-a9542ba21b4d4ef088ac2cf31f9f4074dc211aa8.tar.gz samba-a9542ba21b4d4ef088ac2cf31f9f4074dc211aa8.tar.xz samba-a9542ba21b4d4ef088ac2cf31f9f4074dc211aa8.zip |
use domain_dn not ncname
fixed up from previous patch that removed the use of crossref records
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/sam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/auth/sam.c b/source4/auth/sam.c index ebdf1932af4..c70c02cb3c8 100644 --- a/source4/auth/sam.c +++ b/source4/auth/sam.c @@ -269,7 +269,6 @@ _PUBLIC_ NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, struct ldb_conte struct dom_sid *account_sid; struct dom_sid *primary_group_sid; const char *str; - struct ldb_dn *ncname; int i; uint_t rid; TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); @@ -358,10 +357,10 @@ _PUBLIC_ NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, struct ldb_conte server_info->allow_password_change = samdb_result_allow_password_change(sam_ctx, mem_ctx, - ncname, msg, "pwdLastSet"); + domain_dn, msg, "pwdLastSet"); server_info->force_password_change = samdb_result_force_password_change(sam_ctx, mem_ctx, - ncname, msg); + domain_dn, msg); server_info->logon_count = samdb_result_uint(msg, "logonCount", 0); server_info->bad_password_count = samdb_result_uint(msg, "badPwdCount", 0); |