Samba access issue in Windows 7

Problems with packages? Post here, using [tags] of the package name.

Samba access issue in Windows 7

Postby ldi9999 » Thu Apr 12, 2012 4:43 pm

I'm having an issue with samba accessing from Windows 7 Ultimate 64bit version.

I have two shares in smb.conf, one has read only access "External" for user without password, another one is r/w "ExternalRW" for users with password. here is the sbm.conf:

Code: Select all
 
[global]
 workgroup = WORKGROUP
 server string = ALARM
 netbios name = ALARM
 security = user
 null passwords = yes
 map to guest = bad user
 log file = /var/log/samba/%m.log
 max log size = 50
 dns proxy = no
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE

[ExternalRW]
 path = /media/External/
 read only = no
 public = yes
 writable = yes
 guest ok = no

[External]
 path = /media/External/
 read only = yes
 public = yes
 writable = no
 guest ok = yes


I could see both shares under Network in Windows 7. Read only share "External" works as expected. However, I'm having issue accessing RW share "ExternalRW". When I double clicked on "MediaRW", windows pop up window asking for user id and password. No matter how I enter, I always get "access denied" error and never be able to access the share.

Any idea? Thanks.
ldi9999
 
Posts: 59
Joined: Mon Mar 05, 2012 10:31 pm

Re: Samba access issue in Windows 7

Postby WarheadsSE » Thu Apr 12, 2012 4:53 pm

And you've verified the username is in the smbpasswd blah blah.. ?
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3483
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samba access issue in Windows 7

Postby ldi9999 » Thu Apr 12, 2012 6:08 pm

I followed the guide
Code: Select all
Now we create a user that will be used for guest access. Use all defaults and pick a password.
adduser pcguest

Add the new guest account to samba. (Use a blank password since it's a guest account).
smbpasswd -a pcguest


I did tried user pcguest, guest, root.. anything I could think of.
ldi9999
 
Posts: 59
Joined: Mon Mar 05, 2012 10:31 pm

Re: Samba access issue in Windows 7

Postby WarheadsSE » Thu Apr 12, 2012 7:26 pm

guest = bad user, remember?

maybe a valid user added might help...
OXNAS pwner

Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 3483
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: Demos and 1 guest