AMIGOPOD PowerConnect W Clearpass 100 Software Manual page 25

Auto create mac auth account (authentication based) technote
Hide thumbs Also See for PowerConnect W Clearpass 100 Software:
Table of Contents

Advertisement

)
// The start of the original expression...
&&
&&
* Note, the above example denies logins passed the limit. If you prefer to allow the credentials
based login to continue, and simply limit the MAC accounts created, swap
for
Amigopod |Technical Note
&&
(NwaRadiusLocalServer()->GetUserCount(array(
// sponsor_name is set to the username on create.
'sponsor_name'
=> strtolower(GetAttr('User-Name')),
// delete_time is 0 for valid accounts.
'delete_time'
=> 0,
// Only search for devices.
'mac_auth'
=>
1)
// Check that the returned count is greater than the allowed.
)
>=
$MAX_MAC_ACCOUNTS)
// If it is, then the AccessReject()* will stop the rest of the expression.
// If it is not, then the 1 will allow the expression to continue.
?
(AccessReject()
&&
empty($user['mac_auth'])
...
?
(AccessReject()
&&
?
0
:
1
0)
:
1
0)
:
1
Auto Create MAC
Account|25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerConnect W Clearpass 100 Software and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Amigopod

Table of Contents