gcc484ntopperl-5.22
Last change
on this file since 0105685 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
385 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # LDAP Settings. |
---|
3 | LDAPPASSWD="`cat /etc/webint/LDAP_MASTER_PASSWD`" |
---|
4 | |
---|
5 | #ldap nog niet ok? |
---|
6 | if ! /usr/sbin/smbldap-usershow administrator; then |
---|
7 | sleep 5; |
---|
8 | exit 1; |
---|
9 | fi |
---|
10 | |
---|
11 | # Zet de ldap password voor samba. |
---|
12 | smbpasswd -w "$LDAPPASSWD" >/dev/null |
---|
13 | |
---|
14 | # Start de bijbehorende daemons opnieuw op, just in case :-) |
---|
15 | svcrestart /service/smbd |
---|
16 | svcrestart /service/winbindd |
---|
17 | |
---|
18 | exec nmbd -F |
---|
Note: See
TracBrowser
for help on using the repository browser.