[Samba] Cached password updates with Winbind

Schneider, Craig-P65851 Craig.Schneider at gdc4s.com
Wed Sep 2 13:42:11 MDT 2009

I have set that to various times, as small as 10, but I don't see any
network traffic in tcpdump indicating the updates are occuring. In
addition, I modified a user account on the PDC, wbinfo showed a sequence
change, I waited well over 5 minutes just make sure the default cache
timeout wasn't being used, and the cache still wasn't updated. Here is
my config. maybe there is something wrong there?


    log level = 5 ads:10 auth:10 sam:10 rpc:10

    winbind offline logon = true
    winbind cache time = 30
    winbind normalize names = yes
    winbind separator = +
    winbind enum users = yes
    winbind enum groups = yes
    winbind use default domain = false
    workgroup = TEST
    server string = Samba Server Version %v
    realm = TEST.LOCAL
    security = ads
    password server = win2k 
    passdb backend = tdbsam

    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431

    template shell = /bin/bash
    template homedir = /home/network/%U

    load printers = no
    cups options = raw

        comment = Home Directories
        browseable = no
        writable = yes

        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes


-----Original Message-----
From: Max Leon [mailto:maxleonca at gmail.com] 
Sent: Wednesday, September 02, 2009 9:34 AM
To: Schneider, Craig-P65851
Cc: samba at lists.samba.org
Subject: Re: [Samba] Cached password updates with Winbind

On the smb.conf there is a parameter on the Global section called
"winbind cache time" I think that is your answer.

Schneider, Craig-P65851 wrote:
> If a user changes their password and the client looses network 
> connectivity prior to them logging in again their local/cached 
> password is not updated; they have to use their old password to 
> authenticate. Is there a way to change this behavior so that the 
> cached password gets updated upon a successful password change?
> Thx,
> Craig

More information about the samba mailing list