ich wollte mir einen ldap-Server installieren und fing an "slapd" zu Installieren. Ich musste ein paar fragen beantworten und bei der Abschließenden konfiguration trat dann ein Fehler auf.
Code: Alles auswählen
> apt-get -f install
Reading Package Lists...
Building Dependency Tree...
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up slapd (2.2.23-8) ...
Creating initial slapd configuration... done.
Creating initial LDAP directory... slapadd: bad configuration file!
Failed to slapadd this data:
dn: dc=,dc=home
objectClass: top
objectClass: dcObject
objectClass: organization
o: keine
dc:
dn: cn=admin,dc=,dc=home
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: {crypt}Rn7FGtw.EjWRM
dpkg: error processing slapd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Danach habe ich dann folgendes versucht. "dpkg --configure slapd"
Code: Alles auswählen
> dpkg --configure slapd
Setting up slapd (2.2.23-8) ...
Creating initial slapd configuration... done.
Creating initial LDAP directory... slapadd: bad configuration file!
Failed to slapadd this data:
dn: dc=,dc=home
objectClass: top
objectClass: dcObject
objectClass: organization
o: keine
dc:
dn: cn=admin,dc=,dc=home
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: {crypt}P6.kGml0pmE1c
dpkg: error processing slapd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
Könnt ihr sehen wo das Problem liegt!
Gruß, Neomorph