From owner-freebsd-current@FreeBSD.ORG Thu Jun 5 08:50:22 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1133106567E for ; Thu, 5 Jun 2008 08:50:22 +0000 (UTC) (envelope-from karim.bourenane@orange-ftgroup.com) Received: from relais-inet.francetelecom.com (relais-ias91.francetelecom.com [193.251.215.91]) by mx1.freebsd.org (Postfix) with ESMTP id 262BC8FC13 for ; Thu, 5 Jun 2008 08:50:22 +0000 (UTC) (envelope-from karim.bourenane@orange-ftgroup.com) Received: from omfedm05.si.francetelecom.fr (unknown [xx.xx.xx.1]) by omfedm13.si.francetelecom.fr (ESMTP service) with ESMTP id E9CD23C00D for ; Thu, 5 Jun 2008 10:50:20 +0200 (CEST) Received: from PARM01.dc.par.equant.com (unknown [10.237.24.33]) by omfedm05.si.francetelecom.fr (ESMTP service) with ESMTP id ACC7A68002 for ; Thu, 5 Jun 2008 10:50:20 +0200 (CEST) To: freebsd-current@freebsd.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 From: karim.bourenane@orange-ftgroup.com Message-ID: Date: Thu, 5 Jun 2008 10:53:14 +0200 X-MIMETrack: Serialize by Router on PARM01/Equant(5012HF429 | October 14, 2003) at 05/06/2008 10:53:16, Serialize complete at 05/06/2008 10:53:16 Content-Type: text/plain; charset="us-ascii" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [BSD7] Openldap with SCP "Unknow user UID" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2008 08:50:22 -0000 Hi All, I have a new problem with Openldap and SCP command. When i do : scp login@server1:/usr/home/login1/file.txt Password: unknown user 1206 If i make -vvvv option, i see that ssh accept my connection but finally refuse under reason unknow user uid : The simple ssh connection run perfectly in ldap and ldaps, but not scp command. > Password: > debug3: packet_send2: adding 32 (len 23 padlen 9 extra_pad 64) > debug2: input_userauth_info_req > debug2: input_userauth_info_req: num_prompts 0 > debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64) > debug1: Authentication succeeded (keyboard-interactive). > debug2: fd 4 setting O_NONBLOCK > debug2: fd 5 setting O_NONBLOCK > debug1: channel 0: new [client-session] > debug3: ssh_session2_open: channel_new: 0 > debug2: channel 0: send open > debug1: Entering interactive session. > debug2: callback start > debug2: client_session2_setup: id 0 > debug1: Sending command: scp -v -f /usr/home/kbourena/showrev.txt > debug2: channel 0: request exec confirm 0 > debug2: callback done > debug2: channel 0: open confirm rwindow 0 rmax 32768 > debug2: channel 0: rcvd adjust 131072 > debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > debug2: channel 0: rcvd ext data 19 > debug2: channel 0: rcvd eof > debug2: channel 0: output open -> drain > debug2: channel 0: rcvd close > debug2: channel 0: close_read > debug2: channel 0: input open -> closed > debug3: channel 0: will not send data after close > debug2: channel 0: obuf_empty delayed efd 6/(19) > unknown user 1206 > debug2: channel 0: written 19 to efd 6 > debug3: channel 0: will not send data after close > debug2: channel 0: obuf empty > debug2: channel 0: close_write > debug2: channel 0: output drain -> closed > debug2: channel 0: almost dead > debug2: channel 0: gc: notify user > debug2: channel 0: gc: user detached > debug2: channel 0: send close > debug2: channel 0: is dead > debug2: channel 0: garbage collecting > debug1: channel 0: free: client-session, nchannels 1 > debug3: channel 0: status: The following connections are open: > #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1) > > debug3: channel 0: close_fds r -1 w -1 e 6 c -1 > debug1: fd 0 clearing O_NONBLOCK > debug1: fd 1 clearing O_NONBLOCK > debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 3.1 seconds > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 > debug1: Exit status 255 If you have any idea, to help me ? Regards Karim Bourenane Orange Business Services / Equant RO&SI / IBNF / ENO / GNS 112 Avenue Charles de Gaules 92200 Neuilly S/Seine Phone: +33156 76 35 52 Fax: +33156 76 35 04 http://www.equant.com