find_service, file and print shares

Richard Sharpe sharpe at
Sat Jan 9 03:10:08 GMT 1999


following on from my comments yesterday about file and print services etc,
I was wondering if anyone has any comments on the following:

It seems to me that the file and print shares occupy separate name spaces.

I suggest changing find_service to add the type of service as a parameter.
Find service will only try to find a service of that type, and return -1 if
none found.

find_service would check [homes] only if the service type sought was a file
service, and would check [printers] only if the service type is [printers]

Richard Sharpe, sharpe at, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba, Linux, Apache, Digital UNIX, AIX, Netscape, Stronghold, C, ...

More information about the samba-technical mailing list