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
Hi Dracula :) On Mon, Feb 20, 2006 at 05:02:28PM +0530, Dracula wrote:> [homes] > comment=home direcoty of %S > > path=/home/%D/%U > > browseable=no > > valid users=%SYou have to put valid users = %D+%S in there. Newer Samba Versions will support %D%w%S as well, where %w substitutes the winbind separator for you. Guenther -- G?nther Deschner GPG-ID: 8EE11688 Novell / SUSE LINUX gd@suse.de Samba Team gd@samba.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060220/68ea1309/attachment.bin
On Mon, 2006-02-20 at 13:08 +0100, Guenther Deschner wrote:> Hi Dracula :) > > On Mon, Feb 20, 2006 at 05:02:28PM +0530, Dracula wrote: > > [homes] > > comment=home direcoty of %S > > > > path=/home/%D/%U > > > > browseable=no > > > > valid users=%S > > You have to put > > valid users = %D+%S > > in there. Newer Samba Versions will support %D%w%S as well, where %w > substitutes the winbind separator for you. > > Guenther >Hello It solved my problem.when i put %S in comment i.e comment=Home directory of %D+%S or %S i am getting only home directory of IPC_ . How to change it to Home directory of win2k3+user? Thanks Regards, Komal