s3:net ads join: untangle assignment from check, fix return code and improve error...
commit04fa9a389c6d027dc4defb2527550fda650c4a6b
authorMichael Adam <obnox@samba.org>
Mon, 30 Jan 2012 13:00:12 +0000 (30 14:00 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 31 Jan 2012 16:00:30 +0000 (31 17:00 +0100)
treee32cc5f2b3c9eabadbedbf52373ce306db9bc793
parent63d9b5d75a435bbbc06aa8d00371a1c61b69acfb
s3:net ads join: untangle assignment from check, fix return code and improve error logging

only the dns update failed, not the join.
Also do proper memory cleanup
source3/utils/net_ads.c