Update comment about checking for thin client
This commit is contained in:
parent
a3ad4d5a86
commit
b2ad8796fb
|
@ -225,10 +225,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t* pamh, int flags, int argc, const c
|
||||||
cscf = false;
|
cscf = false;
|
||||||
if(pam_get_item(pamh, PAM_RHOST, (const void**)&pam_rhost) && pam_rhost)
|
if(pam_get_item(pamh, PAM_RHOST, (const void**)&pam_rhost) && pam_rhost)
|
||||||
{
|
{
|
||||||
/* TODO: check pam_rhost
|
/* TODO: check if pam_rhost is tcNNN.student.cs */
|
||||||
* It appears that the thin clients all have hostnames of the form
|
|
||||||
* tc[0-9]+\.student\.cs
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cscf)
|
if(cscf)
|
||||||
|
|
Loading…
Reference in New Issue