diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-12-16 11:15:03 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2006-12-16 11:15:03 +0000 |
commit | 231cef9f76bed764fc0f20596ea5bdeaa85bf598 (patch) | |
tree | 1173e3ad57c7b504b410f51350d460430da0e012 | |
parent | cddfe7d5d20baa7988b1000847dfc8bd41c11ffb (diff) | |
download | samba-231cef9f76bed764fc0f20596ea5bdeaa85bf598.tar.gz samba-231cef9f76bed764fc0f20596ea5bdeaa85bf598.tar.xz samba-231cef9f76bed764fc0f20596ea5bdeaa85bf598.zip |
r20212: Attempt to fix the Solaris build
-rw-r--r-- | source/passdb/lookup_sid.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c index 1fc96be70dd..c1dca6e4333 100644 --- a/source/passdb/lookup_sid.c +++ b/source/passdb/lookup_sid.c @@ -1306,7 +1306,8 @@ void uid_to_sid(DOM_SID *psid, uid_t uid) if (!winbind_uid_to_sid(psid, uid)) { if (!winbind_ping()) { DEBUG(2, ("WARNING: Winbindd not running, mapping ids with legacy code\n")); - return legacy_uid_to_sid(psid, uid); + legacy_uid_to_sid(psid, uid); + return; } DEBUG(5, ("uid_to_sid: winbind failed to find a sid for uid %u\n", @@ -1335,7 +1336,8 @@ void gid_to_sid(DOM_SID *psid, gid_t gid) if (!winbind_gid_to_sid(psid, gid)) { if (!winbind_ping()) { DEBUG(2, ("WARNING: Winbindd not running, mapping ids with legacy code\n")); - return legacy_gid_to_sid(psid, gid); + legacy_gid_to_sid(psid, gid); + return; } DEBUG(5, ("gid_to_sid: winbind failed to find a sid for gid %u\n", |