PDA

View Full Version : [ubuntu] 8.10 Ldap Samba


reckage
March 13th, 2009, 09:16 PM
I have been searching for a week now for the solution to this problem.

All passwords have been set to identical for this purpose.

When I run smbldap-populate

I receive this error

root@ADAM:/etc/samba# smbldap-populate
Populating LDAP directory for domain adamintegrated.ca (S-1-5-21-2080628933-2859866229-3670935373)
(using builtin directory structure)

entry dc=adamintegrated,dc=ca already exist.
entry ou=Users,dc=adamintegrated,dc=ca already exist.
entry ou=Groups,dc=adamintegrated,dc=ca already exist.
entry ou=Computers,dc=adamintegrated,dc=ca already exist.
entry ou=Idmap,dc=adamintegrated,dc=ca already exist.
adding new entry: uid=root,ou=Users,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #4 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 58.
adding new entry: uid=nobody,ou=Users,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #4 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 89.
adding new entry: cn=Domain Admins,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 101.
adding new entry: cn=Domain Users,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 112.
adding new entry: cn=Domain Guests,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 123.
adding new entry: cn=Domain Computers,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 134.
adding new entry: cn=Administrators,ou=Groups,dc=adamintegrated,dc=c a
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 179.
adding new entry: cn=Account Operators,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 201.
adding new entry: cn=Print Operators,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 212.
adding new entry: cn=Backup Operators,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 223.
adding new entry: cn=Replicators,ou=Groups,dc=adamintegrated,dc=ca
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 499, <GEN1> line 234.
adding new entry: sambaDomainName=adamintegrated.ca,dc=adamintegrate d,dc=ca
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 499, <GEN1> line 242.

Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist

I have read over and over that everyone runs into this problem and that it is a bug. But nowhere does it state how to fix this problem.

If anyone can point me in the right direction it would be greatly appreciated.

reckage
March 16th, 2009, 02:01 PM
the command smbldap-populate where does it take the populate information, basically I want to stop it from trying to add the root account.

makespan
March 31st, 2009, 04:54 PM
This one got me too, basically you get this if you don't have the right LDAP schema. I was following this tutorial

http://www.linewbie.com/2008/01/configure-openldap-samba-domain-controller-on-ubuntu-710.html

go and look at Step 4: Configure OpenLDAP for use with SAMBA

Do that, the problem goes away (at least for me)

Mike