- 论坛徽章:
- 0
|
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的信息提示,这是否正常,附件 |
|