From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 14:19:46 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 A9D6D1065672 for ; Tue, 3 Aug 2010 14:19:45 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 49CB78FC1C for ; Tue, 3 Aug 2010 14:19:45 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o73EJdSm050938; Tue, 3 Aug 2010 16:19:39 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o73EJdnN050937; Tue, 3 Aug 2010 16:19:39 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 3 Aug 2010 16:19:39 +0200 From: Ruben de Groot To: Alex de Kruijff Message-ID: <20100803141939.GA50867@ei.bzerk.org> References: <4C56ACE0.2050403@specialisterren.nl> <4C57EDE9.1070609@specialisterren.nl> <20100803123530.GA50299@ei.bzerk.org> <4C580EEC.6010404@specialisterren.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C580EEC.6010404@specialisterren.nl> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Tue, 03 Aug 2010 16:19:43 +0200 (CEST) Cc: David N , Ruben de Groot , questions@freebsd.org, akruijff@dds.nl Subject: Re: [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 14:19:46 -0000 On Tue, Aug 03, 2010 at 02:43:24PM +0200, Alex de Kruijff typed: > > 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. Ah, I see. Been there. Do you have the "logon path" etc options still in smb.conf or are you using ldap attributes (like sambaProfilePath, sambaHomeDrive) for each individual account? I found the latter to be more flexible in the long run (though a little harder to set up and administrate initially)