mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-21 17:04:21 +01:00
launching samba manually
This commit is contained in:
parent
876cc238f9
commit
a57aa1e83e
@ -47,12 +47,18 @@ mv "${targetdir}/etc/smb.conf" "${smbconffile}"
|
||||
|
||||
mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
||||
|
||||
sleep 5
|
||||
|
||||
sh -x /etc/init.d/samba start
|
||||
sh -x /etc/init.d/samba-ad-dc start
|
||||
sh -x /etc/init.d/smbd start
|
||||
sh -x /etc/init.d/nmbd start
|
||||
sleep 5
|
||||
if ! [ -z "$TRAVIS" ]
|
||||
then
|
||||
/usr/sbin/samba -D -s /etc/samba/smb.conf
|
||||
/usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground
|
||||
else
|
||||
sh -x /etc/init.d/samba start
|
||||
sh -x /etc/init.d/samba-ad-dc start
|
||||
sh -x /etc/init.d/smbd start
|
||||
sh -x /etc/init.d/nmbd start
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user