<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LDAP-Anbindung erfolgreich aber keine Anmledung]]></title><description><![CDATA[<p dir="auto">Hallo Forum,</p>
<p dir="auto">ich betreibe I-DOITpro auf einer Ubuntu-Box. Per LDAP sollten sich die Benutzer am bestehenden AD anmelden. Die LDAP Anbindung ist erfolgreich. In der temp/ldap_dabug.txt wird folgendes eingetragen:</p>
<p dir="auto">2012-01-10 10:15:48 ldap: LDAP Module launched for mandator: idoit_ma1001<br />
2012-01-10 10:15:48 ldap: Found 1 configured LDAP Servers.<br />
2012-01-10 10:15:48 ldap: 1: server.secatkre.local (OU=SBSUsers,OU=Users,OU=MyBusiness,DC=secatkre,DC=local)<br />
2012-01-10 10:15:48 ldap: –--------------------------------------------------------------------------------------------<br />
2012-01-10 10:15:48 ldap: Creating new ldap-library connection to: server.secatkre.local:389, user: secatkre\idoitusr<br />
2012-01-10 10:15:48 ldap: Connected to server.secatkre.local<br />
2012-01-10 10:15:48 ldap: Searching for username: xyz<br />
2012-01-10 10:15:48 ldap: Getting user(s) using filter: (&amp;(objectClass=user)(sAMAccountName=xyz)) in search-path: OU=SBSUsers,OU=Users,OU=MyBusiness,DC=secatkre,DC=local<br />
2012-01-10 10:15:48 ldap: Found DN: CN=Vorname Nachname,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=secatkre,DC=local. Trying to login with it.<br />
2012-01-10 10:15:48 ldap: Auth successfull (CN=Vorname Nachname,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=secatkre,DC=local).<br />
2012-01-10 10:15:48 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__updated,isys_obj__updated_by,isys_obj__hostname,isys_obj__scantime,isys_obj__imported) VALUES ('Vorname Nachname', '53', 'C__CMDB_STATUS__IN_OPERATION', '2', '', NOW(),'',NOW(),'','',NULL,'1970-01-01 01:00:00');':<br />
Cannot add or update a child row: a foreign key constraint fails (<code>idoit_ma1001</code>.<code>isys_obj</code>, CONSTRAINT <code>isys_obj_ibfk_2</code> FOREIGN KEY (<code>isys_obj__isys_cmdb_status__id</code>) REFERENCES <code>isys_cmdb_status</code> (<code>isys_cmdb_status__id</code>) ON DELETE SET NULL ON UPDATE CASCA)</p>
<p dir="auto">Der erste Teil mit der Anbindung funktionierte erfreulicherweise einfach. Aber der SQL-Fehler gibt mir Rätsel auf.</p>
<p dir="auto">beste Grüße Bern</p>
]]></description><link>https://community.i-doit.com/topic/1952/ldap-anbindung-erfolgreich-aber-keine-anmledung</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 19:59:48 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/1952.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Jan 2012 09:52:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LDAP-Anbindung erfolgreich aber keine Anmledung on Fri, 10 Feb 2012 11:26:18 GMT]]></title><description><![CDATA[<p dir="auto">Den Fehler haben wir ebenfalls, das Problem tritt bei uns auf wenn sich ein Benutzer zum ersten mal bei idoit einloggt.</p>
<p dir="auto">Problem ist das die Kostante C__CMDB_STATUS__IN_OPERATION nicht definiert ist und entsprechend nicht ersetzt wird.<br />
Die const_cache.inc.php des jeweiligen Mandanten wird nicht included.<br />
Workaround aus unserer src/config.inc.php</p>
<pre><code># const cache include fix/workaround
# Without this new LDAP user (never logged in before) can't be created,
# LDAP debug contains something like this:
# 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__updated,isys_obj__updated_by,isys_obj__hostname,isys_obj__scantime,isys_obj__imported) VALUES ('test user', '53', 'C__CMDB_STATUS__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` FOREIGN KEY (`isys_obj__isys_cmdb_status__id`) REFERENCES `isys_cmdb_status` (`isys_cmdb_status__id`) ON DELETE SET NULL ON UPDATE CASCADE)
include_once("/.../idoit/temp/cache_&lt;mandant&gt;/const_cache.inc.php");&lt;/mandant&gt;
</code></pre>
<p dir="auto">Den include path entsprechend anpassen.</p>
]]></description><link>https://community.i-doit.com/post/9668</link><guid isPermaLink="true">https://community.i-doit.com/post/9668</guid><dc:creator><![CDATA[freddy]]></dc:creator><pubDate>Fri, 10 Feb 2012 11:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP-Anbindung erfolgreich aber keine Anmledung on Wed, 08 Feb 2012 14:00:55 GMT]]></title><description><![CDATA[<p dir="auto">Hallo!</p>
<p dir="auto">Ich bin mir nicht sicher ob es hilft, aber bei mir lag es daran, daß der Filter in der DB nicht richtig eingeragen wurde.<br />
Ich habe in der GUI (&amp;(objectClass=person)) unter Filter in der LDPConfig stehen.</p>
<p dir="auto">Der Ldap Logon war aber nur möglich nach dem ich den Eintrag direkt in der DB geöndert habe:<br />
Tabelle: isys_ldap, Feld:  isys_ldap__filter , Eintrag: objectClass=person OHNE KLAMMERN !!!</p>
<p dir="auto">Stefan</p>
]]></description><link>https://community.i-doit.com/post/9663</link><guid isPermaLink="true">https://community.i-doit.com/post/9663</guid><dc:creator><![CDATA[mest]]></dc:creator><pubDate>Wed, 08 Feb 2012 14:00:55 GMT</pubDate></item><item><title><![CDATA[Reply to LDAP-Anbindung erfolgreich aber keine Anmledung on Fri, 13 Jan 2012 12:27:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi bg</p>
<p dir="auto">Ich habe genau dasselbe Problem, habe einen ganzen Tag lang versucht es zum laufen zu bringen…forget it.<br />
Ich habe langsam das gefühl das Forum wird vom Hersteller gar nicht wirklich angeschaut, bzw. gewartet. Ich habe noch nie ne Antwort gekriegt. <img src="https://community.i-doit.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=211a1f209df" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://community.i-doit.com/post/9631</link><guid isPermaLink="true">https://community.i-doit.com/post/9631</guid><dc:creator><![CDATA[binary]]></dc:creator><pubDate>Fri, 13 Jan 2012 12:27:57 GMT</pubDate></item></channel></rss>