[patch] net ads join rework
Gerald (Jerry) Carter
jerry at samba.org
Wed May 10 06:02:39 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Here's an initial patch that reworks 'net ads join'
to use RPC instead of LDAP modify requests. The main
reason is to be able use accounts with "Add machines
to domain" rather than requiring a higher level of
privilege as we do now.
The points of interest are
* net_ads_join() uses same rpc mechanisms as net_rpc_join()
* Enable CLDAP queries for filling in the majority of the
* Remove ldap_initialized() from sam/idmap_ad.c and
* Remove some unnecessary fields from ADS_STRUCT
The ultimate goal is to have a single code path for joining
a domain that figures out the right things to do based
on the DC properties.
My bzr tree is at bzr://www.samba.org/~jerry/bzr/samba.adsjoin
which is current up to SAMBA_3_0 r15523
Initial testing seems ok which is why I posting the patch
for early review.
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"What man is a man who does not make the world better?" --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 65969 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060509/b78b0b52/net_ads_join_v1.bin
More information about the samba-technical