[Samba] winbind could not get info - Samba

This is a discussion on [Samba] winbind could not get info - Samba ; Hi, After a serious power failure two days ago and a abrupt shutdown of our Samba server, i noticed today that winbind could not get info on some users from a Win2003 AD. wbinfo -u work fine; wbinfo -g work ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [Samba] winbind could not get info

  1. [Samba] winbind could not get info

    Hi,

    After a serious power failure two days ago and a abrupt shutdown
    of our Samba server, i noticed today that winbind could not get info
    on some users from a Win2003 AD.

    wbinfo -u work fine;
    wbinfo -g work fine;

    but, for example:

    wbinfo -i ep2025 returns
    Could not get info for user ep2025

    wbinfo -n ep2025
    S-1-5-21-455433055-921777165-2450110497-3563 User (1)

    wbinfo -S S-1-5-21-455433055-921777165-2450110497-3563
    Could not convert sid S-1-5-21-455433055-921777165-2450110497-3564 to uid

    Any help?

    Regards,
    Paulo

    In attach goes my [global] smb.conf file

    System:
    Suse Linux Enterprise Server 10 SP1
    samba-3.0.28-0.2
    samba-client-3.0.28-0.2
    samba-winbind-3.0.28-0.2
    krb5-1.4.3-19.30.6
    kernel-bigsmp-2.6.16.54-0.2.5


    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] winbind could not get info

    Paulo Almeida wrote:
    > Hi,
    >
    > After a serious power failure two days ago and a abrupt shutdown
    > of our Samba server, i noticed today that winbind could not get info
    > on some users from a Win2003 AD.
    >
    > wbinfo -u work fine;
    > wbinfo -g work fine;
    >
    > but, for example:
    >
    > wbinfo -i ep2025 returns
    > Could not get info for user ep2025
    >
    > wbinfo -n ep2025
    > S-1-5-21-455433055-921777165-2450110497-3563 User (1)
    >
    > wbinfo -S S-1-5-21-455433055-921777165-2450110497-3563
    > Could not convert sid S-1-5-21-455433055-921777165-2450110497-3564 to uid
    >
    > Any help?
    >
    > Regards,
    > Paulo
    >
    > In attach goes my [global] smb.conf file
    >
    > System:
    > Suse Linux Enterprise Server 10 SP1
    > samba-3.0.28-0.2
    > samba-client-3.0.28-0.2
    > samba-winbind-3.0.28-0.2
    > krb5-1.4.3-19.30.6
    > kernel-bigsmp-2.6.16.54-0.2.5
    >
    >

    If you're running reiserfs, you probably corrupted the /var/lib/samba db
    files. Have you tried a fsck? Even if you're not running reiserfs, it
    can't help after a hard halt. Also, a small UPS with Network UPS Tools
    (NUT) comes in very handy for sudden power downs! Especially if
    you're running reiserfs; it REALLY doesn't handle being dropped very well.
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. Re: [Samba] winbind could not get info [SOLVED]


    > If you're running reiserfs, you probably corrupted the /var/lib/samba db


    Indeed. The problem was with idmap_cache.tdb file.
    Deleted it, restart winbind and everything comes nice again.

    > files. Have you tried a fsck? Even if you're not running reiserfs, it
    > can't help after a hard halt. Also, a small UPS with Network UPS Tools
    > (NUT) comes in very handy for sudden power downs!


    The problem was that. We have one UPS but this time the
    graceful shutdow didn't work

    Thanks in advance,
    Paulo

    --
    Escola Superior de Enfermagem do Porto
    Rua Dr. António Bernardino de Almeida
    4200-072 Porto - Portugal
    Tel: +351 22 5073500 - Fax: +351 22 5096337
    http://portal.esenf.pt

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread