Howto change userID

Ralph Seichter automx2 at seichter.de
Sat Apr 8 18:51:20 CEST 2023


* Stephane Branchoux:

> sqlite> select * from ldapserver;
> 0|ldapmaster.univ-perp.fr [...]

You may potentially have exposed your LDAP bind password in your
previous message. In any case, could you try the following:

  UPDATE ldapserver SET attr_uid='mail' WHERE id=0;

The LDAP attribute name defined in the attr_uid column is the one used
as the login ID / username in the generated config data, so if your
users are expected to login with their email addresses instead of their
UID, the value 'mail' should be useful.

-Ralph


More information about the automx-users mailing list