February 10, 2012, 06:43:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error adding user in kolab webadmin  (Read 4076 times)
jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« on: April 29, 2008, 08:25:07 PM »

When trying to add a new user in the web admin, I get the following error:

Code:
Warning: ldap_add() [function.ldap-add]: Add: Internal (implementation specific) error in /var/www/kolab/htdocs/admin/user/user.php on line 734

Code:
LDAP Error: could not add object cn=Firstname Lastname,dc=domain,dc=suffix: Internal (implementation specific) error

This is a kolab 2.1 server that has been in operation for a long time. It has been through a few package upgrades since any users were last added.

openldap version is 2.3.41

Thanks,
Jason

Logged
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« Reply #1 on: April 30, 2008, 04:00:35 AM »

Perhaps its a schema issue w/ openldap/slapd?

maybe kolabconf would fix it?

increase the log level from 0 to 2 in /etc/openldap/slapd.conf  then restart the service and check /var/log/messages for anything relevant.
Logged

jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« Reply #2 on: April 30, 2008, 03:20:36 PM »

I tried doing kolabconf already. It was a no go.

I'll increase the log level and see what I can find.

Thanks,
Jason
Logged
jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« Reply #3 on: April 30, 2008, 03:40:00 PM »

OK, trying to add the user with the increased logging yields this in /var/log/messages:

Code:
Apr 30 08:37:20 mainsrv slapd[21742]: bdb_db_cache: db_open(givenName) failed: Permission denied (13)
Apr 30 08:37:20 mainsrv slapd[21742]: bdb_index_read: Could not open DB givenName

Jason
Logged
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« Reply #4 on: May 02, 2008, 04:45:27 AM »

Check the permissions on /var/lib/openldap-data/givenName.bdb

It should be:
-rw-------  1 ldap ldap 8.0K Mar  7 21:47 givenName.bdb
Logged

jayk
Jr. Member
**

Karma: 0
Posts: 76



View Profile WWW Email
« Reply #5 on: May 02, 2008, 05:03:11 AM »

Ahhh. That did it. Somehow the ownership on givenName.bdb and kolabHomeServer.bdb were set to root.

Thanks very much,
Jason
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!