Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP und DHCP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Freiburg
Guru
Guru


Joined: 19 Jun 2004
Posts: 504
Location: Freiburg

PostPosted: Sun Apr 17, 2005 11:20 am    Post subject: LDAP und DHCP Reply with quote

Hi,

ich hab mich mal darangewagt meine DHCP-config in einem LDAP-Verzeichniss zu speichern. Das ebuild aus bugs.gentoo.org klappt ohne Probleme, leider kann ich das von meiner LDAP-konfiguration nicht behaupten. Immer wenn ich meine Konfiguration über ldapadd in die Ldapdatenbank spielen will kommt folgender lustiger fehler:
Code:
ldapadd -D "dc=dhcp-verwaltung,dc=de" -W -f /root/dhcpd.ldif


Lustigerweise liefer:
Code:
ldapsearch -D "dn=Manager,dc=dhcpverwaltung,dc=de" -w secret
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN

einen Fehler während
Code:
ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#

#
dn:
namingContexts: dc=dhcpverwaltung,dc=de

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

was richtiges liefert (zumindest verstehe ich das so)

die einzigen Änderungen die ich an der slapd.conf vergenommen habe sind folgende:
Code:
include         /etc/openldap/schema/dhcp.schema
suffix          "dc=dhcpverwaltung,dc=de"
rootdn          "cn=Manager,dc=dhcpverwaltung,dc=de"
index           objectClass     eq
index           dhcpHWAddress   eq
index           dhcpClassData   eq


an der ldap.conf hab ich folgende Änderungen vorgenommen
Code:
BASE    dc=dhcpverwaltung dc=de
URI     ldap://141.70.100.240


hat irgendwer ne Idee woher dieser verdammte Fehler kommt.

Gruß
Freiburg[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum