Hello guys

I've tried to followed exactly the steps in howtoforge on how to setup Samba PDC w/ LDAP backend. I've reach far up to page two of the tutorial. However I'm stucked in the middle of the part of page two:


in the part of the Start the LDAP Samba installation up I should type the :

useradd user1
smbldap-useradd -a -G 'Domain Users' -m -s /bin/bash -d /home/user2 -F "" -P user1


I get this error:

Error looking for next uid in sambaDomainName=sambaDomain,dc=DOMAINNAME:No such object at /usr/lob/perl5/vendor_perl/5.8.8/smbldap_tools.pm line 1194.

why does this appear, Is there any configurations missing? I appreciate any help response in advance thanks... (sorry my english is limited)