[Samba] Re: Corrupted userid in mail folders - Crisis

John H Terpstra jht at samba.org
Tue Sep 21 19:23:41 GMT 2004


On Tuesday 21 September 2004 13:06, Igor Belyi wrote:
> John H Terpstra wrote:
> > On Tuesday 21 September 2004 11:38, Igor Belyi wrote:
> >>Just for clarification, do you happen to have "idmap backend" parameter
> >>in your smb.conf?
> >
> > You only need that if you are running LDAP and have multiple servers and
> > want the same SID/uid mapping on all servers. In that case there should
> > be no winbindd_idmap.tdb file.
>
> There's also a possibility that it isn't used and file could have been
> left there when winbindd was reconfigured from using local file to using
> LDAP. I haven't seen smb.conf in this thread and somehow everyone stated
> to assume that mappings are stored locally. I just want to make sure
> that this assumption is correct.

If samba was run before setting up the "idmap backend" parameter then a 
winbindd_idmap.tdb file would have been created. Simply delete it, it should 
not be used once the LDAP backend has been configured.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.


More information about the samba mailing list