[Samba] windows service access denied
e.lehmann88 at gmail.com
Thu Feb 17 06:07:36 UTC 2022
Maybe there is some limitation for the service to connect to a shared
Can you map a drive to samba from your windows machine and does
your service have access to the drive? You already wrote that you use the
UNC path, what should be the correct way, but maybe a way.
Is your service running as a local system account or "another user" ?
Should not be the local user.
Am Do., 17. Feb. 2022 um 01:52 Uhr schrieb David Bear via samba <
samba at lists.samba.org>:
> And you have checked that the service is running as the local cinegy
> On Mon, Feb 14, 2022, 11:16 AM Lukasz Brodowski via samba <
> samba at lists.samba.org> wrote:
> > Well, i don’t know where i mention about AD, but there is no ad.
> > I have 2 servers - first Windows Server 2019 standard with one user
> > „cinegy” and second server with linux/samba with one user „cinegy”. When
> > connect from windows to samba - it works without any logins. Samba get
> > „cinegy” account from windows client and allow access. But when Windows
> > Service, with „cinegy” logon want to login to samba - it shows access
> > denied. That’s my problem.
> > —
> > Łukasz Brodowski | teamUp
> > tel: +48.600.156.666 | mail: lukasz at teamup.pl | www.teamup.pl
> > > Wiadomość napisana przez Patrick Goetz via samba <
> samba at lists.samba.org>
> > w dniu 12.02.2022, o godz. 13:51:
> > >
> > >
> > >
> > > On 2/12/22 01:46, Michael Tokarev wrote:
> > >> 12.02.2022 01:24, Patrick Goetz via samba wrote:
> > >>> You have local accounts which match Samba AD accounts? That seems
> > like a terrible idea; but in particular surely the user SID's don't match
> > and maybe this is the problem?
> > >> Um. *why* this is a bad idea, Patrick?
> > >
> > > This is different from the case of local accounts on a linux host. I
> > laboring under the assumption that Lukasz is talking about Windows
> > I'm not a Windows guy, but I think RIDs are assigned automatically by
> > Windows when you create an account? If that's true, then having a local
> > Windows user with the same username as a user on AD will result in having
> > the same username with 2 different RID's. Someone correct me if I'm
> > here.
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions: https://lists.samba.org/mailman/options/samba
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba