Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2015 15:43:02 +0200
From:      "lokadamus@gmx.de" <lokadamus@gmx.de>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>,  FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: SAMBA 4.1: simple fileserver for win7 with LDAP authetication?
Message-ID:  <552BC7E6.9040400@gmx.de>
In-Reply-To: <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de>
References:  <20150411110124.5e4e2046.ohartman@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?552BC7E6.9040400>