Sidebar re sef-test (was smb.conf include facility)

Jelmer Vernooij jelmer at vernstok.nl
Tue Jun 28 17:36:32 GMT 2005


Hi,

On Tue, Jun 28, 2005 at 01:31:34PM -0400, David Collier-Brown wrote about 'Sidebar re sef-test (was smb.conf include facility)':
> Volker Lendecke wrote:
> >>	include = /etc/smb.conf.%L
> >%L is information retrieved from the netbios session setup,
> >which is only done if the client connects on port 139. Set 'smb ports = 
> >139',
> >and your %L will work again.
> ...
> >We *might* remove the %L parameter and have people replace it with %I, the
> >client's IP address.

> If one were to check the smb.conf file for self-consistency,
> a useful pair of tests would be
> 	if %L used, smb ports must include 139
> 	if %I used, smb ports must include <the other one>
%I should work with port 139 as well as 445.
For %L to work reliably (in all cases) "smb ports" has to be set to
just 139.

The only thing that could be tested for is using %L if "smb
ports" includes non-139 ports.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20050628/f524d915/attachment.bin


More information about the samba-technical mailing list