[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Freedombox-discuss] User creation



Am Donnerstag, den 15.12.2016, 20:52 +0530 schrieb Sunil Mohan Adapa:
> On 12/15/2016 07:09 PM, James Valleroy wrote:
> > On 12/13/2016 02:05 PM, permondes - sagen wrote:
> >> Sorry, another issue.
> >> I am trying to add a user (same issue with modifying). This gives 2
> >> messages:
> >> - Creation of LDAP user failed
> >> - User <username> created.
> >>
> >> The username is listed afterwords but e.g. I cannot use it in radicale
> >> to access the calendar. So probably  the adding to LDAP really failed.
> > 
> > Could you try restarting the system, and see if the problem is still there?
> > 
> > Sorry I don't have any better ideas right now, but maybe this will work.
> 
> One possibility is that LDAP user already existed in the system with a
> password before the operation.  So, the new password is not set on it.
> Perhaps you can try changing password for this user and then trying to
> login using radicale.

Restarting did not help. I picked a completely new username which did
not exist before. Here is the content of file "ldapscripts.log".

> Dec 15 19:25:55 MyBoxName ldapscripts: ldapadduser(root): /usr/sbin/ldapadduser NewUser users
> SASL/EXTERNAL authentication started
> SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> SASL SSF: 0
> No such object (32)
> SASL/EXTERNAL authentication started
> SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> SASL SSF: 0
> SASL/EXTERNAL authentication started
> SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> SASL SSF: 0
> ldap_add: No such object (32)
> 	matched DN: dc=thisbox
>   -> Error adding user NewUser to LDAP

Syslog is not more informative:

> Dec 15 19:25:55 MyBoxName plinth[526]: [2016-12-15 19:25:55,495] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/ldap', 'create-user', 'NewUser']
> Dec 15 19:25:56 MyBoxName plinth[526]: [2016-12-15 19:25:56,363] plinth.actions ERROR    Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/ldap', 'create-user', 'NewUser'], , Error adding user NewUser to LDAP

Are there any further logs to check?

To me it looks like LDAP does not work. Any action, also deleting a user
gives an error message with LDAP. 
However, in Plinth the diagnosis runs fine:

> Gebunden an tcp4 Port 389
> passed 
> Gebunden an tcp6 Port 389
> passed 
> Pr?fe LDAP Eintrag "dc=thisbox"
> passed 
> Pr?fe LDAP Eintrag "ou=people"
> passed 
> Pr?fe LDAP Eintrag "ou=groups"
> passed 

	Dietmar
> 
> _______________________________________________
> Freedombox-discuss mailing list
> Freedombox-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss




Reply to: