Start a Conversation

Unsolved

This post is more than 5 years old

2 Intern

 • 

301 Posts

682

July 15th, 2015 23:00

usermapper question

This is a usermapper group question.

User John in windows is member of groups A,B,C,D.He is member in unix of equivalent groups A,B,C,D. Using usermapper, how does it decide which unix group to use when a file is created under windows but viewed under unix ?

The reason I ask is I am aware that in windows there is no such thing as a primary group, rather all groups are equivalent. In unix, there is one primary group and a number of secondary groups, so how is the choice done to decide if there are multiple windows groups, which one to use to map to the primary ?

674 Posts

July 16th, 2015 00:00

For multiprotocol environments (unix and windows users accessing the same files/directories) usermapper should not be your choice. In such environments it should be disabled or only used as a last resort.

Typically you will run into issues regarding the UIDs and GIDs, because there must be a central tools which will map usernames against UIDs and GIDs and the other way round, even if the naming is different 

You need some naming service (f.e. LDAP, NIS, IdMU, local files) which will provide a mechanism for looking up user and system informations.

Please check the manuals "Configuring VNX User Mapping" and "Configuring VNX Naming Services"

674 Posts

July 16th, 2015 00:00

Out of my knowledge,

If a windows user writes a file, and usermapper was responsible for the UID mapping, then the group written into the filesystem will be "Domain Users". And it will be the same for all usermapper users.

But please test this.

2 Intern

 • 

301 Posts

July 16th, 2015 00:00

Peter,

Thanks for your response. This is “only used as a last resort.”

So assume I have read the manuals ( I have ), been forced down this road ( I have ), is there an answer to my question ?

8.6K Posts

July 16th, 2015 02:00

See the cifs acl.useUnixGid

2 Intern

 • 

301 Posts

July 16th, 2015 03:00

name = useUnixGid

facility_name = cifs

default_value = 0

current_value = 1

configured_value =

user_action = reboot DataMover

change_effective = reboot DataMover

range = (0,4294967295)

description = NA

Alas the description is a bit of a black hole. Is it documented anywhere ?

8.6K Posts

July 16th, 2015 03:00

From the Paramters Guide:

Sets the group identifier (GID) mapping for file system objects created on a Windows client.

0 = Assign the GID of the Windows primary domain group to which the user belongs.

1 = Assign the Windows user’s GID (as found in the GID field of the .etc/passwd file, NIS database entry, or Active Directory).

No Events found!

Top