From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Feb 12 22:01:14 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h1CD1EE42919;
	Wed, 12 Feb 2003 22:01:14 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from st68.arena.ne.jp (st68.arena.ne.jp [203.138.213.2])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h1CD1EJ42912
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 12 Feb 2003 22:01:14 +0900 (JST)
	(envelope-from north1@tonamisys.co.jp)
Received: (qmail 19352 invoked by uid 114); 12 Feb 2003 22:01:08 +0900
Received: from north1@tonamisys.co.jp by st68.arena.ne.jp
	 by uid 111 with qmail-scanner-1.10 (sophie: 2.10/3.65. . Clear:0. Processed in 0.343086 secs); 12 Feb 2003 22:01:08 +0900
Received: from unknown (HELO k7) (61.198.88.222)
  by tonamisys.co.jp with SMTP; 12 Feb 2003 22:01:07 +0900
Message-ID: <007701c2d297$01b46750$8d00a8c0@k7>
From: "north1@tsys.co.jp" <north1@tonamisys.co.jp>
To: <FreeBSD-users-jp@jp.FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 12 Feb 2003 22:01:50 +0900
X-Sequence: FreeBSD-users-jp 73412
Subject: [FreeBSD-users-jp 73412] FreeBSD4.62+OpenLDAP2.1.10+CyrusSASL2.1.12
 =?ISO-2022-JP?B?GyRCJEchIhsoQg==?=
 Digest-MD5 =?ISO-2022-JP?B?GyRCRyc+WhsoQg==?= 
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: north1@tonamisys.co.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030107

$BEWGH%7%9%F%`3+H/$NKLKY$H?=$7$^$9!#(B

LDAP$B$HDL?.$r9T$&%"%W%j%1!<%7%g%s$r3+H/$9$k$?$a$K!"(B
FreeBSD4.62+OpenLDAP2.1.10+CyrusSASL2.1.12$B$G!"(B
LDAP$B%5!<%P$r9=C[$7$^$7$?!#(B

$B$3$N%5!<%P$G!"(BSlapd$B$r5/F0$7$F!"(B-Y DIGEST-MD5$B%*%W%7%g%s$r(B
$BIU2C$7$F(Bldapsearch$B$r<B9T$9$k$H!"(B
SASL/DIGEST-MD5 authentication started
$B$HI=<($5$l$?$^$^!"D9;~4V(Bldapsearch$B$N%l%9%]%s%9$,(B
$BJV$C$F$3$J$$$H$$$&LdBj$,H/@8$7$F$$$^$9!#(B
$B!JAa$$$H?tJ,!"CY$$$H#3#0J,0J>e!K(B

$B%m%0$r8+$?8B$j$G$O!"%5!<%PB&$,%l%9%]%s%9$rJV$5$J$$(B
$B$?$a$K;_$^$C$F$$$k$h$&$K46$8$^$9!#(B

$B2r7h:v!"G'>Z$,CY$$860x$J$I$*CN$j$NJ}$,$$$^$7$?$i!"!"(B
$B$J$K$H$>$465<x$r$*4j$$$$$?$7$^$9!#(B

$B>\$7$$4D6-5Z$S!"%$%s%9%H!<%k$r9T$C$?=g=x$O0J2<$NDL$j$G$9!#(B

OS FreeBSD4.6.2
$B#1!"(BOpenSSL0.9.6g $B%=!<%9$h$j%$%s%9%H!<%k(B
    ./config$B$N%*%W%7%g%s$OFC$K$J$7(B
$B#2!"(BBerkeleyDB4.1.25 $B%=!<%9$h$j%$%s%9%H!<%k(B
    ./configure$B$N%*%W%7%g%s$OFC$K$J$7(B
$B#3!"(BCyrusSASL2.1.12 $B%=!<%9$h$j%$%s%9%H!<%k(B(MD5$BG'>Z$N$_$G%$%s%9%H!<%k(B)
    ./configure --disable-krb4 --disable-gssapi --disable-otp
$B#4!"(BOpenLDAP2.1.10 $B%=!<%9$h$j%$%s%9%H!<%k(B
    ./configure --enable-spasswd --enable-ldbm

supportedSASLMechanisms$B$rIU2C$7$F(Bldapsearch$B$r<B9T$7$?7k2L(B
> ldapsearch -x -b '' -s base '(objectclass=*)' supportedSASLMechanisms
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: supportedSASLMechanisms
#

#
dn:
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


/usr/local/libexec/slapd -d 1 $B$N<B9T%m%0!JDd;_2U=j$N$_!K(B
$B!A>JN,!A(B
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 26 contents:
ber_get_next
ber_get_next on fd 13 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt ({o) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt (}}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech DIGEST-MD5
SASL [conn=0] Debug: DIGEST-MD5 server step 1

ldapsearch -d 1 -Y DIGEST-MD5 -U User@REALM.COM -b \
"o=CANPANY,c=JP" "(objectclass=*)"$B$N<B9T%m%0(B
$B!A>JN,!A(B
SASL/DIGEST-MD5 authentication started
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ber_flush: 28 bytes to sd 3
ldap_result msgid 2
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 2
wait4msg continue, msgid 2, all 1
** Connections:
* host: carpaccio  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Fri Feb  7 17:26:45 2003

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
ldap_int_select    <=$B$3$3$GDd;_(B $B%5!<%P$+$i$N%l%9%]%s%9BT$A!)$K(B

----------------------------------------
$BEWGH%7%9%F%`3+H/(B $BKLKY(B $B0lI'(B
$B")(B939-1525 $BIY;38)EWGH;TB@O:4](B1-9-24
                $BF|K\3$%S%k(B2$B3,(B
mail: kitahori@tonamisys.co.jp
TEL: 0763-33-6238 FAX 0763-33-6312
----------------------------------------






