Posted: Fri Jan 28, 2011 18:17 Post subject: Samba in build 15962 BS Question
I have set up samba in 15962-mega with user1, user2 and public share and it's working to 90% but it'a always a "BUT".
From my vista computer i don't need to give user/password to browse public folder.
When I tested from my windows 7 ultimate I have to set user/password to reach public folder.
I have read somewhere that is a win7 problem. Have someone any solution to this problem in win7?
"Send NTLMv2 response only\refuse LM & NTLM" <IS NOT DEFINED>
Code:
[global]
server string = rt-n16
workgroup = workgroup
interfaces = br*
bind interfaces only = yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
printing = none
load printers = no
usershare allow guests = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
[public]
comment = shared mapp
path = /mnt/public
read only = no
guest ok = yes
guest only = yes
writeable = yes
force user = root
[User1]
comment = protected mapp
path = /mnt/mine map
read only = no
guest ok = no
valid users = user1
force user = root
[User2]
comment = protected mapp
path = /mnt/yours map
read only = no
guest ok = no
valid users = user2
force user = root
_________________ [I prefer answere in whole sentence]
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Fri Jan 28, 2011 19:57 Post subject:
When are you going to listen to me and install OTRW?
Go ahead and pull your hair out :
http://wiki.samba.org/index.php/Windows7 _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Have set "Network security: LAN Manager authentication level" to "1"
I still get login "windows security" and "assign networkpassword"
When I try to reach "public map" must I give password to user1 or user2 to reach public map. _________________ [I prefer answere in whole sentence]
FWIW, i have otrw 3.5.6 installed. Very vanilla setup. No complex password maps ..
I was using Win Vista clients to access the shares. I have since upgraded to Win 7. I did NOT have to do anything to the registry to restore access to the shares. I am using Win7Ultimate/HomePremuim, that may have played a role in not needing the registry changes.
Took a little while, back on forth on the forum to get the 3.5.6 version working. In hindsight, it should have been relatively painless. Now that I have it, I have since updated my cheatsheets and have have actually helped others on this forum get their setup working.
Let me know if you need help. _________________ ===================================
1 * DIR-866L - 29193 Mega (Main Gateway)
1 * EA4200 - 29193 Mega (Main Gateway)
1 * EA6500 - 29193 Mega (Repeater Bridge)
1 * EA6500v2 - 29193 Mega (Repeater Bridge)
1 * WRT610N - 29193 Mega (Repeater Bridge)
===================================
Okey
I consider to use OTRW because I don't get it to work with my setup in build 15962-mega on top post.
I have to give "some" password on first shot and after that all working.
Maby you have any solution om that? _________________ [I prefer answere in whole sentence]
I used the root/<router password>. I think, I had to enter it once, but that was it. Have had several client reboots since and connectivity is seamless.
go ahead .. walk on the wild side .. _________________ ===================================
1 * DIR-866L - 29193 Mega (Main Gateway)
1 * EA4200 - 29193 Mega (Main Gateway)
1 * EA6500 - 29193 Mega (Repeater Bridge)
1 * EA6500v2 - 29193 Mega (Repeater Bridge)
1 * WRT610N - 29193 Mega (Repeater Bridge)
===================================
There are others on the same build, win7 OS that dont need passwords to access shares. Although in this case the person wants to have the security .. understandably.. _________________ ===================================
1 * DIR-866L - 29193 Mega (Main Gateway)
1 * EA4200 - 29193 Mega (Main Gateway)
1 * EA6500 - 29193 Mega (Repeater Bridge)
1 * EA6500v2 - 29193 Mega (Repeater Bridge)
1 * WRT610N - 29193 Mega (Repeater Bridge)
===================================