User root doesn't exist message while runing smbldap-populate
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After I've done some steps and got all the right results, when I was trying to run smbldap-populate, I've got the message bellow:
Code:
Populating LDAP directory for domain CYBERNET (S-1-5-21-3478899314-3765654331-1584688938)
(using builtin directory structure)
entry dc=cybernet,dc=local already exist.
adding new entry: ou=people,dc=cybernet,dc=local
adding new entry: ou=group,dc=cybernet,dc=local
adding new entry: ou=computer,dc=cybernet,dc=local
adding new entry: ou=idmap,dc=cybernet,dc=local
adding new entry: uid=root,ou=people,dc=cybernet,dc=local
failed to add entry: objectClass: value #4 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 56.
adding new entry: uid=nobody,ou=people,dc=cybernet,dc=local
failed to add entry: objectClass: value #4 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 85.
adding new entry: cn=Domain Admins,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 97.
adding new entry: cn=Domain Users,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 108.
adding new entry: cn=Domain Guests,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 119.
adding new entry: cn=Domain Computers,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 130.
adding new entry: cn=Administrators,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 175.
adding new entry: cn=Account Operators,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 197.
adding new entry: cn=Print Operators,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 208.
adding new entry: cn=Backup Operators,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 219.
adding new entry: cn=Replicators,ou=group,dc=cybernet,dc=local
failed to add entry: objectClass: value #2 invalid per syntax at /usr/sbin/smbldap-populate line 498, <GEN1> line 230.
adding new entry: sambaDomainName=CYBERNET,dc=cybernet,dc=local
failed to add entry: invalid DN at /usr/sbin/smbldap-populate line 498, <GEN1> line 238.
Please provide a password for the domain root:
/usr/sbin/smbldap-passwd: user root doesn't exist
I have already found people saying that if I add the samba.schema correctly the problem will be solved, but it didn't happened yet.
Does anyone have any idea about my problem?
Thanks.
Last edited by allanwiese; 01-19-2011 at 10:43 AM.
Actually I've just redone my setup in a new server from scratch and it's worked well. So, there was some unknown incompatibility which was taking me to the problem.
After doing all my new setup, I'll take a look in all these links you have sent me, to try to solve the problem in my runnig server.
As I told you, I would try to come back to my configs in my running server (because I really need it!).
After some tries rechecking and remaking configs, I decided to reinstall my server from scratch (my data wouldn't be lost because I have /home in another partition).
But, even had redone the installation of the server, I've got the same error (user root doesn't exist).
Here are the only differences between the two machines where I have done the setup:
-In my running server I have my partitions under ReiserFS filesystem instead of Ext3 which I had in my test server;
-In the test server I have just one partition to the whole filesystem and also SWAP partition, but in my running server I have /home in another partition and I do not have SWAP partition;
-My runnig server has RAID5, using a LSI Mega RAID Controller and the test server has its disc connected directly to the on-board controller;
Has any of you already heard in somewhere a kind of incompatibility among Samba and LDAP and these differences above (Filesystem type; number of partitions and SWAP partition and RAID controller)?
I would really appreciate if anyone could help my.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.