[Samba] Re: Windows C# unable to access Samba directories.

Robert robiman at yahoo.com
Wed Feb 27 16:12:55 GMT 2008


>One 
other 
thing 
. 
. 
. 
typically 
a 
Windows 
"service" 
typically 
does 
not 
run
>under 
the 
user 
account 
logged 
into 
the 
local 
machine.  
More 
commonly, 
a
>service 
is 
run 
with 
either 
an 
account 
created 
for 
the 
service, 
the
>"system" 
account 
or 
the 
local 
administrator 
account.  
In 
that 
case, 
the
>samba 
server 
(or 
a 
Windows 
server 
for 
that 
matter) 
would 
deny 
access.


Just to add - in the "Properties" window of the service, on the "Log On" tab you can
set the real username and password for this service to run. In your case you need
an user with premissions to access that Samba share.

(if you click the questionmark and get the help for "This account" option, it actually
says this: "Assigns a logon account to a service. Although most services log
on to the system account, some services can be configured to log on to special user
accounts, so that the user can have access to resources such as files and folders
that are protected.")


Robert




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the samba mailing list