The AD domain roaming user profile on the server samba

Book connected to the back https://www.cnblogs.com/jackadam/p/11448497.html

We have a linux server as a domain member, after the start samba service, has been achieved using a domain account authentication, home directory is automatically created, configured disk quota.

So as a stand-alone file sharing server, first you want to store the domain user is roaming profile, in which the windows system, the profile includes a desktop, download, favorites ............

 

Environmental Information:

area:

xyz.local

Domain Controller:

Operating System: windows2016

Configuration: a domain controller

Computer Name: dc

IP:10.99.120.20

file server:

Operating System: CentOS

Configuration: a domain member samba

Computer Name: file

Test terminal:

Operating System: Windows7

Configuration: As a member of a domain

Computer Name: irrelevant

Test account:

test

 

Related

Using a test account to log on the test terminal.

Set above the shared directory is \\ file.xyz.local \ test

Then the configuration file path among the domain users and computers set up for: \\ file.xyz.local \ the Test \   "\" at the end

Main Folder Settings

Windows server 2012 allows users to store a private file folder that is home folder. Home folder not included in the user profile, there is no need to download or save the file when the user logs back to logout.

The default setting is local path.

In order to save user data, then I will set up a network home folder path will connect automatically to a network drive.

To: Connect Z: file.xyz.local to \\ \ the Test    "no \"

Because the file server is linux, nor is mapped to the root administrator, it will prompt you home folder was not created because you do not have permission to create on this server. User account has been updated with the new value of the home directory, but the account after obtaining the required permissions, you must manually create this directory.

It does not matter, because the home directory is automatically created when users use network file sharing. To confirm.

Precautions

After the test terminal logs on, more out of a Z-disk. User profiles also in this directory, but it is a hidden directory.

And the size of the network disk, is the size of disk quota.

 

Guess you like

Origin www.cnblogs.com/jackadam/p/11459643.html