projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e3d4bc
)
shellcommands usermod_pwonly shouldn't apply to RADIUS groups, this is messing up...
author
ivan
<ivan>
Thu, 1 Dec 2005 17:36:48 +0000
(17:36 +0000)
committer
ivan
<ivan>
Thu, 1 Dec 2005 17:36:48 +0000
(17:36 +0000)
FS/FS/part_export/shellcommands.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/shellcommands.pm
b/FS/FS/part_export/shellcommands.pm
index
ca04e38
..
646c5ff
100644
(file)
--- a/
FS/FS/part_export/shellcommands.pm
+++ b/
FS/FS/part_export/shellcommands.pm
@@
-38,7
+38,7
@@
tie my %options, 'Tie::IxHash',
type =>'textarea',
default=>'',
},
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',
type =>'checkbox',
},
'usermod_nousername' => { label=>'Disallow just username changes',
@@
-292,10
+292,10
@@
sub _export_replace {
if ( $old_dir ne $new_dir ) {
$error ||= "can't change dir";
}
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;
}
return $error. ' ('. $self->exporttype. ' to '. $self->machine. ')'
if $error;