[Samba] samba-tool classicupgrade (from v3 to v4) aborts with "Unable to get id for sid"
jdetert at infinityhealthcare.com
Wed Mar 27 15:37:59 MDT 2013
----- Original Message -----
> From: "Andrew Bartlett" <abartlet at samba.org>
> To: "Max Olivas" <molivas at northglenn.org>
> Cc: "Jon Detert" <jdetert at infinityhealthcare.com>, samba at lists.samba.org
> Sent: Friday, March 22, 2013 7:01:34 AM
> Subject: Re: [Samba] samba-tool classicupgrade (from v3 to v4) aborts with "Unable to get id for sid"
> On Thu, 2013-03-21 at 10:15 -0600, Max Olivas wrote:
> > >>> On 3/19/2013 at 8:28 AM, in message
> > >>> <2119021439.23770729.1363703293922.JavaMail.root at infinityhealthcare.com>,
> > >>> Jon Detert <jdetert at infinityhealthcare.com> wrote:
> > I'm trying to upgrade from samba3 -> 4. I ran this command:
> > WORKDIR=/usr/local/mobius
> > /usr/local/samba/bin/samba-tool domain classicupgrade
> > --dbdir=$WORKDIR/var --use-xattrs=yes
> > --realm=infinityhealthcare.com $WORKDIR/smb.conf
> > but it failed with the error given in this email's subject. What
> > does it mean, and how do I fix it?
-- snip --
> The big issue here is that passdb has never had a 'fsck', and Samba
> operates quite well as a 'classic' DC with an almost totally invalid
Wow. I would not be surprised at all if my passdb does not have the utmost
> As to what has happened in your particular instance, could you please
> post me the output of ldbdump private/idmap.ldb?
I'd be happy to, but I can't find ldbdump. I have tdbdump and ntdbdump.
I gather from googling that ldbdump is based on or inspired by tdbdump.
Would a tdbdump suffice? If not, how can I get ldbdump?
As to posting the dump for you - I'm not sure it's wise to post it to this list.
I could put it in dropbox, and email you a link. Let me know if that plan is undesirable.
More information about the samba