相关的配置跟你一样,但就是不行。。
【 在 iwannabe 的大作中提到: 】
: 标 题: Re: 请问samba要怎么配置才能让系统用户能直接登录
: 发信站: 水木社区 (Fri Feb 23 17:42:25 2024), 站内
:
: [global]
: log file = /var/log/samba/log.%m
: logging = file
: map to guest = Bad User
: max log size = 1000
: obey pam restrictions = Yes
: pam password change = Yes
: panic action = /usr/share/samba/panic-action %d
: passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*
: %n\n *password\supdated\ssuccessfully* .
: passwd program = /usr/bin/passwd %u
: server role = standalone server
: server string = %h server (Samba, Ubuntu)
: unix password sync = Yes
: usershare allow guests = Yes
: idmap config * : backend = tdb
:
: # cat /etc/pam.d/samba
: @include common-auth
: @include common-account
: @include common-session-noninteractive
:
: 我的缺省就能用
:
:
: 【 在 giggham 的大作中提到: 】
: : ubuntu 2004,这个应该不重要
: : 之前很多年都是手动smbpasswd -a添加samba用户
: : 照理说可以直接用系统用户密码登录而不用
: : ...................
:
: --
:
: ※ 来源:·水木社区 mysmth.net·[FROM: 119.139.196.*]
--
FROM 116.237.134.*