UNSOLVED

lawrence_a_buss

updated

9 years ago

L

lawrence_a_buss

1 Rookie

4 Posts

0

5024

December 12th, 2017 14:00

Using FTP server on Unity 300 NAS

Hi folks

I need to configure the FTP server on my Unity 300 NAS.

I enabled both FTP and SFTP. We are in a UNIX environment (an old one, lol) that uses NIS. I configured the NIS domain and my NIS servers IPs on the Unity but don't notice any difference (i.. can't see any users or the passed/group files).

The question is;  How do I populate the Unity 300 with users? I can connect to the UNITY FTP server but when I attempt a login, i.e. using the admin account, it fails. Am I able to view the password and group files on the Unity?

Have a forgotten a step in the configuration process?

Thanks for your help.

-LB

  • Rainer_EMC

    6 Operator

    8645 Posts

    3770

    0

    Posted December 13th, 2017 04:00

    you dont have to populate users

    if your NIS server includes the password hash in the passwd NIS map then you can use these accounts to ftp/sftp to the Unity

    If not you can create/upload a local passwd file - either via GUI or uemcli

    Rainer

    P.S.: which admin account - root ?

  • Rainer_EMC

    6 Operator

    8645 Posts

    3770

    0

    Posted December 13th, 2017 07:00

    by default the homedir in the passwd line gets used

    Take a look at the VNX ftp manual - while the commands are different in Unity than in VNX most of the concepts still apply

  • lawrence_a_buss

    1 Rookie

    4 Posts

    3770

    0

    Posted December 13th, 2017 07:00

    Thanks, I was able to map our NIS passwd file to the Unity.

    Is there a way to map directory paths to be used for FTP? (i.e. passwd login directory is /home/user, can that be map to a filesystem spec on the Unity?)

    Thanks

    -LB

  • Rainer_EMC

    6 Operator

    8645 Posts

    3770

    0

    Posted December 13th, 2017 08:00

    the CIFS homedir functionality configured through the MMC snapin is supported on Unity and and a homedir configured through that will be honored by Unity ftp

    You cannot configure this through UniSphere or uemcli - you need to use the MMC and map file

    documentation is in the VNX CIFS manual and the online help for the MMC snapin

  • lawrence_a_buss

    1 Rookie

    4 Posts

    3770

    0

    Posted December 16th, 2017 11:00

    Hi

    Thanks for your help with my FTP issue. Using the MMC snap-in on a Windows platform to create a CIFS homedir was not a workable solution for my group. Instead I assembled this work around. Not pretty but it works.

    Password file is provided by NIS

    created an NFS file system on the Unity (i.e. home, smallest size permitted, 3gb)

    Mounted the Unity file system, home, on a Unix system as /tmp_mnt

    Created the password file HOMEDIR path within the mounted file system (i.e. /tmp_mnt/user)

    Now I can FTP to the Unity and not receive a directory not found error. Logs in as /home/user.

    I then created the structure, using symbolic links, I required within "/home/user" (i.e. data -> /data)

    ( data is a filesystem I created on the Unity)

    I can then use this syntax in my script to put/pull the files I need;

    ftp://user:passwd@hostname/data/

    Thanks again!

    -LB

  • Rainer_EMC

    6 Operator

    8645 Posts

    3770

    0

    Posted December 18th, 2017 05:00

    you're welcome

    looks like a good workaround.