windows domain user authentication and limiting access

Thanks for the reply. I found that if I changed the /etc/security/limits.conf file to have the following in it it kind of accomplishes what I was after:

allowed_user1 - maxlogins 20
allowed_user2 - maxlogins 20

  •             -     maxlogins     0
    

the only gotcha is that I have it set up to create a home directory when they login. So, even though they get kicked because they aren’t allowed over 0 logins, the system still creates a home dir for them. I can change that behavior, but am wondering if this is a really secure way to accomplish what I need to do.