Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    LDAP Anmeldung nicht möglich

    Scheduled Pinned Locked Moved Betrieb
    2 Posts 1 Posters 2.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pgo
      last edited by

      i-doit Version 0.9.7-1

      Die Einstellungen sind wiefolgt

      LDAP Verbindung für Lookups (lesend)
      Aktiv: Ja
      Directory (😞 Active Directory Bearbeiten
      LDAP-Version: 3
      IP / Hostname (
      😞 leonis.dom.co.at
      Port (😞 3268  default: 389
      TLS: Nein
      Admin Benutzername (DN) (
      😞 manager@dom.co.at
      Passwort (😞 ********
      Passwort Wiederholung (
      😞 ********
      Timelimit: default: 30
      LDAP Parameter für i-doit Login
      Nach Benutzern suchen in (OU) (😞 DC=dom,DC=co,dc=at Recursive
      Filter: (objectClass=
      )

      In den Gruppen wurde Admin als ldap gruppe SYSTECHNIK zugeordnet.
      wenn man nun mit einem Benutzer anmelden versucht steht folgendes im Logfile

      
      2009-06-09 11:50:46 ldap: Starting LDAP Module for mandator: idoit_data
      2009-06-09 11:50:46 ldap: Found 1 configured LDAP Servers. Iterating..
      2009-06-09 11:50:46 ldap: 1.
      2009-06-09 11:50:46 ldap: Creating new ldap-library connection to: leonis.dom.co.at:3268, user: manager@dom.co.at
      2009-06-09 11:50:46 ldap: Connected to leonis.dom.co.at
      2009-06-09 11:50:46 ldap: Searching for username: testa
      2009-06-09 11:50:46 ldap: Getting user using filter: (&(objectClass=*)(sAMAccountName=testa)) in search-path: DC=dom,DC=co,dc=at
      2009-06-09 11:50:46 ldap: Found DN: CN=testa,CN=Users,DC=dom,DC=co,DC=at. Trying to login with it.
      2009-06-09 11:50:46 ldap: Auth successfull (CN=testa,CN=Users,DC=dom,DC=co,DC=at).
      2009-06-09 11:50:46 ldap: User account created. User-ID: 328
      2009-06-09 11:50:46 ldap: Getting groups of CN=testa,CN=Users,DC=dom,DC=co,DC=at
      2009-06-09 11:50:46 ldap: Servertype: C__LDAP__AD
      2009-06-09 11:50:46 ldap: search() CN=WLAN_USERS_224,OU=Usergroups,DC=dom,DC=co,DC=at (Filter: (objectclass=*)): 1
      2009-06-09 11:50:46 ldap: Querying LDAP group: WLAN_USERS_224
      2009-06-09 11:50:46 ldap: Group pendant for "WLAN_USERS_224" not found. Edit LDAP-Mapping in group settings if you want to use this as a right group.
      2009-06-09 11:50:47 ldap: search() CN=SIMCORPusers,OU=Usergroups,DC=dom,DC=co,DC=at (Filter: (objectclass=*)): 1
      2009-06-09 11:50:47 ldap: Querying LDAP group: SIMCORPusers
      2009-06-09 11:50:47 ldap: Group pendant for "SIMCORPusers" not found. Edit LDAP-Mapping in group settings if you want to use this as a right group.
      2009-06-09 11:50:47 ldap: search() CN=SYSTECHNIK,OU=Usergroups,DC=dom,DC=co,DC=at (Filter: (objectclass=*)): 1
      2009-06-09 11:50:47 ldap: Querying LDAP group: SYSTECHNIK
      2009-06-09 11:50:47 ldap:  ** Found group "SYSTECHNIK" pendant in i-doit.
      2009-06-09 11:50:47 ldap: search() CN=EDV,OU=Usergroups,DC=dom,DC=co,DC=at (Filter: (objectclass=*)): 1
      2009-06-09 11:50:47 ldap: Querying LDAP group: EDV
      2009-06-09 11:50:47 ldap: Group pendant for "EDV" not found. Edit LDAP-Mapping in group settings if you want to use this as a right group.
      2009-06-09 11:50:47 ldap: Syncing groups..
      2009-06-09 11:50:47 ldap: Attached user(328) to group: Admin
      2009-06-09 11:50:47 ldap: Found 1 configured LDAP Servers. Iterating..
      2009-06-09 11:50:47 ldap: 1.
      2009-06-09 11:50:47 ldap: Creating new ldap-library connection to: leonis.dom.co.at:3268, user: manager@dom.co.at
      2009-06-09 11:50:47 ldap: Connected to leonis.dom.co.at
      2009-06-09 11:50:47 ldap: Trying to auth with DN: CN=testa,CN=Users,DC=dom,DC=co,DC=at
      2009-06-09 11:50:47 ldap: CN=testa,CN=Users,DC=dom,DC=co,DC=at / testa authenticated.
      2009-06-09 11:50:47 ldap: Getting user using filter: (&(objectClass=*)(sAMAccountName=testa)) in search-path: DC=dom,DC=co,dc=at
      
      

      Scheint soweit alles ok aber die anmeldung bleibt einfach im login stehn.

      Irgendwelche Tips ?

      lG,
      PGO

      1 Reply Last reply Reply Quote 0
      • P Offline
        pgo
        last edited by

        hab mal in config.inc.php debugging aktiviert

        bei erfolgreicher anmeldung bleibt der bildschirm nicht mehr leer sondern es erscheint folgende fehlermeldung

        Fatal error: Argument 2 passed to isys_module_ldap::ldap_get_groups() must not be null, called in /var/www/html/i-doit/src/classes/modules/isys_module_ldap.class.php on line 297 and defined in /var/www/html/i-doit/src/classes/modules/isys_module_ldap.class.php on line 341

        könnte es sein dass dies durch Leerzeichen in Gruppennamen im AD entsteht ?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post