[freeside-commits] freeside/FS/FS svc_acct.pm,1.244,1.245

Ivan,,, ivan at wavetail.420.am
Mon Oct 6 15:48:24 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv31381

Modified Files:
	svc_acct.pm 
Log Message:
make RADIUS password exports _password_encoding-aware so we export Password-With-Header when necessary

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -d -r1.244 -r1.245
--- svc_acct.pm	6 Oct 2008 22:19:57 -0000	1.244
+++ svc_acct.pm	6 Oct 2008 22:48:22 -0000	1.245
@@ -1455,8 +1455,8 @@
   my($pw_attrib, $password);
   if ( $self->_password_encoding eq 'ldap' ) {
 
-     $pw_attrib = 'Password-With-Header';
-     $password = $self->_password;
+    $pw_attrib = 'Password-With-Header';
+    $password = $self->_password;
 
   } elsif ( $self->_password_encoding eq 'crypt' ) {
 
@@ -1466,6 +1466,7 @@
   } elsif ( $self->_password_encoding eq 'plain' ) {
 
     $pw_attrib = $radius_password; #Cleartext-Password?  man rlm_pap
+    $password = $self->_password;
 
   } else {
 



More information about the freeside-commits mailing list