-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Schlomo Schapiro wrote: | Hi, | | use the include feature together with the %L parameter, like in | smb.conf(5): | | %L the NetBIOS name of the server. This allows you to | change your config based on what the client calls | you. Your server can have a "dual personality". | | Note that this paramater is not available when | Samba listens on port 445, as clients no longer | send this information | | So if you use port 445, then it won't work. You can still try to use | another of the many % variables.
If you have a multi homed Samba box (even using virtual NICs) you can use %i to retrive the IP address that the client connected to. This should give you the equivalent functionality when not using Netbios.
- -- cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "...a hundred billion castaways looking for a home." ----------- Sting -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAqpeYIR7qMdg1EfYRAp2UAJ4ziWuAjpV/kbWcHHngrxxEVhmHwACfa7iA G54eoUt/aUkj0VVolZhOMKQ= =43bO -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba