7.3 and ldap
Francisco Ruiz
fruiz at tsitrucks.com
Fri Oct 8 19:57:26 UTC 2004
You guys kick major ass. Here is the deal. I have a 7.3 machine running
samba 3.001 and I had it configured as a regular workgroup server. I
need to configure it as a domain member and I need it to authenticate
users using LDAP, I need it to where I don't need to add users locally.
I have read the SAMBA how tos and some of the Openldap how tos, but it
seems the more I read the less I understand. Can you help?
-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
Stevens
Sent: Tuesday, October 05, 2004 5:20 PM
To: Getting started with Red Hat Linux
Subject: Re: 7.3 and ldap
Francisco Ruiz wrote:
> I made the mistake in messing around with the ldap.conf file and now
> I'm not able to log in period. Is there a work around this problem
> anyone?
Boot in single user mode (enter "linux single" at the "boot:" prompt).
You then have to do some magic:
cd /etc
mv pam.conf pam.conf.backup (don't worry if pam.conf is missing)
mv pam.d pam.d.backup
mkdir pam.d
cd pam.d
echo "auth required pam_unix.so" >other
echo "account required pam_unix.so" >>other
echo "password required pam_unix.so" >>other
echo "session required pam_unix.so" >>other
Yes, the first "echo" uses a single ">" the other three use two (">>").
You should be able to exit from single user mode and reboot and get
logged in. Fix your stuff, then:
cd /etc
rm -rf pam.d
mv pam.d.backup pam.d
mv pam.conf.backup pam.conf
to restore the previous PAM setup. And don't futz with ldap.conf unless
you know what you're doing! ;-) <snicker!>
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- LOOK OUT!!! BEHIND YOU!!! -
----------------------------------------------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe
More information about the Redhat-install-list
mailing list