mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
fix /etc/hosts for test env
This commit is contained in:
parent
c2288eecf5
commit
ce357dbdc7
@ -33,7 +33,7 @@ chown -R openldap:openldap /etc/ldap/
|
|||||||
rm /etc/ldap/slapd.d/cn\=config/*mdb*
|
rm /etc/ldap/slapd.d/cn\=config/*mdb*
|
||||||
/etc/init.d/slapd restart
|
/etc/init.d/slapd restart
|
||||||
ldapadd -c -H ldap://localhost:390 -x -D "cn=admin,dc=example,dc=org" -f /etc/ldap/content.ldif -w password
|
ldapadd -c -H ldap://localhost:390 -x -D "cn=admin,dc=example,dc=org" -f /etc/ldap/content.ldif -w password
|
||||||
sed -i "s/\(127.0.0.1.*\)/\1 ldap.ldapcherry.org ad.ldapcherry.org/" /etc/hosts
|
sed -i "s/\(127.0.0.1.*\)/\1 ldap.ldapcherry.org ad.ldapcherry.org ldap.dnscherry.org/" /etc/hosts
|
||||||
|
|
||||||
df -h
|
df -h
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user