logon once patch
abartlet at samba.org
Thu Aug 19 21:45:45 GMT 2004
On Thu, 2004-08-19 at 17:07, Volker.Lendecke at SerNet.DE wrote:
> Attached find a patch that might be more interesting for others, and maybe even
> for inclusion in the mainstream samba. I've written it for schools that want
> the students in a classroom to log in to the workstations only once. The
> teacher resets the 'O' flag for all students, and the first interactive login
> sets it. The second one is denied with ACCOUNT_RESTRICTION.
> What do you think? Is this worth applying?
What about storing the actual count? That way, the
administrator/administrator's scripts can determine how many logins a
user is permitted.
But I agree, it is a useful extension. I wish the auth subsystem
allowed it to be easily added as an extension module, but anyway :-)
Andrew Bartlett abartlet at samba.org
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20040820/b36609a9/attachment.bin
More information about the samba-technical