smbpasswd for samba4
johannes_samba at aon.at
Sun Dec 28 21:24:15 GMT 2008
i started modifing the provision python script in order to get some
information how this can work.
i can already change the passwort(s) working root privileges.
but of course when i run it as an different user i get:
ltdb: tdb((null)): tdb_open_ex: could not open file
/usr/local/samba/private/sam.ldb: Permission denied
Unable to open tdb '/usr/local/samba/private/sam.ldb'
Failed to connect to '/usr/local/samba/private/sam.ldb'
any suggestions how to change the passwort without su-rights?
(for a smbpasswd python script?)
> like requested by volker i think i can handle to write the new smbpasswd
> for samba4 (with python).
> i hope the python module for samba is supporting all the needed functions.
> anyway, because i just started to understand how the samba code works i'll
> need some time for the implementation.
> but i think i'll find some time for this during the christmas holidays.
> BR, johannes
More information about the samba-technical