summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_ldap.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Pass a talloc_ctx to pdb_enum_aliasmemVolker Lendecke2009-06-081-1/+2
|
* s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap.Günther Deschner2009-06-071-0/+5
| | | | | | | | | when _samr_LookupRids is called with no rids, it needs to return NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY). Found by RPC-SAMR torture test. Guenther
* Fix some nonempty blank linesVolker Lendecke2009-05-311-52/+52
|
* Fix the last few format arg missmatches I missed.Jeremy Allison2009-05-121-4/+4
| | | | Jeremy.
* Fix bug 6157Volker Lendecke2009-05-121-1/+1
| | | | | This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic.
* Fix a bunch of compiler warnings about wrong format types.Jeremy Allison2009-05-111-7/+7
| | | | | Should make Solaris 10 builds look cleaner. Jeremy.
* s3/ldap: also handle DirX return codesBjörn Jacke2009-05-081-0/+2
|
* s3-ldap: fix more callers of smbldap_dn_talloc() that were passing a NULL ↵Günther Deschner2009-05-051-1/+1
| | | | | | context. Guenther
* s3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing ↵Günther Deschner2009-05-051-1/+1
| | | | | | talloc_free on malloced memory. Guenther
* Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-141-0/+1
| | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett2009-04-141-11/+11
| | | | | | | | | | | | This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
* s3:smbldap Remove smbldap_get_dnAndrew Bartlett2009-04-061-28/+15
| | | | | | This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
* Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke2009-03-071-10/+10
|
* Fix printf warnings found on systems where time_t <> long int.Jeremy Allison2009-02-191-8/+8
| | | | Jeremy.
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-211-0/+1
|
* Fix more ‘asprintf’, declared with attribute warn_unused_result.Jeremy Allison2008-12-231-3/+4
| | | | Jeremy.
* s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script.Günther Deschner2008-12-091-1/+1
| | | | | | Guenther (cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450) (cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)
* pdb_ldap: Raise level for debug message to avoid log file flooding.John H Terpstra2008-07-241-1/+1
| | | | (This used to be commit 9b863a10da8762f715c16f147d6cd1e79422d248)
* Use LDAP macros instead of attribute names.Karolin Seeger2008-07-181-20/+19
| | | | | Karolin (This used to be commit 7dae8b04f126d0ac86a452dcf373a690ee687ead)
* Fix typo.Karolin Seeger2008-07-141-1/+1
| | | | | | | retieve -> retrieve Karolin (This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
* Fix some memleaks regarding trustdom passwordsVolker Lendecke2008-07-101-3/+15
| | | | (This used to be commit 3d2913d599a4cd773614110ec7b7493aa7adb547)
* Fix some uninitialized variable references via ndr_printVolker Lendecke2008-07-101-1/+3
| | | | (This used to be commit 26fb3fea812867f8b0dfe6a1be59e4922ed86e45)
* Give a nice error message if trying to join with a non-privileged userVolker Lendecke2008-07-101-1/+1
| | | | (This used to be commit 347772fc39d9c7a96fcc72c9707696cc6abd89d7)
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-24/+54
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
* Coverity fixesMarc VanHeyningen2008-03-171-4/+10
| | | | (This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
* Fix bug 4901Volker Lendecke2008-03-141-3/+8
| | | | (This used to be commit 1dd8fa9a521046f1de8173ac00224706c5249665)
* Fix a memleak -- Coverity ID 222Volker Lendecke2008-03-051-1/+2
| | | | | (cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72) (This used to be commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c)
* Fix crash bug in pdb_init_ldapsam().Günther Deschner2008-03-041-2/+2
| | | | | | | Karolin, this needs to be in 3-2-stable. Guenther (This used to be commit 0d73bde6de4391e7aec862424762473441fa0905)
* Change ldap search filter. This function is also used to search machine ↵Karolin Seeger2008-02-191-2/+2
| | | | | | | accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72. Karolin (This used to be commit e5cc8b683cba3f2f3a84b1636b3d5bee1bfc0dda)
* Change ldap search filter. This function is also used to search machine ↵Karolin Seeger2008-02-111-1/+1
| | | | | | | accounts which may be organized in a different ou. Karolin (This used to be commit e71a48bb80cee85afcccacbce2884c0d600f4d72)
* Fix memleak in ldapsam_rename_sam_account() found by IBM checker.Michael Adam2008-01-091-1/+1
| | | | | | | The check for out of memory was the wrong way round. Michael (This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415)
* Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.Michael Adam2008-01-091-7/+11
| | | | | Michael (This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
* Fix for bug #5163 from Laurent Pinchart <pinchart@skynet.be>Jeremy Allison2008-01-021-0/+4
| | | | | | Failure to change password in ldap is mapped to NT_STATUS_UNSUCCESSFUL unconditionally. Jeremy. (This used to be commit 9369d6e907a49da1fbf2a5690118412b8d1a0383)
* Remove the sampwent interfaceVolker Lendecke2007-12-261-102/+0
| | | | (This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
* s/sid_to_string/sid_to_fstring/Volker Lendecke2007-12-151-8/+8
| | | | | least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
* Replace sid_string_static with sid_to_stringVolker Lendecke2007-12-151-5/+9
| | | | | | This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
* Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke2007-12-151-3/+4
| | | | (This used to be commit 0a911d38b8f4be382a9df60f9c6de0c500464b3a)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-30/+27
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke2007-12-151-14/+16
| | | | (This used to be commit f00ab810d2540679bec109498ac89e1eafe18f03)
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-2/+2
| | | | | | No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
* Remove unused prototype for smbldap_get_single_pstring().Jeremy Allison2007-11-271-2/+8
| | | | | | Don't use pstr_sprintf() on an fstring - change to talloc. Jeremy. (This used to be commit 6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
* Fix bug 5055Volker Lendecke2007-11-261-1/+1
| | | | (This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
* Improve debug messageVolker Lendecke2007-11-261-1/+2
| | | | | Fix bug 5056, thanks to debian package maintainer (This used to be commit 5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324)
* Remove smbldap_get_single_pstring() and all pstringsJeremy Allison2007-11-141-461/+802
| | | | | | | from pdb_ldap.c. I don't have an LDAP passdb setup here, so I'm going to need some help on testing this. Jeremy. (This used to be commit 00760451b6c2b65f3a8a9187789ca4f270b622a2)
* static pstring removalVolker Lendecke2007-11-051-2/+6
| | | | (This used to be commit 5490e2d77233f594a42cb32eda8215014db544e3)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-41/+41
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-1/+1
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r25165: Use talloc_asprintf_append_buffer with an unmodifiedJeremy Allison2007-10-101-3/+3
| | | | | | string. Jeremy. (This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
* r25092: Add support for storing trusted domain passwords in LDAP forMichael Adam2007-10-101-5/+277
| | | | | | | | | | | | | | passdb backend = ldapsam. Along with reproducing the functionality of the secrets.tdb code, I have prepared the handling of the previous trust password (in case we are contacting a dc which does not yet know of a recent password change). This information has still to be propagated to the outside, but this requires a change of the api and also a change of the secrets.tdb code. Michael (This used to be commit 6c3c20e6c4a2b04de8111f2c79b431f0775c2a0f)
* r25091: Start adding support for storing trusted domain passwords in LDAPMichael Adam2007-10-101-0/+44
| | | | | | | | (for passdb backen = ldapsam). At a first step, add the hooks, calling the secrets_ functions. Michael (This used to be commit 9c03cdf3a449149c50451a44deb420341e65af34)