This is a discussion on RE: [Samba] authenticate a share access to win2k3 server within the Samba forums, part of the Networking and Network Related category; Ok, It must be me being unclear. Again... Some of the shares are implemented like this :=20 [share] comment =3D ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Ok,
It must be me being unclear. Again... Some of the shares are implemented like this :=20 [share] comment =3D share path =3D /raid/share writable =3D yes browseable =3D yes read only =3D no public=3Dyes=20 This means that everyone that is logged in to the xp machine on the domain can access the share.=20 But i have two shares, which should only be available to 2 specific users on the domain.=20 Now the question is, what is it i need to do to enable this? Is this :=20 [share] comment =3D share path =3D /raid/share writable =3D yes browseable =3D yes read only =3D no valid user =3D domain_user_name=20 The only thing i need to do then to make it work ? Best regards, Martijn=20 -----Oorspronkelijk bericht----- Van: Trimble, Ronald D [mailto:Ronald.Trimble@unisys.com]=20 Verzonden: donderdag 16 februari 2006 15:22 Aan: Martijn Hazenberg; samba@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. =20 If they don't have access, it should prompt them for a valid username and password. -----Original Message----- From: samba-bounces+ronald.trimble=3Dunisys.com@lists.samba.or g [mailto:samba-bounces+ronald.trimble=3Dunisys.com@lists.samba.or g] On Behalf Of Martijn Hazenberg Sent: Thursday, February 16, 2006 6:41 AM To: samba@lists.samba.org Subject: [Samba] authenticate a share access to win2k3 server Hi, =20 I have a samba server sharing some stuff. Now i want to enable access to some share only to SOME users on the domain. =20 this is the smb.conf :=20 =20 =20 [global] netbios name =3D DATASVR server string =3D DATASVR socket options =3D TCP_NODELAY SO_RCVBUF=3D16384 = SO_SNDBUF=3D16384 idmap uid =3D 10000-20000 idmap gid =3D 10000-20000 winbind enum users =3D yes winbind gid =3D 10000-20000 workgroup =3D LOKAAL os level =3D 20 winbind enum groups =3D yes socket address =3D 10.0.0.200 password server =3D * preferred master =3D no winbind separator =3D + max log size =3D 50 log file =3D /var/log/samba3/log.%m encrypt passwords =3D yes dns proxy =3D yes realm =3D .LOKAAL security =3D ADS wins server =3D 10.0.0.201 wins proxy =3D no [share] comment =3D stuff path =3D /raid/stuff writable =3D yes read only =3D no valid users =3D user1 user2 =20 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 ? =20 best regards, Martijn =20 =20 -- 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 |