mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-24 18:24:31 +01:00
trying again...
This commit is contained in:
parent
ff950dd88b
commit
64e0bba74c
@ -29,10 +29,6 @@ df -h
|
|||||||
/etc/init.d/nmbd stop
|
/etc/init.d/nmbd stop
|
||||||
/etc/init.d/samba-ad-dc stop
|
/etc/init.d/samba-ad-dc stop
|
||||||
|
|
||||||
pkill -9 winbindd
|
|
||||||
pkill -9 smbd
|
|
||||||
pkill -9 nmbd
|
|
||||||
|
|
||||||
find /var/log/samba/ -type f -exec rm -f {} \;
|
find /var/log/samba/ -type f -exec rm -f {} \;
|
||||||
|
|
||||||
smbconffile=/etc/samba/smb.conf
|
smbconffile=/etc/samba/smb.conf
|
||||||
@ -68,9 +64,6 @@ cat ${smbconffile}
|
|||||||
|
|
||||||
mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
mv /var/lib/samba/private/krb5.conf /etc/krb5.conf
|
||||||
|
|
||||||
|
|
||||||
timeout 30 samba -i
|
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
/etc/init.d/samba-ad-dc start
|
/etc/init.d/samba-ad-dc start
|
||||||
@ -79,4 +72,4 @@ cat /var/log/samba/*
|
|||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
netstat -apn
|
netstat -apn | grep samba
|
||||||
|
Loading…
Reference in New Issue
Block a user