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.
Hello Ricky, Monday, May 23, 2005, 2:41:50 PM, you wrote: FR> include = /usr/local/samba/lib/smb.conf.tpub02 FR> I would appreciate any help with fixing this problem. Maybe if the netbios alias is uppercase, also the file should be smb.conf.TPUB02 instead of tpub02. have you tried uppercase? -- Fabio "Kurgan" Muzzi
-----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-----