From 0d072569ae3a996cb1ee4e0a75d8946ee2f4de86 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 16 Apr 2003 12:02:02 +0000 Subject: Adjust comment to respect change to no longer use unixsam by default... (This used to be commit 87f491d6a63e0818ada4ed21dd1f4905b20f846c) --- source3/passdb/passdb.c | 5 ++--- 1 file 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; -- cgit