Article View: fj.net.ldap
Article #54Re: Configuration LDAP
From: Olivier Fernandez
Date: Mon, 28 May 2001 15:59
Date: Mon, 28 May 2001 15:59
190 lines
6420 bytes
6420 bytes
Bonjour, excuse moi de ne pas r�pondre � ta question, car je ne suis pas plus expert que toi en ldap. Et je ne suis pas plus expert en Unix/linux. Donc, je cherche un server ldap gratuit t�l�chargeable et pas trop volumineux pou m'initier. Est-ce que openldap existe-t-il sous Windows. merci de ton aide, Olivier. "adg" <adrien.degraeve@pronet.fr> a �crit dans le message news: 3B124C78.82E5E800@pronet.fr... > Bonjour, > les questions que je vais vous poser sont sans doute des questions de > d�butants, aussi, je comprendrais si jamais vous ne me r�pondez pas. > > J'utilise un annuaire OpenLDAP sous linux dont la configuration est dans > les > fichiers ci-joints. > Je souhaiterais dans un premier temps faire uniquement des tests > distants (� > partir de Netscape ou Outlook sur d'autres machines) cependant, le > protocole > d'authentification SASL me rebute syst�matiquement, et je ne peux ainsi > pas > acc�der � l'annuaire LDAP en bind_simple (� distance, car je ne connais > pas > la syntaxe pour l'URL), et je ne peux y acc�der non plus en ligne de > commande sans activer l'option '-x' de ldapsearch. > J'aimerais donc s'il vous est possible de m'aiguiller pouvoir d�sactiver > au > moins temporairement SASL, (j'ai pourtant essay� comme en t�moigne les > fichiers de configuration ci-joints) pour pouvoir faire mes tests, ou > alors, > si vous pouvez m'indiquer pr�cis�ment comment m'authentifier en tant que > > root en lgne de commande ou en tant qu'utilisateur. > > Ma deuxi�me question porte plut�t surtout sur l'acc�s au serveur LDAP � > distance par l'interm�diaire d'un nom (pas d'une adresse IP). > > Je vous remercie de l'attention que vous avez port� � ce mail. > Merci d'avance. > > ---------------------------------------------------------------------------- ---- > slapd -f /etc/openldap.slapd.conf > slapadd -l /..... > ldapsearch -M -b "dc=tech,dc=fr" -h "STEINBECK" -x "(objectclass=*)" > URL dans Netscape: ldap://128.1.5.20:389/??base?objectclass=* ---------------------------------------------------------------------------- ---- > # $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05 17:54:38 kurt Exp $ > # > # LDAP Defaults > # > > # See ldap.conf(5) for details > # This file should be world readable but not world writable. > > BASE dc=tech, dc=fr > URI ldap://ldap.tech.fr ldap://root.tech.fr:666 > #URI ldap://ldap.example.com ldap://ldap-master.example.com:666 > BINDDN ldap://ldap.tech.fr:389/ > #SIZELIMIT 12 > #TIMELIMIT 15 > #DEREF never > > sasl-secprops maxssf=0 > > ---------------------------------------------------------------------------- ---- > # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $ > # > # See slapd.conf(5) for details on configuration options. > # This file should NOT be world readable. > # > include /etc/openldap/schema/core.schema > #referral ldap://root.tech.fr > defaultaccess search read > access to * by * read > by * search > > # Define global ACLs to disable default read access. > > # Do not enable referrals until AFTER you have a working directory > # service AND an understanding of referrals. > #referral ldap://root.openldap.org > > pidfile /var/run/slapd.pid > argsfile /var/run/slapd.args > > > # Load dynamic backend modules: > # modulepath /usr/sbin/openldap > # moduleload back_ldap.la > # moduleload back_ldbm.la > # moduleload back_passwd.la > # moduleload back_shell.la > > security sasl=0 ssf=0 transport=0 tls=0 > sasl-secprops maxssf=0 minssf=0 > #allow tls_2_anon,bind_simple > #disallow tls_authc bind_krbv4 > > ####################################################################### > # ldbm database definitions > ####################################################################### > > database ldbm > suffix "dc=tech, dc=fr" > #suffix "o=My Organization Name, c=US" > rootdn "cn=Manager, dc=tech, dc=fr" > #rootdn "cn=Manager, o=My Organization Name, c=US" > # Cleartext passwords, especially for the rootdn, should > # be avoid. See slappasswd(8) and slapd.conf(5) for details. > # Use of strong authentication encouraged. > rootpw secret > # The database directory MUST exist prior to running slapd AND > # should only be accessable by the slapd/tools. Mode 700 recommended. > directory /var/lib/ldap/ > # Indices to maintain > #access to * by * read > index default pres,eq > index objectClass,uid > #index cn,sn eq,sub,approx > access to dn="roger2313,dc=tech,dc=fr" by * read > by * search > by * write > access to * by * write > by * read > by * search > > ---------------------------------------------------------------------------- ---- > version: 2 > > # > # filter: (objectclass=*) > # requesting: ALL > # > > # toto,dc=tech,dc=fr > dn: dc=toto,dc=tech,dc=fr > cn: toto > sn: est content > objectClass: top > objectClass: person > > # toto2,dc=tech,dc=fr > dn: dc=toto2,dc=tech,dc=fr > cn: toto2 > sn: est content > objectClass: top > objectClass: person > > # search result > search: 2 > result: 0 Success > > # numResponses: 3 > # numEntries: 2 >
Technical Details
Message-ID:
<VBuQ6.1795$w86.2655327@nnrp6.proxad.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mailReferences:
<3B124C78.82E5E800@pronet.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 103627,a8f6069add82772a X-Google-Attributes: gid103627,public X-Google-ArrivalTime: 2001-05-28 08:59:50 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail Reply-To: "Olivier Fernandez" <ofernand@icor.fr> From: "Olivier Fernandez" <ofernand@icor.fr> Newsgroups: fj.net.ldap References: <3B124C78.82E5E800@pronet.fr> Subject: Re: Configuration LDAP Lines: 192 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <VBuQ6.1795$w86.2655327@nnrp6.proxad.net> Date: Mon, 28 May 2001 15:59:49 GMT NNTP-Posting-Host: 213.228.44.46 X-Complaints-To: abuse@proxad.net X-Trace: nnrp6.proxad.net 991065589 213.228.44.46 (Mon, 28 May 2001 17:59:49 CEST) NNTP-Posting-Date: Mon, 28 May 2001 17:59:49 CEST Organization: Guest of ProXad - France