On Thu, 2004-04-15 at 00:48, Vempati Srinivasa Rao wrote: > If we set browseable = no , then share won't visible to valid users > also. But how to hide the share from user, if user is not valid. > >
You CAN do it with 'include' files. eg I have - ; Include special user files include = /usr/local/samba/lib/smb.%U.conf With %U being substituted for the user. You can do it with groups as well. (%G) You put the 'restricted' share definitions in the conditional include files, so that definition only gets parsed when particular users / groups login. Only it doesn't work quite as well as you might expect. Even if you are logged in, Windows appears to pretty well randomly decide to fetch the share list with an anon connection instead as the logged in user. Users get confused when their share points keep disappearing from the browse list. So I stopped trying to hide shares... -- Matthew Geier <[EMAIL PROTECTED]> Arts IT Unit, Faculty of Arts, Sydney University -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
