diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-26 05:22:10 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-26 05:22:10 +0000 |
commit | 345a670324ae5023cd755ba81a4d9a29031ccfc5 (patch) | |
tree | 77109c262e184814b959092d70f5686aa4dad58a /source3/passdb | |
parent | 950bae4a2232b7f5375cc3e1e062817e53ec9b34 (diff) | |
download | samba-345a670324ae5023cd755ba81a4d9a29031ccfc5.tar.gz samba-345a670324ae5023cd755ba81a4d9a29031ccfc5.tar.bz2 samba-345a670324ae5023cd755ba81a4d9a29031ccfc5.zip |
We don't use a modified 'user' in any case, so don't modifiy it.
(This used to be commit e0e05cb5a51e0e46162febd0a45ea4f59b6f6573)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 2ecbee274f..9cc5c5abaa 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -513,7 +513,7 @@ BOOL local_lookup_name(const char *c_domain, const char *c_user, DOM_SID *psid, (void)map_username(user); - if((pass = Get_Pwnam(user, True))) { + if((pass = Get_Pwnam(user, False))) { sid_append_rid( &local_sid, pdb_uid_to_user_rid(pass->pw_uid)); *psid_name_use = SID_NAME_USER; } else { |