[Date Prev][Date Next] [Chronological] [Thread] [Top]

another newbie with debian box



Hi there,

I wondering coz I caouldn't find 'ldap.conf' file in
my debian box. Is this will have a big impact?

Anyhow, these are some of my confs files and some
executed command with its result trhown by my
terminal.

/etc/ldap/slapd.conf

include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include 	/etc/ldap/slapd.conf.access

schemacheck     on

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args
replogfile	/var/lib/ldap/replog
loglevel        0

database 	ldbm
suffix 	"dc=mylan,dc=net"
rootdn 	"cn=root,dc=mylan,dc=net"
rootpw 	secret
directory 	/var/lib/ldap
index 		objectClass,uid,uidNumber,gidNumber 	eq
index 		cn,mail,surname,givenname 			eq,subinitial


Some commands to review my configuration:

ldapadd -x -D "cn=root,dc=mylan,dc=net" -W -f
hosts.ldif
Enter LDAP password: secret
adding new entry
"cn=localhost,ou=Hosts,dc=mylan,dc=net"
	ldap_add :  no such object
	matched DN "dc=mylan,dc=net"
	additional info :  parent does not exist

ldif_record() = 32

------------------------------------------

ldapsearch -LL -H ldap://localhost -b"dc=mylan,dc=net"
-x "(cn=localhost)"
version: 1

------------------------------------------

> ldapsearch -LL -H ldap://localhost
-b"dc=mylan,dc=net" -x "(cn=*)"
version: 1

dn: cn=admin,dc=mylan,dc=net
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: admin
description: LDAP administrator

------------------------------------------

> ldapsearch -LL -H ldap://localhost
-b"dc=mylan,dc=net" -x "(ou=*)"
version: 1

dn: ou=People,dc=mylan,dc=net
objectClass: organizationalUnit
ou: People

dn: ou=Roaming,dc=mylan,dc=net
objectClass: organizationalUnit
ou: Roaming

-----------------------------------------

> ldapsearch -x -b 'dc=smooth,dc=bom'
'(objectclass=*)'
version: 2

#
# filter: (objectclass=*)
# requesting: ALL
#

# admin, mylan, net
dn: cn=admin,dc=mylan,dc=net
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: admin
description: LDAP administrator

# People, mylan, net
dn: ou=People,dc=mylan,dc=net
objectClass: organizationalUnit
ou: People

# Roaming, mylan, net
dn: ou=Roaming,dc=mylan,dc=net
objectClass: organizationalUnit
ou: Roaming

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3

--------------------------------------------

> ldapsearch -x -b '' -s base '(objectclass=*)'
namingContexts
version: 2

#
# filter: (objectclass=*)
# requesting: namingContexts 
#

# search result
search: 2
result: 0 Success

# numResponses: 1

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com