我用samba / kerberos / winbind安装RedHat服务器。
我可以用wbinfo -u和wbinfo -g来检索我的用户和组。 但在列表中,名称显示如下:
wbinfo -u DOMAIN+username1 DOMAIN+username2 DOMAIN+username3 DOMAIN+username4
如果我尝试使用wbinfo -a username1%password来validation用户,我有这个错误:
plaintext password authentication failed error code was NT_STATUS_NO_SUCH_USER (0xc0000064) error messsage was: No such user Could not authenticate user username1%password with plaintext password challenge/response password authentication succeeded
如果我把域名放在用户名里面:
wbinfo -a DOMAINE+username1%password plaintext password authentication succeeded challenge/response password authentication succeeded
但我需要只有用户名,而不是DOMAIN +用户名,因为我在一个需要只有用户名的Apache的NTLM模块。
我有WinBind separator = +进入smb.conf,所以我不明白为什么我必须检索我的用户与域和+符号。
你应该已经发布了/etc/samba/smb.conf的configuration
无论如何,在这个文件中,请在block [global]下添加这一行:
[global] winbind use default domain = true
然后重新启动winbindd服务