provision: Use names.domainsid and names.domainguid
authorAndrew Bartlett <abartlet@samba.org>
Fri, 8 Aug 2014 06:43:47 +0000 (18:43 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 31 Aug 2014 22:36:42 +0000 (00:36 +0200)
commit204337f454d1225fb7bf8525448000f2c30e0011
tree267ddbc0ed0d2fbc0f383d4bf95bbb65d31305fd
parent79ee8fc82cf3f96d64419a905b46d20ce2c17a64
provision: Use names.domainsid and names.domainguid

This is better than passing around parameters to functions all over
the provision stack and makes it easier to pass in a seperate forest
SID when we start to support subdomains.

Change-Id: I3787f4f3433ca04628f888135c7c0c8195379542
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
python/samba/join.py
python/samba/provision/__init__.py
python/samba/provision/sambadns.py