[Samba] authenticate a share access to win2k3 server
Parker, Michael
Michael.Parker at AcuityBrands.com
Thu Feb 16 15:11:37 GMT 2006
If I understand what your saying, use a line such as valid user =
domain_user_name. If I'm logged in as mdp, but the share requires user
id xyz, the it should prompt you for a password automatically. At least
it does not my shares, but I also don't put in the browseable statement.
-----Original Message-----
From: samba-bounces+michael.parker=lithonia.com at lists.samba.org
[mailto:samba-bounces+michael.parker=lithonia.com at lists.samba.org] On
Behalf Of Martijn Hazenberg
Sent: Thursday, February 16, 2006 9:48 AM
To: Trimble, Ronald D
Cc: samba at lists.samba.org
Subject: RE: [Samba] authenticate a share access to win2k3 server
Ok,
It must be me being unclear.
Again... Some of the shares are implemented like this :
[share]
comment = share
path = /raid/share
writable = yes
browseable = yes
read only = no
public=yes
This means that everyone that is logged in to the xp machine on the
domain can access the share.
But i have two shares, which should only be available to 2 specific
users on the domain.
Now the question is, what is it i need to do to enable this?
Is this :
[share]
comment = share
path = /raid/share
writable = yes
browseable = yes
read only = no
valid user = domain_user_name
The only thing i need to do then to make it work ?
Best regards,
Martijn
-----Oorspronkelijk bericht-----
Van: Trimble, Ronald D [mailto:Ronald.Trimble at unisys.com]
Verzonden: donderdag 16 februari 2006 15:22
Aan: Martijn Hazenberg; samba at lists.samba.org
Onderwerp: RE: [Samba] authenticate a share access to win2k3 server
I don't understand why you would want to have the user authenticate
again. If they are already signed into your domain and they try to
access a resource they have permission to, it should just let them in.
If they don't have access, it should prompt them for a valid username
and password.
-----Original Message-----
From: samba-bounces+ronald.trimble=unisys.com at lists.samba.org
[mailto:samba-bounces+ronald.trimble=unisys.com at lists.samba.org] On
Behalf Of Martijn Hazenberg
Sent: Thursday, February 16, 2006 6:41 AM
To: samba at lists.samba.org
Subject: [Samba] authenticate a share access to win2k3 server
Hi,
I have a samba server sharing some stuff. Now i want to enable access to
some share only to SOME users on the domain.
this is the smb.conf :
[global]
netbios name = DATASVR
server string = DATASVR
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind gid = 10000-20000
workgroup = LOKAAL
os level = 20
winbind enum groups = yes
socket address = 10.0.0.200
password server = *
preferred master = no
winbind separator = +
max log size = 50
log file = /var/log/samba3/log.%m
encrypt passwords = yes
dns proxy = yes
realm = .LOKAAL
security = ADS
wins server = 10.0.0.201
wins proxy = no
[share]
comment = stuff
path = /raid/stuff
writable = yes
read only = no
valid users = user1 user2
I was hoping that when a user selects the above share, they would get a
passwd screen, where they would have to fill in the same passwd as they
use for logging in to their xp machines. What would i need to do to
accomplish this ?
best regards,
Martijn
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list