Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2015 11:01:24 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   SAMBA 4.1: simple fileserver for win7 with LDAP authetication?
Message-ID:  <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

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! 

[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150411110124.5e4e2046.ohartman>