1- we have a already up and running user mapping configuration . the data mover client for NIS and the cifs server joined to AD
2- now the secmap build as UID to SID the data mover get the UID from NIS and get SID from active directory
3- my problem is this configuration cover the user mapping what about groups mapping how can i make sure that the groups from NIS and AD has right mapping
4- can i beside this runing configuration use the groups local file or can i insert the groups mapping records in secmap manually
what i can do to let the data mover cover the groups mapping
in case need any out put or any file from our data mover pls let me know pls i need help in this
what we have now that the default user mapping in our celerra now disabled
and we use external user mapping because we have multiprotocole environment which let the unix users and windows users access the same data at the same time so
as you know from EMC doc there is 4 methods to configure user mapping for mutliprotocole environment
1- LDAP-based directory services, such as the Active Directory (that uses Microsoft Windows
Services for UNIX [SFU] or Identity Management for UNIX [IdMU])
2- A Data Mover’s local user and group files
3- Network Information Service (NIS)
4- Active Directory (by using Celerra CIFS Microsoft Management Console [MMC] snap-ins)
and in our environment all unix users registered in our NIS so we used method number 3
so now the secmap build automatically get the UID from NIS and SID from active directory because the cifis server jioned to the AD domain
but in the secmap you will find just UID to SID so secmap in our case cover just the usermapping
but in our environment we have alot of AD groups and unix groups and we need to cover the groups mapping part too
so what we can do it such case
is there any command to insert record manually in the secmap ?
or can i keep everything as it is and build local group file to let data mover query the groups mapping from local groups file as in method number 2 for external usermapping (( A Data Mover’s local user and group files ))
if this possible that mean data mover will use secamp to cover the usermapping part and local groups file to cover the groups mapping
but if this not possible what i can do in such case
i would like to thank you so much because you try to help me in my case
now in our current ruining environment the user mapping work very well
as i told you the data mover client for our NIS and the the cifs server joined to the domain
and we have no VDM and we will not configure VDM at all
all what we need to share 5 files systems as cifs and NFS because this shared file system will be accessible from both users UNIX users and windows users
and we have alot of differences between the AD groups and UNIX groups names for this we need to make sure that the groups mapping work very well
in current configuration the secmap look very good UID to SID so i think user mapping work well
but if there is no way to let groups mapping work automatically like our current user mapping
so what you think i have to stop use this way and build the local passwd and groups and put them in DM and that it
but for sure i prefer if i can have any configuration will provide automatic user mapping and groups mapping
(( GID of the file will by default map to whatever GID that Domain User maps to.
Setting this setting, unix primary group of the user is looked up and used as
the GID of any files created from windows ))
if my current configuration OK and will cover for me user mapping and groups mapping so i will do nothing . again i am satisfied about user mapping by UID to SID which i have now but is this configuration will cover groups mapping too if yes i will do nothing but if no i need your help and i want you to be patient
NIS isnt really great for group mapping – it’s a Unix based directory service and only covers the way Unix groups work.
Unix group cannot contain other groups and they are often limited to 16 members – Windows groups are very different there.
If your Unix groups are the same literal name as the Windows groups and you only have one Windows domain then you can set the param cifs.resolv to 1 to drop the domain name from mapping.
Watch out for uppercase/lowercase differences there.
User mapping and multi-protocol can get a bit complicated – I recommend to try on a simulator first and maybe get professional services involved.
Secmap is really only meant as a persistent cache so that we don’t have latency of asking the user mapping sources every time – so I don’t recommend it to do manual mapping.
Besides secmap is per VDM – so you would have to do that on every VDM and every VNX
I assume you mean the useUnixGid – yes that can be a bit confusing.
That’s another difference between Windows and Unix – In Unix every user has a primary group and then optional some secondary groups he also belongs to.
IN Unix every file/dir has both a user and group owner.
In Windows there is no notion of a primary group – you can be in no group at all and all groups are equal.
Normal Active Directory has no setting for what your primary group is – only if you use the RFC extension but then you need to also manually maintain it.
Also there is only one owner for a file/dir in Windows – that can be either a user or a group
So when you create a file through CIFS we have to also store a UID and GID owner in the file system.
The UID is simply from the user mapping – for the GID by default we would take the mapped GID of the first Windows group the user is a member of.
This param allows you to change that behaviour and use the GID as defined in NIS or password file instead of the mapped GID
Hope that explains it.
Technically you can mix different user mapping methods like NIS and local files or ntxmap – we just normally don’t recommend it because it can get quite confusing – especially when they contain different information.
thank you alot the information you gave to me it very good
and now i have to install simulator to test this
so you think i can install celerra simulator on our vsphere environmental (( deploy OVA file ))
and configure this simulator as NIS client and creat cifs server and join to the same domain and try to test to usemapping and group mapping as i want
then we will see what the best configuration to cover our needs
but maybe i need your help during build this test environment i will update this question in case i faced any issue during prepare this test environment
but in the celerra simulator is there any space to create for test at least one shard file system ?
i never used celerra simulator before i will do it and we will see
Rainer_EMC
6 Operator
•
8645 Posts
2521
0
Posted April 5th, 2013 07:00
Sorry – I dont have a step-by-step guide
If you need that please engage professional services.
It really depends on your very specific setup and how much mapping and permission/access is enough for your environment.
You need to figure it out and test it yourself.
That’s why I recommendet getting a Simulator.
There you can quickly go back to clean config
First step would be to carefully read the half dozen manuals that are related to multi-protocol and user mapping.
The groups file is a Unix file – it doesn’t contain SIDs – it contains mapping of names to GID
Rainer