LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-19-2011, 10:41 AM   #1
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Rep: Reputation: 1
User root doesn't exist message while runing smbldap-populate


Hello everyone!

I'm configuring a Samba PDC server with LDAP, following this How-to: http://edin.no-ip.com/content/ldap-s...an-lenny-howto

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.
 
Old 01-20-2011, 03:18 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Does "root" (user and group) exist on your system?
 
Old 01-20-2011, 05:22 AM   #3
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 1
Yes, both user and group root exist in my system.
 
Old 01-20-2011, 06:37 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Sorry, I'm way out of my depth here. Until somebody more knowledgeable steps in: Is there anything like "samba-users"? If so, is there a samba-root?
 
Old 01-20-2011, 07:42 AM   #5
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
I would recommend using the following documentation:

http://us1.samba.org/samba/docs/man/...ide/happy.html

The book was written by one of the Samba developers. The link is to Chapter 5 which explains the creation of a domain controller in detail.

This is the approach I have taken with my Samba domain controllers.

There appears to be an error in your smbldap-populate script. Have you looked at line 498?

Last edited by jamrock; 01-20-2011 at 07:46 AM.
 
Old 01-20-2011, 08:07 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Warning, I'm out of my depth too.
I Googled your error msg. & found Polish, French, & Russian answers, amongst others; the only hits for English were this page, SAMBA and LDAP - net getlocalsid shows error NT_STATUS_UNSUCCESSFUL here at LQ, & this old one on the Ubunto fora.

Have you figured out what "value #2" & "value #4" refer to in the error msgs.?
Could it be "ou=people" & "dc=local"; & does that point to a solution?

Hope this is remotely helpful.
 
Old 01-21-2011, 04:48 AM   #7
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 1
Thanks everybody by your replies.

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.

Thanks again.
 
Old 01-21-2011, 05:02 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
And when you have the solution please post it here... .


@ archtoad6

Moderator, huh. Congratulations & a respectful bow .
 
Old 01-21-2011, 05:50 AM   #9
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by JZL240I-U View Post
And when you have the solution please post it here... .
I'll 2nd that. It sounds like an unusual problem w/ an interesting solution. TIA.


Quote:
Originally Posted by JZL240I-U View Post
@ archtoad6

Moderator, huh. Congratulations & a respectful bow .
Thanks. It's only been about 5 weeks & I'm still getting used to it.
 
Old 02-01-2011, 12:57 PM   #10
allanwiese
LQ Newbie
 
Registered: Jul 2009
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 1
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.

Best regards.
 
  


Reply

Tags
ldap, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sensible-mda: User(root) does not exist! bartoszx Linux - Server 1 11-11-2010 02:35 AM
smbldap-populate can't contact ldap server Webhuis Debian 3 04-04-2010 06:16 AM
user root does not exist (Cygwin) homer_3 Linux - General 1 07-30-2009 12:39 AM
user vincent does not exist - using root? dr_zayus69 Linux - Software 1 12-22-2004 04:39 PM
error message: user <username> does exist, using root feetyouwell Linux - Software 3 01-10-2004 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration