1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/sam
Gerald Carter 2c029a8b96 r15543: New implementation of 'net ads join' to be more like Windows XP.
The motivating factor is to not require more privileges for
the user account than Windows does when joining a domain.

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
  ADS_STRUCT->config information
* Remove ldap_initialized() from sam/idmap_ad.c and
  libads/ldap.c
* Remove some unnecessary fields from ADS_STRUCT
* Manually set the dNSHostName and servicePrincipalName attribute
  using the machine account after the join

Thanks to Guenther and Simo for the review.

Still to do:

* Fix the userAccountControl for DES only systems
* Set the userPrincipalName in order to support things like
  'kinit -k' (although we might be able to just use the sAMAccountName
  instead)
* Re-add support for pre-creating the machine account in
  a specific OU
(This used to be commit 4c4ea7b20f)
2007-10-10 11:16:57 -05:00
..
idmap_ad.c r15543: New implementation of 'net ads join' to be more like Windows XP. 2007-10-10 11:16:57 -05:00
idmap_ldap.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
idmap_rid.c r13915: Fixed a very interesting class of realloc() bugs found by Coverity. 2007-10-10 11:10:59 -05:00
idmap_smbldap.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
idmap_tdb.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
idmap_util.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
idmap.c r15283: Oh yeah. The build farm doesn't do much with head. OK, here is the patch to SAMBA_3_0 to declare prototypes for the initialization functions. These are the same changes I just made to head. --paulg 2007-10-10 11:16:31 -05:00