UNSOLVED

alwaysonline

updated

16 years ago

0

3001

June 8th, 2010 17:00

NAS group file and password file

We have a access policy of UNIX and we use the FS for both CIFS and NFS. (same file is exported as CIFS and also NFS).

I uploaded the user and group file which I got from the client to the datamover (NAS new implementation) .

The NFS is working fine. But cannot access the CIFS. What will be the problem???

  • IanSchorr

    117 Posts

    1188

    0

    Posted June 8th, 2010 22:00

    What do the CIFS permissions look like?  Even with UNIX mode, CIFS access is checked against the ACL (there are tables in the server_mount man page and the multiprotocol manual showing what permissions are checked, in which cases)

    You'll have to have made changes on the FS at some point for the CIFS permissions to be something other than Everyone->Full Control, but make sure you double-check that.

    Also, make sure you verify that your mappings are set up and working properly.  Do server_cifssupport -cred against your user and make sure you see correct UID and GIDs assigned for the user and the groups it is a member of.  If not, then something is wrong in the configuration somewhere.

  • Rainer_EMC

    6 Operator

    8645 Posts

    1188

    0

    Posted June 9th, 2010 07:00

    Hi,

    could you please use http://celerra.emc.com ?

    thanks

    Rainer

  • Rainer_EMC

    6 Operator

    8645 Posts

    1188

    0

    Posted June 9th, 2010 08:00

    because its a complex topic and not that easy to diagnose from just "... cannot access ..." without saying what the setup is, security modes, CIFS server config ....

    its not a matter of confidential or not - its a matter of efficiency

    some things can be faster solved in a couple of EMails or a phone call than a forum ping-pong

    also once it gets into more advanced debugging its difficult to post log files here (technically as well as them potentially containing customer names / IP / config /...)

    Rainer

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    1188

    0

    Posted June 9th, 2010 08:00

    why not have this discussion here ? it's beneficial to customers, we are not sharing any confidential data.

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    1188

    0

    Posted June 9th, 2010 08:00

    ironically you are asking him to post to internal forum

  • Rainer_EMC

    6 Operator

    8645 Posts

    1188

    0

    Posted June 9th, 2010 08:00

    ok,

    then please discribe your setup and exact problem.

    anything different from a standard install like changed params ?

    CIFS server created ?

    CIFS service running ?

    standalone or domain-joined CIFS server ?

    usermapper disabled ?

    security mode for the data mover ?

    are the mappings effective (see secmap through server_cifssupport) ?

    did you either set cifs.resolver or use username.domain in the passwd file ?

    Rainer

  • 1188

    0

    Posted June 9th, 2010 08:00

    anything different from a standard install like changed params ?

    parmeters changed

    acl.mappingErroraction - 3

    acl.unixcheckacl  - 0

    comment_filtered  1

    resolver - 1

    acl.failonsdrestore - 0

    CIFS server created ?

    Yes CIFS server created on a VDM and the service is runnning and it is joined to the domain.

    usermapper disabled ?

    Yes Usermapper is disabled

    are the mappings effective (see secmap through server_cifssupport) ?

  • nandas

    6 Operator

    1473 Posts

    452

    0

    Posted June 9th, 2010 09:00

    The user mapping seems to be the issue here - if the windows users are not mapped properly, the CIFS access will be denied. Are you getting the "Extended Error Occured" message while trying to access the CIFS share?

    I suspect, the user names mentioned in the local password file does not match with the AD user name and thus the mapping is not working - please check the AD user name and the local password file entries.

    Also - the password file should not contain any password for each user - since you uploaded the file from an UNIX machine - the password entries may still be there, which is not needed for the Data mover User Mapping. However, this should not cause the problem.

    NFS access is not an issue as it does not check the local passwd or group files - and user mapping also does not come into play.

    The critical part is the CIFS access on a multi-protocol access. On top of that you have accesspolicy set as UNIX - which means the CIFS access will also check the UNIX permission on each file/folder - is it really needed to use UNIX accesspolicy? You need to assess the customer environment and requirement carefully and then choose the accesspolicy.

    My 2 cents

    Sandip

  • Rainer_EMC

    6 Operator

    8645 Posts

    1186

    0

    Posted June 9th, 2010 09:00

    alwaysonline wrote:

    CIFS server created ?

    Yes CIFS server created on a VDM and the service is runnning and it is joined to the domain.

    are the mappings effective (see secmap through server_cifssupport) ?

    No Mapping is available for DM

    well, since your are using a CIFS sever on a VDM - the VDM has its own rootfs and secmap - so you need to use server_cifssupport

    Rainer

  • 935

    0

    Posted June 9th, 2010 09:00

    yes I used for the VDM only.

    It gave me error 0: vdm_1 : invalid error code [0 mapping is available for .]