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

John H Terpstra jht at samba.org
Wed Sep 22 06:41:49 GMT 2004


On Wednesday 22 September 2004 00:28, Roland Giesler 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.
>
> You're right, I don't use LDAP and haven't ever.
>
> The idmap paramater doesn't appear in smb.conf

Then verify that your winbindd_idmap.tdb file is not deleted. Also, use the 
tdbbackup utility to validate its integrity. See the man page. This file 
stores the Windows SID to UNIX uid/gid mappings.

- 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