[KLUG Members] ADS and sharing out home directory

agencies_ad1 at sancharnet.in agencies_ad1 at sancharnet.in
Mon Feb 20 06:33:58 EST 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,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


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


----------------------------------------------------------------
This message was sent using NWebmail, BSNL's Webmail Program



More information about the Members mailing list