[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: passwd database
OK, so I've still got a ways to go. I tried using the instructions here
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-ldap-redhattips.html
to configure a machine to use this ldap server for authentication. I get
the impression that the migration perl scripts from PADL are to take the
passwd file and create an LDAP database (type ldbm?) to authenticate
against. It didn't work. The migrate_all_scripts both complained (online
said it couldn't connect, offline sad ldapadd didn't support the
necessary options). I know they are not from the OpenSSL group, I just
didn't think I would need to use them at all. I thought I could just use
the passwd database type and authenticate against that with the nss_ldap
stuff, which I have installed and configured per the RH page linked
above. Is there anyone on the list who has got this working that can
give me couple pointers? Thanks.
Bjørn Ove Grøtan wrote:
Justin Georgeson:
I know that this is covered in the FAQ, and general config is covered in
the Administrator's Guide, but the config listed in the FAQ didn't work
for me, and the Admin. Guide doesn't cover it specifically. I have RH
7.3, and am using the RH RPMs, version 2.0.23-4. In my slapd.conf, I
added two lines
database passwd
suffix "dc=unboundtech,dc=com"
and changed the BASE in /etc/openldap/ldap.conf to match the suffix.
After starting slapd (service ldap start, returns success), when I run
ldapsearch -b 'dc=unboundtech,dc=com' '(objectclass=*)'
I get this
ldap_sasl_interactive_bind_s: No such attribute
I'm assuming this means something is wrong. The FAQ said I should get
everything in /etc/passwd from that command. I haven't even started
looking at the client side of this. Any help would be greatly
appreciated, thanks.
try adding '-x' before -b to perform an anonymous bind aka simple-bind.
regards
Bjørn Ove Grøtan
--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962
5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)