I've compiled Samba with ldapsam.
Now when I am doing "smbpasswd -a nobody", it replies "rid: attribute type
undefined". It tries to use samba 2.x.x LDAP schema (rid is a historical
attribute in samba.schema)
THis is a configuration error then. Make sure you are
using ldapsam and not ldapsam_compat. Also make sure you
are using the correct version of smbpasswd.
*** Bug 1346 has been marked as a duplicate of this bug. ***