LDAP/SAMBA : smbldap-populate plante (root not exist)
LDAP/SAMBA : smbldap-populate plante (root not exist) - Logiciels - Linux et OS Alternatifs
MarshPosté le 05-07-2009 à 19:47:35
Bonjour
J'ai un plantage au lancement de la commande smbldap-populate
Code :
servour:/etc/ldap# smbldap-populate
Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
(using builtin directory structure)
Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
entry dc=xrosea,dc=org already exist.
adding new entry: ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
adding new entry: ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
adding new entry: ou=Machines,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
adding new entry: ou=Idmap,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
adding new entry: uid=root,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
adding new entry: uid=nobody,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
adding new entry: cn=Domain Admins,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
adding new entry: cn=Domain Users,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
adding new entry: cn=Domain Guests,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
adding new entry: cn=Domain Computers,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
adding new entry: cn=Administrators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
adding new entry: cn=Account Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
adding new entry: cn=Print Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
adding new entry: cn=Backup Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
adding new entry: cn=Replicators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
adding new entry: cn=NextFreeUnixId,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist
new:/etc/ldap# nano slapd.conf
new:/etc/ldap# nano /var/logs/syslog
new:/etc/ldap# nano /var/logs/syslogs
new:/etc/ldap# nano /var/log/syslog
new:/etc/ldap# echo ""> /var/log/syslog
new:/etc/ldap# smbldap-populate
Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
(using builtin directory structure)
Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
entry dc=xrosea,dc=org already exist.
adding new entry: ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
adding new entry: ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
adding new entry: ou=Machines,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
adding new entry: ou=Idmap,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
adding new entry: uid=root,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
adding new entry: uid=nobody,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
adding new entry: cn=Domain Admins,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
adding new entry: cn=Domain Users,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
adding new entry: cn=Domain Guests,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
adding new entry: cn=Domain Computers,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
adding new entry: cn=Administrators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
adding new entry: cn=Account Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
adding new entry: cn=Print Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
adding new entry: cn=Backup Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
adding new entry: cn=Replicators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
adding new entry: cn=NextFreeUnixId,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist
new:/etc/ldap# nano /var/log/syslog
new:/etc/ldap# ls
1748.slapd.conf ldap.conf sasl2 schema slapd.conf
new:/etc/ldap# nano ldap.conf
new:/etc/ldap# nano slapd.conf
new:/etc/ldap# smbldap-populate
Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
(using builtin directory structure)
Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
entry dc=xrosea,dc=org already exist.
adding new entry: ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
adding new entry: ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
adding new entry: ou=Machines,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
adding new entry: ou=Idmap,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
adding new entry: uid=root,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
adding new entry: uid=nobody,ou=Users,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
adding new entry: cn=Domain Admins,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
adding new entry: cn=Domain Users,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
adding new entry: cn=Domain Guests,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
adding new entry: cn=Domain Computers,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
adding new entry: cn=Administrators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
adding new entry: cn=Account Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
adding new entry: cn=Print Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
adding new entry: cn=Backup Operators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
adding new entry: cn=Replicators,ou=Groups,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
adding new entry: cn=NextFreeUnixId,
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist
Comme vous le voyez, le message Please provide a password for the domain root: /usr/sbin/smbldap-passwd: user root doesn't exist reviens souvent... Pourtant j'ai bien include le samba.schema et fais le smbpasswd -w motdepasse via le comtpe root.
J'ai vérifié tous mes fichiers de conf', tous ont le même mot de passe.
Je ne sais plus quoi faire. Merci à vous de m'aider !
Marsh Posté le 05-07-2009 à 19:47:35
Bonjour
J'ai un plantage au lancement de la commande smbldap-populate
Comme vous le voyez, le message Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist reviens souvent...
Pourtant j'ai bien include le samba.schema et fais le smbpasswd -w motdepasse via le comtpe root.
J'ai vérifié tous mes fichiers de conf', tous ont le même mot de passe.
Je ne sais plus quoi faire.
Merci à vous de m'aider !