We are using winbind.  Stopping and restarting Samba does not cause the
problem, only a reboot.  nsswitch.conf was modified to add winbind to the
passwd and groups tags:

passwd:  compat winbind
group:  compat winbind

That was the only change to any nsswitch settings.

Once security is set, everything works great.  We just can't boot... without
losing the security settings.

After a reboot, and I see the uid and gid values, I tried a lookup (eg: wbinfo
-S `wbinfo -U 1000`) to get the proper value and it comes back with just the
number.  Any ideas or comments before I take this to the samba list?

On Friday 10 January 2003 07:53 am, you wrote:
> The names are just reverse translations of the UID/GID values.  Where are
> those mapped?  passwd?  NIS? LDAP? Winbind?
>
> The translation happens in the name-service-switch mechanism, controlled by
> nsswitch.conf.
>
> Somewhere, your mapping database is getting reset.
>
> > -----Original Message-----
> > From: Rich Smrcina [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 09, 2003 6:48 PM
> > To: [EMAIL PROTECTED]
> > Subject: [LINUX-390] Samba weirdness
> >
> >
> > I have a Samba installation that is authenticating to a
> > Windows NT PDC and
> > working just peachy.  All until the virtual machine is
> > rebooted.  Then all of
> > the security that was set up for the shares and directories
> > and files under
> > the shares revert back to uid and gid numeric values (instead
> > of names).
> >
> > Has anyone run into this before and how was it resolved.
> > This is Samba 2.2.7a
> > running under SLES7.
> > --
> > Rich Smrcina
> > Sytek Services, Inc.
> > Milwaukee, WI
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > Catch the WAVV!  Stay for Requirements and the Free for All!
> > Update your S/390 skills in 4 days for a very reasonable price.
> > WAVV 2003 in Winston-Salem, NC.
> > April 25-29, 2003
> > For details see http://www.wavv.org

--
Rich Smrcina
Sytek Services, Inc.
Milwaukee, WI
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Catch the WAVV!  Stay for Requirements and the Free for All!
Update your S/390 skills in 4 days for a very reasonable price.
WAVV 2003 in Winston-Salem, NC.
April 25-29, 2003
For details see http://www.wavv.org

Reply via email to