solaris 10 caching credentials? Inactivated users allowed in via ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, this makes sense, but I'm using the Sun-recommended pam_ldap 
configuration, straight from their documentation for Solaris 10. I don't 
have a machine in front of me, but if memory serves, their configuration 
includes pam_unix_auth, pam_unix_cred as well as pam_ldap. I've read about 
the changes with server_policy and the like, but even those example (again, 
iirc) use pam_unix. 

If you have a working pam.conf for solaris 10 that doesn't exhibit this 
behavior, I'd be happy not so much to see it, but to know what doc you 
referenced to develop it! 

Thanks, 
brian

On 8/30/05, George Holbert <gholbert at broadcom.com> wrote:
> 
> Brian,
> It sounds like you're using the pam_unix module for authentication on
> the Solaris 10 client instead of the pam_ldap module. The bind as the
> proxy user is to retrieve the crypted password hash of the account,
> which is then compared with the password given at login.
> 
> If you want LDAP account deactivation to affect logins to Solaris
> clients, those clients must use pam_ldap to authenticate against the
> LDAP server, instead of pam_unix.
> 
> Note also that deactivating a LDAP account will not prevent
> password-less rsh login with that account.
> 
> -- George
> 
> 
> Brian K. Jones wrote:
> 
> >Anyone experiencing a similar issue should see this Sun forum thread
> >http://forum.sun.com/thread.jspa?threadID=24568&tstart=0
> >
> >On Tuesday 30 August 2005 4:42 pm, Brian K. Jones wrote:
> >
> >
> >>Well, I'm running nscd, but before I go shutting that off, I should 
> share
> >>this new info:
> >>
> >>I found that the solaris machine *does* try to bind as the user, and the
> >>server returns err=53, just like it does to the linux clients! However, 
> it
> >>*then* does a search for the shadowaccount objectclass and the inactive
> >>user's uid, and memberUID=<inactive user>, and in the end, it lets the 
> user
> >>in.
> >>
> >>Baffling. And scary that a failed bind request can potentially lead to
> >>users getting logged in anyway.
> >>
> >>On Tuesday 30 August 2005 4:24 pm, aly.dharshi at telus.net wrote:
> >>
> >>
> >>>Hi Brian,
> >>>
> >>> Is the nscd caching the query ? I guess try restarting nscd and
> >>>see if that fixes your problem, if you aren't running nscd this is a
> >>>useless suggession.
> >>>
> >>> Cheers,
> >>>
> >>> Aly.
> >>>
> >>>On Tue, 30 Aug 2005, Brian K. Jones wrote:
> >>>
> >>>
> >>>>Hi all,
> >>>>
> >>>>I'm running FDS (binary rpm) on rhel4. I have rhel4 and solaris 10
> >>>>clients.
> >>>>
> >>>>If I inactivate a user account in the FDS admin GUI, then try to log 
> in
> >>>>via ssh as that inactivated user on any ol' random Linux client, the
> >>>>BIND operation fails with err=53 (unwilling to perform). This, I 
> should
> >>>>think, is the expected behaviour.
> >>>>
> >>>>Solaris 10, on the other hand, lets the user in (again, ssh). The only
> >>>>BIND I can correllate in the logs come from the solaris proxy user.
> >>>>Then a search is done for "shadowaccount=<username>", and then a 
> search
> >>>>is done for the group memberships of that user (presumably I'm already
> >>>>in when this is done). There's never a BIND operation as the inactive
> >>>>user at all!
> >>>>
> >>>>Can someone explain what's happening?
> >>>>
> >>>>brian.
> >>>>
> >>>>--
> >>>>Fedora-directory-users mailing list
> >>>>Fedora-directory-users at redhat.com
> >>>>https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >>>>
> >>>>
> >>--
> >>Fedora-directory-users mailing list
> >>Fedora-directory-users at redhat.com
> >>https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >>
> >>
> >
> >--
> >Fedora-directory-users mailing list
> >Fedora-directory-users at redhat.com
> >https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >
> >
> >
> 
> 
> 
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20050830/688af89e/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux