diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-16 21:12:44 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-16 21:12:44 +0000 |
commit | 338889379d1b493059f4ff9dc1c0938c7d4e3639 (patch) | |
tree | ffc7e52f25f7fb2aa53bdae67b7a589595d52941 /packaging/Mandrake/winbind.init | |
parent | 9903a9d88ad70151b2f45552ece31c0ebd0fba81 (diff) | |
download | samba-338889379d1b493059f4ff9dc1c0938c7d4e3639.tar.gz samba-338889379d1b493059f4ff9dc1c0938c7d4e3639.tar.bz2 samba-338889379d1b493059f4ff9dc1c0938c7d4e3639.zip |
packaging updates from Buchan
(This used to be commit 8079494aef23105ce4d1ab8d7f943a838baaca01)
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 |