Hi , Unix has a limit on the maximum number of characters for the username as 8 chars until recently. But for other pam modules like Pam-Kerberos there is no such limit, which might depend on the underlying module(kerberos). Regards, Bandi Maarten Buiter wrote: > Ondrej, > > I'm using PAM-LDAP, and just created a testuser with a 12 character long > login name. > Everything works OK. > > It might indeed be a pam_unix problem, but it's sure nothing > related to PAM itself. > > Perhaps you should go through your PAM documentation to find out how > to put some more information into your log-files. > > Maarten > > Ondrej Svetlik wrote: > > >People with login names longer then 9 characters cannot login. Does > >anybody have any idea what to do? > > > >When using pam_krb5, the module logs success for authentication, but login > >fails. It seems to be something with pam_unix? > > > >-oxs > > > >example: > >(pts/4)root@osvetlik:~# useradd pferschman > >(pts/4)root@osvetlik:~# passwd pferschman > >Changing password for user pferschman. > >New password:heslo > >BAD PASSWORD: it is too short > >Retype new password:heslo > >passwd: all authentication tokens updated successfully. > >(pts/4)root@osvetlik:~# > > > >(pts/5)osvetlik@osvetlik:~> su - pferschman > >Password:heslo > >su: incorrect password > >(pts/5)osvetlik@osvetlik:~> > > > >Nothing's logged. > > > > > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list _______________________________________________ Pam-list@redhat.com https://listman.redhat.com/mailman/listinfo/pam-list