Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-16 | s3-smbldap: remove dependency to secrets subsystem. | Günther Deschner | 1 | -17/+4 | |
Guenther | |||||
2011-11-16 | s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2011-11-16 | s3-passdb: split out passdb/pdb_ldap_schema.c | Günther Deschner | 1 | -220/+0 | |
Guenther | |||||
2011-10-28 | s3-smbldap: use tevent_context in smbldap. | Günther Deschner | 1 | -9/+10 | |
Guenther | |||||
2011-08-20 | Ensure we never wait past absolute entime to do a get_cached_ldap_connect(). | Jeremy Allison | 1 | -8/+15 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 20 20:09:37 CEST 2011 on sn-devel-104 | |||||
2011-08-19 | Remove the tortured logic in another_ldap_try() and turn it into | Jeremy Allison | 1 | -58/+70 | |
get_cached_ldap_connect(), which much better describes it's function. Now we always break at the right places in the loop, we can replace the while (another_ldap_try(ldap_state, &rc, &attempts, abs_endtime)) construct with simply while (1). | |||||
2011-08-19 | Factor out the ldap_get_option calls into a function. | Jeremy Allison | 1 | -20/+14 | |
2011-08-19 | Simplify the logic on the another_ldap_try() loops by breaking | Jeremy Allison | 1 | -95/+105 | |
early out of the loop on success. | |||||
2011-08-19 | Move the alarm setup/teardown out of another_ldap_try() and into separate | Jeremy Allison | 1 | -48/+43 | |
functions that bracket the another_ldap_try() loop. We now never leave a dangling alarm pending on success. | |||||
2011-08-19 | Allow the timeout pointer to ldap_search_ext_s() to be NULL if ↵ | Jeremy Allison | 1 | -4/+8 | |
lp_ldap_timeout() == 0. | |||||
2011-08-19 | Make it clear the time here is an absolute endtime. Don't set the alarm if ↵ | Jeremy Allison | 1 | -15/+35 | |
the LDAP timeout is zero. | |||||
2011-08-19 | Always remove the alarm before changing the handler, not the other way around. | Jeremy Allison | 1 | -1/+1 | |
2011-08-19 | Remove old_handler as alarms can't be nested. Use SIG_IGN instead. | Jeremy Allison | 1 | -4/+2 | |
2011-08-19 | Change got_alarm from bool to the correct type of SIG_ATOMIC_T. | Jeremy Allison | 1 | -3/+3 | |
2011-08-05 | s3/ldap: delay the ldap search alarm termination a bit | Björn Jacke | 1 | -2/+13 | |
do the alarm termination of the the ldap search a bit delayed so the LDAP server has a chance to tell us that the time limit was reached and the search was abandoned. If the search is terminated this way we also get the correct LDAP return code in the logs. If alarm() stops the search the ldap search routine will report that the LDAP server is down which would trigger us to rebind to the server needlessly which we also want to avoid. | |||||
2011-07-01 | s3:smbldap: make smbldap_connect_system self contained | Gregor Beck | 1 | -6/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 1 12:37:50 CEST 2011 on sn-devel-104 | |||||
2011-07-01 | s3:smbldap: add a destructor to smbldap_state, just in case | Gregor Beck | 1 | -0/+7 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-01 | s3:smbldap: let smbldap_free_struct do what it claims to | Gregor Beck | 1 | -2/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-01 | s3:smbldap: free the idle event scheduled in smbldap_open in smbldap_close | Gregor Beck | 1 | -1/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-01 | s3:smbldap: use smbldap_state as memory context for idle event | Gregor Beck | 1 | -2/+2 | |
ensure the event is canceled if the smbldap_state gets freed this fixes a panic of winbindd if verify_idpool fails Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -2/+2 | |
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | |||||
2011-05-06 | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 1 | -2/+2 | |
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -1/+1 | |
2011-04-06 | s3-smbldap: make octet_strings/DATA_BLOBs const. | Sumit Bose | 1 | -4/+4 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-04-06 | s3-smbldap: support storing octet_strings/DATA_BLOBs. | Günther Deschner | 1 | -21/+91 | |
Guenther Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-30 | Fix convert_string() to take a *converted_size arg. and return a bool. | Jeremy Allison | 1 | -1/+2 | |
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104 | |||||
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 1 | -1/+1 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-09-08 | Fix warnings caused by double ";;" at the end of the time_mono() fixes. | Jeremy Allison | 1 | -3/+3 | |
2010-09-08 | s3/ldap: use monotonic clock for timeouts in smbldap | Björn Jacke | 1 | -17/+23 | |
tevent would need monotonic clock features to make also smbldap's idle handling aware of backward clock jumps. Other areas in smbldap are clock jump save now. | |||||
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3: avoid global include of ads.h. | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2010-06-28 | s3: Make some routines static in smbldap | Volker Lendecke | 1 | -2/+2 | |
2010-02-23 | s3-lib: Remove obsolete signal type cast. | Andreas Schneider | 1 | -2/+2 | |
2010-01-14 | s3:smbldap: add smbldap_talloc_first_attribute() | Stefan Metzmacher | 1 | -0/+34 | |
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b) | |||||
2009-12-10 | s3: add LDAP Alias Dereferencing support | Björn Jacke | 1 | -0/+11 | |
Thanks to Dan Cox for initial patch for 3.0. This closes #2350. | |||||
2009-10-26 | s3: Rename new parameter "ldap ref follow" to "ldap follow referral". | Karolin Seeger | 1 | -2/+2 | |
This parameter will be introduced with Samba 3.5.0. Karolin | |||||
2009-10-15 | Fix valgrind memory leak in bug #6814 - Fixes for problems reported by valgrind | Jeremy Allison | 1 | -1/+7 | |
Jeremy. | |||||
2009-10-12 | s3/smbldap: add option to disable following LDAP refs | Jan Engelhardt | 1 | -2/+10 | |
Fix bug #6717. | |||||
2009-08-06 | s3/smbldap: Fix typo in debug message. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-05-31 | Fix some nonempty blank lines | Volker Lendecke | 1 | -52/+50 | |
2009-05-29 | Add smbldap_talloc_single_blob() | Volker Lendecke | 1 | -6/+25 | |
2009-05-28 | Add smbldap_pull_sid | Volker Lendecke | 1 | -0/+20 | |
2009-05-12 | Fix bug 6157 | Volker Lendecke | 1 | -0/+56 | |
This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic. | |||||
2009-04-14 | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 1 | -3/+6 | |
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 | |||||
2009-04-07 | s3:smbldap convert the easy cases to push_utf8_talloc() | Andrew Bartlett | 1 | -8/+8 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-04-06 | s3:smbldap Remove smbldap_get_dn | Andrew Bartlett | 1 | -26/+4 | |
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org> |