LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba Headache: Guest works, but authenticated users don's (https://www.linuxquestions.org/questions/linux-software-2/samba-headache-guest-works-but-authenticated-users-dons-4175418627/)

xmrkite 07-25-2012 11:43 AM

Samba Headache: Guest works, but authenticated users don's
 
Hello, I am trying to share a simple folder on my linux box with a few computers.

I am able to go from any computer who does not have a user name that matches my linux computer. So for example, if I have user joe with password joe on my linux computer, joe on windows get's a popup asking for username and password, even though his windows password matches. If he types in joe and joe it doesn't work.

I just want everyone to have access, no matter the password. Here is my smb.conf file:

Code:

[global]

  workgroup = WORKGROUP
  server string = %h server (Samba, Ubuntu)
  dns proxy = no

  log file = /var/log/samba/log.%m
  max log size = 1000
  syslog = 0
  panic action = /usr/share/samba/panic-action %d


  usershare allow guests = yes

#======================= Share Definitions =======================

[700-Shares]
  comment = Users profiles
  path = media/700GB/700-Shares/
  force guest = yes
  security = share
  writable = yes
  public = yes

-Thanks for any help

xmrkite 07-26-2012 02:15 PM

Ok, I figured it out. It needs to look like this:


Quote:

[global]

workgroup = workgroup
server string = %h server (Samba, Ubuntu)
dns proxy = no

log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d

usershare allow guests = yes
security = share
guest ok = yes
guest account = put_account_name_here

#======================= Share Definitions =======================

[700-Shares]
comment = 700-Shares
path = /media/700GB/700-Shares
writeable = yes
guest ok = yes


All times are GMT -5. The time now is 10:31 PM.