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) Does anyone have any idea about my problem? Thanks. |
Does "root" (user and group) exist on your system?
|
Yes, both user and group root exist in my system.
|
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?
|
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? |
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. |
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. |
And when you have the solution please post it here... :).
@ archtoad6 Moderator, huh. Congratulations & a respectful bow ;). |
Quote:
Quote:
|
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 07:09 PM. |