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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martijn Hazenberg Sent: Thursday, February 16, 2006 9:48 AM To: Trimble, Ronald D Cc: samba@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:[EMAIL PROTECTED] 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. If they don't have access, it should prompt them for a valid username and password. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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, 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba