shadowarch-ldap should auth root modify actions
This commit is contained in:
parent
1fd8e7dc7a
commit
9355f4f752
@ -11,6 +11,6 @@ if [ "$USER" == 'root' ]; then
|
||||
else
|
||||
alias ldapsearch="/usr/bin/ldapsearch -H 'ldap://127.0.0.1/' ${searchopts} -D 'uid=$USER,ou=People,dc=aninix,dc=net' -b dc=aninix,dc=net"
|
||||
fi
|
||||
alias ldapmodify="/usr/bin/ldapmodify -H 'ldap://127.0.0.1/' ${searchopts} -D "cn=root,dc=aninix,dc=net""
|
||||
alias ldappasswd="/usr/bin/ldappasswd -H 'ldap://127.0.0.1/' ${searchopts} -D "cn=root,dc=aninix,dc=net""
|
||||
alias ldapadd="/usr/bin/ldapadd -H 'ldap://127.0.0.1/' ${searchopts} -D "cn=root,dc=aninix,dc=net""
|
||||
alias ldapmodify="/usr/bin/ldapmodify -H 'ldap://127.0.0.1/' -W -D 'cn=root,dc=aninix,dc=net'"
|
||||
alias ldappasswd="/usr/bin/ldappasswd -H 'ldap://127.0.0.1/' -W -D 'cn=root,dc=aninix,dc=net'"
|
||||
alias ldapadd="/usr/bin/ldapadd -H 'ldap://127.0.0.1/' -W -D 'cn=root,dc=aninix,dc=net'"
|
||||
|
Loading…
Reference in New Issue
Block a user