search for: do_become_root

Displaying 1 result from an estimated 1 matches for "do_become_root".

2004 Mar 15
0
join domain without root
...maths.usyd.edu.au:8000/u/psz/ School of Mathematics and Statistics University of Sydney 2006 Australia --- rpc_server/srv_samr_nt.c.old Sat Mar 15 08:34:49 2003 +++ rpc_server/srv_samr_nt.c Tue Mar 16 06:14:29 2004 @@ -2369,16 +2369,67 @@ uint32 len; pstring buf; uint16 acct_ctrl; + int do_become_root; + BOOL ret; pdb_init_sam(&pwd); - if (!pdb_getsampwrid(pwd, rid)) { +/* PSz 15 Mar 04 + * This code is called, as the "domain admin", when a machine is joining + * the domain, both with netdom and via sysprep/mini-setup. + * Do as root (bracket within become_root()/unbecome_...