LDAP/SAMBA : smbldap-populate plante (root not exist)

LDAP/SAMBA : smbldap-populate plante (root not exist) - Logiciels - Linux et OS Alternatifs

Marsh Posté le 05-07-2009 à 19:47:35    

Bonjour  
 
J'ai un plantage au lancement de la commande smbldap-populate

Code :
  1. servour:/etc/ldap# smbldap-populate
  2. Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
  3. (using builtin directory structure)
  4. Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  5. Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  6. Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  7. Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
  8. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  9. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  10. entry dc=xrosea,dc=org already exist.
  11. adding new entry: ou=Users,
  12. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
  13. adding new entry: ou=Groups,
  14. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
  15. adding new entry: ou=Machines,
  16. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
  17. adding new entry: ou=Idmap,
  18. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
  19. adding new entry: uid=root,ou=Users,
  20. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
  21. adding new entry: uid=nobody,ou=Users,
  22. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
  23. adding new entry: cn=Domain Admins,ou=Groups,
  24. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
  25. adding new entry: cn=Domain Users,ou=Groups,
  26. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
  27. adding new entry: cn=Domain Guests,ou=Groups,
  28. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
  29. adding new entry: cn=Domain Computers,ou=Groups,
  30. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
  31. adding new entry: cn=Administrators,ou=Groups,
  32. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
  33. adding new entry: cn=Account Operators,ou=Groups,
  34. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
  35. adding new entry: cn=Print Operators,ou=Groups,
  36. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
  37. adding new entry: cn=Backup Operators,ou=Groups,
  38. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
  39. adding new entry: cn=Replicators,ou=Groups,
  40. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
  41. adding new entry: cn=NextFreeUnixId,
  42. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
  43. Please provide a password for the domain root:
  44. /usr/sbin/smbldap-passwd: user root doesn't exist
  45. new:/etc/ldap# nano slapd.conf
  46. new:/etc/ldap# nano /var/logs/syslog
  47. new:/etc/ldap# nano /var/logs/syslogs
  48. new:/etc/ldap# nano /var/log/syslog
  49. new:/etc/ldap# echo ""> /var/log/syslog
  50. new:/etc/ldap# smbldap-populate
  51. Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
  52. (using builtin directory structure)
  53. Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  54. Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  55. Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  56. Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
  57. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  58. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  59. entry dc=xrosea,dc=org already exist.
  60. adding new entry: ou=Users,
  61. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
  62. adding new entry: ou=Groups,
  63. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
  64. adding new entry: ou=Machines,
  65. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
  66. adding new entry: ou=Idmap,
  67. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
  68. adding new entry: uid=root,ou=Users,
  69. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
  70. adding new entry: uid=nobody,ou=Users,
  71. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
  72. adding new entry: cn=Domain Admins,ou=Groups,
  73. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
  74. adding new entry: cn=Domain Users,ou=Groups,
  75. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
  76. adding new entry: cn=Domain Guests,ou=Groups,
  77. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
  78. adding new entry: cn=Domain Computers,ou=Groups,
  79. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
  80. adding new entry: cn=Administrators,ou=Groups,
  81. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
  82. adding new entry: cn=Account Operators,ou=Groups,
  83. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
  84. adding new entry: cn=Print Operators,ou=Groups,
  85. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
  86. adding new entry: cn=Backup Operators,ou=Groups,
  87. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
  88. adding new entry: cn=Replicators,ou=Groups,
  89. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
  90. adding new entry: cn=NextFreeUnixId,
  91. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
  92. Please provide a password for the domain root:
  93. /usr/sbin/smbldap-passwd: user root doesn't exist
  94. new:/etc/ldap# nano /var/log/syslog
  95. new:/etc/ldap# ls
  96. 1748.slapd.conf  ldap.conf  sasl2  schema  slapd.conf
  97. new:/etc/ldap# nano ldap.conf
  98. new:/etc/ldap# nano slapd.conf
  99. new:/etc/ldap# smbldap-populate
  100. Populating LDAP directory for domain xrosea.org (S-1-5-21-4154722252-783085302-2139209269)
  101. (using builtin directory structure)
  102. Use of uninitialized value $ou_users in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  103. Use of uninitialized value $ou_groups in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  104. Use of uninitialized value $ou_computers in concatenation (.) or string at /usr/sbin/smbldap-populate line 171.
  105. Use of uninitialized value $ou_idmap in concatenation (.) or string at /usr/sbin/smbldap-populate line 191.
  106. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  107. Use of uninitialized value $cnsambaUnixIdPool in concatenation (.) or string at /usr/sbin/smbldap-populate line 441.
  108. entry dc=xrosea,dc=org already exist.
  109. adding new entry: ou=Users,
  110. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
  111. adding new entry: ou=Groups,
  112. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 17.
  113. adding new entry: ou=Machines,
  114. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 22.
  115. adding new entry: ou=Idmap,
  116. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 27.
  117. adding new entry: uid=root,ou=Users,
  118. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 55.
  119. adding new entry: uid=nobody,ou=Users,
  120. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 83.
  121. adding new entry: cn=Domain Admins,ou=Groups,
  122. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 95.
  123. adding new entry: cn=Domain Users,ou=Groups,
  124. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 106.
  125. adding new entry: cn=Domain Guests,ou=Groups,
  126. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 117.
  127. adding new entry: cn=Domain Computers,ou=Groups,
  128. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 128.
  129. adding new entry: cn=Administrators,ou=Groups,
  130. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 173.
  131. adding new entry: cn=Account Operators,ou=Groups,
  132. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 195.
  133. adding new entry: cn=Print Operators,ou=Groups,
  134. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 206.
  135. adding new entry: cn=Backup Operators,ou=Groups,
  136. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 217.
  137. adding new entry: cn=Replicators,ou=Groups,
  138. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 228.
  139. adding new entry: cn=NextFreeUnixId,
  140. failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 495, <GEN1> line 234.
  141. Please provide a password for the domain root:
  142. /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 !

Reply

Marsh Posté le 05-07-2009 à 19:47:35   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed