Re: LDAP on debian
** On May 16, Christian Hammers scribbled: > Hi > > > P.S. Does anyone know if there is there something wrong with the default > > configuration of OpenLDAP in potato? I cannot connect to my server with > > any of the command line (or other) tools. > After a long time fiddling around I've finally managed to get it running. > As far as I can tell now there was no error in the config. There isn't indeed. The most probable cause is that the access is blocked in /etc/hosts.{allow,deny} - you have to allow access to the slapd service. Increase the loglevel in /etc/openldap/slapd.conf (set it to 8) and you'll see in the logs what's wrong. marek pgpZnBUqXqdhY.pgp Description: PGP signature
Re: LDAP on debian
Hi > P.S. Does anyone know if there is there something wrong with the default > configuration of OpenLDAP in potato? I cannot connect to my server with > any of the command line (or other) tools. After a long time fiddling around I've finally managed to get it running. As far as I can tell now there was no error in the config. You've just the problem that you're standing before it and have no clue what you should do, can do or even what you actually want... :-) We're using it now for RADIUS authentification and I personally for saving my bookmarks in a Roaming account that Netscape reads automatically. If you have questions just ask. bye, -christian- -- Linux - the choice of the GNU generation. Join the Debian Project http://www.debian.org Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624 50 3C 52 26 3E 52 E7 20 D2 A1 F5 16 C4 C9 D4 D3 1024/925BCB55 1997/11/01
Re: LDAP on debian
> Debian is using LDAP to authenticate users but I couldnt realize how it's > done. apt-get install pam-ldap, or sth like that, and then switch to ldap authentication using /etc/pam.d/* files.. i tried it, it works like a charm. it even supports md5 hashing, and i like it. > How to add/remove entries in the database? I used command-line utilities and Gentelmans Interface to LDAP
Re: LDAP on debian
Carlos Barros wrote: > Is there any HOWTO's > Is there any text explaining how does it work? I mean The guide explain how > to get, untar, configure, compile, install, run, change things, what it is, > netscape... The beginnings of a HOWTO is available at http://www.ice-works.com/personal/LaterDude/LDAP-Authentication-HOWTO.html ... it hasn't been enough to get me going but it's the best I've found. I'm puzzling over LDAP, it's something I think I want but I'm not sure why. For much of what I see I can't help but think why not use an SQL server? Fraser P.S. Does anyone know if there is there something wrong with the default configuration of OpenLDAP in potato? I cannot connect to my server with any of the command line (or other) tools.
LDAP on debian
Well, I don't know where to start. Well... There's someone who want to learn LDAP (ME :) Debian is using LDAP to authenticate users but I couldnt realize how it's done. The LDAP-guide is not well documented and I don't understand it very well... The first problem is to setup an LDAP server. How to use it, how to configure it. Then how to configure a host to use LDAP as the server to authenticate. I know there's pam-ldap and nss-ldap. But how d.org do that? I need the guidelines, for example, there's a lot of files in /etc/openldap/ which are in the ldif format? How does slapd run? I mean which files in the configuration dir uses? How to configure a database for the authentication purposes? How to add/remove entries in the database? When the configuration file change, how to update the running slapd server? Does LDAP has accounting? (like /var/log/wtmp?) I read a lot of the ldap-guide. Classes, persons attributes, but couldn't find a way to join each other with the authentication. I mean the interaction of the diferent parts do setup an LDAP-authenticated based network. Is there any HOWTO's Is there any text explaining how does it work? I mean The guide explain how to get, untar, configure, compile, install, run, change things, what it is, netscape... But nothing as to how the database must be for authentication purposes. -- Bye Carlos Barros.