Bug 129013

Summary: [PATCH] Winbind loses id map database on boot
Product: Red Hat Enterprise Linux 3 Reporter: Kelvin Wood <kelvin>
Component: sambaAssignee: Simo Sorce <ssorce>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: samba-bugs-list, shillman
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-19 19:21:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to rc.sysinit
none
Samba config none

Description Kelvin Wood 2004-08-03 00:03:25 UTC
Description of problem:
On boot, previous NT <-> UNIX id mappings for winbind are deleted as
they exist in the /var/lock/samba/* directory.

Version-Release number of selected component (if applicable):
samba-common-3.0.4-6.3E

Steps to Reproduce:
1. Setup winbind for authentication.
2. Create files owned as a user from windows domain.
3. Reboot.
4. Observe files being reassigned owner privileges to another user (if
not an internal windows account).
  
Actual results:
The id mappings database gets lost, causing new id's to be reassigned
to users. This more often than not causes files to become owned by
different users.

Expected results:
The id mappings remain the same on reboot, causing the files to retain
proper permissions.

Comment 1 Kelvin Wood 2004-08-03 00:21:00 UTC
Created attachment 102376 [details]
Patch to rc.sysinit

This patch stops /etc/rc.d/rc.sysinit from deleting files in the
/var/lock/samba directory.

Comment 3 Jay Fenlason 2004-08-20 21:38:29 UTC
samba-3.0.4-6.3E pusts the winbindd_cache.tdb and winbind_idmap.tdb 
files in /var/cache/samba, where they survive reboots just fine.  
Can you attach a copy of your /etc/samba/smb.conf file to this bug? 

Comment 4 Kelvin Wood 2004-08-22 23:03:23 UTC
Created attachment 102974 [details]
Samba config

Attached samba config

Note: The server names have been changed to protect the innocent.

Comment 5 RHEL Program Management 2007-10-19 19:21:47 UTC
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
 
For more information of the RHEL errata support policy, please visit:
http://www.redhat.com/security/updates/errata/
 
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.