[Samba] hide display DEBUG message

Rafal Michniewicz rafim at data.pl
Sat Dec 20 19:29:41 GMT 2003


Hello

I write Simple Samba Commander.
I don't want to display any debug message to stdout.
How can I hide display debug info, example
write_socket_data: write failure. Error = ...
or
got no contact to IPC$
 
I init libsmbclient
smbc_init(Rget_auth_data, 0)

and 
testparm -v | grep log
display
        log level = 0
        syslog = 1
        syslog only = No
        log file = /var/log/smbd.log
        max log size = 50
        timestamp logs = Yes
        logon script = 
        logon path = \\%N\%U\profile
        logon drive = 
        logon home = \\%N\%U
        domain logons = No

--
Z powazaniem
Rafal Michniewicz
tel. 501-252-210     Linux Counter #145337
jabber: rafim at jabber.2000-plus.pl




More information about the samba mailing list