SAMBA 4.1: simple fileserver for win7 with LDAP authetication?

lokadamus at gmx.de lokadamus at gmx.de
Mon Apr 13 13:56:17 UTC 2015


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


More information about the freebsd-questions mailing list