HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   CentOS 5.x Samba Domain Controller With LDAP Backend Help Needed (http://www.howtoforge.com/forums/showthread.php?t=51879)

NetworkSlacker 14th March 2011 16:50

CentOS 5.x Samba Domain Controller With LDAP Backend Help Needed
 
I have follwed the tutorial here and I have run into a brick wall. When running the command
Code:

/usr/sbin/smbldap-useradd -a -G 'Domain Users' -m -s /bin/bash/ -d /home/user2 -F "" -P user1
I get this error:
Code:

Error looking for next uid in sambaDomainName=sambaDomain,dc=test,dc=local:No such object at /usr/lib/perl5/vendor_perl/5.8.8/smbldap_tools.pm line 1189.
I am using CentOS 5.5 i386 in a virtual machine. If anyone can helo it would be appreciated.

NetworkSlacker 15th March 2011 21:05

Nevermind, I have solved my problem.

smahares 19th March 2011 13:28

Hello NetworkSlacker,

I'm getting the same error, could you tell me how did you solve the problem please ?

Thanks in advance.

NetworkSlacker 19th March 2011 21:34

Hello smashares! If you go here you will find some help. But what you need to do if assume your problem is the same as mine, edit the /etc/smbldap-tools/smbldap.conf file and find the

Code:

sambaUnixIdPooldn="sambaDomainName=fubar,${suffix}"
line and replace the fubar with your workgroup.

Hope this help and good luck!

smahares 23rd March 2011 21:55

Many thanks NetworkSlacker, I'm really greatful ^_^


All times are GMT +2. The time now is 05:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.