[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
shema and ldapadd problem
hi i suppose that i made a mistake because i tryed to use PHP3 script to
manage my LDAP (in fact does any one can explain me easyly how ldap.conf
work?)
so after one day i try to use the command line ldapadd with LDIF file
...
i have this message
" ldapadd: no attributes to change or add (entry cn=dupont, o=essai,
c=FR) "
for this command
ldapadd -D "cn=Manager, o=essai, c=FR" -W -f person.txt
here is my file:
dn: cn=dupont, o=essai, c=FR
sn: toto
telephoneNumber: 0101010101
objectclass: person
and my config files:
ldap.conf:
BASE dc=serval, dc=essai, dc=net
HOST serval.essai.net serval localhost
PORT 389
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
sldap.conf:
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/slapd.at.conf
include /etc/openldap/slapd.oc.conf
schemacheck off
#referral ldap://127.0.0.1/
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=serval, dc=essai, dc=net"
suffix "o=kelkoo, c=FR"
rootdn "cn=Manager, dc=serval, dc=essai, dc=net"
rootdn "cn=Manager, o=essai, c=FR"
rootpw secret
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
directory /var/lib/ldap
pliz help me...
ps:where can i found outlook and netscape object shema?