Name : openldap Relocations: (not relocateable) Version : 1.2.7 Vendor: (none) Release : 2 Build Date: Tue 19 Oct 1999 01:48:39 PM JST Install date: (not installed) Build Host: pingo.kondara.org Group : System Environment/Daemons Source RPM: openldap-1.2.7-2.src.rpm Size : 4016371 License: Artistic URL : http://www.openldap.org Summary : LDAP servers, libraries, utilities, tools and sample clients. Description : OpenLDAP is an open source suite of LDAP (Lightweight Directory Access Protocol) applications and development tools. The suite includes a stand-alone LDAP server (slapd), a stand-alone LDAP replication server (slurpd), libraries for implementing the LDAP protocol, and utilities, tools, and sample clients. Install openldap if you need LDAP applications and tools.
$B%$%s%9%H!<%k(B [root@irle tito]# rpm -i openldap-1.2.7-2.i586.rpm $B@_Dj%U%!%$%k$r=q$-$+$($k(B [root@irle tito]# cd /etc/openldap/ [root@irle openldap]# ed slapd.conf 781 /suff suffix "dc=your-domain, dc=com" c suffix "o=mycompany,c=JP" . /rootdn rootdn "cn=root, dc=your-domain, dc=com" c rootdn "cn=root,o=mycompany,c=JP" . w 766 q $BAH?%L>(B mycompany, $B9q(B JP $B$H$7$?!#(B [root@irle openldap]# cat slapd.conf # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /etc/openldap/slapd.at.conf include /etc/openldap/slapd.oc.conf schemacheck off #referral ldap://ldap.itd.umich.edu pidfile /var/run/slapd.pid argsfile /var/run/slapd.args ####################################################################### # ldbm database definitions ####################################################################### database ldbm suffix "o=mycompany,c=JP" #suffix "o=Your Organization Name, c=US" directory /usr/tmp rootdn "cn=root,o=mycompany,c=JP" #rootdn "cn=root, o=Your Organization Name, c=US" rootpw secret # cleartext passwords, especially for the rootdn, should # be avoid. See slapd.conf(5) for details. ldap $B%5!<%P$r%9%?!<%H$9$k!#(B [root@irle openldap]# /etc/rc.d/init.d/ldap start Starting ldap: [ OK ] $B$3$3$+$i$O(B root $B$GA`:n$9$kI,MW$OL5$$!#(B $B!V$*7h$j$N(B2$B!"(B3$B$NA`:n!W$@$=$&$G$9!#(B [root@irle openldap]# ldapadd -D 'cn=root,o=mycompany,c=JP' -w secret dn: o=mycompany,c=JP o: Mycompany Co.,Ltd. objectclass: organization C-d$B$r(B2$B2s2!$7$F=*N;!#>e$N(B3$B9T$r%U%!%$%k$K:n$C$F(B $B$*$$$F(B cat file | ldapadd ... $B$NMM$K$7$?J}$,NI$$!#(B adding new entry o=mycompany,c=JP $B:#$NEPO?$,>e[root@irle openldap]# ldapsearch -b 'o=mycompany,c=JP' 'objectclass=organization' o=mycompany,c=JP o=Mycompany Co.,Ltd. objectclass=organization $B%G!<%?$rDI2C$9$k(B [root@irle openldap]# cd /home/tito [root@irle tito]# cat mycompany.ldif dn: cn=$B;3ED(B $BB@O:(B,o=mycompany,c=JP cn: $B;3ED(B $BB@O:(B mail: taro@mycompany.example sn: $BB@O:(B givenname: $B;3ED(B objectclass: top objectclass: person objectclass: organizationalPerson dn: cn=$BNkLZ(B $B2V;R(B,o=mycompany,c=JP cn: $BNkLZ(B $B2V;R(B mail: hana@mycompany.example sn: $B2V;R(B givenname: $BNkLZ(B objectclass: top objectclass: person objectclass: organizationalPerson $B%G!<%?%U%!%$%k$O(BJIS$B%3!<%I$G:n$C$?!#(B [root@irle tito]# kcc -c mycompany.ldif mycompany.ldif: 7-bit JIS [ESC$B, ESC(B] ldap$B$K$O(B unicode $B$G@_Dj$9$k$N$G(B lv $B$K$h$k%U%#%k%?!<$r(B $BDL$9!#(B [root@irle tito]# lv -Ou8 mycompany.ldif | > ldapadd -D 'cn=root,o=mycompany,c=JP' -w secret adding new entry cn=$Be11gH2(B $Bj&*i%n(B,o=mycompany,c=JP adding new entry cn=,H4$Bk|(B(J1$Be-(Bo=mycompany,c=JP $BJ8;z2=$1$7$F$$$k$h$&$@$,(BOK$B!#(B [root@irle tito]# exit
$B@+L>$,$$$$$+$2$s$J$N$O$I$&$7$h$&!#$J$s$H$+$7$m(BNetscape Communications ($B:#$O(BAOL$B$@$C$1(B)
Outlook Express 5.0$B$G$O2?$HF|K\8l$N%3!<%I$,(BMS$B4A;z%3!<%I$G$"$kI,MW$,$"$k(B $B$h$&$@!#??LLL\$K:n$l(B>MS.
$B$H=q$$$?;d$,GO$G$7$?!#(B openldap-1.2.x $B$G%5%]!<%H$7$F$$$k%W%m%H%3%k%P!<(B $B%8%g%s(B2$B$G$O(BIE$B$H(BNetscape$B$NN>N)$OL5M}$@$=$&$G$9!#0J2<$N5-;v$G65$($F$$(B $B$?$@$-$^$7$?!#(B
$B3+H/HG$G$9$,(B cvs $B$+$i:G?7HG$rFrom: Tomoaki Yamada <yamadato$B!w(Baqua.ocn.ne.jp> Subject: [linux-users:64207] Re: LDAP$B$HF|K\8l(B Newsgroups: local.linuxusers Date: Fri, 21 Jan 2000 11:25:43 +0900