diff options
author | Gerald Carter <jerry@samba.org> | 2003-12-05 17:21:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-12-05 17:21:00 +0000 |
commit | feb51ad34192714ef7f0e9be8cf22725b25848de (patch) | |
tree | 48739f6d9d5599a0ac3e9e8449d6eae37de4d2e1 /packaging/Mandrake/winbind.init | |
parent | eb535b8574290cfdc48771be3d00a1403d596cf6 (diff) | |
download | samba-feb51ad34192714ef7f0e9be8cf22725b25848de.tar.gz samba-feb51ad34192714ef7f0e9be8cf22725b25848de.tar.bz2 samba-feb51ad34192714ef7f0e9be8cf22725b25848de.zip |
packaging updates from Buchan
(This used to be commit 9a5b5be68e6ba2c3ab06eb4a8104b7d2d71f0c2a)
Diffstat (limited to 'packaging/Mandrake/winbind.init')
-rw-r--r-- | packaging/Mandrake/winbind.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/Mandrake/winbind.init b/packaging/Mandrake/winbind.init index e5bc9adcbf..06e5b375d0 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 'idmap uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i 'idmap gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then + if [ "`grep -i -E '(idmap|winbind) uid' /etc/samba/smb.conf | egrep -v [\#\;]`" -a "`grep -i -E '(idmap|winbind) gid' /etc/samba/smb.conf | egrep -v [\#\;]`" ]; then daemon winbindd RETVAL=$? else |