[Samba] Auth on OpenLDAP with idmap without Windows

TAKAHASHI Motonobu monyo at monyo.com
Mon Jan 17 10:15:04 MST 2011

2011/1/18 Scald Master <scaldmaster at gmail.com>:
> Let me know if this scenario is possible:
> I want a samba server authenticating on OpenLDAP with IDMAP, without
> creating any local user on server.
> So my question is: It's possible to auth users on a samba server
> against a OpenLDAP server without the need of a Windows environment?
> To be honest, I don't need a Samba Domain, the server will be only a
> file server.

Basically, yes.
Samba users can be stored in LDAP without Samba Domain.

Simply set "passdb backend = ldapsam" and correctly set some parameters
such as "ldap admin dn", "ldap suffix" and "ldap user dn" instead of tdbsam or

Also UNIX users can be stored in LDAP with nss_ldap.

Remember there are few documents mentioned in such environment.

TAKAHASHI Motonobu <monyo at samba.gr.jp>

More information about the samba mailing list