how to create SMB folder requiring authentication

Questions about applications and software
Forum rules
Before you post please read how to get help

Re: how to create SMB folder requiring authentication

Postby stimpe on Mon Jan 21, 2013 8:41 pm

altair4 wrote:Dolphin? Oh dear lord, KDE?

I have Win7 in this zoo so I will try to reproduce this problem but what version do you have. I have Win7 Pro's so if yours in Win7 Home I don't know how valid this will be.

It won't be today though since I should have shut down about 3 hours ago.

haha yeah KDE...i'm scared to try anything else before I learn at least one thing consistently! thank you for all your help altair, if you cant reproduce this its no big deal, i think i might just have to give up on this and just allow all guest user access for my shares

win7 ultimate
Level 1
Level 1
Posts: 28
Joined: Fri Dec 28, 2012 3:19 pm

Linux Mint is funded by ads and donations.

Re: how to create SMB folder requiring authentication

Postby altair4 on Tue Jan 22, 2013 8:23 am

I can't reproduce this issue on any any of the Win7's I have here. There is one technique that was designed for something different that you can try:

Note: You're going to have to translate some of these into KDE, sorry.

[1] Create a file as root:
Code: Select all
gksu gedit /etc/samba/smbusers

[2] Add this content and save it:
Code: Select all
landon = BEAST\landon

[3] Add a line to smb.conf - under the workgroup line would be good:
Code: Select all
username map = /etc/samba/smbusers

[4] Then restart samba:
Code: Select all
sudo service smbd restart

When you access the share as landon from the Win7 machine:

** landon on Win7 will be converted to the landon Linux user on Mint.
** Samba will then search the smbpasswd database for landon and his associated samba password.
** If the samba password matches what the Win7 machine is sending then you're in.

This is usually used to convert a client user like "mary" to a server user named "bob" or to convert a Windows user with spaces in his name to a Linux user that has no spaces. Why it would be necessary for you in this case I can't figure out but it's the best I have at the moment.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Level 17
Level 17
Posts: 7453
Joined: Tue Feb 03, 2009 10:27 am


Return to Software & Applications

Who is online

Users browsing this forum: austin.texas, Bing [Bot], MSNbot Media, Ozo and 16 guests