I optaing this ERROR: Failed to set password for user 'administrator': (34, "ldb_search: invalid basedn '(null)'") Il 31/03/2019 18:32, Stefan Kania via samba ha scritto:> As user "root" do "samba-tool user setpassword administrator" that's it ;-) > > Am 31.03.19 um 17:48 schrieb marco pirola via samba: >> I lost the password of the user Administrator; whath should i do? >> >> >>-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190331/7633bfb8/signature.sig>
On Sun, 31 Mar 2019 19:20:04 +0200 marco pirola via samba <samba at lists.samba.org> wrote:> I optaing this > > ERROR: Failed to set password for user 'administrator': (34, > "ldb_search: invalid basedn '(null)'") > > Il 31/03/2019 18:32, Stefan Kania via samba ha scritto: > > As user "root" do "samba-tool user setpassword administrator" > > that's it ;-)Are doing this on a Samba DC ? It should do something like this: root at dc1:~# samba-tool user setpassword Administrator New Password: Retype Password: Changed password OK Rowland
root at dc:~# samba-tool user setpassword Administrator New Password: Retype Password: ERROR: Failed to set password for user 'Administrator': (34, "ldb_search: invalid basedn '(null)'") root at dc:~# Il 31/03/2019 19:35, Rowland Penny via samba ha scritto:> samba-tool user setpassword Administrator