dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

16 Commits

Author SHA1 Message Date
tilghman 0ae2420f01 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/trunk@118302 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-27 13:30:10 +00:00
file c8b5ae3381 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/trunk@116350 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 18:25:54 +00:00
russell a2d96f48ab 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/trunk@115523 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07 18:33:50 +00:00
russell 2420ef49a1 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/trunk@115521 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-07 18:30:12 +00:00
file 814861757a 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/trunk@114320 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 14:34:06 +00:00
file c80bbab204 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/trunk@114254 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 16:11:27 +00:00
tilghman 10f7ba8c8b 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/trunk@114085 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11 23:12:16 +00:00
tilghman c695e4a385 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/trunk@114061 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-11 14:54:22 +00:00
tilghman 856338f16b 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/trunk@109775 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 23:22:25 +00:00
tilghman 4188ad5e36 Set protocol version, port number correctly.
(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-18 20:13:40 +00:00
twilson 9e8ebe6a94 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/trunk@109447 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 15:43:34 +00:00
tilghman dbcca86ee1 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/trunk@107791 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 22:55:16 +00:00
tilghman f60984da2c 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/trunk@106346 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-06 05:21:39 +00:00
qwell 2d7e70ff01 Fix up some doxygen issues.
(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-02-15 17:29:08 +00:00
tilghman c6d9da5003 Coding guidelines cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99758 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 03:57:31 +00:00
tilghman 533d426fef 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: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 22:33:20 +00:00