**关闭。**这个问题是not about programming or software development。目前不接受答复。
这个问题似乎不是关于a specific programming problem, a software algorithm, or software tools primarily used by programmers的。如果你认为这个问题与another Stack Exchange site的主题有关,你可以留下评论,解释在哪里可以回答这个问题。
7天前关闭
Improve this question
我的桑巴舞服务器直到上周都工作得很好。我在互联网上做了一个搜索,并尝试了下面的,仍然没有去。
我的smb.conf:
[global]
workgroup = INET
server string = File on-Line
security = ADS
passdb backend = tdbsam
log level = 3
realm = inet.xyz.com
encrypt passwords = yes
unix extensions = no
wins server = 10.X.X.X 10.X.X.X
netbios name = sharefiles
template shell = /bin/bash
strict locking = no
min protocol = NT1
max protocol = SMB3_11
server signing = mandatory
client signing = mandatory
# I added the below after some Google search
idmap config INET : backend = rid
idmap config INET : base_rid = 0
idmap config INET : range = 10000-20000
================================================
在我的windows机器上-我做了一个//sharefiles
它要求我登录,但我的登录不被接受。
在**/var/log/messages**中-我得到这个错误:
../../source3/auth/auth_util.c:1889(check_account)
Feb 15 16:31:55 sambaserver smbd[9354]: check_account: Failed to convert SID S-1-5-21-1474414563-1125766349-1731688626-161484 to a UID (dom_user[INET\jean])
Feb 15 16:31:55 sambaserver smbd[9356]: [2022/02/15 16:31:55.498012, 0] ../../source3/auth/auth_util.c:1889(check_account)
Feb 15 16:31:55 sambaserver smbd[9356]: check_account: Failed to convert SID S-1-5-21-1474414563-1125766349-1731688626-161484 to a UID (dom_user[INET\jean])
**SAMBA version:**
Samba version 4.10.16
有人见过这个吗?感谢您的评分
2条答案
按热度按时间xytpbqjk1#
您的范围太小,161484大于20000,请在20000上添加几个零。您还需要另一行:
idmap config *:范围= 3000-7999
vpfxa7rd2#
我刚刚遇到了同样的问题,它不仅与配置错误有关,而是由于缺少libnss-winbind包和主机系统的配置。一旦安装并正确配置(/etc/nsswitch.conf),我就能够“id“并找到使用id的文件系统,问题就解决了。