[Samba] help with user permissions
Dale Schroeder
dale at BriannasSaladDressing.com
Tue Sep 28 11:58:12 MDT 2010
Ben,
If I understand you correctly, you are describing expected behavior.
Using "valid users" means only
the users listed can access that share. If you want all the users to
have access, don't use "valid users".
Dale
valid users (S)
This is a list of users that should be allowed to login to this
service. Names starting with '@', '+' and '&' are interpreted using
the same rules as described in the /|invalid users|/ parameter.
If this is empty (the default) then any user can login. If a
username is in both this list and the /|invalid users|/ list then
access is denied for that user.
The current servicename is substituted for /|%S|/. This is useful in
the [homes] section.
Default: //|valid users|/ = | # No valid users list (anyone can
login) | /
Example: //|valid users|/ = |greg, @pcusers| /
On 09/28/2010 10:22 AM, Ben George wrote:
> Hi
>
> My Name is Ben.T.George
>
> i successfully installed samba and other all dependencies on my Solaris 10
> (SPARC) machine.
>
> i stopped the default samba and swat and enabled these 2 from the installed
> location (/usr/local/samba/sbin)
>
> then i edited the smb.conf using swat.after that i got a smb.conf like this\
>
>
> # Samba config file created using SWAT
> # from UNKNOWN (ÿ¿û )
> # Date: 2010/09/28 16:30:12
>
> [global]
> workgroup = GROUP
> hosts allow = 192.168.1.
>
> [user1]
> path = /export/home/user1
> valid users = user1
>
> [ramana]
> path = /export/home/ramana
> valid users = ramana
>
> [teju]
> path = /export/home/teju
> valid users = teju
> [user1]
> path = /export/home/user1
> valid users = user1
>
> after that i created these 3 user's and set password (smbpassword and normal
> password)
>
> then i added one windows xp machine to this same GROUP,i can view these
> shared folders there
>
> then my problem is when i access that particular shared folders,every time
> one folder opens,when i try to access other 2 ,it says not accessible
>
> after that i tried to create these same users on windows,i logged another
> user and tried,,then the folder permission changed
> still i can access another folder and other 2 are not accessible..
>
> every time these changed according to the user.
>
> please help me to solve these....without giving "valid users" it works
> perfect for me
>
> please
>
>
> Thanks
> Ben.T.George
More information about the samba
mailing list