[Typo3] the user import of ldap users doesn't work

Niko Will niko.will at ametras.com
Thu Oct 20 14:36:06 CEST 2005


Hi @ all,

I have a big problem. I have to create an intranet website with a users 
from a ldap directory. First I tried the eu_ldap extension. Binding the 
server functions very well but I can't import new users. If I select that 
in the drop down menu at the top the import list is empty. But at the 
summary site I see how many users the active directory has. 

Because I couldn't find a solution I tried ldap_auth and the needed 
extensions. There the import works but not correctly. The importet users 
hasn't get any usergroup. And the login on the frontend doesn't work, too.
Here my LDAP Server config:

FEusers = LDAP_SYNC
FEusers {
        enable = 1
        table = fe_users
        basedn = o=xxx,dc=xxx,dc=xxx,dc=xxx
        pid = 28
        filter = (&(objectClass=person))
        uniqueField = tx_ldapserver_dn
        fields {
                username = MAP_OBJECT
                username.attribute = sn
                username.userFunc = tx_ldapserver->getSingleValue

                tx_ldapserver_dn = MAP_OBJECT
                tx_ldapserver_dn.special = DN

                 #tx_ldapserver_dn < .username
                 #tx_ldapserver_dn.attribute = dn

                usergroup = MAP_OBJECT
                usergroup {
                        attribute = ou
                        userFunc = tx_ldapserver->getFEGroups
                        userFunc {
                                pid = 28
                                table = fe_groups
                                identField = tx_ldapserver_dn
                        }
                }
        }
}

FEgroups < FEusers
FEgroups {
        table = fe_groups
        handleNotFound = 0
        filter = (&(objectClass=organizationalUnit))
        fields {
                username >
                usergroup >
                title = MAP_OBJECT
                title.attribute = ou
                title.userFunc = tx_ldapserver->getSingleValue
        }
}

FEauth = LDAP_AUTH
FEauth {
        enable = 1
        table = fe_users
        sync < FEusers
}

I work on T 3.8...

Any ideas? 
I'm very thankful for every answer...

greetings

Niko Will


More information about the TYPO3-english mailing list