Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | r23834: Allow to pass an ADS_STRUCT pointer down to the dump function ↵ | Günther Deschner | 2007-10-10 | 1 | -13/+13 |
| | | | | | | | | callback in libads. Guenther | ||||
* | r23833: Document ads_find_samaccount(). | Günther Deschner | 2007-10-10 | 1 | -0/+9 |
| | | | | Guenther | ||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r23772: Add ads_find_samaccount() helper function. | Günther Deschner | 2007-10-10 | 1 | -0/+60 |
| | | | | Guenther | ||||
* | r23514: Remove unused function ads_get_dn_from_extended_dn(). | Jeremy Allison | 2007-10-10 | 1 | -29/+0 |
| | | | | Jeremy. | ||||
* | r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s. | Michael Adam | 2007-10-10 | 1 | -1/+2 |
| | | | | | | | | This fixes the build on solaris (host sun9). And hopefully doesn't break any other builds... :-) If it does, we need some configure magic. Thanks to Björn Jacke <bj@sernet.de>. | ||||
* | r22800: Add GPO_SID_TOKEN and an LDAP function to get tokensids from the ↵ | Günther Deschner | 2007-10-10 | 1 | -0/+104 |
| | | | | | | tokenGroup attribute. Guenther | ||||
* | r22799: Fix the build. | Günther Deschner | 2007-10-10 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | r22797: We are only interested in the DACL of the security descriptor, so ↵ | Günther Deschner | 2007-10-10 | 1 | -19/+35 |
| | | | | | | | | search with the SD_FLAGS control. Guenther | ||||
* | r22728: Patch from Danilo Almeida <dalmeida@centeris.com>: | Gerald Carter | 2007-10-10 | 1 | -0/+70 |
| | | | | | | When asked to create a machine account in an OU as part of "net ads join" and the account already exists in another OU, simply move the machine object to the requested OU. | ||||
* | r22589: Make TALLOC_ARRAY consistent across all uses. | Jeremy Allison | 2007-10-10 | 1 | -4/+8 |
| | | | | Jeremy. | ||||
* | r22459: Adding ads_get_dn_from_extended_dn(), in preparation of making ↵ | Günther Deschner | 2007-10-10 | 1 | -3/+37 |
| | | | | | | | | ranged LDAP queries more generic. Michael, feel free to overwrite these and the following. Guenther | ||||
* | r22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>. | Jeremy Allison | 2007-10-10 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | r21608: Fix a couple of memleaks in error code paths before | Jeremy Allison | 2007-10-10 | 1 | -1/+2 |
| | | | | | Coverity finds them :-) Jeremy. | ||||
* | r21606: Implement escaping function for ldap RDN values | Simo Sorce | 2007-10-10 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix escaping of DN components and filters around the code Add some notes to commandline help messages about how to pass DNs revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was incorrect. The 2 functions use DNs in different ways. - lookup_usergroups_member() uses the DN in a search filter, and must use the filter escaping function to escape it Escaping filters that include escaped DNs ("\," becomes "\5c,") is the correct way to do it (tested against W2k3). - lookup_usergroups_memberof() instead uses the DN ultimately as a base dn. Both functions do NOT need any DN escaping function as DNs can't be reliably escaped when in a string form, intead each single RDN value must be escaped separately. DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as they come already escaped on the wire and passed as is by the ldap libraries DN filtering has been tested. For example now it is possible to do something like: 'net ads add user joe#5' as now the '#' character is correctly escaped when building the DN, previously such a call failed with Invalid DN Syntax. Simo. | ||||
* | r21352: Let ads_upn_suffixes() return a pointer to an array of suffixes. | Günther Deschner | 2007-10-10 | 1 | -4/+4 |
| | | | | Guenther | ||||
* | r21349: Fix memleak in ads_upn_suffixes(). | Günther Deschner | 2007-10-10 | 1 | -0/+3 |
| | | | | Guenther |