Hi,
Im new to linux and cant see to figure out samba rights. I made a linux account a samba account and a matching windows account. I can login just fine but somehow i get the permissions from other instead of my group. Even with ACL enabled on the share he still thinks im other.
what could this be ?
this is my smb.conf entry
[test share]
comment = sdgsds
path = /sshare/
public = yes
printable = no
inherit acl = Yes
create mask = 0775
On Mon December 7 2009 08:26 am, Zeepblok wrote:
>
> Hi,
>
> Im new to linux and cant see to figure out samba rights. I made a linux
> account a samba account and a matching windows account. I can login just
> fine but somehow i get the permissions from other instead of my group.
> Even with ACL enabled on the share he still thinks im other.
> what could this be ?
>
> this is my smb.conf entry
>
> [test share]
> comment = sdgsds
> path = /sshare/
> public = yes
> printable = no
> inherit acl = Yes
> create mask = 0775
>
>
Zeepblok;
It would help to also see the Global section of /etc/samba/smb.conf, you might
want to also post that. You can use substitute values for any security
related settings such a public IPs.
With that said, here are a few ideas.
- Make sure you have added Samba users with:
smbpasswd -a <username>
must be a valid Samba user, but the password you assign need not be
their login password.
-
By default, Windows will try to connect to the share with the login
username/password of the local user.
-
Samba must obey Linux permissions. Your user needs to be at least in the
owning group with suitable permissions for the group or you need to give
suitable permissions to other.
-
If you add the following parameter to the Global section of your smb.conf
file you should be able to see how your user is actually authenticating on
the share.
log level = 1 auth:3
The authentication will be logged in /var/log/samba/log.smbd, unless you
changed the log file name in smb.conf. In that case it will be logged in the
log file you named in your smb.conf.
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Hi,
The config file is still default
- Make sure you have added Samba users with:
Code:
smbpasswd -a <username>
-----------did it -----------
- By default, Windows will try to connect to the share with the login
username/password of the local user.
---------They are the same in win and linux----
- Samba must obey Linux permissions.
--------The user is owner of the dir and in the dir group
- If you add the following parameter to the Global section of your smb.conf
-----------He authenricates me as the right user--------
—update—
If I add a new user he cant even login to samba with his own login info :S and yes is did smbpasswd 
quick question. Do i also need to give the samba users permissions ? (the ones I make with smbpasswd) if so than how do i do this ?
I solved it 
I never restarted the smb service when i was playing with the config file -_- yea i know laugh at me i desserve it
On Tue December 8 2009 07:06 am, Zeepblok wrote:
>
> I solved it 
>
> I never restarted the smb service when i was playing with the config
> file -_- yea i know laugh at me i desserve it
>
>
zeepblok;
Glad to see you have it working.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green