$ ldapsearch -x -h 192.168.0.1 -b "dc=asfit,dc=net" $ $ cat /etc/ldap/ldap.conf # BASE dc=asfit,dc=net $ $ cat /etc/ldap/slapd.conf # This is the main slapd configuration file. See slapd.conf(5) for more # info on the configuration options. ####################################################################### # Global Directives: # Schema and objectClass definitions include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args # Where the dynamically loaded modules are stored modulepath /usr/lib/ldap moduleload back_hdb backend hdb ####################################################################### database hdb suffix "dc=asfit,dc=net" rootdn "cn=Manager,dc=asfit,dc=net" rootpw root directory /var/lib/ldap access to * by self write by * read $