Re: [Samba] Winbind cache problem after upgrade to 3.0.25b.

2007-07-24 Thread Jerome Haltom
I suspect you are using Ubuntu (and/or Debian), which have a bug
regarding the Winbind cache.

https://bugs.launchpad.net/ubuntu/+source/samba/+bug/118977

On Tue, 2007-07-24 at 11:24 +0100, Simon Ashford wrote:
> Have just upgraded from 3.0.14a to 3.0.25b.
> 
> On starting winbindd it puts the following in /var/log/messages:
> 
>   initialize_winbindd_cache: clearing cache and re-creating with version 
> number 1
> 
> All the winbind UID/GID mappings are lost and it starts again from
> scratch.  Hence all file ownership / ACLs on this samba server become
> invalid.
> 
> Anyone else seen this?
> 
> Why does it see fit to destroy this important file in such a casual
> manner?!  It didn't even bother to make a backup copy.
> 
> 
> Thanks in advance for any help...
> 
> 
> Simon Ashford.
> 
> ---
> This e-mail and any attachments may contain confidential and/or
> privileged material; it is for the intended addressee(s) only.
> If you are not a named addressee, you must not use, retain or
> disclose such information.
> 
> NPL Management Ltd cannot guarantee that the e-mail or any
> attachments are free from viruses.
> 
> NPL Management Ltd. Registered in England and Wales. No: 2937881
> Registered Office: Serco House, 16 Bartley Wood Business Park,
>Hook, Hampshire, United Kingdom  RG27 9UY
> ---

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


Re: [Samba] Winbind cache problem after upgrade to 3.0.25b.

2007-07-24 Thread Doug VanLeuven
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Simon Ashford wrote:
> Have just upgraded from 3.0.14a to 3.0.25b.
> 
> On starting winbindd it puts the following in /var/log/messages:
> 
>   initialize_winbindd_cache: clearing cache and re-creating with version 
> number 1
> 
> All the winbind UID/GID mappings are lost and it starts again from
> scratch.  Hence all file ownership / ACLs on this samba server become
> invalid.
> 
> Anyone else seen this?
> 
> Why does it see fit to destroy this important file in such a casual
> manner?!  It didn't even bother to make a backup copy.

It's just a cache.  Temporary high speed storage of lookups.  By
default, the data in the cache only lives for 300 seconds before winbind
queries the server (again) for current mappings.

If you're losing mappings or generating different mappings on a restart,
something else is wrong.  Not enough info here to make even an educated
guess.

Regards, Doug



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGph0SFqWysr/jOHMRAmZtAKDM17bmNAvVBV81y9OOFk9fjNl7rACfRJ0N
hEbjP/7p4P/D4p7gcIuGfGA=
=BbW/
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Winbind cache problem after upgrade to 3.0.25b.

2007-07-24 Thread Simon Ashford

Have just upgraded from 3.0.14a to 3.0.25b.

On starting winbindd it puts the following in /var/log/messages:

  initialize_winbindd_cache: clearing cache and re-creating with version number 
1

All the winbind UID/GID mappings are lost and it starts again from
scratch.  Hence all file ownership / ACLs on this samba server become
invalid.

Anyone else seen this?

Why does it see fit to destroy this important file in such a casual
manner?!  It didn't even bother to make a backup copy.


Thanks in advance for any help...


Simon Ashford.

---
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
   Hook, Hampshire, United Kingdom  RG27 9UY
---
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba