Library Table of Contents Index Previous Next Comments

Setting up FTP service on your filer

Configuring an authentication style

About configuring an authentication style  Top

You can configure one of the following authentication styles for the FTP service on your filer:

By default, the authentication style is set to Mixed when the FTP service is enabled.

For more information about these authentication styles, see Authentication database for the FTP service.

Limitation of NTLM authentication style  Top

Data ONTAP allows only lowercase names for user home directories. Even if you specify the user name in uppercase, you must make sure that a lowercase name is specified for the user's home directory; otherwise, the user will not be able to access files after logging in.

Configuring the UNIX authentication style  Top

To configure the UNIX authentication style for the FTP service on your filer, complete the following step.

Step

Action

1

If...

Then...

You want to use only the /etc/passwd file for authentication and have NIS disabled on your filer

Enter the following command:

options ftpd.auth_style unix

You want to use only the /etc/passwd file for authentication and have NIS enabled on your filer

Enter the following command:

options ftpd.auth_style unix

In the /etc/nsswitch.conf file, edit the passwd map as follows:

passwd: files

You want to use only NIS for authentication

Enter the following commands:

options ftpd.auth_style unix
options nis.enable on

In the /etc/nsswitch.conf file, edit the passwd map as follows:

passwd: nis

You want to use both /etc/passwd and NIS for authentication

Enter the following commands:

options ftpd.auth_style unix
options nis.enable on

In the /etc/nsswitch.conf file, edit the passwd map as follows:

passwd: files nis

Configuring the NTLM authentication style  Top

To configure the NTLM authentication style for the FTP service on your filer, complete the following step.

Step

Action

1

Enter the following command:

options ftpd.auth_style ntlm
options cifs.home_dir pathname

where pathname is location of user home directories; for example, \home.

Note
The home directory of a user is a combination of pathname specified by the cifs.home_dir option and the user ID of the user. The path name specified by the cifs.home_dir option is case-sensitive; however, the user ID is not case-sensitive. For example, if cifs.home_dir is \home and the user name is JOHN, the home directory for the user is \home\john.

Configuring the Mixed authentication style  Top

To configure the Mixed authentication style on your filer, complete the following step.

Note
If you want to use NIS for authentication of users specifying their user name without a domain name, make sure that the nis.enable option on your filer is set to On. For more information, see Authentication database for the FTP service and Configuring the UNIX authentication style.

Step

Action

1

Enter the following command:

options ftpd.auth_style mixed

Library Table of Contents Index Previous Next Comments