1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

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)
This commit is contained in:
Gerald Carter 2007-05-17 19:56:54 +00:00 committed by Gerald (Jerry) Carter
parent f42759dbfc
commit 78c59b56b7

View File

@ -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);
}