OS: Ubuntu Linux 14.04 - 64 bits when running the command "samba-tool user setpassword Administrator" I get a prompt for the administrator password; as soon as I type it I get the following error message ldb: unable to stat module /usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory ERROR: Failed to set password for user 'Administrator': (34, "ldb_search: invalid basedn '(null)'") the command kinit administrator@MYDOMAIN.LOCAL give the error below: kinit: Preauthentication failed while getting initial credentials
This happening on a new fresh install of samba from source with the follwing commands a) git clone git://git.samba.org/samba.git /usr/src/samba4/ b) cd /usr/src/samba4/ ./configure --enable-debug --enable-selftest make make install
You must be mixing up the samba-tool from your source install in /usr/local/samba with the samba-tool from your system binaries.