Network and Storage Protocols

cifs homedir autocreate

magheinzmagheinz
5,002 Views

english:

in the documentation i can find:

"In the specified home directory paths, create home directories."

https://library.netapp.com/ecmdocs/ECMP1120826/html/frameset.html

do i realy have to create the homedirs by hand? I found:

"Should be manually created or user can directly login to the controller using domain creds, so that the homedirectory for the user is created automatically."

https://communities.netapp.com/thread/27157

What do I have to do if I want the filer to autocreate the homedir by accessing it via CIFS \\FILER\USERNAME

the configuration is:

>cifs homedir

/vol/share3210_c2_homedirs/DHM

In this qtree, there are some homedirs. For this folders i set the owner by script. Now they are reachable via \\FILER\~ and \\FILDER\USERNAME. But the filer want create nwe homefolders

Deutsch:

Ich werde noch verrückt, in der doku steht:

"In the specified home directory paths, create home directories."

https://library.netapp.com/ecmdocs/ECMP1120826/html/frameset.html

muss ich die wirklich händisch anlegen? In diversen Foren steht dann wieder:

"Should be manually created or user can directly login to the controller using domain creds, so that the homedirectory for the user is created automatically."

https://communities.netapp.com/thread/27157

Was muss ich machen damit die netapp (FAS3210)  bei einem Zugriff auf \\FILER\%USERNAME% das Verzeichniss anlegt.

Gesetzt ist:

>cifs homedir

/vol/share3210_c2_homedirs/DHM

in dem qtree liegen auch Verzeichniss bei denen gescriptet der Besitzer gesetzt wurde. DIese sind dann auch über \\FILER\~ oder \\FILDER\USERNAME erreichbar. Nur neue werden nicht angelegt

3 REPLIES 3

waldrop
5,002 Views

The controller shouldn't ask for new folders.  In the path you specified in the output of the cifs homedir command, there does need to be a folder already in existence for each user.  The homedir path just allows for the automatic creation of a cifs share for each user w/o having to create separate cifs shares for them.

Not sure exactly what issue you might have run into.   Could you elaborate further?

kodavali
5,002 Views

the folder will be automatically created only when the user directly log on to the controller using domain credentials.

If that is not the option, as long as the folder name is appropriately named as per the format you have chosen in the options cifs.home_dir_namestyle.

If the option is not configured the default would be ntname and should the folder be the username then it will automatically mapped, but the folder should be there for mapping to be successful.

richard_mackerras
5,002 Views

Hi,

The biggest obstacle to autocreate would be to determine where to create it. The 7-mode file /etc/cifs_homedir.cfg is a list of directories to be searched for the user's home directory. Which directory in the list would you choose?

Cheers,

RM

Public