From: Gerald Carter Date: Thu, 17 May 2007 19:56:54 +0000 (+0000) Subject: r22977: Trim noise by removing redundant WARNING log message that X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~417 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51aac0fcb4528df790aa3ae078f9ef639cc01363;p=thirdparty%2Fsamba.git 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. --- diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c index 0bf26448445..12b25413c2a 100644 --- a/source/passdb/lookup_sid.c +++ b/source/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); }