10-24-2007
Where are you expecting to fix up the uid/gid mappings, on the client side or the server side?
I can't easily see how it can be fixed on the server side given it can have multiple clients each with their own variations on the mapping.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Just as the subject asks :) Thanks!
hellz (2 Replies)
Discussion started by: hellz
2 Replies
2. Shell Programming and Scripting
Dear Folks :-)
I want to rsync some files between some servers and preserve files owner and group (not UID or GID), in some machines UID and GID are differents, for example:
a) In the rsync server:
# stat vbseo.php
File: `vbseo.php'
Size: 26758 Blocks: 56 IO... (1 Reply)
Discussion started by: Santi
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
out of curosity this question just popped in my mind. Is there any way to find out the uid and gid of the running process ?
If i do a ls -l of a program then it shows the uid/gid bit (if its set). I want to see as which user/group the program is running ..... is there any way to know this... (2 Replies)
Discussion started by: ankurjain
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
can somebody tell me how to make directoriy in which all files will be generated as dir owner ?
I'm able to add GID for directory group and files have group id like folder , but when i do same for user files still are created as user which creates them :(
drwsrwsrwx 2 flexbul ... (2 Replies)
Discussion started by: pp56825
2 Replies
5. UNIX for Advanced & Expert Users
I´m listing the contents of a directory using the command
ls -lI get numeric uid and gid for some lines.
example:
drwxr-xr-x root root 1970-01-01 01:00 sys
-rw-r--r-- 501 20 0 2010-08-04 14:54 shutdown.bravo.rc
drwxr-x--- 501 20 ... (5 Replies)
Discussion started by: flocki
5 Replies
6. Shell Programming and Scripting
Hi,
I am new to scrippting need little help, I would like to change uid, gid of exisisting user,
example
User A current uid=1,gid=2 would like to change uid=4,gid=5
I know the command to change uid,gid but after changing I have to change permissions on folders also which are belonging... (3 Replies)
Discussion started by: manoj.solaris
3 Replies
7. UNIX for Dummies Questions & Answers
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
8. AIX
Hi Everyone,
We are encountering the following issue on AIX 5.3. When we do ls -ltr the list displays only user id and group id instead of user name and group name.
This is happening for all users except root. Whe we do ls -ltr with root user it shows perfectly fine.
When we searched... (25 Replies)
Discussion started by: madhav.kunapa
25 Replies
9. Shell Programming and Scripting
OK, so simple question here:
Is there anyway to REMAP, while extracting with tar, specific uid's and gid's on extracted files ?
Background: The usual transfer between two servers with same literals username's names, but with different gid and uid. I would like, for example, files owned by... (6 Replies)
Discussion started by: fidodido
6 Replies
10. UNIX for Beginners Questions & Answers
Hi everyone,
have a good day to you.
I am trying to use NFS to share a folder between 2 linux systems.
Let's say the server which is sharing the folder is server A and the client which need to access this shared folder is server B.
In server B, i am having a Joe user which UID and GID is 500.... (1 Reply)
Discussion started by: michael_hoang
1 Replies
LEARN ABOUT CENTOS
vfs_catia
VFS_CATIA(8) System Administration tools VFS_CATIA(8)
NAME
vfs_catia - translate illegal characters in Catia filenames
SYNOPSIS
vfs objects = catia
DESCRIPTION
This VFS module is part of the samba(7) suite.
The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames. The vfs_catia VFS module
implements a character mapping so that these files can be shared with CIFS clients.
This module is stackable.
The parameter "catia:mappings" specifies the mapping on a per-character basis, see below.
OPTIONS
catia:mappings = SERVER_HEX_CHAR:CLIENT_HEX_CHAR
SERVER_HEX_CHAR specifies a 0x prefixed hexedecimal character code that, when included in a Samba server-side filename, will be mapped
to CLIENT_HEX_CHAR for the CIFS client.
The same mapping occurs in the opposite direction. Multiple character mappings are separated by a comma.
EXAMPLES
Map server-side quotation-marks (") to client-side diaeresis (") on filenames in the [CAD] share:
[CAD]
path = /data/cad
vfs objects = catia
catia:mappings = 0x22:0xa8
Perform comprehensive mapping of common Catia filename characters:
[CAD]
path = /data/cad
vfs objects = catia
catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6
Server-side filename to be translated (Note that the path delimiter "/" is not used here):
aa:a*a?a"a<a>a|a
Resulting filename, as seen by the client:
aya-:-axaca"a<<a>>a|a
CAVEATS
Character mapping must work in BOTH directions (server -> client and client -> server) to get unique and existing file names!
A NOT working example:
[CAD]
path = /data/cad
vfs objects = catia
catia:mappings = 0x3a:0x5f
Here the colon ":" is mapped to the underscore "_".
Assuming a server-side filename "a:should_work", which is translated to "a_should_work" for the client.
BUT the reverse mapping from client "a_should_work" to server will result in "a:should:work" - something like "file not found" will be
returned.
VERSION
This man page is correct for Samba versions from 3.5.0 to 4.0.6.
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.
New version written by Guenter Kukkukk kukks@samba.org
Samba 4.0 06/17/2014 VFS_CATIA(8)