LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-11-2007, 12:55 PM   #1
Cyberitas
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
Winbind Losing UID & GID Mappings


I have a working winbind/samba/kerberos installation working on RHEL4 & 5 servers. I can successfully join the domain, login with domain users, and access the system just fine.

However, on any of my systems, after a while of being connected, if I do an ls-lrat on my home folder, instead of seeing my username or group name, I see the UID or GID number.

I have the idmap_backend option configured (using rid: instead of idmap_rid: because I kept getting warnings in the logs that idmap_rid has been deprecated) and the UIDs & GIDs are the same on every box.

If I run any command that contains the username of a user that lost its mapping, the user's mapping comes back so that an ls -lrat now shows the correct username and group. Any command that uses the username, like finger or a cd into the user's directory or anything.

I cannot seem to find anything about this anywhere else and was wondering if anyone else has seen this and what needs to be done to fix it. It makes it so that a user cannot sudo or access much of anything.

Any ideas? Thanks in advance.
 
Old 12-22-2007, 07:29 AM   #2
zeevk
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
I think you should lose the backend mapping and allow winbind to it (allow winbind to enumerate uid and guid). Unless you have OpenLDAP server and you use it services for backend mapping.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is uid and gid rmanocha Linux - Software 9 08-18-2008 11:03 PM
Backup Restore: UID & GID are present leebrent Linux - Server 3 11-12-2007 02:09 PM
cifs not using uid and gid mattd7591 Linux - General 10 07-19-2007 11:30 AM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 11:39 AM
vpopmail:- How can we efficiently use uid & gid amit_28oct Linux - Networking 4 09-30-2004 01:02 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration