From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 12:43:21 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6456C1065677 for ; Tue, 3 Aug 2010 12:43:21 +0000 (UTC) (envelope-from alexk@specialisterren.nl) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id F15C68FC19 for ; Tue, 3 Aug 2010 12:43:20 +0000 (UTC) Received: by eyh6 with SMTP id 6so1816953eyh.13 for ; Tue, 03 Aug 2010 05:43:19 -0700 (PDT) Received: by 10.213.54.140 with SMTP id q12mr796632ebg.71.1280839399472; Tue, 03 Aug 2010 05:43:19 -0700 (PDT) Received: from [192.168.0.117] ([188.201.152.137]) by mx.google.com with ESMTPS id v59sm10727636eeh.16.2010.08.03.05.43.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 05:43:18 -0700 (PDT) Message-ID: <4C580EEC.6010404@specialisterren.nl> Date: Tue, 03 Aug 2010 14:43:24 +0200 From: Alex de Kruijff User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.11) Gecko/20100711 Lightning/1.0b1 Thunderbird/3.0.6 MIME-Version: 1.0 To: Ruben de Groot References: <4C56ACE0.2050403@specialisterren.nl> <4C57EDE9.1070609@specialisterren.nl> <20100803123530.GA50299@ei.bzerk.org> In-Reply-To: <20100803123530.GA50299@ei.bzerk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David N , questions@freebsd.org, akruijff@dds.nl Subject: [solved] Re: Samba PDC roaming profiles problem 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: Tue, 03 Aug 2010 12:43:21 -0000 Op 3-8-2010 14:35, Ruben de Groot schreef: > On Tue, Aug 03, 2010 at 12:22:33PM +0200, Alex de Kruijff typed: > > >> I've enabled debugging in Windows Domain using: >> http://support.microsoft.com/default.aspx?scid=kb;en-us;221833 >> >> I find it strange that it first tries \\%L\profiles\testers. This is the >> log. >> >> >> USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: Entering, hToken = >> >> <0x960>, lpProfileInfo = 0x6e3e0 >> USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: >> > [lot's of MS logs snipped] > > I really think these kind of logs could be much better analyzed at a > samba or MS mailing list. > > cheers, > Ruben > > Hi, I solved it. Without LDAP one is able to use %L, %U and %a in the logon path, but if one uses LDAP then this path is no longer processed by Samba, but instead passed literally to Windows. So far my solution is to change all LDAP entries. This also means I should name multiple servers (on different networks) with the same hostname. Its a bit more limiting the smb.conf, but it works. Yours, Alex