mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-21 17:04:21 +01:00
try to enable samba ad in test env
This commit is contained in:
parent
d9973ddf36
commit
6ef44b9b2e
@ -27,7 +27,7 @@ df -h
|
||||
smbconffile=/etc/samba/smb.conf
|
||||
domain=dc
|
||||
realm=dc.ldapcherry.org
|
||||
sambadns=SAMBA_INTERNAL
|
||||
sambadns=NONE
|
||||
targetdir=/var/lib/samba/
|
||||
role=dc
|
||||
sambacmd=samba-tool
|
||||
@ -49,10 +49,12 @@ mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
||||
|
||||
sleep 5
|
||||
|
||||
sh -x /etc/init.d/samba stop
|
||||
sh -x /etc/init.d/samba-ad-dc restart
|
||||
#sh -x /etc/init.d/smbd restart
|
||||
#sh -x /etc/init.d/nmbd restart
|
||||
/etc/init.d/samba stop
|
||||
/etc/init.d/smbd stop
|
||||
/etc/init.d/nmbd stop
|
||||
/etc/init.d/samba-ad-dc restart
|
||||
|
||||
cat /var/log/samba/*
|
||||
|
||||
sleep 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user