[Samba] Error when running smbldap-useradd.pl -a

Bradley W. Langhorst brad at langhorst.com
Thu May 9 06:52:03 GMT 2002


On Thu, 2002-05-09 at 09:16, Alexander Skwar wrote:
> Hi!
> 
> I'm following the idealx setup on setting up Samba as a PDC with a LDAP
> backend.
> 
> It says, to add a user, one should do:
> 
> smbldap-useradd.pl -a -m -g 900 administrator
> 
> This gives me the following error message:
> 
> ldap_modify: Object class violation
>         additional info: object class 'sambaAccount' requires attribute 'rid'
> ldif_record() = 65
> /usr/local/sbin/smbldap-useradd.pl: error while adding samba account to posix user administrator
i had the same problem - 
i think you have to add the "unix version" of the user first

It doesn't really make much sense that smbpasswd and smbldap-useradd.pl
can make all the stuff they need though.

brad
 






More information about the samba mailing list