[Samba] Netbios Alias

Gerald (Jerry) Carter jerry at samba.org
Mon May 23 13:03:54 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Freeman, Ricky wrote:
| I am trying to setup a Netbois alias that uses it's
| own smb.conf file.  I have made the following changes
| to the original smb.conf file:
|
| netbois alias = TPUB02
| include = /usr/local/samba/lib/smb.conf.%L
|
| For some reason the smb.conf file in the include
| statement does not work. In touble shooting this issue
| I was able to hardcode the smb.conf file name
| in the include statement and that does work.
|
| include = /usr/local/samba/lib/smb.conf.tpub02
|
| I would appreciate any help with
| fixing this problem.

To use netbios aliases with Windows 2000 and
later clients, you have to force the client to
use port 139.  So set 'smb ports = 139' in smb.conf.

Alternatively you can use a multi-homed Samba box,
assign a different DNS name to each [virtual] interface
and use the %i var in place of %L.




cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkdS6IR7qMdg1EfYRAv0tAKCsqbUddj/TIlKhatdh0qP70Z2iGACgxA4d
kwa0iW1YCtuqk/1P/iJs71o=
=PBCs
-----END PGP SIGNATURE-----


More information about the samba mailing list