Page 1 of 1

Cannot log in with Samba

Posted: 27 Apr 2015, 23:46
by viking60
I have set up samba. Read all about it and I have done the usual somersaults and scratched my head with my toes.
So Finally I get everything to show up on network shares in the file manager. And there I am prompted for the Username Workgroup and password.
And there nothing is accepted :f
I have synced and converted users in webmin without any luck. Then I found a oneliner that takes care of that samba user:

Code: Select all

sudo smbpasswd -a <user name>

Here I use my regular linux user name.
Then I get prompted for a password and there I use my regular password.

Et Voila it works - I can log in to my shared stuff.
Naturally you need to check that your workgroup is the same. That your config is ok with

Code: Select all

testparm 
and reload your samba server after config changes. etc etc,
This tip is for you guys that have read the documentation and still are scratching your heads - like me. :-D

PS: This worked for me - Samba has a gift of updating breaking and fubaring so much that your problem probably is something else. :berserkf
But then again this might be your lucky day - because you visited here and got it working - like I did:
:dancer