From owner-freebsd-questions@FreeBSD.ORG Fri Oct 14 15:54:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29CE716A41F for ; Fri, 14 Oct 2005 15:54:51 +0000 (GMT) (envelope-from jlirochon@cyanide-studio.com) Received: from mail.cyanide-studio.com (cyanide.net1.nerim.net [62.212.119.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B1D743D48 for ; Fri, 14 Oct 2005 15:54:50 +0000 (GMT) (envelope-from jlirochon@cyanide-studio.com) Received: from localhost (localhost [127.0.0.1]) by mail.cyanide-studio.com (Postfix) with ESMTP id 33526100EA for ; Fri, 14 Oct 2005 15:47:16 +0000 (GMT) Received: from mail.cyanide-studio.com ([127.0.0.1]) by localhost (mail.cyanide-studio.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12250-04 for ; Fri, 14 Oct 2005 15:47:15 +0000 (GMT) Received: from [10.1.8.142] (unknown [10.1.8.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cyanide-studio.com (Postfix) with ESMTP id C4D90100E8 for ; Fri, 14 Oct 2005 15:47:15 +0000 (GMT) Message-ID: <434FD4E3.3070708@cyanide-studio.com> Date: Fri, 14 Oct 2005 17:55:15 +0200 From: Julien Lirochon Organization: Cyanide User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at cyanide-studio.com Subject: problem with /dev/ttypX and samba X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 15:54:51 -0000 Hi, I'm trying to configure unix passwd sync on samba. Unfortunately, when it tries to launch my script, samba complains that it can't open any ttyp. Looking at the code implied, I see that samba lists all files matching "/dev/ttyp*" and tries to open them in a while loop. The problem is that there is no persistant /dev/ttyp* on my server. When I connect via ssh, a /dev/ttyp0 appears, and it disappears when I disconnect. That's why samba fails to find an available ttyp... ( I already verified that ttyp's are not hidden in devfs rules ) How could I make my ttyp's available for samba ? I'm running FreeBSD 5.4-STABLE thx, Julien