Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
agallavardin
fusiondirectory-plugins
Commits
0accec78
Commit
0accec78
authored
Apr 09, 2013
by
Côme Bernigaud
Committed by
Benoit Mortier
Apr 09, 2013
Browse files
Fixes:
#2256
Removed radiusExpiration default value
parent
c10a0f96
Changes
1
Hide whitespace changes
Inline
Side-by-side
freeradius/personal/freeradius/class_freeradiusAccount.inc
View file @
0accec78
...
...
@@ -65,33 +65,24 @@ class freeradiusAccount extends simplePlugin {
'name'
=>
_
(
'Support 802.1x'
),
'attrs'
=>
array
(
new
StringAttribute
(
_
(
'Tunnel medium type'
),
// Label of the attribute
_
(
'Name of the tunnel medium type'
),
// Description
'radiusTunnelMediumType'
,
// LDAP name
TRUE
,
// Mandatory
'IEEE 802'
// default value
_
(
'Tunnel medium type'
),
_
(
'Name of the tunnel medium type'
),
'radiusTunnelMediumType'
,
TRUE
,
'IEEE 802'
),
new
StringAttribute
(
_
(
'Tunnel type'
),
// Label of the attribute
_
(
'Name of the tunnel type'
),
// Description
'radiusTunnelType'
,
// LDAP name
TRUE
,
// Mandatory
'VLAN'
// default value
_
(
'Tunnel type'
),
_
(
'Name of the tunnel type'
),
'radiusTunnelType'
,
TRUE
,
'VLAN'
),
new
StringAttribute
(
_
(
'VLAN id'
),
// Label of the attribute
_
(
'VLAN identifier'
),
// Description
'radiusTunnelPrivateGroupId'
,
// LDAP name
FALSE
,
// Mandatory
_
(
'VLAN id'
),
_
(
'VLAN identifier'
),
'radiusTunnelPrivateGroupId'
,
FALSE
,
''
),
new
DateAttribute
(
_
(
'Expiration date'
),
// Label of the attribute
_
(
'Date of the expiration account'
),
// Description
'radiusExpiration'
,
// LDAP name
FALSE
,
// Mandatory
'd M Y'
,
date
(
'Y-m-d'
,
time
()
+
(
7
*
24
*
60
*
60
))
// Expire in one week
_
(
'Expiration date'
),
_
(
'Date of the expiration account'
),
'radiusExpiration'
,
FALSE
,
'd M Y'
,
''
),
)
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment