[TYPO3] ldap_auth creates empty users

Eduardo Trápani eduardo at esperanto.org.uy
Thu Sep 4 17:48:08 CEST 2008


> When I log in an empty backend user is created.  If I login again with another user, then another empty user is created.  But if I login with the first user, no new records are added.
> 
> The empty users are really empty, no user name, password, title ...

Well, it was the mapping object.  I changed:

> username = MAP_OBJECT
> username.attribute = sAMAccountName
> username.userFunc = tx_ldapserver->getSingleValue

username = MAP_OBJECT
username.attribute = uid
username.userFunc = tx_ldapserver->getSingleValue

And now the user is created properly.

Eduardo.


More information about the TYPO3-english mailing list