[Samba] 回复: 3rd problem when starting samba-4.13.17

深圳_极速e栈 2728481257 at qq.com
Fri Sep 9 03:58:31 UTC 2022

[e_zhangiso at myradius ~]$ su
ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1662695155
[root at myradius e_zhangiso]# abrt-cli list --since 1662695155
id 9d30060760a9b3c23027c737ed8047206828e94c
reason:         geoclue killed by SIGABRT
time:           Fri 09 Sep 2022 11:52:23 AM CST
cmdline:        /usr/libexec/geoclue -t 5
uid:            991
Directory:      /var/spool/abrt/ccpp-2022-09-09-11:52:23-3113
Reported:       cannot be reported

The Autoreporting feature is disabled. Please consider enabling it by issuing
'abrt-auto-reporting enabled' as a user with root privileges
[root at myradius e_zhangiso]# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
# Valid entries include:
#	nisplus			Use NIS+ (NIS version 3)
#	nis			Use NIS (NIS version 2), also called YP
#	dns			Use DNS (Domain Name Service)
#	files			Use the local files
#	db			Use the local database (.db) files
#	compat			Use NIS on compat mode
#	hesiod			Use Hesiod for user lookups
#	sss			Use sssd (System Security Services Daemon)
#	[NOTFOUND=return]	Stop searching if not found so far
# WARNING: Running nscd with a secondary caching service like sssd may lead to
# 	   unexpected behaviour, especially with how long entries are cached.

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files winbind
shadow:     files winbind
group:      files winbind
#initgroups: files sss

#hosts:     db files nisplus nis dns
hosts:      files dns myhostname

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files winbind
rpc:        files
services:   files winbind

netgroup:   nisplus winbind

publickey:  nisplus

automount:  files nisplus winbind
aliases:    files nisplus

[root at myradius e_zhangiso]# wbinfo -a vtest1%Zsl123789
plaintext password authentication failed
Could not authenticate user vtest1%Zsl123789 with plaintext password
challenge/response password authentication succeeded
[root at myradius e_zhangiso]# ntlm_auth --request-nt-key --domain = TESTENTERPRISE.NET --username = vtest1 --password = Zsl123789
NT_STATUS_NO_SUCH_USER: The specified account does not exist. (0xc0000064)
[root at myradius e_zhangiso]# systemctl status sssd
Unit sssd.service could not be found.

------------------ 原始邮件 ------------------
发件人:                                                                                                                        "samba"                                                                                    <samba at lists.samba.org>;
发送时间: 2022年9月9日(星期五) 凌晨0:08
收件人: "samba"<samba at lists.samba.org>;
抄送: "Rowland Penny"<rpenny at samba.org>;
主题: Re: [Samba] 3rd problem when starting samba-4.13.17

On Thu, 2022-09-08 at 23:09 +0800, 深圳_极速e栈 via samba wrote:
> Hello,
> Compile and install samba-4.13.17 from the source code. After the
> installation and configuration are completed, three problems are
> found:
> 3.ntlm_auth authentication failed
> What am I doing wrong? Would appreciate your answer.
> [root at myradius e_zhangiso]# cat /etc/redhat-release
> CentOS Linux release 7.9.2009 (Core)
> [root at myradius e_zhangiso]# /usr/local/samba/sbin/smbd -V
> Version 4.13.17
> [root at myradius e_zhangiso]# cat /etc/nsswitch.conf
> passwd:&nbsp; &nbsp; &nbsp;files sss winbind
> shadow:&nbsp; &nbsp; &nbsp;files sss
> group:&nbsp; &nbsp; &nbsp; files sss winbind

You are not using sssd, so I suggest you remove it from the machine,
even if you were using sssd, it wouldn't work, sssd does not do NTLM.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list