Event ID 4013 — NFS LDAP Connection

Applies To: Windows Server 2008 R2

Server for NFS enables you to control access by users and groups to Services for Network File System (NFS) resources. A connection to an Light Directory Access Protocol (LDAP) server allows Server for NFS to query Windows-UNIX user account mappings and grant file access to a user.

Event Details

Product: Windows Operating System
ID: 4013
Source: NfsService
Version: 6.1
Symbolic Name: ERR_NFS_LDAP_CONNECT_FAILURE
Message: Server for NFS could not connect to the Lightweight Directory Access Protocol (LDAP) server for domain <%1>. Without a connection to the LDAP server, Server for NFS cannot query for Windows-to-UNIX user account mappings and cannot grant file access to any user. Verify that Server for NFS is configured to use the appropriate LDAP server using the Nfsadmin command-line tool.

Resolve

Configure Services for NFS to retrieve identity mapping data from Active Directory

To configure Services for Network File System (NFS) to retrieve identity mapping data:

  1. Identify the domain that the LDAP service is running on.
  2. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  3. Type **nfsadmin mapping config adlookup=yes addomain=**domainname to enable Services for NFS to retrieve identity mapping data.

Verify

To verify that Services for Network File System (NFS) is properly configured for retrieving Windows-UNIX identity mappings from the LDAP service:

  1. Open a command prompt** **with elevated privileges and type nfsadmin mapping config.
  2. Verify that the Mapping Server field in the list displays your installed LDAP service.

NFS LDAP Connection

File Services