[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLDAP on Windows?
Hi,
I'm trying to run OpenLDAP on Windows (Windows 2000, to be precise),
and hitting trouble... I took OpenLDAP-2.0.27, compiled it according
to the FiveSight page
(http://www.fivesight.com/downloads/openldap.asp, more-or-less - the
page has changed since I used it) and now I'm trying to follow
http://www.openldap.org/doc/admin/quickstart.html, starting at item
8.
I created the attached slapd.conf. With that, slapd.exe starts and
ldapsearch -x -b "" -s base "(objectclass=*)" namingContexts
(using double quotes because cmd.exe doesn't strip single ones)
succeeds, but
ldapmodify -a -x -D "cn=Manager,dc=example,dc=com" -W -f
example.ldif
(using ldapmodify -a is a frequent answer to the problem of missing
ldapadd; example.ldif is also attached) fails (after taking the
password) with
Enter LDAP Password: adding new entry "dc=example,dc=com "
ldap_add: Invalid syntax
additional info: objectclass: value #0 invalid per syntax
ldif_record() = 21
What gives?
Bye
Vasek
______________________________________________________________________
Reklama:
Nenechte si ujit lednovy VYPRODEJ TELEFONU! Alcatel 512 za 2.577 Kc <http://www.OskarMobil.cz>
# core.schema is in the same dir as this file
include core.schema
# left from the original slapd.conf
pidfile %LOCALSTATEDIR%/slapd.pid
argsfile %LOCALSTATEDIR%/slapd.args
# bdb doesn't seem to work
database ldbm
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
# directory exists
directory c:/openldap/openldap-ldbm
# Indices to maintain
index objectClass eq
dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: Example Company
dc: example
dn: cn=Manager,dc=example,dc=com
objectclass: organizationalRole
cn: Manager