[PATCH] Regexp filter mechanism for browse list
Moritz Mühlenhoff
muehlenhoff at univention.de
Mon Jun 11 08:00:50 GMT 2007
Hi,
we implemented a browse list filter mechanism for a customer with a very large
environment of Windows clients and would like to propose it for inclusion into
3.0.x. At the customers's environment the combined amount of characters of
the hostnames exceed 64k, running into an internal limit. By configuring a
regular expression in the newly introduced config option "browse_dat filter"
a list of hosts can be suppressed to appear in the browse list. Thus,
ppplying this filter allows selective hiding of unneeded hosts.
The code has been tested internally and is running in a large environment with
several thousand hosts in production use.
regexp(3) is POSIX, so I included it unconditionally in includes.h. If you
need additional changes or prefer a different configuration item name or
other stylistic changes, please tell.
Cheers,
Moritz
--
Moritz Mühlenhoff muehlenhoff at univention.de fon: +49 421 22 232- 0
Development Linux for Your Business fax: +49 421 22 232-99
Univention GmbH http://www.univention.de/ mobil: +49 175 22 999 23
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regexp-browse-list-filter.patch
Type: text/x-diff
Size: 8101 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070611/11a4b9f1/regexp-browse-list-filter.bin
More information about the samba-technical
mailing list