Sponsored Content
Full Discussion: GID mappings cached?
Top Forums UNIX for Advanced & Expert Users GID mappings cached? Post 302461174 by bd4021 on Friday 8th of October 2010 06:45:37 PM
Old 10-08-2010
GID mappings cached?

We had a mapping to one UNIX box just fine, the server was changed to another UNIX box and now when mapping drives from Windows box to new UNIX box, we get the old GID associated with our Windows user. When checking on new UNIX box, we see GID of 108, which is what we want, but when we map the drive (successfully), and create a directory, it is permissioned to the correct UID, but the GID is 109(the old GID on the old UNIX box). Is this caching somewhere? We restarted NFSD. We can create a directory, and delete it, but can't rename it even though it is owned by the right UID even though GID is off? Thanks for any advice....
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to remove cached squid??

hi, how do i remove the cache from squid automatically every day?/ ie., from /var/spool/squid/ all the directories which has been cached here and restart ONLY squid without rebooting the system, including the swap.state files thanx in advance cheers (1 Reply)
Discussion started by: balu
1 Replies

2. UNIX for Dummies Questions & Answers

Release the memory which is cached.

Hi, Can any one suggest me the way how can get mamory which has been cached during a process execution without rebooting the machine? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

3. UNIX for Dummies Questions & Answers

Get the gid from a group name

Hi there, One can easily retrieve the uid from a username : id -u $username But how can we easily retrieve the gid from a group name? I mean is there a command without using sed? sed -nr "s/^$groupname:x:(+):.*/\1/p" /etc/group Thanks for your help Santiago (7 Replies)
Discussion started by: chebarbudo
7 Replies

4. UNIX for Advanced & Expert Users

Vim: different mappings for different window

My .vimrc file has filetype mappings for different filetypes such as : autocmd FileType sh map gf ... autocmd FileType ruby map gf ... While rewriting a program from one language to another, I have 2 splits, one with shell and one with ruby. I would assume that "gf" would take on its mapping... (2 Replies)
Discussion started by: sentinel
2 Replies

5. UNIX for Dummies Questions & Answers

is process data cached somewhere?

hi When I search a file with find, the subsequent search process takes relatively less time. Is it cached somewhere in RAM altough the process died? (3 Replies)
Discussion started by: xyzt
3 Replies

6. AIX

Gid=0 and 7 + admin=FALSE

Checking configuration access files for an AIX server, left me wondering about this :confused:: If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level. Is this insecure condition kept if the user has admin variable... (0 Replies)
Discussion started by: bkiddo
0 Replies

7. UNIX for Dummies Questions & Answers

Difference between buffered disk reads and cached reads?

I was analyzing the Disk read using hdparm utility. This is what i got as a result. # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec # hdparm -T /dev/sda /dev/sda: Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
1 Replies

8. UNIX for Dummies Questions & Answers

uid ,gid value change

Present /home/dsadm# id dsadm uid=0(root) gid=0(root) ---------------------------------- needs to be /home/dsadm> id dsadm uid=23186(dsadm) gid=16284(gdstage) Please provide the command/steps for the above uid, gid value change Thanks in advance for all your support . ... (3 Replies)
Discussion started by: sridhardwh
3 Replies

9. SuSE

Cached account info

Hello, A admin at work created accounts for me on about 20 SLES 11 servers. He gave me the wrong home directory. He also didn't create a home directory for me on the servers. I have root/sudo on the systems. I usually use the usermod command or just modify the /etc/passwd file to fix issues like... (11 Replies)
Discussion started by: bitlord
11 Replies

10. UNIX for Advanced & Expert Users

RHEL 5.11 - gid issue

Hello folks, I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command: usermod -g 16601 oracle But it did not changed. I have tried... (3 Replies)
Discussion started by: snchaudhari2
3 Replies
IDMAP_RID(8)						    System Administration tools 					      IDMAP_RID(8)

NAME
idmap_rid - Samba's idmap_rid Backend for Winbind DESCRIPTION
The idmap_rid backend provides a way to use an algorithmic mapping scheme to map UIDs/GIDs and SIDs. No database is required in this case as the mapping is deterministic. IDMAP OPTIONS
range = low - high Defines the available matching uid and gid range for which the backend is authoritative. Note that the range acts as a filter. If algorithmically determined UID or GID fall outside the range, they are ignored and the corresponding map is discarded. It is intended as a way to avoid accidental UID/GID overlaps between local and remotely defined IDs. base_rid = INTEGER Defines the base integer used to build SIDs out of a UID or a GID, and to rebase the UID or GID to be obtained from a SID. This means SIDs with a RID less than the base rid are filtered. The default is not to restrict the allowed rids at all, i.e. a base_rid value of 0. A good value for the base_rid can be 1000, since user RIDs by default start at 1000 (512 hexadecimal). Use of this parameter is deprecated. THE MAPPING FORMULAS
The Unix ID for a RID is calculated this way: ID = RID - BASE_RID + LOW_RANGE_ID. Correspondingly, the formula for calculating the RID for a given Unix ID is this: RID = ID + BASE_RID - LOW_RANGE_ID. EXAMPLES
This example shows how to configure two domains with idmap_rid, the principal domain and a trusted domain, leaving the default id mapping scheme at tdb. The example also demonstrates the use of the base_rid parameter for the trusted domain. [global] security = domain workgroup = MAIN idmap backend = tdb idmap uid = 1000000-1999999 idmap gid = 1000000-1999999 idmap config MAIN : backend = rid idmap config MAIN : range = 10000 - 49999 idmap config TRUSTED : backend = rid idmap config TRUSTED : range = 50000 - 99999 idmap config TRUSTED : base_rid = 1000 AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 3.5 06/18/2010 IDMAP_RID(8)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy