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

    Anlegen neuer Benutzer über LDAP

    Scheduled Pinned Locked Moved Betrieb
    1 Posts 1 Posters 1.6k 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.
    • R Offline
      Robert1
      last edited by

      Hallo,

      ich habe gestern versucht einen neuen Benutzer in I-Doit einzutragen. Dieser soll nicht lokal gepflegt werden, sondern seine Informationen samt Passwortabfragen über LDAP beziehen. Unsere LDAP Einstellung/Login funktioniert mit den bestehenden Benutzern.

      Wie lege ich nun einen neuen (LDAP) Benutzer in I-Doit an? Muss ich zuerst einen lokalen Account erstellen und I-Doit holt sich automatisch die Informationen?

      Jedenfalls habe ich einen lokalen Account mit dem Benutzernamen wie er auch in unserer Active Directory steht angelegt. Aber der Login schlägt mit folgendem Fehler fehl:

      2012-08-13 13:31:33 ldap: LDAP Module launched for mandator: idoit_data
      2012-08-13 13:31:33 ldap: Found 1 configured LDAP Servers.
      2012-08-13 13:31:33 ldap: 1: <server>.de (OU=****,DC=ad,DC=******,DC=de)
      2012-08-13 13:31:33 ldap: ----------------------------------------------------------------------------------------------
      2012-08-13 13:31:33 ldap: Creating new ldap-library connection to: ****************:389, user: CN=ldap,CN=Users,DC=ad,
      DC=****************,DC=de
      2012-08-13 13:31:33 ldap: Connected to ****************
      2012-08-13 13:31:33 ldap: Searching for username: heissd
      2012-08-13 13:31:33 ldap: Getting user(s) using filter: (&(department=****)(objectClass=user)(sAMAccountName=heissd)) in se
      arch-path: OU=****,DC=ad,DC=****************,DC=de
      2012-08-13 13:31:33 ldap: Found DN: CN=heissd,OU=*****,OU=*****,OU=****,DC=ad,DC=****************,DC=de. Trying to login
      with it.
      2012-08-13 13:31:33 ldap: Auth successfull (CN=heissd,OU=******,OU=*****,OU=****,DC=ad,DC=****************,DC=de).
      2012-08-13 13:31:33 ldap: Database error : Query error: 'INSERT INTO isys_obj (isys_obj__title, isys_obj__isys_obj_type__id
      , isys_obj__isys_cmdb_status__id, isys_obj__status, isys_obj__sysid, isys_obj__created,isys_obj__created_by,isys_obj__updat
      ed,isys_obj__updated_by,isys_obj__hostname,isys_obj__scantime,isys_obj__imported) VALUES ('Dave Hei<df>', '61', 'C__CMDB_S
      TATUS__IN_OPERATION', '2', '', NOW(),'',NOW(),'','',NULL,'1970-01-01 01:00:00');':
      Cannot add or update a child row: a foreign key constraint fails (`idoit_data/isys_obj`, CONSTRAINT `isys_obj_ibfk_2` FOREI
      GN KEY (`isys_obj__isys_cmdb_status__id`) REFERENCES `isys_cmdb_status` (`isys_cmdb_status__id`) ON DELETE SET NULL ON UPDA
      TE CASCADE)</df></server>
      

      Die I-Doit Version ist 0.9.9-8 PRO

      Gruß Robert

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post