Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
nfs-netapp-2> dns info
...snip...
Default domain: GMC3.COM
Search domains: GMC3.COM
nfs-netapp-2> cifs setup
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.
This filer is currently a member of the Active Directory domain
'USA.EDU'.
Do you want to continue and change the current filer account information? [n]: y
Your filer is currently visible to all systems using WINS. The WINS
name server currently configured is: [ 192.168.28.20 ].
(1) Keep the current WINS configuration
(2) Change the current WINS name server address(es)
(3) Disable WINS
Selection (1-3)? [1]:
This filer is currently configured as an NTFS-only filer.
Would you like to reconfigure this filer to be a multiprotocol filer? [n]:
The default name for this CIFS server is 'NFS-NETAPP-2'.
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]: 1
What is the name of the Active Directory domain? [USA.EDU]: gmc3.com
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 GMC3.COM domain.
Enter the name of the Windows user [Administrator@GMC3.COM]:
Password for Administrator@GMC3.COM:
CIFS - Logged in as Administrator@GMC3.COM.
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=gmc3,dc=com', of
the distinguished name.
Enter the name of the organizational unit [CN=Computers]:
CIFS - Starting SMB protocol...
Welcome to the GMC3.COM (GMC3) Active Directory(R) domain.
CIFS local server is running.
nfs-netapp-2>
lin-gmc:~ # ldapsearch -b "cn=computers,dc=gmc3,dc=com" -s one dn -LLL
SASL/EXTERNAL authentication started
SASL username: gidNumber=0 uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
dn: cn=QWERT-XP1,cn=Computers,dc=gmc3,dc=com
dn: cn=WIN2K3-2,cn=Computers,dc=gmc3,dc=com
dn: cn=XPCLIENT,cn=Computers,dc=gmc3,dc=com
dn: cn=NFS-NETAPP-2,cn=Computers,dc=gmc3,dc=com
$ export SASL_PATH=/opt/novell/xad/lib/sasl2 # change lib to lib64 for X86_64 environment
$ kinit administrator # the domain administrator
$ pgo -t user –add rocky # there are 2 hyphes for the add option
nfs-netapp-2> qtree status
Volume Tree Style Oplocks Status
-------- -------- ----- -------- ---------
vol0 ntfs enabled normal
vol0 test1 unix enabled normal
vol0 testnss unix enabled normal
vol3 ntfs enabled normal
vol1 ntfs enabled normal
vol4 ntfs enabled normal
newvol1 ntfs enabled normal
newvol1 newvol1 unix enabled normal
vol2 ntfs enabled normal
vol5dsfw ntfs enabled normal
MPVOl2 ntfs enabled normal
VOLUME_30GB ntfs enabled normal
nfs-netapp-2> cifs shares -add nshare /vol/vol4
nfs-netapp-2> cifs shares
Name Mount Point Description
---- ----------- -----------
ETC$ /etc Remote Administration
** no access **
HOME /vol/vol0/home Default Share
everyone / Full Control
C$ / Remote Administration
** no access **
nshare /vol/vol4
everyone / Full Control
nfs-netapp-2>
nfs-netapp-2> cifs access -delete nshare everyone
nfs-netapp-2> cifs lookup rocky
SID = S-1-5-21-494855465-201376168-299812962-1122
nfs-netapp-2> cifs access nshare rocky "read"
nfs-netapp-2> cifs shares
Name Mount Point Description
---- ----------- -----------
ETC$ /etc Remote Administration
** no access **
HOME /vol/vol0/home Default Share
everyone / Full Control
C$ / Remote Administration
** no access **
nshare /vol/vol4
GMC3\rocky / Read
nfs-netapp-2> cifs access nshare rocky "full control"
nfs-netapp-2> cifs shares nshare
Name Mount Point Description
---- ----------- -----------
nshare /vol/vol4
GMC3\rocky / Full Control