summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-16 12:02:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-16 12:02:02 +0000
commit0d072569ae3a996cb1ee4e0a75d8946ee2f4de86 (patch)
treece1c07621f7058749c5cd9ffcd1f72bcb9560745
parent90ddf1a21a96e539fe7decf9a98b45dfe6228eb5 (diff)
downloadsamba-0d072569ae3a996cb1ee4e0a75d8946ee2f4de86.tar.gz
samba-0d072569ae3a996cb1ee4e0a75d8946ee2f4de86.tar.bz2
samba-0d072569ae3a996cb1ee4e0a75d8946ee2f4de86.zip
Adjust comment to respect change to no longer use unixsam by default...
(This used to be commit 87f491d6a63e0818ada4ed21dd1f4905b20f846c)
-rw-r--r--source3/passdb/passdb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 5e6466ff0a..b868d27065 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -646,9 +646,8 @@ BOOL local_lookup_sid(DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use
if (!NT_STATUS_IS_OK(pdb_init_sam(&sam_account))) {
return False;
}
-
- /* This now does the 'generic' mapping in pdb_unix */
- /* 'guest' is also handled there */
+
+ /* see if the passdb can help us with the name of the user */
if (pdb_getsampwsid(sam_account, sid)) {
fstrcpy(name, pdb_get_username(sam_account));
*psid_name_use = SID_NAME_USER;