diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-15 18:50:09 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-16 07:24:01 +1000 |
commit | e18c0030e065a70f7291eb269112e9f04d5788dc (patch) | |
tree | 49cd3e29ae33497610f835b8f7fde3729bd9c23d /source4/libnet/libnet_vampire.c | |
parent | e2b6d171d427f9899be8a1bb6781fd09c0094385 (diff) | |
download | samba-e18c0030e065a70f7291eb269112e9f04d5788dc.tar.gz |
s4-pyjoin: fill in the dns name in the python replication method
this is needed to get the repsFrom DNS entry right
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet/libnet_vampire.c')
-rw-r--r-- | source4/libnet/libnet_vampire.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index 950698d053e..1b6a8dd2440 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -106,6 +106,9 @@ void *libnet_vampire_replicate_init(TALLOC_CTX *mem_ctx, s->lp_ctx = lp_ctx; s->provision_schema = dsdb_get_schema(s->ldb, s); s->schema = s->provision_schema; + s->netbios_name = lpcfg_netbios_name(lp_ctx); + s->domain_name = lpcfg_workgroup(lp_ctx); + s->realm = lpcfg_realm(lp_ctx); return s; } |