From owner-freebsd-questions@FreeBSD.ORG Sat Apr 11 09:01:37 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 E355730E for ; Sat, 11 Apr 2015 09:01:37 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A85A6E9 for ; Sat, 11 Apr 2015 09:01:37 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1YgrI9-003Zwb-GP>; Sat, 11 Apr 2015 11:01:29 +0200 Received: from f052130223.adsl.alicedsl.de ([78.52.130.223] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1YgrI9-003Ksq-DT>; Sat, 11 Apr 2015 11:01:29 +0200 Date: Sat, 11 Apr 2015 11:01:24 +0200 From: "O. Hartmann" To: FreeBSD Questions Subject: SAMBA 4.1: simple fileserver for win7 with LDAP authetication? Message-ID: <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/DCBwaVDysT=ubXKRQZO9dQa"; protocol="application/pgp-signature" X-Originating-IP: 78.52.130.223 X-ZEDAT-Hint: A 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: Sat, 11 Apr 2015 09:01:38 -0000 --Sig_/DCBwaVDysT=ubXKRQZO9dQa Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Having used for years SAMBA3 as a simple fileserver for Win7 boxes, we migr= ated 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=3Ddomains,dc=3Dfoo,....=20 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_ldap= sam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliab= ly 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 do= main correctly. But at this point, I do not find suitable informations how to se= tup objects in OpenLDAP (schemata syntax?) to provide samba 4.1 compliance. Can somebody h= elp or give suitable hints where to find those informations? Thanks in advance, Oliver IMPORTANT: please CC me!=20 --Sig_/DCBwaVDysT=ubXKRQZO9dQa Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVKOLkAAoJEOgBcD7A/5N8HgkH/11VNf0g/wSZKaU2vJBeIrfl +443z+QEB+5kxH+Qhcnst4w/NxZTY8NrJGf6KeWUbFTaoLKMcFolUgOe3aziYwvu nXvz1QgZFfUFAZL+OpNOughRj+Fa/GL70Yf6SJFW9DGuxCY3706MF+jCrFSEGu8N NuGwBzpUW61FHIZY4py3Ngata3jRIG/ra7UlB+Dzuauicn4Wnpd4ALHDDDWTPSvG nMn18OK9JXTeB/7Q29FNm5E6eZvOTXhQJFMQiVb8sS5kSSyV+VqlNcN2NDFM1ZeE 2RPnLQlnEgKLga1ijnAUCvBE52gpC9aWAw33VtD5EBFk9lvtaOYVcDv1EEytu8Y= =7Uol -----END PGP SIGNATURE----- --Sig_/DCBwaVDysT=ubXKRQZO9dQa--