diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-16 21:11:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-16 21:11:16 +0000 |
commit | 42e1b7c29b693249e72c96a6a7539aa4056301f5 (patch) | |
tree | f1acc5108bd3a7d1a08065b3ae86fb43b6ca4609 /packaging/Mandrake/winbind.init | |
parent | bf4ab61d579e0c6b75056493fa792705b77f44fc (diff) | |
download | samba-42e1b7c29b693249e72c96a6a7539aa4056301f5.tar.gz samba-42e1b7c29b693249e72c96a6a7539aa4056301f5.tar.bz2 samba-42e1b7c29b693249e72c96a6a7539aa4056301f5.zip |
packaging updates from Buchan
(This used to be commit 38e565fe0181bb1892662fa11eee17798b386f5c)
Diffstat (limited to 'packaging/Mandrake/winbind.init')
-rw-r--r-- | packaging/Mandrake/winbind.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/Mandrake/winbind.init b/packaging/Mandrake/winbind.init index b7b452eb0b..e5bc9adcbf 100644 --- a/packaging/Mandrake/winbind.init +++ b/packaging/Mandrake/winbind.init @@ -28,7 +28,7 @@ RETVAL=0 start() { echo -n "Starting Winbind services: " RETVAL=1 - if [ "`grep -i 'winbind uid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then + if [ "`grep -i 'idmap uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i 'idmap gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then daemon winbindd RETVAL=$? else @@ -42,7 +42,7 @@ start() { stop() { echo -n "Shutting down Winbind services: " RETVAL=1 - if [ "`grep -i 'winbind uid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then + if [ "`grep -i 'winbind uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i 'idmap gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then killproc winbindd RETVAL=$? fi |