How to integrate Samba and ActiveDirectory

zhaozj2021-02-16  62

1 need to solve problems

Now there is an ActiveDirectory server, you need to use this server to perform system user password authentication and then enter the Samba for appropriate file access. 2 Solution is as follows

1) Install Samba (there are many online information, I don't have much to say) 2) After the installation is complete, some Samba files will be generated, and the configuration of SMB.conf is as follows (excerily, you must pay attention to your domain, there is It may be set to * .local form in Workgroup = Test.com

# Server, you can name the server string = GatewayServer # with a Server String = GatewayServer #, the default is that user must modify security = Server

# The address of the server is the address of the primary domain controller PASSWORD Server = 192.168.0.1

# Setting the directory [public] comment = testserver path = / var / www / public public = YES // All can view Writable = YES Printable = No 3) Restart Samba. 4) Set the privileges of directory / var / www / public. Be careful here if a user can write, you need to add this user to the Linux system user, as long as you modify the system file permissions, you can make full use of hard disk resources. Really realize Single Sign on.

转载请注明原文地址:https://www.9cbs.com/read-16364.html

New Post(0)