免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4636 | 回复: 0
打印 上一主题 下一主题

[samba] 加入ad后每个用户如何自动创建home目录? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-31 11:10 |显示全部楼层 |倒序浏览
samba3入域后如何自动创建home目录?
系统是freebsd,已经安装了pam_mkhomedir插件,但好像不会自动建立文件夹啊?
我的配置文件:
[global]
    workgroup = abc
    netbios name = MY-SAMBA-SERVER
    wins server = ad.abc.com

    os level = 33

    security = domain
    encrypt passwords = yes
    password server = *

    allow trusted domains = No
    idmap config EXAMPLE:backend = rid
    idmap config EXAMPLE:range = 500-100000000
    idmap uid = 500-100000000
    idmap gid = 500-100000000
    template shell = /bin/sh
    winbind use default domain = Yes
    winbind enum users = No
    winbind enum groups = No
    winbind nested groups = Yes

[homes]
    comment = Home Directories
    browseable = no
    writeable = yes

[pub]
    comment = Public Stuff
    path = /var/ftp/pub
    valid users = @zixun
    write list = @zixun, @ftpuser

    vfs object = recycle
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:touch = yes
    recycle:versions = yes
    recycle:exclude = *.tmp, *.TMP

[backup]
    comment = Backup
    path = /backup
    valid users = @zixun
    write list = @zixun

whinfo -u 能够看到用户了,用zixun组的用户能进pub和backup目录,但home目录无法进入
还有我的ttyv0终端经常有nmbd和winbind的信息提示,这是否正常,附件
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP