From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 13:56:17 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD741E5F for ; Mon, 13 Apr 2015 13:56:17 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40605D8C for ; Mon, 13 Apr 2015 13:56:17 +0000 (UTC) Received: from [192.168.0.143] ([95.91.226.106]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M5Lqx-1Zajln0trj-00zZem; Mon, 13 Apr 2015 15:43:04 +0200 Message-ID: <552BC7E6.9040400@gmx.de> Date: Mon, 13 Apr 2015 15:43:02 +0200 From: "lokadamus@gmx.de" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "O. Hartmann" , FreeBSD Questions Subject: Re: SAMBA 4.1: simple fileserver for win7 with LDAP authetication? References: <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de> In-Reply-To: <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:PDNgarR/A4Seam8f65FQGeiY67fd4FjtBhrb0aM+kLGIDpYU/YN 7Jp9M3fOL8otFf4Vjk4mIGZVE3hsB5r7PGisbVjWZyDYgT+cGkkhiZwFYWJyCn4NfeGx17+ iVue86SAUc0WQm+gMDWmas/OqGV2kj+f7TLpS166hdleo86YRilAQkVzUUeW8RDw1UOG4rl lzxeo0xWaKqPS2Xbayuzg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 13:56:17 -0000 On 04/11/15 11:01, O. Hartmann wrote: > > Having used for years SAMBA3 as a simple fileserver for Win7 boxes, we migrated to SAMBA > 4.1. > > Our UNIX/SAMBA users backend was OpenLDAP, the domain name of the windows > domain/workgroup had been stored in LDAP as cn=domains,dc=foo,.... > > Well, I have now already setup a samba 4.1 server, which is running so far. The only > thing what isn't working is getting access from a windows 7 box, the log of samba 4.1 > always reports something like > > [...] > [2015/04/11 10:58:29.353733, 0] ../source3/param/loadparm.c:2377(service_ok) > WARNING: No path in service print$ - making it unavailable! > [2015/04/11 10:58:29.380217, > 0] ../source3/passdb/pdb_ldap.c:6529(pdb_ldapsam_init_common) pdb_init_ldapsam: WARNING: > Could not get domain info, nor add one to the domain. We cannot work reliably without it. > [2015/04/11 10:58:29.380265, > 0] ../source3/passdb/pdb_interface.c:178(make_pdb_method_name) pdb backend > ldapsam:"ldap://192.168.0.1/" did not correctly init (error was > NT_STATUS_CANT_ACCESS_DOMAIN_INFO) > [...] > > For me, it seems that smbd can not retrieve the domain name of the SAMBA domain > correctly. But at this point, I do not find suitable informations how to setup objects in > OpenLDAP (schemata syntax?) to provide samba 4.1 compliance. Can somebody help or give > suitable hints where to find those informations? > > Thanks in advance, > > Oliver > > IMPORTANT: please CC me! > Is this a problem with one Win7 system or have other the same problem? When it is just one system reconnect it to the domain. Greeting