What is the proper way to configure the module for LDAP users and Groups?

It defaults to using the inetorgperson objectclass, and if I try and add a user without SAMBA support enabled, I get this error message:

Failed to save user : Failed to add user to LDAP database : no structuralObjectClass operational attribute


If I enable SAMBA support, I get:

object class 'sambaSamAccount' requires attribute 'sambaSID'


Where as earlier I was getting errors: objectclass: value #2 invalid per synta
I have the Domain SID for Samba3 set based on the net getlocalsid command..

Primary group SID is set to "Work out automatically"

Any help would be greatly appreciated.   I've tried several other web based admin tools and this is the closest I've come to getting one working!

Thanks in advance.