aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_ldap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-14Merged revisions 240271 via svnmerge from seanbright1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r240271 | seanbright | 2010-01-14 18:13:02 -0500 (Thu, 14 Jan 2010) | 7 lines Plug a memory leak in res_config_ldap. (closes issue #16257) Reported by: nito Patches: issue16257_20100111.diff uploaded by seanbright (license 71) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@240278 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12Merged revisions 239473 via svnmerge from seanbright1-5/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r239473 | seanbright | 2010-01-12 12:09:12 -0500 (Tue, 12 Jan 2010) | 10 lines Fix crash in res_config_ldap. We need to allocate enough room for 2 pointers, not 2 characters. (closes issue #16397) Reported by: bklang Patches: res_config_ldap.patch uploaded by applsplatz (license 949) Tested by: applsplatz ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@239475 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-12Merged revisions 211767 via svnmerge from ghenry1-8/+17
https://origsvn.digium.com/svn/asterisk/trunk ........ r211767 | ghenry | 2009-08-12 17:00:46 +0100 (Wed, 12 Aug 2009) | 33 lines Added three new attributes and applied a patch to res_config_ldap.c attributetype ( AstAccountSubscribeContext NAME 'AstAccountSubscribeContext' DESC 'Asterisk subscribe context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountIpAddr NAME 'AstAccountIpAddr' DESC 'Asterisk aaccount IP address' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountUserAgent NAME 'AstAccountUserAgent' DESC 'Asterisk account user context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) and patch fix_empty_attributes_1.6.1.4_v2.patch (closes issue #13725) Reported by: macogeek Patches: fix_empty_attributes_1.6.1.4_v2.patch uploaded by xvisor (license 863) Tested by: suretec ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@211768 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-10AST-2009-005tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@211551 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-18Merged revisions 201678 via svnmerge from dvossel1-14/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r201678 | dvossel | 2009-06-18 11:37:42 -0500 (Thu, 18 Jun 2009) | 11 lines fixes some memory leaks and redundant conditions (closes issue #15269) Reported by: contactmayankjain Patches: patch.txt uploaded by contactmayankjain (license 740) memory_leak_stuff.trunk.diff uploaded by dvossel (license 671) Tested by: contactmayankjain, dvossel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@201682 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Merged revisions 129864 via svnmerge from seanbright1-7/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r129864 | seanbright | 2008-07-10 20:55:06 -0400 (Thu, 10 Jul 2008) | 1 line Fix some usages of snprintf, and clarify a couple variable names. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@129865 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-21Merged revisions 124505 via svnmerge from tilghman1-7/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r124505 | tilghman | 2008-06-21 07:53:48 -0500 (Sat, 21 Jun 2008) | 4 lines Reduce warning to debug, otherwise we flood the log when we (legitimately) can't find a record. (Closes issue #12908) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@124506 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Merged revisions 123952 via svnmerge from tilghman1-41/+44
https://origsvn.digium.com/svn/asterisk/trunk ........ r123952 | tilghman | 2008-06-19 12:22:27 -0500 (Thu, 19 Jun 2008) | 6 lines Don't change pointers that need to be later passed back for deallocation. (closes issue #12572) Reported by: flyn Patches: 20080613__bug12572.diff.txt uploaded by Corydon76 (license 14) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123958 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27Merged revisions 118302 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r118302 | tilghman | 2008-05-27 08:30:10 -0500 (Tue, 27 May 2008) | 6 lines When binding anonymously, credentials are still needed. (closes issue #12601) Reported by: suretec Patches: res_config_ldap.c.patch uploaded by suretec (license 70) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@118303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14Merged revisions 116350 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r116350 | file | 2008-05-14 15:25:54 -0300 (Wed, 14 May 2008) | 4 lines Make the ldap version setting work without having both version and protocol set. (closes issue #12613) Reported by: suretec ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@116351 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Merged revisions 115523 via svnmerge from russell1-5/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r115523 | russell | 2008-05-07 13:33:50 -0500 (Wed, 07 May 2008) | 6 lines Only save a password if a username exists. (closes issue #12600) Reported By: suretec Patch by me ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115524 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Merged revisions 115521 via svnmerge from russell1-2/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r115521 | russell | 2008-05-07 13:30:12 -0500 (Wed, 07 May 2008) | 7 lines Use the default that the log output claims will be used for the basedn (closes issue #12599) Reported by: suretec Patches: 12599.patch uploaded by juggie (license 24) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115522 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21Merged revisions 114320 via svnmerge from file1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r114320 | file | 2008-04-21 11:34:06 -0300 (Mon, 21 Apr 2008) | 6 lines Only print out the error message if ldap_modify_ext_s actually returns an error, and not success. (closes issue #12438) Reported by: gservat Patches: res_config_ldap.c-patch-code uploaded by gservat (license 466) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114321 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18Merged revisions 114254 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r114254 | file | 2008-04-18 13:11:27 -0300 (Fri, 18 Apr 2008) | 4 lines If the parsing of the config file fails make sure we unlock ldap_lock. (closes issue #12477) Reported by: IgorG ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114255 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Merged revisions 114085 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r114085 | tilghman | 2008-04-11 18:12:16 -0500 (Fri, 11 Apr 2008) | 7 lines Use the correct function for free'ing objects, and maybe we won't crash. (closes issue #12163) Reported by: gservat Patches: 20080411__bug12163.diff.txt uploaded by Corydon76 (license 14) Tested by: gservat ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114086 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Merged revisions 114061 via svnmerge from tilghman1-9/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r114061 | tilghman | 2008-04-11 09:54:22 -0500 (Fri, 11 Apr 2008) | 6 lines Errors are all greater than 0 (closes issue #12422) Reported by: nito Patches: res_config_ldap_result_check_patch.diff uploaded by nito (license 340) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114062 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109775 via svnmerge from tilghman1-20/+23
https://origsvn.digium.com/svn/asterisk/trunk ........ r109775 | tilghman | 2008-03-18 18:22:25 -0500 (Tue, 18 Mar 2008) | 3 lines Change back to using ldap_initialize() and let the user specify a URL directly, instead of trying to piece it together, badly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109779 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109683 via svnmerge from tilghman1-11/+19
https://origsvn.digium.com/svn/asterisk/trunk ........ r109683 | tilghman | 2008-03-18 15:13:40 -0500 (Tue, 18 Mar 2008) | 4 lines Set protocol version, port number correctly. (closes issue #12211, closes issue #12209) Reported by: sylvain ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109684 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Merged revisions 109447 via svnmerge from russell1-4/+4
https://origsvn.digium.com/svn/asterisk/trunk ........ r109447 | twilson | 2008-03-18 10:43:34 -0500 (Tue, 18 Mar 2008) | 3 lines Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not actual problems, per se. I also added format attributes to any printf wrapper functions I found that didn't have them. -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109459 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11Merged revisions 107791 via svnmerge from tilghman1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r107791 | tilghman | 2008-03-11 17:55:16 -0500 (Tue, 11 Mar 2008) | 5 lines An offhand comment from Russell made me realize that the configuration file caching would not work properly for users.conf and any other file read from more than one place. I needed to add the filename which requested the config file to get it to work properly. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@107793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Merged revisions 106346 via svnmerge from tilghman1-2/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r106346 | tilghman | 2008-03-05 23:21:39 -0600 (Wed, 05 Mar 2008) | 7 lines Missing braces, fix parsing (closes issue #12112) Reported by: cyrenity Patches: res_config_ldap.patch-03-03-2008 uploaded by cyrenity (license 416) Tested by: cyrenity, Corydon76 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106359 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15Fix up some doxygen issues.qwell1-4/+6
(closes issue #11996) Patches: bug_11996_doxygen.diff uploaded by snuffy (license 35) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103723 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23Coding guidelines cleanuptilghman1-149/+151
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99758 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22Add res_config_ldap for realtime LDAP engine.tilghman1-0/+1550
(closes issue #5768) Reported by: mguesdon Patches: res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121) res_ldap.conf.sample uploaded by suretec (license 70) asterisk-v3.1.4.ldif uploaded by suretec (license 70) asterisk-v3.1.4.schema uploaded by suretec (license 70) Tested by: oej, mguesdon, suretec, cthorner git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b