hintzen@thch.uni-bonn.de
2000-Aug-29 06:58 UTC
Making a share visible only to members of a group
Hi,> I want a shared directory to be visible only to the members of a group, and > to no one else. Instead, a shared directory is either visible to everyoneI tried to realize this by using include like: #include smb.conf.%G But it did not work correctly. Sometimes the share was visible, sometimes it wasnt, and if it was visible, network path wasnt found afterwards.> I have worked as a programmer, and I think it would be a small effort to > create a smb.conf statement like: > browseable-by-group = @groupname > or: > browseable = @groupname > or: > browseable = valid users > to make sure only members of a certain group see the share listed.Which is a nice idea. I would prefer this solution to includes. At least it should work both.> > Onno > -- > Onno Zweers, automatisering mailto:onno@verweij.com > Verweij Fashion BV http://www.verweij.com-- Knut Hintzen Institut fuer Physikalische und Theoretische Chemie Wegelerstr. 12 D-53115 Bonn Tel.: 0228/73-2554 Fax: 0228/73-9066 E-Mail: knut@uni-bonn.de WWW: http://www.thch.uni-bonn.de/knut
David Collier-Brown
2000-Aug-29 12:30 UTC
Making a share visible only to members of a group
Onno wrote: | I want a shared directory to be visible only to the members of a | group, and to no one else. Instead, a shared directory is either | visible to everyone (browseable=yes) or to no-one (browseable=no). | When a non-authorised user enters the shared directory, she gets | an error message. That's good. But since the user cannot use the | share anyway, I want her not to see the share in the list. You'll have to speak to Microsoft about changing thge protocol to do that (;-)) Seriously, though, you can group the shares you want visible by server, and tell all the people in sales, for example, to use the SALES server. [See http://www.oreilly.com/catalog/samba/chapter/book/ch04_07.html for an example of how to do this from a single copy of Samba] --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com