adding entries problem

Christopher S. Irwin (cirwin@concept5.com)
Tue, 25 Jun 1996 15:05:59 -0400

I have the following slapd.conf file:

--- start of slapd.conf ----

include /usr/local/etc/slapd.at.conf
include /usr/local/etc/slapd.oc.conf
schemacheck on

######################################################################## ldbm database definitions
#######################################################################
database ldbm
suffix "o=Concept Five Technologies, Inc., c=US"
directory /usr/tmp
rootdn "cn=Admin, o=Concept Five Technologies, Inc., c=US"
rootpw secret
lastmod on
replogfile /usr/local/etc/slapd.replog
#
# indexed attribute definitions
#
index employeeID eq
index cn
index default none
#
# access control definitions
#
defaultaccess read
access to attr=userPassword
by self write
by dn="cn=Admin, o=Concept Five Technologies, Inc., c=US" write
by * compare

-- end of slapd.conf ----

and I am unable to add (it seems) an entry with the userPassword
attribute. i.e. the following entry is added with ldapadd, but
userPassword doesn't show up when I do an ldapsearch.

--- entry -----

dn: cn=Christopher S. Irwin,o=Concept Five Technologies,Inc., c=US
cn: Christopher S. Irwin
cn: Chris Irwin
sn: Irwin
email: cirwin@concept5.com
photo: /home/cirwin/bin/23266.jpg
employeeID: 23266
internalPhoneNumber: 1920
externalPhoneNumber: 703-610-1920
faxNumber: 703-610-1853
businessUnit: ISD
building: Hayes
userPassword: skibum#1
preferredName: Chris
objectclass: person

--- end of entry ----
and the attribute userPassword does exist in my slapd.oc.conf file.
Further, if I remove the access rules from the slapd.conf file, the
userPassword attribute is added.

Any help would be appreciated.

Thanks,

Chris

-- 
Christopher S. Irwin
Concept Five Technologies, Inc.		Phone: 703-610-1920
7525 Colshire Drive			Fax:   703-610-1853
McLean Virginia 22102-7400		Email: cirwin@concept5.com