s3-param Remove special case for global_myname(), rename to lp_netbios_name()

Stefan (metze) Metzmacher metze at samba.org
Thu Jun 9 07:29:23 MDT 2011


Hi Andrew,

while I like you changes to use lp_netbios_name(), lp_netbios_scope()
and lp_workgroup()
directly, I noticed that this changes changed the behavior if someone
specifies these
parameters on the command line.

lp_set_cmdline() doesn't cause the

lp_set_cmdline("netbios name", "foo");
doesn't trigger that
lp_netbios_name() will return "FOO", which would match the old behavior.

I guess we need something similar to handle_realm() and szRealmUpper.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110609/7627122b/attachment.pgp>


More information about the samba-technical mailing list