On Mon, 2003-03-17 at 11:37, [EMAIL PROTECTED] wrote: > Hello, > > I am using Samba "Version 2.2.3a-12 for Debian" on a Debian 3.0 system. > I have looked at lots of Samba documentation and have not been able to > find anything explaining what I need. I want to create a single directory > on my Samba server that is ok for any user (e.g. 'guest ok = yes'), but > is password protected. Meaning, I want a share that any user can access > as long as they have the password to that specific directory. I haven't > seen how to do this anywhere, so any assistance that you could offer > would be most appreciative. Thanks a lot!
Set 'security=share' on the server, and create an account in smbpasswd for a new user 'share_user' (or whatever you like to call it). Then put 'user = share_user' and 'valid users = share_user' in the declaration for that share. This gets you pretty close to the 'share level' password on Win9X. Not quite (because we map to unix users) but pretty close. Note that setting 'security=share' will affect other shares on the server, so you might want to look into a %L include to host this on a separate virtual hostname. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba