From owner-FreeBSD-users-jp@jp.FreeBSD.org Thu Dec 27 17:06:51 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id lBR86pw67825;
	Thu, 27 Dec 2007 17:06:51 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mail.csg.is.titech.ac.jp (mail.csg.is.titech.ac.jp [131.112.40.132])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id lBR86p667814
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 27 Dec 2007 17:06:51 +0900 (JST)
	(envelope-from yanagisawa@csg.is.titech.ac.jp)
Received: from mail.csg.is.titech.ac.jp (mail.csg.is.titech.ac.jp [127.0.0.1])
	by mail.csg.is.titech.ac.jp (Postfix) with ESMTP id C427010028A0
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 27 Dec 2007 17:06:45 +0900 (JST)
Received: from mana.csg.is.titech.ac.jp (mana.csg.is.titech.ac.jp [131.112.40.170])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.csg.is.titech.ac.jp (Postfix) with ESMTP id B0BDC1002D0B
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Thu, 27 Dec 2007 17:06:45 +0900 (JST)
From: Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
Message-Id: <20071227170645.7e1c19af.yanagisawa@csg.is.titech.ac.jp>
In-Reply-To: <864pe4d1ov.wl%reo@iic.hokudai.ac.jp>
References: <864pe4d1ov.wl%reo@iic.hokudai.ac.jp>
X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.3; i386-portbld-freebsd6.2)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Thu, 27 Dec 2007 17:06:45 +0900
X-Sequence: FreeBSD-users-jp 91312
Subject: [FreeBSD-users-jp 91312] Re: [Q] nss_ldap, pam_ldap
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: yanagisawa@csg.is.titech.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209


$BLx_7$G$9!#(B

On Thu, 27 Dec 2007 16:41:36 +0900
Hiroki Kashiwazaki <reo@iic.hokudai.ac.jp> wrote:

>    mail# ldapsearch -h 192.168.0.22
>    # extended LDIF
>    #
>    # LDAPv3
>    # base <> with scope subtree
>    # filter: (objectclass=*)
>    # requesting: ALL
>    #
>    
>    # search result
>    search: 2
>    result: 32 No such object
>    
>    # numResponses: 1
> 
> $B$H$$$C$?>uBV$GDL?.$O2DG=$J$h$&$G$9!%(B

$B$H!"(Bldapsearch$B$N7k2L$,$A$c$s$H=P$F$3$J$$$"$?$j$,$9$4$/5$$K$J$j$^$9!#(B
$B<+J,$N4D6-$b!"(Bnss_ldap$B$,(Bopenldap/ldap.conf$B$r%j%s%/$7$F$$$k$N$G$9$,!"(B
$B$3$$$D$G(Bldapsearch$B$r<B9T$9$k$H$3$s$J46$8$G(BLDAP$B$KF~$l$?>pJs$,=P$F$-$^$9$N$G!#(B
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# example.org
dn: dc=example,dc=org
dc: example
objectClass: top
objectClass: domain
objectClass: domainRelatedObject
associatedDomain: example.org

# Group, example.org
dn: ou=Group,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Group

# People, example.org
dn: ou=People,dc=example,dc=org
objectClass: top
objectClass: organizationalUnit
ou: People
	: ($B0J2<N,(B)

/usr/local/etc/nss_ldap.conf $B$O$&$^$/$$$/%[%9%H$HF1$8$b$N$r(B
$B;H$C$F$$$k$s$G$9$h$M!)(B

-- 
-------------------------------------------------------
Yoshisato YANAGISAWA <yanagisawa@csg.is.titech.ac.jp>
Dept. of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.
/* If you are an *BSD user, let's join http://bsdstats.org/ */
