Linux - Server This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-19-2011, 10:41 AM
|
#1
|
LQ Newbie
Registered: Jul 2009
Distribution: Debian
Posts: 14
Rep:
|
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.
|
|
|
01-20-2011, 03:18 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Does "root" (user and group) exist on your system?
|
|
|
01-20-2011, 05:22 AM
|
#3
|
LQ Newbie
Registered: Jul 2009
Distribution: Debian
Posts: 14
Original Poster
Rep:
|
Yes, both user and group root exist in my system.
|
|
|
01-20-2011, 06:37 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
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?
|
|
|
01-20-2011, 07:42 AM
|
#5
|
Member
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444
Rep:
|
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.
|
|
|
01-20-2011, 08:07 AM
|
#6
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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.
|
|
|
01-21-2011, 04:48 AM
|
#7
|
LQ Newbie
Registered: Jul 2009
Distribution: Debian
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
01-21-2011, 05:02 AM
|
#8
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
And when you have the solution please post it here... .
@ archtoad6
Moderator, huh. Congratulations & a respectful bow .
|
|
|
01-21-2011, 05:50 AM
|
#9
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Quote:
Originally Posted by JZL240I-U
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
@ archtoad6
Moderator, huh. Congratulations & a respectful bow .
|
Thanks. It's only been about 5 weeks & I'm still getting used to it.
|
|
|
02-01-2011, 12:57 PM
|
#10
|
LQ Newbie
Registered: Jul 2009
Distribution: Debian
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|