Winbindd and non-default separator not working - virtual hosts

Mike Pain mtp at
Thu Feb 7 04:24:04 GMT 2002

I'd posted this problem a couple of times with no solutions (my fault for
omitting a vital piece of information), but I think I've sorted out what the
problem is.  I was finding that connecting to samba using a non-default
winbind separator (eg +) would not let me connect as DOMAIN+user, only as
the local user.  It turns out that the problem was to do with virtual
serving.  I was connecting to a netbios alias of the machine, and this had a
different smb.conf, specified in the default smb.conf as
config file = /usr/local/samba/lib/%L.smb.conf
where %L is the netbios alias asked for.  This smb.conf did NOT have the
winbind parameters in it, so on reloading the configuration for the alias,
it lost the winbind settings.

Apologies for any time wasted, and hopefully this could be a pointer for
anyone using virtual servers.

As an associated point on virtual servers:
we use security=domain, but have to put security=server in the alternate
config file.  So we can only get the benefits (reduced loading on the NT PDC
etc) of domain security on the primary server, not any aliases it also
serves.  Should we perhaps consider using the include parameter rather than
the config file parameter?
And is it possible to get nmbd to advertise a different name for the
aliases?  The server string parameter is what appears next to the server
name in Notwork Neighborhood, but the aliases have this same string despite
being defined differently in the alternate config files.

Thanks for all/any help


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This message has been scanned for viruses.
Blaby District Council - 0116 275 0555

More information about the samba-technical mailing list