[Samba] Re: [homes] share problems

Christoph Scheeder christoph.scheeder at scheeder.de
Tue Mar 1 08:08:52 GMT 2005

james schrieb:
> Robert <rob.smb <at> connectfree.co.uk> writes:
>>I am experiencing the following problems with the [homes] shares.
>>Using Samba 3.0.9 and winbind on SLES9 with NT PDC.
>>Running wbinfo -a authenticates users ok but I cannot connect using 
>>If I comment out 'valid users = %S' from [homes] in smb.conf then it is 
>>possible to connect using valid user/password combinations but otherwise 
>>I get
>>tree connect failed: NT_STATUS_ACCESS_DENIED
>>Could anyone please throw some light on this while I still have some 
>>hair left.
> Help also wanted with the same issue:-
> I am using the the same version of Samba, same version of SLES and experiencing
> an identical problem with the "valid users=%S" setting on the homes  share  - "
> tree connect failed: NT_STATUS_ACCESS_DENIED". 
> One key difference between my environment and Rob's is my environment is relying
> on a Windows AD server for authentication and I am running smbclient -k. 
> smbclient work okay with the %S commented out but fails when uncommented
> Any help would be appreciated
> Thanks
> James
Hi all,
some month ago i had the same problem and was told to replace %S by %U.
That solved the problem for me.
BUT i have a standalone samba-pdc, so it may help you or not,
but it's worth a try, isn't it?

More information about the samba mailing list