[homes]
comment = Home Directories
path = /home/sambauser/indomain
browseable = no
writable = yes
valid users = %U
配置好了之后修改/etc/nsswitch.conf文件
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.