[Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?

simo idra at samba.org
Mon Jan 23 17:19:19 GMT 2006

On Mon, 2006-01-23 at 17:48 +0100, Tomasz Chmielewski wrote:

> > you may also try to experiment with ldapsam:trusted parameter
> I just read the ldapsam:trusted description in smb.conf and it seems that this is what I'm looking for.
> However, I'm not sure: how will Samba write UIDs/GIDs on shared folders, user profiles?
> Will it just write the GIDs/UIDs as they are (in the ldapsam db), although "getent passwd" will not show the relevant users?
> And "ls -l /share/some/user/file" will show only numeric UIDs/GIDs?

I think so.
You have to experiment, because the trusted parameter is meant only to
work as an optimization. You should have the nsswitch data available in
the system, so I am not sure a setup without nsswitch will not break for
sure. But it may just work for what you need, so it may be worth giving
a try.


Simo Sorce
Samba Team
email: idra at samba.org

More information about the samba mailing list