Use opt_target_workgroup instead of lp_workgroup() in vampire code so
authorTim Potter <tpot@samba.org>
Wed, 10 Sep 2003 06:49:13 +0000 (06:49 +0000)
committerTim Potter <tpot@samba.org>
Wed, 10 Sep 2003 06:49:13 +0000 (06:49 +0000)
commitd7bd3c1efbd02a7ca01ad9a4b242ea4cc4a63c1f
tree1cb86965ee5d5321c81569488e06a314d9b286f2
parentc030d1401950b6efcbdf30ad899c25a61efb1814
Use opt_target_workgroup instead of lp_workgroup() in vampire code so
we can override the value in smb.conf with the -w option.

Migrating accounts from another domain can now be done like:

# bin/net join bdc -w nt4dom -Uadministrator%password
# bin/net rpc vampire -w nt4dom -U administrator%password
source/utils/net_rpc_samsync.c