Probleme mit LDAP-Howto

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
Dirki
Beiträge: 5
Registriert: 05.11.2004 23:50:19

Probleme mit LDAP-Howto

Beitrag von Dirki » 29.05.2010 16:16:28

Hallo zusammen!

ich arbeite gerade das Howto durch:

http://wiki.debianforum.de/LdapSambaFre ... cbb2ee67fb

Radius brauche ich nicht, aber ich möchte Samba und LDAP kombinieren.

Bei der Konfiguration der LDAP-Tools bekomme ich folgende Fehlermeldung:

Code: Alles auswählen

entry dc=homenet,dc=de already exist. 
adding new entry: ou=Users,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 12.
adding new entry: ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 17.
adding new entry: ou=Computers,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 22.
adding new entry: ou=Idmap,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 27.
adding new entry: uid=admin,ou=Users,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 58.
adding new entry: uid=nobody,ou=Users,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 89.
adding new entry: cn=Domain Admins,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 101.
adding new entry: cn=Domain Users,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 112.
adding new entry: cn=Domain Guests,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 123.
adding new entry: cn=Domain Computers,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 134.
adding new entry: cn=Administrators,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 179.
adding new entry: cn=Account Operators,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 201.
adding new entry: cn=Print Operators,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 212.
adding new entry: cn=Backup Operators,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 223.
adding new entry: cn=Replicators,ou=Groups,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 234.
adding new entry: sambaDomainName=DOMSMB,dc=homenet,dc=de
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 499, <GEN1> line 242.

Please provide a password for the domain admin: 
/usr/sbin/smbldap-passwd: user admin doesn't exist
Hab ihr eine Idee zur Problemlösung?

Ich danke schon mal im Voraus.

hawkeye78
Beiträge: 430
Registriert: 10.09.2004 17:02:01
Wohnort: castrop-rauxel

Re: Probleme mit LDAP-Howto

Beitrag von hawkeye78 » 29.05.2010 21:51:00

Hallo,

auch wenn ich der Autor des Artikels bin habe ich so spontan keine Idee woran es genau liegt. Allerdings habe ich eine Theorie und zwar das ein Teil des LDAP Baumes schon existiert und er darum nicht den vollständigen Baum erzeugen kann. Als ich den Artikel geschrieben habe, bin ich von einem leeren Baum ausgegangen, darum ist das im moment nur eine wilde Theorie
Viele Grüsse
Dan
I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams

Benutzeravatar
r5real
Beiträge: 26
Registriert: 29.08.2009 21:37:18

Re: Probleme mit LDAP-Howto

Beitrag von r5real » 06.06.2010 17:20:16

Deine Datenbank liegt in /var/lib/ldap
Das Verzeichnis würde ich mal mit den Attributen sichern.

Dann den Server mit dpkg-reconfigure neu konfigurieren.
Es wird gefragt ob die alte Datenbank gesichert werden soll. Das geschieht dann in /var/backup/...
So nun sollte der leere Server ohne Fehler starten. Jetzt deine Daten nochmal 1x neu hinzufügen.

Was ist wenn du nun den Server stop'st, das alte VZ wieder verwendest und dann neu startest?
Guckst du, warum ich mit DEM nur im Geschäft zu tun habe:
http://www.youtube.com/watch?v=wvsboPUj ... re=related

Antworten