diff options
author | Gerald Carter <jerry@samba.org> | 2007-05-17 19:56:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:12 -0500 |
commit | 78c59b56b7fa56e47ba4339928ee61137413354a (patch) | |
tree | 2dee06e0c826eb871a10cb45c958e523fef7d20b /source3/passdb | |
parent | f42759dbfc97ecc56dfc3837d41634ed8fe07b0b (diff) | |
download | samba-78c59b56b7fa56e47ba4339928ee61137413354a.tar.gz samba-78c59b56b7fa56e47ba4339928ee61137413354a.tar.bz2 samba-78c59b56b7fa56e47ba4339928ee61137413354a.zip |
r22977: Trim noise by removing redundant WARNING log message that
would flood at log level 2. We know when we're using the legacy
mapping code anyways since it will log an informative msg.
(This used to be commit 51aac0fcb4528df790aa3ae078f9ef639cc01363)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/lookup_sid.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 0bf2644844..12b25413c2 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -1328,7 +1328,6 @@ 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")); legacy_uid_to_sid(psid, uid); return; } @@ -1358,7 +1357,6 @@ 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")); legacy_gid_to_sid(psid, gid); return; } @@ -1392,7 +1390,6 @@ BOOL sid_to_uid(const DOM_SID *psid, uid_t *puid) if (!winbind_sid_to_uid(puid, psid)) { if (!winbind_ping()) { - DEBUG(2, ("WARNING: Winbindd not running, mapping ids with legacy code\n")); return legacy_sid_to_uid(psid, puid); } @@ -1431,7 +1428,6 @@ BOOL sid_to_gid(const DOM_SID *psid, gid_t *pgid) if ( !winbind_sid_to_gid(pgid, psid) ) { if (!winbind_ping()) { - DEBUG(2, ("WARNING: Winbindd not running, mapping ids with legacy code\n")); return legacy_sid_to_gid(psid, pgid); } |