Dell PowerConnect W Clearpass 100 Software Auto Create MAC Auth Account (Authe - Page 12
Auto Create MAC Account, Technical Note
View all Dell PowerConnect W Clearpass 100 Software manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 12 highlights
// We are caching the MAC for a local user account. // 'id' only exists for local accounts && ((!empty($user['id']) && NwaCreateUser(array( // Required field to act as the confirmation. 'creator_accept_terms'=>1, // The normalized MAC. 'mac'=>$mac, // Flag as a MAC so it shows in List Devices. 'mac_auth'=>1, // The role ID. Use $user['role_id'] to use this same role. 'role_id'=>5, // The original username 'visitor_name'=>$user['username'], // Formally pair the two accounts. // Cross links between accounts in the GUI. A number of data items synched 'mac_auth_pair'=>$user['id'], // Expire on the current day at 5pm. Exclude to match the base $user value. 'modify_expire_time'=>'today 17:00', // Overwrite the account if it already exists. 'auto_update_account'=>1))) // Authentication is via an external server || (empty($user['id']) && NwaCreateUser(array // Required field to act as the confirmation. 'creator_accept_terms'=>1, // The normalized MAC. 'mac'=>$mac, // Flag as a MAC so it shows in List Devices. 'mac_auth'=>1, // The role ID. Use $user['role_id'] to use this same role. 'role_id'=>5, // The original username // Could use $user['displayname'] here or some other attribute returned from the server. 'visitor_name'=>$user['username'], // Setup a sponsor name. // Sponsor names can be used for filtering accounts within operating logins. 'sponsor_name'=>$user['username'], // Expire on the current day at 5pm 'modify_expire_time'=>'today 17:00', // Set the account to be disconnected via RFC-3576 if necessary. 'do_expire'=>4, // Overwrite the account if it already exists. 'auto_update_account'=>1))) ) // Make sure the expression is never returned && 0; 12| Auto Create MAC Account Amigopod |Technical Note