[Samba] issue with long domain names and winbindd_cache

Gerald Carter jerry at samba.org
Thu May 16 05:17:01 GMT 2002


On Wed, 15 May 2002, drenning, bruce wrote:

> > 1. This isn't really a winbind issue, just my *nix ignorance... our
> > domain name is longer than 8 chars. Therefore, the owner & group of
> > every file (ls -l) shows up the same. I have to ls -ln, then grep the
> > results of getent group|passwd to look up the desired number.  Not the
> > end of the world, but definitely a pain. Any way for me to format ls
> > or somehow check the owners of a file without going at it this round
> > about way?

It's a shortcoming in 'ls'.  You could fix it in the source if you have 
it.


> > 2. If the .tdb files in /var/cache/samba get corrupted, I assume that
> > all file ownership will have to be re-applied to match the new SID-id
> > pairs when these tables are re-created. From a backup/restore point of
> > view, will this dir stand on it's own? Can I back it up each night &
> > if something goes wrong, stop winbindd & drop it back in?

The main file of importance is winbindd_idmap.tdb.  The winbindd_cache 
file is for performance optimization.  It can be deleted and will be 
rebuild automtically without any real adverse effects.







cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list