From owner-freebsd-gnome@FreeBSD.ORG Mon Dec 14 12:37:18 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8175D106566C for ; Mon, 14 Dec 2009 12:37:18 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id E85928FC0A for ; Mon, 14 Dec 2009 12:37:17 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBEBqPcw026226 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Dec 2009 14:52:27 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NK9TU-000Jhq-Dp; Mon, 14 Dec 2009 14:52:24 +0300 From: Vladimir Grebenschikov To: freebsd-gnome@freebsd.org In-Reply-To: <20091214060341.0954426c@scorpio.seibercom.net> References: <20091214060341.0954426c@scorpio.seibercom.net> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Dec 2009 14:52:23 +0300 Message-ID: <1260791543.2072.25.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: paul beard Subject: Re: thanks for nothing on the Samba 4 upgrade X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 12:37:18 -0000 Hi=20 Me too! samba4-devel is required for mail/evolution-mapi samba3 and samba4 can't coexist on single installation without special tweaks. for me, "it does not works" means: 1. samba4 complains about many configuration values in old smb.conf=20 $ smbclient Unknown parameter encountered: "guest account" Ignoring unknown parameter "guest account" Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" ... etc $ (have fixed this manually) 2. It is impossible to login with old credentials that worked correctly with samba3 to server. Looks like it is due to complete change of auth core of samba. 3. I've failed to re-configure samba4 to enable any logins (using samba4 site as guide), it fails with coredumps and such: # /usr/local/share/samba4/setup/provision --realm myrealm --domain=3Dvbook = --adminpass=3Dpassword --server-role=3D'standalone' --setupdir=3D/usr/local= /share/samba4/setup Setting up secrets.ldb Setting up the registry Setting up templates db Setting up idmap db schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain object present: (skip loading of domain details) schema_fsmo_init: no schema dn present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain dn present: (skip loading of domain details) Setting up sam.ldb attributes Setting up sam.ldb rootDSE Erasing data from partitions schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain object present: (skip loading of domain details) Pre-loading the Samba 4 and AD schema Segmentation fault (core dumped) # upgrade script does not works also: # /usr/local/share/samba4/setup/upgrade --setupdir /usr/local/share/samba4/= setup --realm myrealm /usr/local/etc/samba/ /usr/local/etc/smb.conf.v3 Traceback (most recent call last): File "/usr/local/share/samba4/setup/upgrade", line 66, in samba3 =3D Samba3(libdir, smbconf) File "/usr/local/lib/python2.6/site-packages/samba/samba3.py", line 741, = in __init__ self.lp.read(self.smbconfpath) File "/usr/local/lib/python2.6/site-packages/samba/samba3.py", line 695, = in read raise Error("Unable to parser line %d: %r" % (i+1,l)) NameError: global name 'Error' is not defined # -----Original Message----- From: Jerry Reply-to: freebsd-gnome@freebsd.org To: freebsd-gnome@freebsd.org Subject: Re: thanks for nothing on the Samba 4 upgrade Date: Mon, 14 Dec 2009 06:03:41 -0500 On Sun, 13 Dec 2009 23:13:02 -0800 paul beard articulated: > Not sure why samba 4 is required for evolution-data-server but > installing it breaks my minimal but functional samba install. Sounds > like a POLA violation to me. The various provisioning and upgrade > scripts don't seem to work. I'm dropping back to samba 3 to see if I > can nurse it back to something workable. >=20 Sorry to see that you are experiencing difficulties. However, a simple post: "It doesn't work" is simply useless. Could you please supply a detailed log, examples, smb.conf file, etc. Then and only then would someone be able to possibly assist you. --=20 Vladimir B. Grebenschikov vova@fbsd.ru