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

Re: pam_ldap and host



В Срд, 17.12.2003, в 20:04, Chris Jackson пишет:
> Do you have a "host" attribute set in ldap with the host name you are
> logging into? You will need a wild card (host = "*") if you want to
> allow your self access to all hosts where this is set.
yes, I have only host=apex.csu.ac.ru, but I can login to
reindeer.csu.ac.ru. (I get warm, message about homedir and shell.)
It's a good idea with host="*" for all hosts, I didn't know it, but at
this time I want to denie access for host (jast for test :-), and to
denie access for other users)
> 
> On Wed, 2003-12-17 at 09:47, Sergey wrote:
> > Hi All!
> > How does it work? I added "pam_check_host_attr yes" at /etc/ldap.conf.
> > When I login to host, I get
> > Access denied for this host
> > Could not chdir to home directory /home/srg: No such file or directory
> > -bash-2.05b$ 
> > So, I have a shell :-(
> > How can I fix it?
> > 
> > P.S.
> > May be /etc/ldap.conf and /etc/libnss-ldap.conf symlinks to
> > /etc/ldap/ldap.conf at Debian box (/etc/ldap.conf link to
> > /etc/openldap/openldap.conf at RedHat box)? I Didn't notice there big
> > differences..
> 
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list redhat com
> https://www.redhat.com/mailman/listinfo/pam-list
-- 
Sorry for my poor English
---------------------------------------------------------
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sb20293A2058554E494Csnlbxq'|dc

Best Regards			mailto:srg csu ac ru
Mokeev Sergey			ICQ UIN:168860082





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