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 Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g?nstige Art an Linux Distributionen zu kommen Uptime: 3 days 21 hours 33 minutes
Bradley W. Langhorst
2002-May-09 06:52 UTC
[Samba] Error when running smbldap-useradd.pl -a
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 administratori 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