Quoting Quanah Gibson-Mount <[EMAIL PROTECTED]>:
--On Tuesday, December 05, 2006 9:47 AM -0500
[EMAIL PROTECTED] wrote:
Here is what I get:
uid=someuser,ou=people,dc=harrisonburg,dc=k12,dc=va,dc=us
LDAP error: Invalid Syntax!
For every entry. My base dn seems fine.
This is missing some of the error details, unfortunately. It should be
telling you *what* is violating Syntax rules.
For example, I would expect something like:
LDAP error: Invalid syntax (objectClass: value #0 invalid per syntax,
while operating on
'uid=someuser,ou=people,dc=harrisonburg,dc=k12,dc=va,dc=us' using LDAP
server 'ldap://localhost:389')
In any case, this would appear to indicate that some of the data in
your entries is not valid per the syntax of the attributes. If you
could provide a sample entry in LDIF format, that may be easy to spot.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
version: 2
#
# filter: (objectclass=*)
# requesting: ALL
#
# people, harrisonburg, k12, va, us
dn: ou=people, dc=harrisonburg,dc=k12,dc=va,dc=us
objectClass: top
objectClass: organizationalUnit
ou: people
# aadamek, people, harrisonburg, k12, va, us
objectClass: posixAccount,dc=harrisonburg,dc=k12,dc=va,dc=us
objectClass: top
objectClass: shadowAccount
objectClass: inetLocalMailRecipient
objectClass: person
mailLocalAddress: [EMAIL PROTECTED]
userPassword:: somepassword
mail: [EMAIL PROTECTED]
sn: User, Some/Someuser
location: SES suser
From slapd.conf:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2
#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
backend ldbm
database ldbm
suffix "ou=people,dc=harrisonburg,dc=k12,dc=va,dc=us"tory
rootdn "uid=admin,ou=people,dc=harrisonburg,dc=k12,dc=va,dc=us"
rootpw supersecretpassword
# Indices to maintain for this database
# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
index uidNumber,gidNumber,loginShell eq,pres
index uid,memberUid eq,pres,sub
index nisMapName,nisMapEntry eq,pres,sub
access to attr=userPassword
by self write
by anonymous auth
I really appreciate the help. If I run slapadd -l -d 5 mail.ldif
would the output of that help?
thanks,
ddh
--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.