Subscribe
Accepted Solution

How to connect NetApp Simulator to Active Directory Server?

Hi there,

I'm using Ubuntu 10.10 on my VMware with Windows host and I have installed Data ONTAP Release 7.1X17 on my linux VM.

I have created a CIFS share from the simulator and now I can access it from my host Windows machine.

What I need to do is, I need to create Windows based ACL on the CIFS share but the Security tab in the properties is missing.

Also I will need to connect this NetApp Data ONTAP to Active Directory Server.

I'm very new on this Data ONTAP Simulator.

Can anyone help on these two issues I'm facing?

Thanks in advance.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi,

You might have created a share on a unix style volume or qtree. you should be able to see the security tab if its set to ntfs or mixed.

chek the style set on your qtree ,ex: myvolume,myqtree

>  qtree status myvolume

change the style using command

> qtree security /vol/myvolume/myqtree  ntfs/mixed

Default security style depends on value of options "wafl.default_security_style"

Thanks,

Pragya

Re: How to connect NetApp Simulator to Active Directory Server?

Hi Pawan,

Basic question, is your simulator joined to the AD domain? If not, you just have to run the cifs setup:

toaster> cifs terminate

toaster> cifs setup

And follow the instructions, be sure that your filer has the proper DNS and that it has the clock synchronized with your Active Directory server, no more than 5 minutes skew, you can set that like this:

toaster> options timed.servers your.ad.server.ip

toaster> options timed.max_skew 4m

toaster> options timed.proto ntp

toaster> options timed.enable on

I have noticed in some filers that you have to set the clock manually first, then enable ntp sync, if you don't do it it won't sync.

Cheers.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi pagrawal,

Thanks a ton for your suggestion. It worked for me. Now I can access the security information.

Now my big problem is solved.

Also, can you tell me how to modify ACL from NetApp simulator. I observed that chown chmod doesn't work for it.

I need to change ownership of a file to a user from active directory. Please help me on this as well.

Thanks in advance.

Re: How to connect NetApp Simulator to Active Directory Server?

Thank you Ricardo, I did connect my NetApp sim to ADS now.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi,

From the simulator you can modify share level ACL using following CLI .

Example: myshare,myuser

> cifs access myshare myuser  r w x

> cifs shares myshare

There is an option wafl.root_only_chown,  when ON it allows root user to change ownership of a file.

Thanks.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi Pragya,

I think I'm not much clear. Well, this is what the scenario is:

Say, I have a user on ABC.COM/user1 (Where ABC.COM is my AD server and user1 is one of the users in that AD) and I have created an CIFS export named "Exp1" and created a file from Windows machine in this export, with file name as "f1.txt".

This is how my shares looks like with full access to Everyone:-

Exp1     /vol/vol0/home              
   everyone / Full Control

Now, what I want to do is to set this ABC.COM/user1 as the owner of this "f1.txt" file.

I can access this "Exp1" from my Windows machine and I can change file permissions from Windows, but not file ownership.

I don't even know how to traverse to different directories and locations in NetApp sim.

cd command does not work, neither chown.chmod.

I have enabled walf.root_only_chown, but I didn't find any way to change the ownership of that file.

Please help.

Thank you for your time.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi,

For changing ownership you can follow this,

From the  file properties go to, security tab -> select Advanced ->go to owner tab.

There it will list the current owner of the file, if you want to change the owner you can edit .In case the user you want to give ownership is not listed you can search from 'Other user and group' .

Please find the attached screen shot for reference.

Highlighted

Re: How to connect NetApp Simulator to Active Directory Server?

Hi Pragya, this is how my owners tab look like. I don't see any other users and group. One more thing I wanted to ask, What should I enter when installation prompts, "Where is the filer located?" - I entered my computer's IP address.

Re: How to connect NetApp Simulator to Active Directory Server?

Hi,

I had tried changing ownership of file in windows2008 R2, it worked for me , Note: My machine was in same domain as of cifs domain.

It seems that your machine is in different domain than cifs domain and it doesn't support editing ownership by adding 'other user and group' like window2008R2 does.  (note: I am observing this behavior in windows xp)

you might give a try by putting your machine on same domain as cifs and log in as your domain user. or you may try with the windows 2008 in same domain.

The answer for your second question "Where is the filer located", is the physical location of the your NetApp Simulator. it can be geographical location,location in building  etc.

Thanks.