The samba server cannot be verified and cannot be accessed?
Source: Internet
Author: User
The samba server cannot be verified and cannot be accessed? -- Linux general technology-Linux technology and application information. For details, refer to the following section. After the samba server is added to the 2003 Domain Network in ads mode, only anonymous users can access the shared directory, but the domain user account cannot be used to log on to the samba server, the logon interface is displayed every time you log on. What is the configuration error? The configuration file is as follows:
Smb. conf file Configuration:
[Global]
Workgroup = lycb
Server string = File Server
Netbios name = Sambaserver
Security = ads
Hosts allow = 192.168.1. 127.
Encrypt passwords = yes
Guest account = linux
Log file =/var/log/samba/% m. log
Max log size = 50
Password server = 192.168.1.11
Idmap uid = 15000-20000
Idmap gid = 15000-20000
Winbind enum groups = yes
Winbind enum users = yes
Winbind separator =/
Template homedir =/homes/% D/% U
Template shell =/bin/bash
Realm = lycb. local
[Homes]
Comment = Home Directories
Browseable = no
Writable = yes
Path =/home/% U
Valid users = % U
[Share]
Comment = All user's share directory
Path =/usr/share
Public = no
Guest OK = yes
Read only = yes
[Program]
Comment = Program Files
Path =/etc/program
Valid users = @ administrators linux 99 root
Public = no
Writable = yes
[Printers]
Comment = All Printers
Path =/usr/spool/samba
Browseable = no
Guest OK = no
Writable = no
Printable = yes
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service