pigeorgetaylor
Posts: 21
Joined: Sun Oct 07, 2012 5:59 pm

Logon for samba share

Thu Oct 18, 2012 3:52 pm

Hey Guys!

I have set up a samba share so that when I go to \\raspberrypi\media\wd passport\ I get all the files on my external drive.

Now I would like to put an index page on it but so that if I log in as user: admin pass:***** I would get all my files appear, but i there was no logon or user:guest pass:"nothing" I would only get 1 certain folder appear.

I have knowledge with HTML and little in php/MySql. How would I do this as surely I cant have a PHPmyAdmin and MySql linked to the samba share?

Any help appreciated,
George

User avatar
RaTTuS
Posts: 10531
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Logon for samba share

Thu Oct 18, 2012 3:55 pm

you can setup shares in the smb.conf file and have it assigned to different user groups
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

pigeorgetaylor
Posts: 21
Joined: Sun Oct 07, 2012 5:59 pm

Re: Logon for samba share

Thu Oct 18, 2012 4:28 pm

Thanks!

Is there anyway to have a logon page with this?

Return to “Networking and servers”