You are not logged in.

#1 2012-05-28 20:05:59

muffinss
Member
From: united states
Registered: 2011-02-07
Posts: 54

having trouble getting samba shares to work right

Edit:
Alright, so I changed my shares around and editted my config some more. All I want to do now is have one public share where anyone in my house can access and write to without needing to input any username or password, and then I want my own private share that requires a login to access. Right now, when I go into Windows and access FILE64, it asks me for a username and password. The problem with this, once I input the username and password, which is orlfman, both shares are now accessible. I cannot access the public share without first giving it a username and password, and by doing so, unlocks my private share.

Here is my config and info on the accounts:

smb.conf

workgroup = WORKGROUP
netbios name = FILE64
server string = File Server
security = user
guest account = rainhard
map to guest = bad user
log file = /var/log/samba/%m.log
max log size = 200kb
dns proxy = no
wins support = yes
encrypt passwords = yes
passdb backend = tdbsam


[random]
comment = random stuff
path = /home/rainhard/random/
only guest = yes
public = yes
writable = yes

[files]
comment = file stuff
path = /home/orlfman/files/
valid users = orlfman
public = yes
writable = yes

/etc/passwords

[root@piefile64 samba]# cat /etc/passwd
orlfman:x:1000:1000::/home/orlfman:/bin/bashh
rainhard:x:1002:1002::/home/rainhard:/bin/bash
[root@piefile64 samba]# 

samba users

[root@piefile64 samba]# pdbedit -L
orlfman:1000:
rainhard:1002:
[root@piefile64 samba]# 

What am I doing wrong?

Last edited by muffinss (2012-05-28 21:35:06)

Offline

#2 2012-05-28 20:36:51

muffinss
Member
From: united states
Registered: 2011-02-07
Posts: 54

Re: having trouble getting samba shares to work right

Well I fixed my writing issues with my random share. Forgot to chmod 777 it. Still having login issues with the other two though.

Offline

Board footer

Powered by FluxBB