NSCSUSE:~ #
INSCSUSE:~ # ldapsearch -x -b ‘’ -s base ‘(objectclass=*)’ naming contexts
extended LDIF
LDAPv3
base <> with scope baseObject
filter: (objectclass=*)
requesting: naming contexts
dn:
search result
search: 2
result: 0 Success
numResponses: 2
numEntries: 1
INSCSUSE:~ #
INSCSUSE:~ #
INSCSUSE:~ # ldapsearch -x -b ‘’ -s base ‘(objectclass=*)’ naming contexts
extended LDIF
LDAPv3
base <> with scope baseObject
filter: (objectclass=*)
requesting: naming contexts
is my syntax wrong?
This is what I changed in slapd.conf see below
BDB database definitions
#######################################################################
database bdb
suffix “dc=insc,dc=local”
checkpoint 1024 5
cachesize 10000
rootdn “cn=Manager,dc=insc,dc=local”
Cleartext passwords, especially for the rootdn, should
be avoid. See slappasswd(8) and slapd.conf(5) for details.
Use of strong authentication encouraged.
rootpw 2001Insc
The database directory MUST exist prior to running slapd AND
should only be accessible by the slapd and slap tools.
Mode 700 recommended.
directory /var/lib/ldap
Indices to maintain
index objectClass eq
“/etc/openldap/slapd.conf” 82L, 2535C
What am I doing wrong? This is the first time I am
configuring openldap help very much appreciated.
Bill :’(