You have to work with linked folders (can be done from a unix ws/server or from Windows with an add. tool called ln.exe)
Please find below our guide & config:
Requirements:
• Administrative privileges to the NetApp Console
• LN.EXE Tool available – To create links from Windows
Usage:
• Enable FTP
(on vfiler: switch to vfiler vfiler_host -> vfiler context vfiler_host)
options ftpd.enable on
• Change the ftpd.auth_style to ntlm
options ftpd.auth_style ntlm
• Enable ftpd.dir.restriction
options ftpd.dir.restriction on
• Check FTP options
vfiler_host@filer> options ftp
ftpd.3way.enable off
ftpd.anonymous.enable off
ftpd.anonymous.home_dir
ftpd.anonymous.name anonymous
ftpd.auth_style ntlm
ftpd.bypass_traverse_checking off (only in OnTap 😎
ftpd.dir.override
ftpd.dir.restriction on
ftpd.enable on
ftpd.locking none
ftpd.log.enable on
ftpd.log.filesize 512k
ftpd.log.nfiles 6
ftpd.tcp_window_size 28960
• Create a small (500MB incl. snaps) volume called ftplinks
(on vfiler: switch back to vfiler vfiler0 -> vfiler context vfiler0)
vol create vfiler_host_ftplinks aggr0 500M
• Create a qtree with NTFS security style
qtree create /vol/vfiler_host_ftplinks
(on vfiler also: vfiler add vfiler_host /vol/vfiler_host_ftplinks)
(on vfiler: switch to vfiler vfiler_host -> vfiler context vfiler_host)
qtree create /vol/vfiler_host_ftplinks/vfiler_host_ftplinks
qtree security /vol/vfiler_host_ ftplinks ntfs
• From Windows: Edit the file with wordpad/write \\vfiler_host\etc$\cifs_homedir.cfg (not with Notepad!)
Add the following entry:
/vol/vfiler_host_ftplinks/vfiler_host_ftplinks
save the file
• Reload the changes with
cifs homedir load
• Create share(s)
cifs shares -add ftplinks$ /vol/vfiler_host_ftplinks/vfiler_host_ftplinks
cifs shares -change ftplinks$ -nosymlink_strict_security
cifs shares -add ftp_backup$ /vol/vfiler_host_ftplinks/vfiler_host_ftplinks
• From Windows: Create links with FTP-ID’s points to the requested folders
Requirement:
You have a drive letter! mapped to \\vfiler_host\proj before you run the command (net use b: \\vfiler_host\proj)
Request:
User DOMAIN\qms2 -> vfiler_host_proj/QMS
User DOMAIN\impex -> vfiler_host_proj/impex
User DOMAIN\recimpex -> vfiler_host_proj/department/RECONCILIACIONES
Use the tool ln.exe to create links from Windows:
Change to the mapped network drive
ln /vol/vfiler_host_proj/QMS \\vfiler_host\ftplinks$\qms2
ln /vol/vfiler_host_proj/impex \\vfiler_host\ftplinks$\impex
ln /vol/vfiler_host_proj/department/RECONCILIACIONES \\vfiler_host\ftplinks$\recimpex
• Make a test via the ftp command from Windows
(use backslash \ between domain and your account!)
C:\WINDOWS>ftp vfiler_host
Connected to vfiler_host
220 vfiler_host@vfiler_host FTP server (NetApp Release 7.2.6.1P6: Fri May 29 14:15:57 PDT 2009) ready
User (vfiler_host:(none)): DOMAIN\recimpex
331 Password required for DOMAIN\recimpex.
Password:
230 User DOMAIN\recimpex logged in.
ftp> dir
200 PORT command successful.
150 ASCII data connection for /bin/ls (19.170.131.35|2047) (0 bytes).
drwxrwxrwx 14 root 0 4096 Oct 19 08:43 .
drwxrwxrwx 44 root 0 8192 Oct 16 09:13 ..
-rwxrwxrwx 1 root 0 2274 Oct 19 08:40 FV.G099904.G020D.N001.G0016V00
-rwxrwxrwx 1 root 0 403 Oct 19 08:40 FV.G099904.G020D.N002.G0016V00
-rwxrwxrwx 1 root 0 403 Oct 19 08:40 FV.G099904.G020D.N003.G0016V00
-rwxrwxrwx 1 root 0 12109 Oct 19 08:40 FV.G099904.G020D.N004.G0016V00
ftp>
Hints
• Using FTP the user must be able to traverse the entire directory tree, having Change access to the sub dir only folder isn't enough.
• The FTP user will have to enter their FTP IDs in all lower case.