[Samba] reading "write list" from a file
Helmut Hullen
Hullen at t-online.de
Fri Jul 15 10:39:00 MDT 2011
Hallo, Jeremy,
Du meintest am 15.07.11:
>> for a school server I'd like the option
>>
>> write list = "/path/to/class-8a-list"
>>
>> for the share [class-8a]
>>
>> Ok - I can work with
>>
>> [class-8a]
>>
>> ...
>> include "/path/to/writelistdefinition.txt"
>> ...
>>
>> but that's more ugly.
> Well, patches welcome for that :-). Shouldn't be too
> hard, we already have all the infrastructure.
Sounds very nice!
> Change the write list code to check for a leading '/' then
> open that path.
Yes - that's the way "squid" uses (too).
By the way: may be there's a problem for Samba notifying changes in such
a file.
Changing an "include" file is notified (and that's fine).
Viele Gruesse!
Helmut
More information about the samba
mailing list