[asterisk-bugs] [Asterisk 0012600]: If binding as anonymous, no need to save password or use a default
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed May 7 13:28:16 CDT 2008
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=12600
======================================================================
Reported By: suretec
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 12600
Category: Resources/res_config_ldap
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.6.0-beta8
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 115506
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-07-2008 10:18 CDT
Last Modified: 05-07-2008 13:28 CDT
======================================================================
Summary: If binding as anonymous, no need to save password or
use a default
Description:
if (!(s = ast_variable_retrieve(config, "_general", "user"))) {
ast_log(LOG_WARNING, "No directory user found, anonymous
binding as default.\n");
user[0] = '\0';
} else
ast_copy_string(user, s, sizeof(user));
if (!(s = ast_variable_retrieve(config, "_general", "pass"))) {
ast_log(LOG_WARNING, "No directory password found, using
'asterisk' as default.\n");
ast_copy_string(pass, "asterisk", sizeof(pass) - 1);
} else
ast_copy_string(pass, s, sizeof(pass));
======================================================================
----------------------------------------------------------------------
svnbot - 05-07-08 13:28
----------------------------------------------------------------------
Repository: asterisk
Revision: 115523
U trunk/res/res_config_ldap.c
------------------------------------------------------------------------
r115523 | russell | 2008-05-07 13:28:15 -0500 (Wed, 07 May 2008) | 6 lines
Only save a password if a username exists.
(closes issue http://bugs.digium.com/view.php?id=12600)
Reported By: suretec
Patch by me
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=115523
Issue History
Date Modified Username Field Change
======================================================================
05-07-08 13:28 svnbot Checkin
05-07-08 13:28 svnbot Note Added: 0086554
05-07-08 13:28 svnbot Status new => assigned
05-07-08 13:28 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list