No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

N8500 how to manage CIFS and NFS together at same domain

Publication Date:  2013-06-29 Views:  108 Downloads:  0
Issue Description
The version of N8500 is V2R1C00SPC006.
.OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.
NT-domain is the domain coming from Windows NT.

We build an OpenLDAP for NFS share, save all the groups and user to DB.
And then create a NT-Domain for CIFS share, map all the groups and user from LDAP DB to NT-Domain. So all the groups/users and their perssion of NT-domain is inherit from OpenLDAP.The relation of them is as below:

Alarm Information
none

Handling Process
What’s need to be done in the storage?
  1.  Build a filesystem and then create NFS share and CIFS share on it.
  2.  Configure NSSwitch.Please refer the detail to N8500 product documentation.
  3.  Configure LDAP on N8500. Please refer the detail to N8500 product documentation.
  4.  Configure NT-domain on CIFS global setting. Please refer the detail to N8500 product documentation.
  5.  Create one usermap between CIFS and NFS.   

N8800:>CIFS mapuser add CIFSusername domainname NFSusername
Double check in the CIFS share and NFS share, one username has the same permission in Windows machine and Linux machine.

     6.    To let all the users have the same function between CIFS and NFS, it is necessary to map all. But it is failed while enter the command CIFS mapuser add * domainname *.The command line can’t recognize *.So we must do this in command line.

a) vi  /opt/VRTSnasgw/conf/smbusers.map
b) add *=domainname\* and then quit with wq
c) cat /opt/VRTSnasgw/conf/smbusers.map to make sure * is added.
d) execute a)~b) in all nodes
So far, the Windows and Linxu are using the same username to mount the same file system and have the same permission.
Root Cause
none
Suggestions
none

END