May 4, 2010

Samba 3.4, Webmin 1.510 and some trouble

For some odd reason, my webmin is not able to correctly create users in the samba module unsing smbpasswd.
Each time a user was created, the user had "XXXX..." in /etc/smbpasswd . Trying to change the samba password yielded in an error
"SAMR connection to machine NT_STATUS_ACCESS_DENIED failed. Error was 127.0.0.1, but LANMAN password changed are disabled".

Part of the solution was to add "encrypted passwords = yes" to /etc/samba/smb.conf which at least enabled the possibility to add the user via smbpasswd to the samba database (where the heck are those hashes stored now? - The user still had "XXXX..." in the LANMAN hash).

Still, webmin does not add a freshly created user correctly to the samba database (isn't it supposed to make things easier?) - I haven't found a solution to this problem yet.

Update (2010-10-22):
The problem is apparently connected to the fact, that webmin uses the library libmd5 marked as deprecated and is no longer available in the standard installation of Ubuntu 10.04 and Debian. This has been pointed out in different Ubuntu forums, so you just have to install this library and webmin should work properly. Kelvin Wong has all the necessary commands put together nicely for copy and paste in his blog.

No comments: