summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-20 10:55:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:37 -0500
commit8641d7d4067b0037b6ddb7216ada7d497bbf091c (patch)
tree3e847abe4f4b818852bcc7991990e1ad435f58e0 /source3/auth
parent5aa66fd0393318586edb5ee17e5cad2236aa5c8b (diff)
downloadsamba-8641d7d4067b0037b6ddb7216ada7d497bbf091c.tar.gz
r14578: fix incorrect comment in fill_sam_account(). This function is called from multiple places now (krb5, winbindd auth and domain_client_validate()
(This used to be commit ddad66ec58d09f89105ceb822b7bea534dafd9e6)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 776b2fb3d7c..2ece2a61507 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1379,10 +1379,7 @@ static NTSTATUS fill_sam_account(TALLOC_CTX *mem_ctx,
fstr_sprintf(dom_user, "%s%c%s", domain, *lp_winbind_separator(),
lower_username);
- /* get the passwd struct but don't create the user if he/she
- does not exist. We were explicitly called from a following
- a winbindd authentication request so we should assume that
- nss_winbindd is working */
+ /* Get the passwd struct. Try to create the account is necessary. */
map_username( dom_user );