[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Phpldapadmin + openldap - is not registering new users
- To: openldap-technical@openldap.org
- Subject: Phpldapadmin + openldap - is not registering new users
- From: Édnei Rodrigues <ednei.felipe.rodrigues@gmail.com>
- Date: Mon, 10 Aug 2009 13:37:54 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YUzOHYh6CC79F5NBglbDSTLoE/ro1Zsn2zeWyDhRqCs=; b=HIDo9GmZBwVu89W8CV5CY5gLIxkYgBRZGp7vUtVI2PBe/b5EZeVKdpgxdz5uYteRud lqgmHiuHwO9IJOluExySTvk2ACxqtfUA9OKQopnSjFpiBMKOQaMHLL6EdbUQu2JjuFO2 TPdmQSTum8phj7aqcHejZwRiPhzT3hm7PylOA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CApFvrNe7qkivZ0Hy7/ch+ofpIxnE0VSNe2wvb4FL8CvDHSONp/14WXD9X3lroRUU1 ugOOROXCUcQTYvyjof3fZHLyaWO7Yc873+7Npizp3qJjbSvd2K38J+f9xaXy2nOPOnwm BxSEClsP2XLihP3XU+Mkugy9qd0GA89WLD+UA=
Good morning.
I have OpenLdap 2.4.12 and phpldapadmin 1.0.1.. My problem is occuring when i try register a new user. Follow error:
O servidor LDAP respondeu: Object class violation
Erro número: 0x41 (LDAP_OBJECT_CLASS_VIOLATION)
Descrição:
You tried to perform an operation that would cause an undefined
attribute to exist or that would remove a required attribute, given the
current list of ObjectClasses. This can also occur if you do not
specify a structural objectClass when creating an entry, or if you
specify more than one structural objectClass.
And /var/log/messages:
Aug 10 07:58:11 webs slapd[3426]: Entry (cn=cyrusadmin cyrusadmin,ou=People,dc=novohamburgo,dc=rs,dc=gov,dc=br): object class 'posixAccount' requires attribute 'gidNumber'
This is stranger. In the PhpLdapAdmin, the fill gidNumber is blank, don't have option for change. What's happening ?
My sladp.conf:
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/rfc2307bis.schema
include /etc/openldap/schema/yast.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
modulepath /usr/lib/openldap/modules
moduleload back_hdb
moduleload autoPosixIds
sizelimit 500
tool-threads 1
backend hdb
access to dn.base=""
by * read
access to dn.base="cn=Subschema"
by * read
access to attrs=userPassword,userPKCS12
by self write
by * auth
access to attrs=shadowLastChange
by self write
by * read
access to *
by * read
loglevel -1
database bdb
suffix "dc=novohamburgo,dc=rs,dc=gov,dc=br"
checkpoint 1024 5
cachesize 30000
sizelimit -1
rootdn "cn=Manager,dc=novohamburgo,dc=rs,dc=gov,dc=br"
rootpw {SSHA}GS89uCsqQaeBuBQ+RoxgDuY6hkg2946U
directory /var/lib/ldap
overlay autoPosixIds
index objectClass eq
index uid eq
index memberUid eq
index member eq
dbconfig set_cachesize 0 2097152 0
# Sven Hartge reported that he had to set this value incredibly high
# to get slapd running at all. See http://bugs.debian.org/303057 for more
# information.
# Number of objects that can be locked at the same time.
dbconfig set_lk_max_objects 1500
# Number of locks (both requested and granted)
dbconfig set_lk_max_locks 1500
# Number of lockers
dbconfig set_lk_max_lockers 1500
# Save the time that the entry gets modified, for database #1
lastmod on
# Checkpoint the BerkeleyDB database periodically in case of system
# failure and to speed slapd shutdown.
checkpoint 512 30
Thanks!