I cant! I dont have the authority to do that. I have setup NIS which authenticate via the Kerberos server. I guess it would be easiest to just add a group in NIS but LDAP is the future and there is such nice GUIs. Where do I prelogin scripting? Lets say a user enter a username and a password: First it checks via yp if the user is in passwd and then try to authenitcate via the kerberos server (via pam_krb5). What I want is a if(in_ldap(username)) { if(check_with_yp(username)) { if(krb5_authenticate(username,password) { login() } } } Where do I do this kind of magic? Somewhere with Pam?
/nisse On 7/20/05, Carlos Rodrigues <[EMAIL PROTECTED]> wrote: > Nils Erik Svangård wrote: > > Hello! > > > > I recently got my debian box to authenticate user logins with kerberos! > > Now I have created a group in LDAP and I want that only users who is > > members of that group are allowed to login. The problem is that no > > information of shell or home directory is stored on the LDAP server, > > so I thougt that I could use NIS to get that information and automount > > to mount my directory. > > Is that at all possible? > > Has anyone done something like this before? > > /nisse > > Why not add the necessary information to LDAP instead? > > Carlos Rodrigues > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >