For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2006 > #39318 [Fbk->Opn]: Sambar Server must use non LocalSystem account to access non lo









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #39318 [Fbk->Opn]: Sambar Server must use non LocalSystem account to access non lo
RQuadling at GMail dot com

2006-10-31, 7:57 am

ID: 39318
User updated by: RQuadling at GMail dot com
Reported By: RQuadling at GMail dot com
-Status: Feedback
+Status: Open
Bug Type: Documentation problem
Operating System: Windows XP SP2
PHP Version: Irrelevant
New Comment:

Because, the default account used by installing Sambar Server as a
service has no impact upon the normal use or operation of Sambar
Server.

When you add PHP to Sambar, the default account is fine for all locally
stored files. You are not getting anything other than local files.

But accessing the remote files is being performed by PHP and NOT Sambar
Server. Sambar in effect "launches" PHP and therefore this is a PHP
issue affecting the Sambar Server Service.


Previous Comments:
------------------------------------------------------------------------

[2006-10-31 11:27:48] bjori@php.net

And why do you think this is a PHP documentation issue?

------------------------------------------------------------------------

[2006-10-31 11:00:43] RQuadling at GMail dot com

Description:
------------
What started as a quick upgrade to a script which works via CLI mode to
be also accessible via a web interface has taken me WAY too long (about
2 days).

So, I'm officially dim today.

Anyway.

If you are using Sambar Server as a service (C:\Program Files\Sambar
Server\bin\ntserver -i) AND you want your scripts to access files which
are NOT held locally (using a \\SERVER\SHARE\DIRECTORY\FILE mechanism),
then you need to use a NON LocalSystem account. You can configure the
account to a particular named user via the Services applet in the
Control Panel. You will need to supply a password for the account.

If you do not do this, you will not be able to use PHP commands like
fopen, file_exists, etc to access remote files.







------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=39318&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com