[TYPO3] LDAP Sync on Typo3 4.0 problem

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Jul 6 09:24:59 CEST 2006


Bing Du schrieb am 05.07.2006 17:46:

> LDAP authentication works now.  LDAP users can be written into the
> be_users table fine.  But the password field is empty.  I tried to
> manually enter user's password in the password field of the be_users
> table.  But after the user logs on again and I checked the be_users
> table in MySQL, his password was wiped out again.  I need users'
> passwords to be written in the be_users table.  How should that be done?
> 
> I'm using ldap_auth 0.2.1 with the following variables enabled:
> 
> plainTextLoginBE=1
> enableBE=1
> enableFE=1
> FE_fetchUserNoSession=1
> BE_fetchUserNoSession=1
> FE_alwaysFetchUser=1
> BE_alwaysFetchUser=1

I think that if you are using ldap_auth, there won't be any password in
the TYPO3-tables. The authentication will happen in LDAP: ldap_auth will
try to "bind" as the specific user in LDAP, and if this succeeds, the
user is "authenticated", if not, it is not.

No need to have any password in TYPO3. In fact its potentially not even
possible, as the passwords might be stored crypted/md5ed or in some
other bizarre way in LDAP. Only LDAP itself will know how to
authenticate those users.

Cheers,
Ernesto



More information about the TYPO3-english mailing list