Russell Bryant
60f877ad5f
Only save a password if a username exists.
...
(closes issue #12600 )
Reported By: suretec
Patch by me
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 18:33:50 +00:00
Russell Bryant
aeb41dbdf4
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: https://origsvn.digium.com/svn/asterisk/trunk@115521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 18:30:12 +00:00
Joshua Colp
6d5290a85b
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: https://origsvn.digium.com/svn/asterisk/trunk@114320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 14:34:06 +00:00
Joshua Colp
116859bd19
If the parsing of the config file fails make sure we unlock ldap_lock.
...
(closes issue #12477 )
Reported by: IgorG
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 16:11:27 +00:00
Tilghman Lesher
7128ba0bb8
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: https://origsvn.digium.com/svn/asterisk/trunk@114085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 23:12:16 +00:00
Tilghman Lesher
d304a88457
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: https://origsvn.digium.com/svn/asterisk/trunk@114061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 14:54:22 +00:00
Tilghman Lesher
58fa8e6e9e
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: https://origsvn.digium.com/svn/asterisk/trunk@109775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 23:22:25 +00:00
Tilghman Lesher
92ecf53d44
Set protocol version, port number correctly.
...
(closes issue #12211 , closes issue #12209 )
Reported by: sylvain
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 20:13:40 +00:00
Terry Wilson
b02bc230af
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: https://origsvn.digium.com/svn/asterisk/trunk@109447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 15:43:34 +00:00
Tilghman Lesher
d02f74ebfe
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: https://origsvn.digium.com/svn/asterisk/trunk@107791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 22:55:16 +00:00
Tilghman Lesher
8afeb7df4b
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: https://origsvn.digium.com/svn/asterisk/trunk@106346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 05:21:39 +00:00
Jason Parker
72bc8a7c7d
Fix up some doxygen issues.
...
(closes issue #11996 )
Patches:
bug_11996_doxygen.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 17:29:08 +00:00
Tilghman Lesher
b0426aad08
Coding guidelines cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-23 03:57:31 +00:00
Tilghman Lesher
cfa0ec1f97
Add res_config_ldap for realtime LDAP engine.
...
(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: https://origsvn.digium.com/svn/asterisk/trunk@99696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 22:33:20 +00:00