[Samba] About error: 'Windows cannot access, you do not have permission to access'

Rowland Penny rpenny at samba.org
Tue Dec 27 13:59:28 UTC 2016


On Tue, 27 Dec 2016 13:34:24 +0000
Chenyehua via samba <samba at lists.samba.org> wrote:

> HI
> I have a linux samba server and lists users at this server. and
> access the folder from the windows7 client. Now i configure a LDAP
> sever and let samba to use it . But I don’t want clients keeping the
> connection because I have changed the authentication,clinets need to
> re-login. So I restart smbd. and it works. Then,let clients reconnect
> to samba, but it report errors: Windows cannot access
> \\xxxxxx<file:///\\xxxxxx> You do not have permission to access
> \\xxxxx<file:///\\xxxxx>.... From server’ log,  the client login with
> old user and password which saved by last time success login. But why
> the client can’t tell the wrong user or password,and it need to be
> re-login. From google,I know restart service->workstation it can be
> useful to re-login.but it’s not kind to user or client. Is there any
> helpful parameter in smb.comf to avoid the errors and client can
> reconnect without any operations such as restart workstation. Or
> someone can tell me why client report this error.
> 
> Hope someone help, Thanks!

I am sorry, but I think from the little amount of info you have given,
it is virtually impossible to decide what is wrong. You will have to
give us a lot more info, lets start with the smb.conf

Rowland



More information about the samba mailing list