首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Samba/winbind到AD - userid映射

Samba/winbind到AD - userid映射
EN

Server Fault用户
提问于 2013-06-07 14:47:41
回答 1查看 1.7K关注 0票数 0

伙计们,我对我的广告中的UID地图有异议。

我有CentOS5.5 x64盒和ADwitk2k8WindowsServer。

问题在于用户名映射。示例:

getent passwd XF-DEV+prouser01:*:16777231:16777230:Prouserf Prousern:/home/prouser01:/bin/bash

我的smb.conf是

代码语言:javascript
复制
    log file = /var/log/samba/log.%m
    log level = 1
    workgroup = XF-DEV
    password server = xf-dev
    realm = XF-DEV
    security = DOMAIN
    wins server  = 10.105.59.98
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    winbind enum users = yes
    winbind enum groups = yes
    winbind separator = +
    template shell = /bin/bash
    winbind use default domain = no
    winbind enum users = yes
    winbind enum groups = yes
    template homedir = /home/%U
    domain master = no
    local master = yes
    preferred master = no
    dns proxy = no

我有可能做su - prouser01而不是su - XF-DEV+prouser01吗?

来自wbinfo -uwbinfo -g的输出是相同的(我指的是front`中的域。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2013-06-10 09:59:55

修复方法是将winbind use default domain = no更改为winbind use default domain = yes

prouser01:*:16777231:16777230:Prouserf Prousern:/home/prouser01:/bin/bash

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/514138

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档