Error in adding and modifying users

"Paolo Marini" <[email protected]>
Newsgroups gmane.network.directoryadmin
Organization Prisma Engineering srl
Message-ID <005501c339ad$e2175050$230d0dc3@Athlon>
Hi,
I have set up a master and a replica LDAP servers, migrating NIS and SAMBA
users succesfully (I can authenticate on the replica server both Linux and
Samba). The replica works fine.

The two hosts are RH8, with openldap 2.1.21. I have already read the mail
regarding can not add new user. I have the same problem: while browsing a
user is fine, when I try a modification (e.g., I take user paolo which I
am), I get an error: "Error, Cannot modify object class".

My slapd.conf file is like this:

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31
kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/redhat/rfc822-MailMember.schema
include /etc/openldap/schema/redhat/autofs.schema
#include /etc/openldap/schema/redhat/kerberosobject.schema
include /etc/openldap/schema/samba.schema

pidfile /var/run/slapd.pid
#argsfile /var/run/slapd.args

loglevel 256

# Allow LDAPv2 client connections. This is NOT the default.
allow bind_v2

# Create a replication log in /var/lib/ldap for use by slurpd.
replogfile /var/lib/ldap/master-slapd.replog

TLSCipherSuite HIGH
TLSCACertificateFile /etc/openldap/cacert.pem
TLSCertificateFile /etc/openldap/thor-cert.pem
TLSCertificateKeyFile /etc/openldap/thor-key.pem
security tls=128,update_tls=128

access to attrs=userPassword
by self write
by * auth
access to attrs=lmPassword,ntPassword
by self write
by * auth
access to *
by read

#######################################################################
# bdb database definitions
#######################################################################
database bdb
suffix "dc=prisma,dc=com"
rootdn "cn=Manager,dc=prisma,dc=com"
rootpw {SSHA}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
directory /var/lib/ldap

# Indices to maintain
index cn,uid eq
index uidNumber eq
index gidNumber eq

# Replicas to which we should propagate changes
replica host=steiner.prisma:389
suffix "dc=prisma,dc=com"
binddn "cn=Manager,dc=prisma,dc=com"
credentials=xxxxx
bindmethod=simple
tls=yes


What I get as an error is:

Fetching uid=paolo,ou=People,dc=prisma,dc=com from directory
Entry was modified. Changes follow:
LDAP_MOD_DELETE objectclass
account
LDAP_MOD_ADD objectclass
organizationalPerson
inetOrgPerson
LDAP_MOD_REPLACE givenname
Paolo
LDAP_MOD_REPLACE sn
Marini

Fetching uid=paolo,ou=People,dc=prisma,dc=com from directory
Entry was modified. Changes follow:
LDAP_MOD_DELETE objectclass
account
LDAP_MOD_ADD objectclass
organizationalPerson
inetOrgPerson
LDAP_MOD_REPLACE givenname
Paolo
LDAP_MOD_REPLACE sn
Marini

Somethine similar happens also when adding a new user.

What can I do to get your wonderful (at least, looking at the interface !)
tool working ? Am I alone getting these problems ?

Thank you

Paolo



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.