Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libads: remove unused vars. | Günther Deschner | 2008-08-20 | 1 | -3/+0 |
| | | | | Guenther | ||||
* | libads: Add API call to connect to a global catalog server. | Gerald W. Carter | 2008-06-27 | 1 | -5/+140 |
| | | | | | | Extends ads_connect() to a new call ads_connect_gc() which connects on port 3268 rather than port 389. Also makes ads_try_connect() static and only used internally to ldap.c | ||||
* | libads: add ads_connect_user_creds() that won't overwrite given user creds. | Günther Deschner | 2008-06-24 | 1 | -0/+12 |
| | | | | Guenther | ||||
* | libads: add ads_get_machine_kvno() to make ads_get_kvno() a bit more generic. | Günther Deschner | 2008-06-17 | 1 | -7/+29 |
| | | | | Guenther | ||||
* | libads: fix logic error in ads_get_kvno(). | Günther Deschner | 2008-06-17 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails" | Volker Lendecke | 2008-06-17 | 1 | -1/+0 |
| | | | | This reverts commit df8d089bc63c2a52cbdf3504cded8df620a59902. | ||||
* | Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails | Volker Lendecke | 2008-06-05 | 1 | -0/+1 |
| | | | | | This is really not a proper place to fix this, but as get_gc_list() and friends are about to be replaced anyway, just work around the broken existing API | ||||
* | Cleanup size_t return values in callers of convert_string_allocate | Tim Prouty | 2008-05-20 | 1 | -20/+43 |
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. | ||||
* | libads/cldap: store client sitename also keyed by dns domain name. | Günther Deschner | 2008-05-15 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3). | Günther Deschner | 2008-05-14 | 1 | -5/+5 |
| | | | | Guenther | ||||
* | cldap: let ads_cldap_netlogon() return all possible cldap replies. | Günther Deschner | 2008-05-09 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s ↵ | Steven Danneman | 2008-04-26 | 1 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | of entries The ads_do_search_all_args() function attempts to string together several LDAPMessage structures, returned across several paged ldap requests, into a single LDAPMessage structure. It does this by pulling entries off the second LDAPMessage structure and appending them to the first via the OpenLDAP specific ldap_add_result_entry() call. The problem with this approach is it skips non-entry messages such as the result, and controls. These messages are leaked. The short term solution as suggested by Volker is to replace the ads_*_entry() calls with ads_*_message() calls so we don't leak any messages. This fixes the leak but doesn't remove the dependence on the OpenLDAP specific implementation of ldap_add_result_entry(). | ||||
* | cldap: avoid duplicate definitions so remove ads_cldap.h. | Günther Deschner | 2008-04-21 | 1 | -4/+4 |
| | | | | Guenther | ||||
* | cldap: add talloc context to ads_cldap_netlogon(). | Günther Deschner | 2008-04-21 | 1 | -10/+21 |
| | | | | Guenther | ||||
* | libads: Use libnbt for CLDAP reply parsing. | Günther Deschner | 2008-04-21 | 1 | -12/+12 |
| | | | | Guenther | ||||
* | Add ads_check_ou_dn(). | Günther Deschner | 2008-03-28 | 1 | -0/+47 |
| | | | | Guenther | ||||
* | Fix Coverity ID 487 | Volker Lendecke | 2008-03-23 | 1 | -0/+1 |
| | |||||
* | Coverity fixes | Marc VanHeyningen | 2008-03-17 | 1 | -1/+4 |
| | |||||
* | str_list_free is not needed anymore | Volker Lendecke | 2008-02-04 | 1 | -2/+2 |
| | |||||
* | Always pass a TALLOC_CTX to str_list_make and str_list_copy | Volker Lendecke | 2008-02-04 | 1 | -2/+2 |
| | |||||
* | When running with debug level > 10, dump ads_struct in ads_connect(). | Günther Deschner | 2008-01-31 | 1 | -9/+33 |
| | | | | Guenther | ||||
* | Do not ignore provided machine_name in ads_get_upn(). | Günther Deschner | 2008-01-08 | 1 | -5/+5 |
| | | | | Guenther | ||||
* | Re-Indent function ldap_open_with_timeout(). | Michael Adam | 2008-01-04 | 1 | -1/+1 |
| | | | | | | | | | | This reverts commit #cafda34783f0961c9b463803c19cfcb69f836e3f . I just learned (the hard way) that these indeted functions are not indented by accident but that the intention of this is to not include the prototype into proto.h. Michael | ||||
* | Add a debug message (when the LDAP server has really been connected). | Michael Adam | 2008-01-04 | 1 | -0/+1 |
| | | | | Michael | ||||
* | Untangle assignment and result check. | Michael Adam | 2008-01-04 | 1 | -3/+3 |
| | | | | Michael | ||||
* | Enhance DEBUG-verbosity of ldap_open_with_timeout(). | Michael Adam | 2008-01-04 | 1 | -1/+7 |
| | | | | Michael | ||||
* | Unindent function header. | Michael Adam | 2008-01-04 | 1 | -1/+1 |
| | | | | Michael | ||||
* | Fix a misleading DEBUG message. | Michael Adam | 2008-01-04 | 1 | -1/+1 |
| | | | | | | | | At this stage, the (tcp) connection to the LDAP server has not been established, this is what is about to be attempted. What has been succesfully done, is a CLDAP netlogon query. Michael | ||||
* | Add ads_get_joinable_ous(). | Günther Deschner | 2008-01-03 | 1 | -0/+60 |
| | | | | Guenther | ||||
* | Make use of [un]marshall_sec_desc | Volker Lendecke | 2007-12-29 | 1 | -9/+11 |
| | |||||
* | make use of unmarshall_sec_desc | Volker Lendecke | 2007-12-16 | 1 | -19/+12 |
| | |||||
* | s/sid_to_string/sid_to_fstring/ | Volker Lendecke | 2007-12-15 | 1 | -1/+1 |
| | | | | least surprise for callers | ||||
* | Replace sid_string_static with sid_to_string | Volker Lendecke | 2007-12-15 | 1 | -1/+2 |
| | | | | | This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. | ||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 1 | -2/+2 |
| | |||||
* | Remove an incredible amount of whitespace. | Michael Adam | 2007-12-06 | 1 | -1/+1 |
| | | | | Sorry - could not resist. Michael | ||||
* | Make strhex_to_str clear on string limits. Remove pstring from web/*.c | Jeremy Allison | 2007-12-03 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | Remove some statics | Volker Lendecke | 2007-11-27 | 1 | -4/+7 |
| | |||||
* | More pstring removal.... | Jeremy Allison | 2007-11-20 | 1 | -13/+13 |
| | | | | Jeremy. | ||||
* | This is a large patch (sorry). Migrate from struct in_addr | Jeremy Allison | 2007-10-24 | 1 | -12/+23 |
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -21/+21 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | r24252: Dump guid of msExchMailboxGuid when returned. | Günther Deschner | 2007-10-10 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | r24166: Fix Coverity ID 391 | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r23951: Fix segfault. | Günther Deschner | 2007-10-10 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | r23945: add infrastructure to select plain, sign or seal LDAP connection | Stefan Metzmacher | 2007-10-10 | 1 | -2/+15 |
| | | | | metze | ||||
* | r23937: Use ads_config_path() when we need to know the configration context. | Günther Deschner | 2007-10-10 | 1 | -26/+11 |
| | | | | Guenther | ||||
* | r23888: move elements belonging to the current ldap connection to a | Stefan Metzmacher | 2007-10-10 | 1 | -46/+46 |
| | | | | | | substructure. metze | ||||
* | r23886: add ads_disconnect() function | Stefan Metzmacher | 2007-10-10 | 1 | -0/+12 |
| | | | | metze | ||||
* | r23861: Fix return code in ads_find_samaccount(). | Günther Deschner | 2007-10-10 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | r23837: Pass ADS_STRUCT and TALLOC_CTX down to ads_disp_sd. | Günther Deschner | 2007-10-10 | 1 | -1/+3 |
| | | | | Guenther | ||||
* | r23836: Add ads_config_path() and ads_get_extended_right_name_by_guid(). | Günther Deschner | 2007-10-10 | 1 | -0/+93 |
| | | | | Guenther |