summaryrefslogtreecommitdiffstats
path: root/source/libads/cldap.c
Commit message (Collapse)AuthorAgeFilesLines
* mailslot: always pull a command 25 type reply.Günther Deschner2008-06-051-0/+1
| | | | Guenther
* dsgetdcname: make use of nbt_cldap_netlogon_15.Günther Deschner2008-05-091-1/+1
| | | | Guenther
* cldap: move out cldap object to fix the build.Günther Deschner2008-05-091-0/+84
| | | | Guenther
* cldap: let ads_cldap_netlogon() return all possible cldap replies.Günther Deschner2008-05-091-14/+55
| | | | Guenther
* mailslot/cldap: use nt_version bits in queries.Günther Deschner2008-05-061-1/+2
| | | | Guenther
* cldap: add talloc context to ads_cldap_netlogon().Günther Deschner2008-04-211-4/+9
| | | | Guenther
* libads: Use libnbt for CLDAP reply parsing.Günther Deschner2008-04-211-93/+12
| | | | Guenther
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-10-101-4/+4
| | | | replace all data_blob(NULL, 0) calls.
* r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison2007-10-101-2/+7
| | | | Jeremy.
* r18175: Forgot to call asn1_free() in previous commit.Günther Deschner2007-10-101-0/+1
| | | | Guenther
* r18174: Do not return "success" when we failed to write in the CLDAP code.Günther Deschner2007-10-101-0/+1
| | | | Guenther
* r18162: Close socket when the CLDAP request has failed.Günther Deschner2007-10-101-0/+1
| | | | Guenther
* r18010: Ensure we don't timeout twice to the sameJeremy Allison2007-10-101-1/+3
| | | | | | | server in winbindd when it's down and listed in the -ve connection cache. Fix memory leak, reduce timeout for cldap calls - minimum 3 secs. Jeremy.
* r17943: The horror, the horror. Add KDC site support byJeremy Allison2007-10-101-2/+0
| | | | | | | writing out a custom krb5.conf file containing the KDC I need. This may suck.... Needs some testing :-). Jeremy.
* r17928: Implement the basic store for CLDAP sitenameJeremy Allison2007-10-101-2/+2
| | | | | | | | | | | | | | | | support when looking up DC's. On every CLDAP call store the returned client sitename (if present, delete store if not) in gencache with infinate timeout. On AD DNS DC lookup, try looking for sitename DC's first, only try generic if sitename DNS lookup failed. I still haven't figured out yet how to ensure we fetch the sitename with a CLDAP query before doing the generic DC list lookup. This code is difficult to understand. I'll do some experiments and backtraces tomorrow to try and work out where to force a CLDAP site query first. Jeremy.
* r17089: Fix a possible null dereference and some memleaks.Volker Lendecke2007-10-101-0/+7
| | | | | | | | Jerry, please check. Thanks, Volker
* r16861: Fixing crash bug when passing no domain/realm name to the CLDAP request.Günther Deschner2007-10-101-4/+6
| | | | Guenther
* r16452: Fix memleak in the CLDAP processing (found by valgrind).Günther Deschner2007-10-101-0/+3
| | | | Guenther
* r15559: Smaller fixes for the new cldap code:Günther Deschner2007-10-101-5/+5
| | | | | | | | * replace printf to stderr with DEBUG statements as they get printed in daemons * "net ads lookup" return code Guenther
* r15558: Do not wait endless for a CLDAP reply when the LDAP server isGünther Deschner2007-10-101-1/+21
| | | | | | | | unavailable; use "ldap timeout" handling. Jerry, please check. Guenther
* r15543: New implementation of 'net ads join' to be more like Windows XP.Gerald Carter2007-10-101-0/+278
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