Re: [Samba] How to access shares via HTTP (apache2)
On 19:59, Steve Rippl wrote: Daniel Müller wrote: Why do you need to access your shares via HTTP???!! THe only thing this might be usefull is from outside your lan over internet?! If you plan this, there ist the linux opensource solution OPENVPN!! With this mighty software you work with your shares and outlook from outside as if you were in your bureau. Take a look at it and give it a try! Daniel With all due respect (really!), why do you ask a question like that? Different people have different requirements. In my case I have 2000 secondary school students that I give access to their home folders from home so that they don't have to do everything via usb sticks. Should I manage 2000 certificates for this and complicate things for the students, or should I use a simple web based solution that can run from any browser on any machine? OpenVPN is great, I use it for my access to the network from outside, but it isn't the answer to everything! What about some sort of php groupware pretty sure you could find a file browser plugin for one them http://www.phpgroupware.org/ Web content and document management and sharing Maybe some thing like that would be a solution Terry -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to access shares via HTTP (apache2)
Hello, as from windows vista on web dav support from microsoft ist no more than before. But if you do not miss the drag and drop thing and so on with your users. Try this (Linux): http://sourceforge.net/projects/davenport or: http://www.simple-groupware.de/cms/WebDAV or their special package (supports dfs!!!): http://www.simple-groupware.de/cms/WebDisk/IntegraTUMWebDisk But in all cases your firewall need to be configured Greetings Daniel -Ursprüngliche Nachricht- Von: Robert LeBlanc An: Daniel Müller Cc: samba@lists.samba.org Gesendet: Freitag, 1. Januar 2010 17:02 Betreff: Re: [Samba] How to access shares via HTTP (apache2) On Fri, Jan 1, 2010 at 8:10 AM, Daniel Müller wrote: Why do you need to access your shares via HTTP???!! THe only thing this might be usefull is from outside your lan over internet?! If you plan this, there ist the linux opensource solution OPENVPN!! With this mighty software you work with your shares and outlook from outside as if you were in your bureau. Take a look at it and give it a try! Daniel In our case, we already have a VPN solution (Cisco, definatly not our choice) in place. We wanted a solution that is cross-platform and didn't require anything to be intalled on the OS and would never be blocked by any firewall. WebDav fit the bill alhough it sucks prety bad on Windows, it is still there. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to access shares via HTTP (apache2)
Daniel Müller wrote: Why do you need to access your shares via HTTP???!! THe only thing this might be usefull is from outside your lan over internet?! If you plan this, there ist the linux opensource solution OPENVPN!! With this mighty software you work with your shares and outlook from outside as if you were in your bureau. Take a look at it and give it a try! Daniel With all due respect (really!), why do you ask a question like that? Different people have different requirements. In my case I have 2000 secondary school students that I give access to their home folders from home so that they don't have to do everything via usb sticks. Should I manage 2000 certificates for this and complicate things for the students, or should I use a simple web based solution that can run from any browser on any machine? OpenVPN is great, I use it for my access to the network from outside, but it isn't the answer to everything! -- Steve Rippl Technology Director Woodland Public Schools 360 225 9451 x326 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to access shares via HTTP (apache2)
On Fri, Jan 1, 2010 at 8:10 AM, Daniel Müller wrote: > Why do you need to access your shares via HTTP???!! > THe only thing this might be usefull is from outside your lan over > internet?! > If you plan this, there ist the linux opensource solution OPENVPN!! With > this mighty software > you work with your shares and outlook from outside as if you were in your > bureau. > Take a look at it and give it a try! > Daniel > In our case, we already have a VPN solution (Cisco, definatly not our choice) in place. We wanted a solution that is cross-platform and didn't require anything to be intalled on the OS and would never be blocked by any firewall. WebDav fit the bill alhough it sucks prety bad on Windows, it is still there. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to access shares via HTTP (apache2)
Why do you need to access your shares via HTTP???!! THe only thing this might be usefull is from outside your lan over internet?! If you plan this, there ist the linux opensource solution OPENVPN!! With this mighty software you work with your shares and outlook from outside as if you were in your bureau. Take a look at it and give it a try! Daniel -Ursprüngliche Nachricht- Von: "Robert LeBlanc" An: "Martin Balint" Cc: Gesendet: Donnerstag, 31. Dezember 2009 18:25 Betreff: Re: [Samba] How to access shares via HTTP (apache2) On Thu, Dec 31, 2009 at 7:35 AM, Martin Balint wrote: Hello, I configured samba fileserver as a member of samba domain. PDC and fileserver are different machines. It works great using windows sharing. Now, I need to set up apache to serve my shares, but I am having problem with permissions. Apache runs as www-user, and doesn't see content in shares. So I would like to ask, what is the proper way to use apache (or another http server) to serve files on file server. Using Ubuntu 9.10 and Samba 3.4.0-3ubuntu5.1. Thanks for help, Martin Right now, my configuration is: smb.conf [global] workgroup = DOMAIN.EU netbios name = share2 server string = %h server (Samba, Ubuntu) log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d winbind separator = + idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes security = domain password server = * [software] comment = Shared software path = /srv/fileserver/software force group = "DOMAIN.EU+domain users" create mask = 0660 directory mask = 0770 writable = yes /etc/nsswitch.conf: passwd: compat winbind group: compat winbind # ls -la /srv/fileserver/software/ total 20 drwxrwxrwx 5 root root 4096 2009-12-31 12:12 . drwxr-xr-x 3 root root 4096 2009-12-31 00:08 .. drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 00:24 test2 drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 12:11 test3 drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 12:12 test4 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I guess you are trying to do this with wedav. I've looked and have not found a good Linux solution. To use Apache, you would have to write a listener that forks an Apache process as the user. That is expensive and there is no pre-built solution out there. We finally gave up and used Windows 2008 with IIS 7 which can do this natively. We set-up a web site who's root is our samba share (we only have one share and specify all permissions through ACLs). This preserves permissions and owners so that quotas are not thrown off. We initially did some nasty group member things to get it to work with Apache, but the management overhead was a nightmare and went with the Windows solution even though we wanted to go Linux. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- 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
Re: [Samba] How to access shares via HTTP (apache2)
Martin Balint wrote: Hello, I configured samba fileserver as a member of samba domain. PDC and fileserver are different machines. It works great using windows sharing. Now, I need to set up apache to serve my shares, but I am having problem with permissions. Apache runs as www-user, and doesn't see content in shares. So I would like to ask, what is the proper way to use apache (or another http server) to serve files on file server. Using Ubuntu 9.10 and Samba 3.4.0-3ubuntu5.1. See thread just a few days back... smbwebclient is a simple PHP script that will run under apache to give web based access to file shares (via smbclient, permissions work flawlessly), Davenport is a Java based WebDAV server if you want the full WebDav thing (I could never get that to work but apparently others have)! -- Steve Rippl Technology Director Woodland Public Schools 360 225 9451 x326 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] How to access shares via HTTP (apache2)
On Thu, Dec 31, 2009 at 7:35 AM, Martin Balint wrote: > Hello, > I configured samba fileserver as a member of samba domain. PDC and > fileserver are different machines. > It works great using windows sharing. > Now, I need to set up apache to serve my shares, but I am having > problem with permissions. Apache runs as www-user, and doesn't see > content in shares. > So I would like to ask, what is the proper way to use apache (or > another http server) to serve files on file server. > Using Ubuntu 9.10 and Samba 3.4.0-3ubuntu5.1. > > Thanks for help, > Martin > > Right now, my configuration is: > smb.conf > [global] >workgroup = DOMAIN.EU >netbios name = share2 >server string = %h server (Samba, Ubuntu) >log file = /var/log/samba/log.%m >max log size = 1000 >syslog = 0 >panic action = /usr/share/samba/panic-action %d > > winbind separator = + > idmap uid = 1-2 > idmap gid = 1-2 > winbind enum users = yes > winbind enum groups = yes > >security = domain >password server = * > > [software] > comment = Shared software > path = /srv/fileserver/software > force group = "DOMAIN.EU+domain users" > create mask = 0660 > directory mask = 0770 > writable = yes > > /etc/nsswitch.conf: > passwd: compat winbind > group: compat winbind > > # ls -la /srv/fileserver/software/ > total 20 > drwxrwxrwx 5 root root 4096 2009-12-31 12:12 > . > drwxr-xr-x 3 root root 4096 2009-12-31 00:08 > .. > drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 00:24 > test2 > drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 12:11 > test3 > drwxrwx--- 2 DOMAIN.EU+martin DOMAIN.EU+domain users 4096 2009-12-31 12:12 > test4 > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > I guess you are trying to do this with wedav. I've looked and have not found a good Linux solution. To use Apache, you would have to write a listener that forks an Apache process as the user. That is expensive and there is no pre-built solution out there. We finally gave up and used Windows 2008 with IIS 7 which can do this natively. We set-up a web site who's root is our samba share (we only have one share and specify all permissions through ACLs). This preserves permissions and owners so that quotas are not thrown off. We initially did some nasty group member things to get it to work with Apache, but the management overhead was a nightmare and went with the Windows solution even though we wanted to go Linux. Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba