mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24: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
|
smbconffile=/etc/samba/smb.conf
|
||||||
domain=dc
|
domain=dc
|
||||||
realm=dc.ldapcherry.org
|
realm=dc.ldapcherry.org
|
||||||
sambadns=SAMBA_INTERNAL
|
sambadns=NONE
|
||||||
targetdir=/var/lib/samba/
|
targetdir=/var/lib/samba/
|
||||||
role=dc
|
role=dc
|
||||||
sambacmd=samba-tool
|
sambacmd=samba-tool
|
||||||
@ -49,10 +49,12 @@ mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
|||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
sh -x /etc/init.d/samba stop
|
/etc/init.d/samba stop
|
||||||
sh -x /etc/init.d/samba-ad-dc restart
|
/etc/init.d/smbd stop
|
||||||
#sh -x /etc/init.d/smbd restart
|
/etc/init.d/nmbd stop
|
||||||
#sh -x /etc/init.d/nmbd restart
|
/etc/init.d/samba-ad-dc restart
|
||||||
|
|
||||||
|
cat /var/log/samba/*
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user