libnetjoin: delete possible "realm" leftover parameter.
authorGünther Deschner <gd@samba.org>
Tue, 3 Jun 2008 23:32:15 +0000 (01:32 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 3 Jun 2008 23:35:44 +0000 (01:35 +0200)
Guenther

source/libnet/libnet_join.c

index 6426dc30791f048ab4d30e9356e8e041840416a2..d0ecd225adad03199c3c8813fe3574cf31df934f 100644 (file)
@@ -1248,6 +1248,8 @@ static WERROR do_join_modify_vals_config(struct libnet_JoinCtx *r)
 
                werr = smbconf_set_global_parameter(ctx, "workgroup",
                                                    r->in.domain_name);
+
+               smbconf_delete_global_parameter(ctx, "realm");
                goto done;
        }