23. 23
Configuración OpenLDAP
Definición del servidor
Esquemas
ACL (access control list)
access to <algo> [ by <quién> <niveldeacceso> ]+
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/local.schema
include /etc/openldap/schema/redhat/autofs.schema
access to dn=".*,dc=datanobo,dc=com" attr=userPassw
by dn="cn=root,dc=datanobo,dc=com" write
by self write
by * auth
25. 25
Configuración OpenLDAP
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/local.schema
include /etc/openldap/schema/redhat/autofs.schema
database ldbm
suffix "dc=ejemplo,dc=net"
rootdn "cn=root,dc=ejemplo,dc=net"
rootpw claveacceso
directory /var/lib/ldap
index objectClass,uid,uidNumber,gidNumber
index cn,mail,surname,givenname
access to dn=".*,dc=datanobo,dc=com" attr=userPassw
by dn="cn=root,dc=datanobo,dc=com" write
by self write
by * auth
access to dn=".*,dc=datanobo,dc=com" attr=mail
by dn="cn=root,dc=datanobo,dc=com" write
by self write
by * read
access to dn=".*,dc=datanobo,dc=com"
by self write
by * read