[Samba] ADS and sharing home directory

Dracula countofdracula at gmail.com
Mon Feb 20 11:32:28 GMT 2006


Hello

I am configuring Samba as a member server of ADS.My question is when i
use %S directive in [homes] section i received access denied error.if i
remove %S everything works fine. I want to know what i am doing
wrong.Below is my smb.conf file.

Thanks 

Regards,

Komal

[global]
   workgroup = WIN2K3
   realm = WIN2K3.JOY.COM
netbios name = SAMBA
   security = ads
   winbind separator =+
winbind enum users=yes
winbind enum groups=yes
   winbind use default domain = yes
   idmap uid = 10000-20000
   idmap gid = 10000-20000
#username map =/etc/samba/smbusers
log file=/var/log/log
#   template homedir = /home/%D/%U

encrypt passwords=yes
#log level=10

#disable spoolss=yes
   template shell = /bin/bash
   password server = 10.65.6.150
#printing =cups
#use client driver=yes

[test]
path=/tmp
guest ok=yes
read only=no

[homes]
comment=home direcoty of %S

path=/home/%D/%U

browseable=no

valid users=%S

read only=no




More information about the samba mailing list