Hi all,

I try to setup a Samba/Openchange service.
In the Oopenchange documentation, they advise to launch samba in an interactive mode and a verbose level: I like that.
http://www.openchange.org/cookbook/configuring.html
    # samba -d3 -i -M single

The problem is I want to launch it via an init script (centos6)

    # ....
    SMBDOPTIONS=" -d3 -M single "
    # ....
    start() {
        echo -n $"Starting Samba services: "
        daemon samba $SMBDOPTIONS
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SAMBA_NAME || \
           RETVAL=1
        return $RETVAL
    }   
    # ...

I dont get the same verbose output in any log file in "/var/log/samba/"

How to get the same verbosity in a log file when launching samba from an init script?

BTW, I dont understand what is the difference between
/var/log/samba4/log.samba and /var/log/samba4/log.smbd

Thank you very much.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to