Hi Amir,
<?xml version="1.0" encoding="UTF-8"?>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.14">
<cifs-setup-ou-list-iter-start>
<domain-name>v998dpv1.v998.intern</domain-name>
<login-user>q100334</login-user>
<login-password>PjuTbb9tMo8e</login-password>
</cifs-setup-ou-list-iter-start>
</netapp>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE netapp SYSTEM "/na_admin/netapp_filer.dtd">
<netapp version="1.1">
<results status="failed" errno="13256" reason="Unable to retrieve the list of joinable OUs from Active Directory.">
<tag>21024591359011548</tag>
<records>0</records>
</results>
</netapp>
The cifs setup in the cli looks like this. I recognized that the same error is issued there as well. However, I can specify the ou in the cli. In the api the same ou spec doesn't work.
G100BPMC002> vfiler run v998spnvv1888gl cifs setup
===== v998spnvv1888gl
This process will enable CIFS access to the filer from a Windows(R) system.
Use "?" for help at any prompt and Ctrl-C to exit without committing changes.
Your filer does not have WINS configured and is visible only to
clients on the same subnet.
Do you want to make the system visible via WINS? [n]:
A filer can be configured for multiprotocol access, or as an NTFS-only
filer. Since multiple protocols are currently licensed on this filer,
we recommend that you configure this filer as a multiprotocol filer
(1) Multiprotocol filer
(2) NTFS-only filer
Selection (1-2)? [1]:
The default name for this CIFS server is 'V998SPNVV1888GL'.
Would you like to change this name? [n]:
Data ONTAP CIFS services support four styles of user authentication.
Choose the one from the list below that best suits your situation.
(1) Active Directory domain authentication (Active Directory domains only)
(2) Windows NT 4 domain authentication (Windows NT or Active Directory domains)
(3) Windows Workgroup authentication using the filer's local user accounts
(4) /etc/passwd and/or NIS/LDAP authentication
Selection (1-4)? [1]:
What is the name of the Active Directory domain? [v998dpv1.v998.intern]:
In order to create an Active Directory machine account for the filer,
you must supply the name and password of a Windows account with
sufficient privileges to add computers to the V998DPV1.V998.INTERN
domain.
Enter the name of the Windows user [Administrator@V998DPV1.V998.INTERN]: q100334
Password for q100334:
CIFS - Logged in as q100334@V998DPV1.V998.INTERN.
Setup was unable to retrieve a list of joinable containers
(organizational units) from Active Directory, therefore a list of
selectable options cannot be provided. Please enter the distinguished
name of the container that you would like the filer to join below.
There is no need to add the domain name portion,
'DC=v998dpv1,DC=v998,DC=intern', of the distinguished name.
Enter the name of the organizational unit [CN=Computers]: OU=Fileserver, OU=Server, OU=VRZ
CIFS - Starting SMB protocol...
Welcome to the V998DPV1.V998.INTERN (V998DPV1) Active Directory(R) domain.