Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include /etc/openldap/schema/core.schema
- include /etc/openldap/schema/cosine.schema
- include /etc/openldap/schema/inetorgperson.schema
- include /etc/openldap/schema/collective.schema
- include /etc/openldap/schema/corba.schema
- include /etc/openldap/schema/duaconf.schema
- include /etc/openldap/schema/openldap.schema
- include /etc/openldap/schema/dyngroup.schema
- include /etc/openldap/schema/java.schema
- include /etc/openldap/schema/misc.schema
- include /etc/openldap/schema/nis.schema
- include /etc/openldap/schema/ppolicy.schema
- include /usr/share/doc/sudo-1.7.2p2/schema.OpenLDAP
- database bdb
- directory /var/lib/ldap
- suffix "dc=rgiapratama,dc=net"
- rootdn cn=root,dc=rgiapratama,dc=net
- rootpw {SSHA}LKuJ/b5ybvCnXvAK2FFqIeYS1/lOndfp
- pidfile /var/run/openldap/slapd.pid
- argsfile /var/run/openldap/slapd.args
- # All access directives until the next ^database keyword will end up in the
- # /etc/openldap/slapd.d/cn\=config/olcDatabase\=\{1\}bdb.ldif file.
- # Give access to the bdb backend to SASL EXTERNAL users with UID 0 and GID 0.
- access to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage
- # Give access to the userPassword attribute for authentication.
- access to attrs=userPassword by self write by * auth
- # Let everyone search this suffix but don't let them read it
- # This sounds strange, but it's required by OpenLDAP 2.4.
- access to dn.base=dc=company,dc=com by * search
- by * none
- # Configure the monitor backend.
- # All the lines below this point will end up in the
- # /etc/openldap/slapd.d/cn\=config/olcDatabase\=\{2\}monitor.ldif file.
- database monitor
- # Provide access to this backend for SASL EXTERNAL users with UID 0 and GID 0
- # and to the rootdn, but not to any other users.
- access to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement