Hope someone can help because this is driving me bonkers!
When trying to add a machine from the command line or via Windows XP I get the following:
Code:
Could not find base dn, to get next uidNumber at /usr/sbin//smbldap_tools.pm line 1073.
[2008/09/12 14:08:14, 0] passdb/pdb_interface.c:pdb_default_create_user(329)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -s /bin/false 'edstest$'' gave 3
[2008/09/12 14:08:14, 3] passdb/pdb_interface.c:pdb_default_create_user(354)
pdb_default_create_user: failed to create a new user structure: NT_STATUS_NO_SUCH_USER
This is my etc/smbldap-tools/smbldap_bind.conf
Code:
############################
# Credential Configuration #
############################
# Notes: you can specify two differents configuration if you use a
# master ldap for writing access and a slave ldap server for reading access
# By default, we will use the same DN (so it will work for standard Samba
# release)
slaveDN="cn=config,dc=mail,dc=domain,dc=co,dc=uk"
slavePw="pass"
masterDN="cn=config,dc=mail,dc=domain,dc=co,dc=uk"
masterPw="pass"
Anyone able to help?