Unsolved

This post is more than 5 years old

1 Rookie

 • 

22 Posts

829

October 29th, 2009 04:00

howto asign uid,gid on local cifs users

Is there a possibility to asign a spécific value of uid,guid on a local cifs user ?
I use one local cifs user to handle a old os/2 standalone server
I have put the same user+password on the celera and on the os/2 and it works great for
the net use command
But now i want to map a specific uid,gid to this user. Is it possible
usermaper,ntxmap use SID related to a windows domain the os/2 machine of course do not have the possibility to join a 2003R2 domain.

1 Rookie

 • 

22 Posts

October 29th, 2009 05:00

To find a workaround is it possible to have same cifs/nfs share that have uid,gid forced when you put a document on it ?
I put a document with nfs or with cifs i want to have
the document with gid 501 and uid 65534 aka nfsnobody
is it possible?

Message was edited by:
sergesterck

1 Rookie

 • 

22 Posts

October 29th, 2009 05:00

i found myself the respons grrrrr

Local user accounts are for CIFS access only and cannot be mapped to UNIX accounts. Local
user accounts are not assigned UIDs with the mapping methods used for domain users; local user
UIDs are assigned from a special range by the Celerra Network Server directly

6 Operator

 • 

8.6K Posts

October 30th, 2009 05:00

To find a workaround is it possible to have same cifs/nfs share that have uid,gid forced when you put a document on it ?
I put a document with nfs or with cifs i want to have the document with gid 501 and uid 65534 aka nfsnobody is it possible?


no, what UID/GID owner a file gets is determined by:
- the UID/GID in the NFS paket when its created from NFS
- the mapped UID/GID when its created from CIFS

That would make a nice PER if you havent already filed it :-)

being able to "force" a Unix owner when creating a file through CIFS for a certain share would sometimes be helpfull and seems sensible

forcing it for NFS file creation would be nasty - if would require a whole new UID/GID translation that I dont think we want to do for every NFS call

what you can do is set the umask (either globally or per share) so that files created from CIFS on that share have access for a certain group or everyone

6 Operator

 • 

8.6K Posts

October 30th, 2009 05:00

Is there a possibility to assign a spécific value of uid,guid on a local cifs user ?
I use one local cifs user to handle a old os/2 standalone server


the UID/GID values for Celerra local CIFS users arent handled through the normal mapping methods.
They are "auto-assigned" upon creation and stored in an internal config file

If its just for a few local users you can try through your local EMC technical contact to submit an RPQ to allow your support engineer to change it
No Events found!

Top