param: leave realm as a normal string, handle upper/lower case in handle_realm
authorAndrew Bartlett <abartlet@samba.org>
Thu, 12 Apr 2012 08:02:11 +0000 (18:02 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 16 Apr 2012 04:35:34 +0000 (14:35 +1000)
This matches the behaviour of lib/param.

Andrew Bartlett

source3/param/loadparm.c

index 17df977309bea686bb3ef0fe714413bc02d7883a..2fa70db1c9dfb4e618d3e0b14afd505d109523f6 100644 (file)
@@ -528,7 +528,7 @@ static struct parm_struct parm_table[] = {
        },
        {
                .label          = "realm",
-               .type           = P_USTRING,
+               .type           = P_STRING,
                .p_class        = P_GLOBAL,
                .offset         = GLOBAL_VAR(szRealm),
                .special        = handle_realm,