The Samba-Bugzilla – Attachment 5766 Details for
Bug 7499
nss_wins overwrites syslog ident of some daemons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Current patch from mandriva packaging svn
samba-3.5.3-fix-nss-wins-syslog.patch (text/plain), 959 bytes, created by
Buchan Milne
on 2010-06-07 15:00:10 UTC
(
hide
)
Description:
Current patch from mandriva packaging svn
Filename:
MIME Type:
Creator:
Buchan Milne
Created:
2010-06-07 15:00:10 UTC
Size:
959 bytes
patch
obsolete
>diff -p -up samba-3.5.3/nsswitch/wins.c.wins_log samba-3.5.3/nsswitch/wins.c >--- samba-3.5.3/nsswitch/wins.c.wins_log 2010-05-17 11:51:23.000000000 +0000 >+++ samba-3.5.3/nsswitch/wins.c 2010-06-06 15:48:54.401949879 +0000 >@@ -96,7 +96,7 @@ static void nss_wins_init(void) > AllowDebugChange = False; > > TimeInit(); >- setup_logging("nss_wins",False); >+ setup_logging(NULL,False); > load_case_tables(); > lp_load(get_dyn_CONFIGFILE(),True,False,False,True); > load_interfaces(); >diff -p -up samba-3.5.3/source3/lib/debug.c.wins_log samba-3.5.3/source3/lib/debug.c >--- samba-3.5.3/source3/lib/debug.c.wins_log 2010-05-17 12:51:23.000000000 +0100 >+++ samba-3.5.3/source3/lib/debug.c 2010-06-07 20:20:56.000000000 +0100 >@@ -590,7 +590,7 @@ void setup_logging(const char *pname, bo > } > #ifdef WITH_SYSLOG > else { >- const char *p = strrchr_m( pname,'/' ); >+ const char *p = pname ? strrchr_m( pname,'/' ) : NULL; > if (p) > pname = p + 1; > #ifdef LOG_DAEMON
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7499
:
5766
|
5767