summaryrefslogtreecommitdiffstats
path: root/source/libads/ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* str_list_free is not needed anymoreVolker Lendecke2008-02-041-2/+2
|
* Always pass a TALLOC_CTX to str_list_make and str_list_copyVolker Lendecke2008-02-041-2/+2
|
* When running with debug level > 10, dump ads_struct in ads_connect().Günther Deschner2008-01-311-9/+33
| | | | Guenther
* Do not ignore provided machine_name in ads_get_upn().Günther Deschner2008-01-081-5/+5
| | | | Guenther
* Re-Indent function ldap_open_with_timeout().Michael Adam2008-01-041-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 Adam2008-01-041-0/+1
| | | | Michael
* Untangle assignment and result check.Michael Adam2008-01-041-3/+3
| | | | Michael
* Enhance DEBUG-verbosity of ldap_open_with_timeout().Michael Adam2008-01-041-1/+7
| | | | Michael
* Unindent function header.Michael Adam2008-01-041-1/+1
| | | | Michael
* Fix a misleading DEBUG message.Michael Adam2008-01-041-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 Deschner2008-01-031-0/+60
| | | | Guenther
* Make use of [un]marshall_sec_descVolker Lendecke2007-12-291-9/+11
|
* make use of unmarshall_sec_descVolker Lendecke2007-12-161-19/+12
|
* s/sid_to_string/sid_to_fstring/Volker Lendecke2007-12-151-1/+1
| | | | least surprise for callers
* Replace sid_string_static with sid_to_stringVolker Lendecke2007-12-151-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 DEBUGsVolker Lendecke2007-12-151-2/+2
|
* Remove an incredible amount of whitespace.Michael Adam2007-12-061-1/+1
| | | | Sorry - could not resist. Michael
* Make strhex_to_str clear on string limits. Remove pstring from web/*.cJeremy Allison2007-12-031-2/+2
| | | | Jeremy.
* Remove some staticsVolker Lendecke2007-11-271-4/+7
|
* More pstring removal....Jeremy Allison2007-11-201-13/+13
| | | | Jeremy.
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-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 interestingJeremy Allison2007-10-181-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 Deschner2007-10-101-0/+1
| | | | Guenther
* r24166: Fix Coverity ID 391Volker Lendecke2007-10-101-1/+1
|
* r23951: Fix segfault.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r23945: add infrastructure to select plain, sign or seal LDAP connectionStefan Metzmacher2007-10-101-2/+15
| | | | metze
* r23937: Use ads_config_path() when we need to know the configration context.Günther Deschner2007-10-101-26/+11
| | | | Guenther
* r23888: move elements belonging to the current ldap connection to aStefan Metzmacher2007-10-101-46/+46
| | | | | | substructure. metze
* r23886: add ads_disconnect() functionStefan Metzmacher2007-10-101-0/+12
| | | | metze
* r23861: Fix return code in ads_find_samaccount().Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r23837: Pass ADS_STRUCT and TALLOC_CTX down to ads_disp_sd.Günther Deschner2007-10-101-1/+3
| | | | Guenther
* r23836: Add ads_config_path() and ads_get_extended_right_name_by_guid().Günther Deschner2007-10-101-0/+93
| | | | Guenther
* r23834: Allow to pass an ADS_STRUCT pointer down to the dump function ↵Günther Deschner2007-10-101-13/+13
| | | | | | | | callback in libads. Guenther
* r23833: Document ads_find_samaccount().Günther Deschner2007-10-101-0/+9
| | | | Guenther
* 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.
* r23772: Add ads_find_samaccount() helper function.Günther Deschner2007-10-101-0/+60
| | | | Guenther
* r23514: Remove unused function ads_get_dn_from_extended_dn().Jeremy Allison2007-10-101-29/+0
| | | | Jeremy.
* r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s.Michael Adam2007-10-101-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 Deschner2007-10-101-0/+104
| | | | | | tokenGroup attribute. Guenther
* r22799: Fix the build.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r22797: We are only interested in the DACL of the security descriptor, so ↵Günther Deschner2007-10-101-19/+35
| | | | | | | | search with the SD_FLAGS control. Guenther
* r22728: Patch from Danilo Almeida <dalmeida@centeris.com>:Gerald Carter2007-10-101-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 Allison2007-10-101-4/+8
| | | | Jeremy.
* r22459: Adding ads_get_dn_from_extended_dn(), in preparation of making ↵Günther Deschner2007-10-101-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 Allison2007-10-101-1/+2
| | | | Jeremy.
* r21608: Fix a couple of memleaks in error code paths beforeJeremy Allison2007-10-101-1/+2
| | | | | Coverity finds them :-) Jeremy.
* r21606: Implement escaping function for ldap RDN valuesSimo Sorce2007-10-101-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 Deschner2007-10-101-4/+4
| | | | Guenther
* r21349: Fix memleak in ads_upn_suffixes().Günther Deschner2007-10-101-0/+3
| | | | Guenther