aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_ldap.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-10All of the res/ stuff (other than res_jabber) from the RSW branch.seanbright1-39/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137028 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Fix some usages of snprintf, and clarify a couple variable names.seanbright1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129864 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-21Reduce warning to debug, otherwise we flood the log when we (legitimately)tilghman1-7/+7
can't find a record. (Closes issue #12908) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124505 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Don't change pointers that need to be later passed back for deallocation.tilghman1-41/+44
(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/trunk@123952 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27When binding anonymously, credentials are still needed.tilghman1-1/+3
(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/trunk@118302 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14Make the ldap version setting work without having both version and protocol set.file1-1/+1
(closes issue #12613) Reported by: suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116350 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Only save a password if a username exists.russell1-5/+8
(closes issue #12600) Reported By: suretec Patch by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115523 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07Use the default that the log output claims will be used for the basednrussell1-2/+3
(closes issue #12599) Reported by: suretec Patches: 12599.patch uploaded by juggie (license 24) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115521 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21Only print out the error message if ldap_modify_ext_s actually returns an ↵file1-1/+1
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/trunk@114320 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18If the parsing of the config file fails make sure we unlock ldap_lock.file1-0/+1
(closes issue #12477) Reported by: IgorG git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114254 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Use the correct function for free'ing objects, and maybe we won't crash.tilghman1-2/+2
(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/trunk@114085 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11Errors are all greater than 0tilghman1-9/+9
(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/trunk@114061 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Change back to using ldap_initialize() and let the user specify a URL directly,tilghman1-20/+23
instead of trying to piece it together, badly. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109775 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Set protocol version, port number correctly.tilghman1-11/+19
(closes issue #12211, closes issue #12209) Reported by: sylvain git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109683 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Go through and fix a bunch of places where character strings were being ↵twilson1-4/+4
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/trunk@109447 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11An offhand comment from Russell made me realize that the configuration filetilghman1-2/+2
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/trunk@107791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06Missing braces, fix parsingtilghman1-2/+5
(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/trunk@106346 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