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

invalid DN syntax from netscape client????



Greetings,
Im running openldap v1.2.1 on a bsd machine. ( or at least trying to :).
I want to use the address book in netscape comunicator to access my directory.

When i do an ldapsearch I get the record. When I do it from Netscape
address book i recive this error:
" failed to search "ldap-server" due to LDAP error  `invalid DN syntax' (0x22).

anyone know what I did wrong, or where my errors could be???
here are my files, located in  /usr/local/etc/openldap

{{{{{ slapd.conf }}}}}}


#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/ldap/servers/slapd/slapd.at.conf
include         /usr/local/ldap/servers/slapd/slapd.oc.conf
schemacheck     off
referral        ldap://ldap.itd.umich.edu

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "o=BASD, c=US"
directory       /usr/local/etc/openldap/data
rootdn          "cn=root, o=BASD, c=US"
rootpw          secret
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.


{{{{{ my.ldif }}}}}



dn: o=BASD, c=US
o: BASD
objectclass: organization

dn: cn=jeff donovan, o=BASD, c=US
cn: jeff
sn: donovan
mail: jdonovan@beth.k12.pa.us
objectclass: person


{{{{{ results of ldap search }}}}}


ns1# cd /usr/local/ldap/clients/tools
ns1# ./ldapsearch -w secret -b "o=basd, c=us" "objectclass=*"
o=BASD, c=US
o=BASD
objectclass=organization

cn=jeff donovan, o=BASD, c=US
cn=jeff
sn=donovan
mail=jdonovan@beth.k12.pa.us
objectclass=person

------------------------------------------------------------------------
Jeff Donovan                    Network Analyst
Bethlehem Area School District  The Bethlehem Education Network (BEN)
Bethlehem, PA  18017            (610) 807-5557  jdonovan@beth.k12.pa.us