Hi,
i want delete a svm with cifs running.
Problem: The AD is not availlable
Is there any force command for cifs delete or vserver delete?
Regards
Michael
With stopped cifs server it works.
Warning: There are one or more shares associated with this CIFS server Do you really want to delete this CIFS server and all its shares? {y|n}: y
Warning: Unable to delete the Active Directory computer account for this CIFS server. Do you want to continue with CIFS server deletion anyway? {y|n}: y
Thx
Are you able to stop cifs using "vserver cifs stop" command?
Thanks
yes, it is down.
vserver cifs show -vserver farmw01
Vserver: farmw01 CIFS Server NetBIOS Name: FARMW01C NetBIOS Domain/Workgroup Name: xxxxxxxx Fully Qualified Domain Name: xxxxxx.LOCALDefault Site Used by LIFs Without Site Membership: Authentication Style: domain CIFS Server Administrative Status: down
nbgw81gr1::> vserver delete -vserver farmw01
Warning: There are 2 routing group(s), 4 admin created login account(s) associated with Vserver farmw01. All these objects will be removed while deleting the Vserver.Are you sure you want to delete Vserver farmw01 and all objects associated with it? {y|n}: y
Error: command failed: Cannot delete Vserver. Failed to remove CIFS server. Reason: The Vserver is associated with Active Directory configured CIFS server "FARMW01C" . The deletion is partially complete. Please delete the CIFS server using "cifs delete" and retry to complete the deletion.
Not working in 8.2.3. Still asking for AD credentials, CIFS server is stopped.
Error: command failed: Cannot delete Vserver. Failed to remove CIFS server. Reason: The Vserver is associated with Active Directory configured CIFS server "CIFS_Z8" . The deletion ispartially complete. Please delete the CIFS server using "cifs delete" and retry to complete the deletion.
Problem persists with 8.3.2 as well. CIFS server is stopped, but I still can't delete the CIFS server - it asks for AD credentials, but that whole AD environment is gone. Any solutions? Any way we can force deletion of CIFS assets within an SVM so I can eventually delete the SVM?
Welp, for what it's worth I managed to delete the CIFS server and the SVM. Here's how I did it, running CDOT 8.3.2:
I'm not sure if it'll be have the same way in 8.2.3, but I hope it does. 8.3.2 has been good to me so far, but I'd hate to tell anyone to upgrade just so they can delete a defunct CIFS server. Good luck!
Thanks for your solution.
Doesn't work on 9.1P10 though... I get a Kerberos error.
I just tried it with NetApp Release 9.1P10:
::> cifs delete -vserver foobarIn order to delete an Active Directory machine account for the CIFS server, you must supply the name and password of a Windows account with sufficient privileges toremove computers from the "foobar" domain.Enter the user name: testEnter the password:Warning: There are one or more shares associated with this CIFS serverDo you really want to delete this CIFS server and all its shares? {y|n}: yWarning: Unable to delete the Active Directory computer account for this CIFS server.Do you want to continue with CIFS server deletion anyway? {y|n}: y
Worked like a champ!!