[freeside-commits]
freeside/FS/FS/part_export shellcommands.pm, 1.38, 1.39
Ivan,,,
ivan at wavetail.420.am
Thu Dec 1 09:36:51 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv1472
Modified Files:
shellcommands.pm
Log Message:
shellcommands usermod_pwonly shouldn't apply to RADIUS groups, this is messing up unrelated RADIUS exports
Index: shellcommands.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/shellcommands.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- shellcommands.pm 21 Nov 2005 14:25:12 -0000 1.38
+++ shellcommands.pm 1 Dec 2005 17:36:48 -0000 1.39
@@ -38,7 +38,7 @@
type =>'textarea',
default=>'',
},
- 'usermod_pwonly' => { label=>'Disallow username, domain, uid, gid, dir and RADIUS group changes',
+ 'usermod_pwonly' => { label=>'Disallow username, domain, uid, gid, and dir changes', #and RADIUS group changes',
type =>'checkbox',
},
'usermod_nousername' => { label=>'Disallow just username changes',
@@ -292,10 +292,10 @@
if ( $old_dir ne $new_dir ) {
$error ||= "can't change dir";
}
- if ( join("\n", sort @old_radius_groups) ne
- join("\n", sort @new_radius_groups) ) {
- $error ||= "can't change RADIUS groups";
- }
+ #if ( join("\n", sort @old_radius_groups) ne
+ # join("\n", sort @new_radius_groups) ) {
+ # $error ||= "can't change RADIUS groups";
+ #}
}
return $error. ' ('. $self->exporttype. ' to '. $self->machine. ')'
if $error;
More information about the freeside-commits
mailing list