blob: 9084312dc38b1e6d0a3dd73be5da8a3c273fada9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
modify << EOF
dn: nis-domain=example.com+nis-map=passwd.byname,cn=NIS Server,cn=plugins,cn=config
changetype: modify
add: nis-base
nis-base: cn=Users2, cn=Accounts, dc=example, dc=com
-
dn: nis-domain=example.com+nis-map=passwd.byuid,cn=NIS Server,cn=plugins,cn=config
changetype: modify
add: nis-base
nis-base: cn=Users2, cn=Accounts, dc=example, dc=com
-
EOF
|