Hi!!
I encountered the same problem as you when creating
a computer account.
I modified smbldap_tools.pm (v1.18) as follows :
In the add_posix_machine sub i added
objectclass: device in $tmpldif
I did the same thing in
add_samba_machine_mkntpwd
As the objectclass device is of a structural type,
the error : no structural object class provided doesn't occur
anymore.
For the creation of a user with a specified group,
the group must already exist.
I encountered the same problem because the name
provided in /etc/ldap.conf and /usr/local/sbin/smbldap_conf.pm for the ou=Groups
wasn't the same...
Maybe you should check...
For info i use RH8.0, Samba 2.2.8, OpenLDAP
2.1.16-1
|