Well, i'm in for a huge problem...
First to say ... if i can't get this stuff fixed in 3 weeks, i can kiss my graduation doobye... So please help me !
Well ... It is as follows:
I have to create a PHP webinterface to do the administration of a Samba network (Linux and Windows hosts / servers).
I have a .php page where i have a select - tag ... In this select list, i have to list all users from the smbpasswd file.
The complete site is on a server to which i connect through a terminal with ssh root@IP_ADDRESS
If i go to the page, i get the following error:
Warning: file("/etc/samba/smbpasswd") - Permission denied in /var/www/system/mainapi.php on line 26
So i can't even access the file...
I really need this ... i have 6 weeks of work at a company with a companion to produce this webinterface...if i don't succeed (and i'm completely stuck now) i won't graduate...i am searching for info for over 2 days now and can't find anything that can help me.
pls help, ty