openupload-devel Mailing List for Open Upload (Page 12)
Status: Beta
Brought to you by:
tsdogs
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(11) |
Dec
(11) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
(11) |
Feb
(9) |
Mar
(1) |
Apr
(32) |
May
(31) |
Jun
(6) |
Jul
(9) |
Aug
(108) |
Sep
(27) |
Oct
|
Nov
(9) |
Dec
(9) |
| 2010 |
Jan
(16) |
Feb
(38) |
Mar
(24) |
Apr
(2) |
May
(15) |
Jun
(2) |
Jul
(3) |
Aug
(4) |
Sep
(12) |
Oct
(21) |
Nov
(4) |
Dec
(17) |
| 2011 |
Jan
(7) |
Feb
(6) |
Mar
(26) |
Apr
(35) |
May
(6) |
Jun
(7) |
Jul
(1) |
Aug
(12) |
Sep
(5) |
Oct
(17) |
Nov
(6) |
Dec
(7) |
| 2012 |
Jan
(28) |
Feb
(17) |
Mar
(18) |
Apr
(2) |
May
(6) |
Jun
(15) |
Jul
(3) |
Aug
(3) |
Sep
(13) |
Oct
|
Nov
(6) |
Dec
(6) |
| 2013 |
Jan
(13) |
Feb
(2) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2014 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Daniel B. <da...@fi...> - 2011-01-04 12:11:57
|
Hi. Attached is a patch I use to let the web server authenticate my users on OpenUpload. I've included a new auth module (httpldap) which uses an LDAP server to retrieve user / group info after that (the new class extends ldap.inc.php, and just implement the authenticate function) Just for information, I use LemonLDAP::NG to protect OpenUpload. LemonLDAP::NG is a WebSSO system, so now, my users can log into OpenUpload without typing their credentials again. Maybe someone else is interested, so I post it here. Regards, Daniel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: da...@fi... Web : http://www.firewall-services.com |
|
From: Daniel B. <da...@fi...> - 2010-12-31 10:02:32
|
Hi.
I'm actually using OpenUpload on some servers. It works great. I'm using
LDAP auth, or imap auth (I've sent a patch for imap auth some time ago).
I'd now like to integrate OpenUpload with my WebSSO solution: LemonLDAP.
For this to be working, OpenUpload should read $_SERVER{HTTP_AUTH_USER},
and use this as login. In fact, it should work a bit like basic HTTP
auth.
LemonLDAP can also send arbitrary user info via HTTP headers (full name,
mail address, list of groups etc...)
I'd like to provide a patch against OpenUpload to support auth with
LemonLDAP, but I'm not a very good PHP programmer, if someone can give
me a pointer.....
I know I first need to create a new lemonldapAuth class, the problem is
that the login part will still ask trhe user for a login and a password.
Best wishes for this new year :)
--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: da...@fi...
Web : http://www.firewall-services.com
|
|
From: <ope...@gm...> - 2010-12-25 12:16:30
|
mmmmm very very very strange!!!! i have modified trought the remote shell the php.ini manually and restarted manually apache and the php.ini was restored to the default version!!!! Il giorno 23/dic/2010, alle ore 12.57, Alessandro Briosi ha scritto: > Il 23/12/2010 11:46, ope...@gm... ha scritto: >> Hi to all!! >> >> I have configurated openupload on a TS 219p+ QNAP nas , and when i big files it return an error where is not possible to write the temp directory, >> i have tried some path configurations and more permissions folders settings...but the result is the same, can't write temporary directory. >> >> For second step, if i upload small files, it works perfectly....at this point if think is the php.ini configuration...that for me seems good! >> I use a similar configuration on my online vps and it works perfectly.. >> >> Thanks-you to all in advance for support!!! >> > > Hi, > php.ini seems to be ok, (maybe try reducing the 2047M limit for post and > upload, just to be sure) > > check also the .htaccess file > > And check that you don't have a limit in apache or quota or whatever. > Selinux? > > What's in the apache logs? > > Alessandro > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: <ope...@gm...> - 2010-12-25 12:02:58
|
Hi Alessandro. Thanks-you for support. I have lowered the post size and file upload value to 1000M and have worked for the first test, now i have a strange problem, after setting up the new value to 1000M and saved it throught the web pannell, it restore this values to his default of 2024!!! I'm going to investigate!!!! Il giorno 23/dic/2010, alle ore 12.57, Alessandro Briosi ha scritto: > Il 23/12/2010 11:46, ope...@gm... ha scritto: >> Hi to all!! >> >> I have configurated openupload on a TS 219p+ QNAP nas , and when i big files it return an error where is not possible to write the temp directory, >> i have tried some path configurations and more permissions folders settings...but the result is the same, can't write temporary directory. >> >> For second step, if i upload small files, it works perfectly....at this point if think is the php.ini configuration...that for me seems good! >> I use a similar configuration on my online vps and it works perfectly.. >> >> Thanks-you to all in advance for support!!! >> > > Hi, > php.ini seems to be ok, (maybe try reducing the 2047M limit for post and > upload, just to be sure) > > check also the .htaccess file > > And check that you don't have a limit in apache or quota or whatever. > Selinux? > > What's in the apache logs? > > Alessandro > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Alessandro B. <ts...@br...> - 2010-12-23 11:57:34
|
Il 23/12/2010 11:46, ope...@gm... ha scritto: > Hi to all!! > > I have configurated openupload on a TS 219p+ QNAP nas , and when i big files it return an error where is not possible to write the temp directory, > i have tried some path configurations and more permissions folders settings...but the result is the same, can't write temporary directory. > > For second step, if i upload small files, it works perfectly....at this point if think is the php.ini configuration...that for me seems good! > I use a similar configuration on my online vps and it works perfectly.. > > Thanks-you to all in advance for support!!! > Hi, php.ini seems to be ok, (maybe try reducing the 2047M limit for post and upload, just to be sure) check also the .htaccess file And check that you don't have a limit in apache or quota or whatever. Selinux? What's in the apache logs? Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-12-23 11:53:57
|
Il 23/12/2010 11:25, Owen Corcoran ha scritto: > Hi Guys, > > We have open upload in place but every time we upload a file we just get > a blank page. > > In the error log we see . > > [Thu Dec 23 09:54:41 2010] [error] [client 87.198.250.69] PHP Fatal > error: C to undefined method FilesModule::error() in > /usr/share/openupload/lib/moduleefault/files.inc.php on line 164, > referer: openuploaddex.php > > > Any idea how i can fix this ? That's a bug, it should raise some error, but the code is wrong. Change $this->error( with app()->error( in /usr/share/openupload/lib/modules/default/files.inc.php on line 164 Anyway you have an error on the upload, maybe some permission problems of the upload directory. Alessandro |
|
From: <ope...@gm...> - 2010-12-23 10:46:36
|
Hi to all!! I have configurated openupload on a TS 219p+ QNAP nas , and when i big files it return an error where is not possible to write the temp directory, i have tried some path configurations and more permissions folders settings...but the result is the same, can't write temporary directory. For second step, if i upload small files, it works perfectly....at this point if think is the php.ini configuration...that for me seems good! I use a similar configuration on my online vps and it works perfectly.. Thanks-you to all in advance for support!!! This is my configuration.phi, embed in to qnap ts 21p+ nas.!: [PHP] engine = On short_open_tag = On asp_tags = Off precision = 12 y2k_compliance = On output_buffering = Off zlib.output_compression = Off implicit_flush = Off unserialize_callback_func= serialize_precision = 100 allow_call_time_pass_reference = On safe_mode = Off safe_mode_gid = Off safe_mode_include_dir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH disable_functions = disable_classes = expose_php = On max_execution_time = 7200 ; Maximum execution time of each script, in seconds max_input_time = 7200 ; Maximum amount of time each script may spend parsing request data memory_limit = 650M error_reporting = E_ALL & ~E_NOTICE display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off variables_order = "EGPCS" register_globals = Off register_argc_argv = On post_max_size = 2047M gpc_order = "GPC" magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off auto_prepend_file = Off auto_append_file = Off default_mimetype = "text/html" doc_root = user_dir = include_path = ".:/etc/config/php" extension_dir = /usr/local/apache/modules enable_dl = On file_uploads = On upload_max_filesize = 2047M allow_url_fopen = On default_socket_timeout = 7200 upload_tmp_dir = /share/Qweb extension = ffmpeg.so [Syslog] define_syslog_variables = Off [mail function] SMTP = localhost smtp_port = 25 sendmail_path = /usr/sbin/sendmail -t -i [Java] [Date] date.timezone = "Asia/Taipei" [SQL] sql.safe_mode = Off [ODBC] odbc.allow_persistent = On odbc.check_persistent = On odbc.max_persistent = -1 odbc.max_links = -1 odbc.defaultlrl = 4096 odbc.defaultbinmode = 1 [MySQL] mysql.allow_persistent = On mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = mysql.default_socket = "/tmp/mysql.sock" mysql.default_host = mysql.default_user = mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off [mSQL] msql.allow_persistent = On msql.max_persistent = -1 msql.max_links = -1 [PostgresSQL] pgsql.allow_persistent = On pgsql.auto_reset_persistent = Off pgsql.max_persistent = -1 pgsql.max_links = -1 pgsql.ignore_notice = 0 pgsql.log_notice = 0 [Sybase] sybase.allow_persistent = On sybase.max_persistent = -1 sybase.max_links = -1 sybase.min_error_severity = 10 sybase.min_message_severity = 10 sybase.compatability_mode = Off [Sybase-CT] sybct.allow_persistent = On sybct.max_persistent = -1 sybct.max_links = -1 sybct.min_server_severity = 10 sybct.min_client_severity = 10 [dbx] dbx.colnames_case = "unchanged" [bcmath] bcmath.scale = 0 [browscap] [Informix] ifx.default_host = ifx.default_user = ifx.default_password = ifx.allow_persistent = On ifx.max_persistent = -1 ifx.max_links = -1 ifx.textasvarchar = 0 ifx.byteasvarchar = 0 ifx.charasvarchar = 0 ifx.blobinfile = 0 ifx.nullformat = 0 [Session] session.save_handler = files session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" session.save_path = /share/MD0_DATA/.php_session [MSSQL] mssql.allow_persistent = On mssql.max_persistent = -1 mssql.max_links = -1 mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatability_mode = Off mssql.secure_connection = Off [Assertion] [Ingres II] ingres.allow_persistent = On ingres.max_persistent = -1 ingres.max_links = -1 ingres.default_database = ingres.default_user = ingres.default_password = [Verisign Payflow Pro] pfpro.defaulthost = "test-payflow.verisign.com" pfpro.defaultport = 443 pfpro.defaulttimeout = 30 [com] [Printer] [mbstring] [FrontBase] [exif] [eaccelerator] eaccelerator.shm_size = 32 eaccelerator.cache_dir = /.eaccelerator.tmp eaccelerator.enable = 1 eaccelerator.optimizer = 1 eaccelerator.check_mtime = 1 eaccelerator.debug = 0 eaccelerator.filter = eaccelerator.shm_max = 1M eaccelerator.shm_ttl = 0 eaccelerator.shm_prune_period = 3600 eaccelerator.shm_only = 0 eaccelerator.compress = 1 eaccelerator.compress_level = 9 [Crack] ; End: |
|
From: Owen C. <owe...@ma...> - 2010-12-23 10:29:04
|
Hi Guys, We have open upload in place but every time we upload a file we just get a blank page. In the error log we see . [Thu Dec 23 09:54:41 2010] [error] [client 87.198.250.69] PHP Fatal error: C to undefined method FilesModule::error() in /usr/share/openupload/lib/moduleefault/files.inc.php on line 164, referer: openuploaddex.php Any idea how i can fix this ? Owen -- Owen Corcoran Email: owe...@ma... Web: http://www.mapflow.com/ ************************** Legal Notice ************************** This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising, and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use. Mapflow Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 272682. Mapflow International Limited T/A Mapflow, 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 400646.Armanatta Holding Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 421498. |
|
From: Owen C. <owe...@ma...> - 2010-12-21 10:56:59
|
Thanks for that. Do you know where we change that setting and what it should be to be the 2gb limit. The guy that set it up has left. Owen On 17/12/2010 17:21, Alessandro Briosi wrote: > On Fri, 17 Dec 2010 09:55:42 +0000, Owen Corcoran > <owe...@ma...> wrote: >> Hi Guys, >> >> Ive just installed open upload to solve our data delievery problems. It >> was working fine last week but when users tried to log in today (even >> admin) they cannot. The front end doest display any error messages it >> looks as it it posts the logon information but then reverts back to the >> main page. >> >> When i looked in our apache error logs i found the following line ... >> Any one any ideas.... Oh the only configuration change we made was >> increasing its upload and download limit to 12gb. >> >> Thanks >> Owen >> >> /[Fri Dec 17 09:57:40 2010] [error] [client 87.198.250.69] PHP Warning: >> Unknown: POST Content-Length of 58 bytes exceeds the limit of 0 bytes in >> Unknown on line 0, referer: / >> > Hi, this seems to be a problem with the post_max_size beeing too big. > AFAIR the maximum limit is 2GB. > > Alessandro ************************** Legal Notice ************************** This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising, and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use. Mapflow Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 272682. Mapflow International Limited T/A Mapflow, 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 400646.Armanatta Holding Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 421498. |
|
From: Daniel B. <da...@fi...> - 2010-12-20 18:54:57
|
Le lundi 20 décembre 2010 à 19:10 +0100, ope...@gm... a écrit : > I have SOLVED!! > On the QNAP 219P+ all folder needs 777 permission! It's *always* a very bad idea to put 777 permissions. You should just chgrp the needed directories to the GID of the user running the web server, and run a chmod g+w on them. Regards, Daniel > > > > > > Il giorno 19/dic/2010, alle ore 13.13, ope...@gm... ha > scritto: > > > Hello to all! > > I have installed openupload on a QNAP 219p , when i upload a file, > > when it finish to send, the form not appear and see blank page > > or this error: Errore HTTP 500 (Internal Server Error): An > > unexpected condition was encountered while the server was attempting > > to fulfill the request. > > > > > > has someone already configurated it on a nas of this type? > > > > > > Thanks for the attention. > > Josef. > > ------------------------------------------------------------------------------ > > Lotusphere 2011 > > Register now for Lotusphere 2011 and learn how > > to connect the dots, take your collaborative environment > > to the next level, and enter the era of Social Business. > > http://p.sf.net/sfu/lotusphere-d2d_______________________________________________ > > Openupload-devel mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel -- Daniel Berteaud FIREWALL-SERVICES SARL. Société de Services en Logiciels Libres Technopôle Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 15 32 Mail: da...@fi... Web : http://www.firewall-services.com |
|
From: Alessandro B. <ts...@br...> - 2010-12-20 18:31:17
|
On Mon, 20 Dec 2010 19:10:31 +0100, "ope...@gm..." <ope...@gm...> wrote: > I have SOLVED!! > On the QNAP 219P+ all folder needs 777 permission! > Well, although it might be, are you sure that ALL folders need the 777 permission? 777 might rise a security issue. You should give 777 to the data and the templates_c folders (which should be outside the DocumentRoot) or event 775 Then try with some more restrictive permissions on the other folders (755 should be the best, but that depends on the owner) The apache process should only write to the data and the templates_c folders... Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-12-20 18:14:53
|
On Sun, 19 Dec 2010 13:13:53 +0100, "ope...@gm..." <ope...@gm...> wrote: > Hello to all! > I have installed openupload on a QNAP 219p , when i upload a file, when it > finish to send, the form not appear and see blank page > or this error: Errore HTTP 500 (Internal Server Error): An unexpected > condition was encountered while the server was attempting to fulfill the > request. > > has someone already configurated it on a nas of this type? > I haven't, but imho it's some misconfiguration in the apache / php Are file uploads enabled? what's the maximum allowed (in apache and php)? Maybe it's a problem with temporary paths, or redirects (check the access.log also) my 2c Alessandro |
|
From: <ope...@gm...> - 2010-12-20 18:10:41
|
I have SOLVED!! On the QNAP 219P+ all folder needs 777 permission! Il giorno 19/dic/2010, alle ore 13.13, ope...@gm... ha scritto: > Hello to all! > I have installed openupload on a QNAP 219p , when i upload a file, when it finish to send, the form not appear and see blank page > or this error: Errore HTTP 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. > > has someone already configurated it on a nas of this type? > > Thanks for the attention. > Josef. > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d_______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: <ope...@gm...> - 2010-12-19 12:14:02
|
Hello to all! I have installed openupload on a QNAP 219p , when i upload a file, when it finish to send, the form not appear and see blank page or this error: Errore HTTP 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. has someone already configurated it on a nas of this type? Thanks for the attention. Josef. |
|
From: Alessandro B. <ts...@br...> - 2010-12-17 17:57:05
|
On Thu, 2 Dec 2010 15:20:20 -0500, Jay Lehr <ok_...@ho...> wrote: > I can't seem to get the ldap/AD configuraiton going. I copied/pasted the > AD specific default text from the example config file and pasted it below. > Not sure if there are some other generic labels I need to replace with my > domain's specific info. Where in here do I specify the default group(s)? I > created a "Domain Admins" group in the admin area and gave admin rights to > it... I'm sure I'm probably just missing something > > $CONFIG['ldap']['host'] = '10.0.2.14'; > $CONFIG['ldap']['type'] = 'AD'; > $CONFIG['ldap']['user'] = 'adm...@do...'; > $CONFIG['ldap']['password'] = 'AdministratorPassword'; > $CONFIG['ldap']['domain'] = 'domain.org'; > $CONFIG['ldap']['basedn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['userdn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['userclass'] = 'user'; > $CONFIG['ldap']['uid'] = 'cn'; > $CONFIG['ldap']['userfields'] = 'Array'; > $CONFIG['ldap']['groupdn'] = 'dc=domain,dc=org'; > $CONFIG['ldap']['groupclass'] = 'group'; > $CONFIG['ldap']['gid'] = 'distinguishedname'; > $CONFIG['ldap']['groupfields'] = 'Array'; It seems you used openupload configuration option to setup with active directory. Please don't do that as it will mess up the LDAP configuration, instead edit the configuration file directly Those 'Array' values are wrong and probably the source of your problems. Please also check this ticket [1] which should give you an idea on what the values should be. Greetz, Alessandro [1] http://sourceforge.net/tracker/?func=detail&aid=3042088&group_id=242018&atid=1117805 |
|
From: Alessandro B. <ts...@br...> - 2010-12-17 17:21:22
|
On Fri, 17 Dec 2010 09:55:42 +0000, Owen Corcoran <owe...@ma...> wrote: > Hi Guys, > > Ive just installed open upload to solve our data delievery problems. It > was working fine last week but when users tried to log in today (even > admin) they cannot. The front end doest display any error messages it > looks as it it posts the logon information but then reverts back to the > main page. > > When i looked in our apache error logs i found the following line ... > Any one any ideas.... Oh the only configuration change we made was > increasing its upload and download limit to 12gb. > > Thanks > Owen > > /[Fri Dec 17 09:57:40 2010] [error] [client 87.198.250.69] PHP Warning: > Unknown: POST Content-Length of 58 bytes exceeds the limit of 0 bytes in > Unknown on line 0, referer: / > Hi, this seems to be a problem with the post_max_size beeing too big. AFAIR the maximum limit is 2GB. Alessandro |
|
From: Owen C. <owe...@ma...> - 2010-12-17 11:13:38
|
Hi Guys, Ive just installed open upload to solve our data delievery problems. It was working fine last week but when users tried to log in today (even admin) they cannot. The front end doest display any error messages it looks as it it posts the logon information but then reverts back to the main page. When i looked in our apache error logs i found the following line ... Any one any ideas.... Oh the only configuration change we made was increasing its upload and download limit to 12gb. Thanks Owen /[Fri Dec 17 09:57:40 2010] [error] [client 87.198.250.69] PHP Warning: Unknown: POST Content-Length of 58 bytes exceeds the limit of 0 bytes in Unknown on line 0, referer: / ************************** Legal Notice ************************** This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising, and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use. Mapflow Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 272682. Mapflow International Limited T/A Mapflow, 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 400646.Armanatta Holding Limited 6th Floor, OConnell Bridge House, D'Olier St,Dublin 2, Ireland. Registered in Ireland. Registration No. 421498. |
|
From: Jay L. <ok_...@ho...> - 2010-12-02 20:20:27
|
I can't seem to get the ldap/AD configuraiton going. I copied/pasted the AD specific default text from the example config file and pasted it below. Not sure if there are some other generic labels I need to replace with my domain's specific info. Where in here do I specify the default group(s)? I created a "Domain Admins" group in the admin area and gave admin rights to it... I'm sure I'm probably just missing something $CONFIG['ldap']['host'] = '10.0.2.14'; $CONFIG['ldap']['type'] = 'AD'; $CONFIG['ldap']['user'] = 'adm...@do...'; $CONFIG['ldap']['password'] = 'AdministratorPassword'; $CONFIG['ldap']['domain'] = 'domain.org'; $CONFIG['ldap']['basedn'] = 'dc=domain,dc=org'; $CONFIG['ldap']['userdn'] = 'dc=domain,dc=org'; $CONFIG['ldap']['userclass'] = 'user'; $CONFIG['ldap']['uid'] = 'cn'; $CONFIG['ldap']['userfields'] = 'Array'; $CONFIG['ldap']['groupdn'] = 'dc=domain,dc=org'; $CONFIG['ldap']['groupclass'] = 'group'; $CONFIG['ldap']['gid'] = 'distinguishedname'; $CONFIG['ldap']['groupfields'] = 'Array'; |
|
From: Alessandro B. <ts...@br...> - 2010-11-20 11:25:20
|
Hi all, I have just released v0.4.2 of OpenUpload. It should fix a security flaw which allows to inject XSS scripting in the fields (especially the logs), which was discovered by BatMat ( thanks for reporting). I plan to use a better approach in v0.5 but for now it should work. If any of you finds out more of such bugs please report. Alessandro ---------------- Here are the notes on how to upgrade (as found in the release UGRADE file): IMPORTANT Before any upgrade be sure to have a backup of the database and the configuration. FROM v0.4.1 TO v0.4.2 1. Replace all files in the following files and directories (www/config.inc.php does not need to be touched): * www * templates * lib * locale * plugins You might need to reapply changes to the templates if you made any. 2. Connect to your openupload installation and login as administrator: http://<yourserver>/<openupload>/ 3. Go to the administration page 4. Follow the "Upgrade to v0.4.2" link 5. IMPORTANT: check your logs for any error |
|
From: Mário R. G. <gin...@gm...> - 2010-11-04 14:17:25
|
Hi,
I prefer using openupload api... like this.
==== BEGIN - CUT HERE ====
<?
// Web app runexpire.php should be restricted to administrator in
Apache/IIS/etc config...
// 'runexpire.php?older=<days>' == <days> #days in database
if (! isset($_GET['older']) ) {
echo "You must inform # days (older var)...\n";
exit;
}
global $application;
$configfile = 'config.inc.php';
$configfile = 'www/'.$configfile;
if (file_exists($configfile)) {
require_once($configfile);
require_once($CONFIG['INSTALL_ROOT'].'/lib/general.inc.php');
$application = new Application($CONFIG);
$criteria[] = array('upload_date','<', date('Y-m-d',time()-($_GET['older']
* 24 * 60 * 60)));
$files = array();
$files = $application->db->readex('files',array($criteria));
if (count($files) <= 0) {
echo "No files selected to be removeed.\n";
$application->log('info','runexpire','','ALLOW','No file removed.');
exit;
}
foreach ($files as $f) {
$logstr = $f['name']. " (id:". $f['id'] . ", user: ".
$f['user_login'] ." included : ". $f['upload_date'] .")";
echo "File removed: " . $logstr . "\n";
filedelete($f['id'],$application);
$application->log('info','runexpire','','ALLOW','File removed:
'.$logstr);
}
} else {
echo "ERRO: Config file not found!.\n";
exit;
}
function filedelete($id,$application) {
$application->db->delete('files',array('id' => $id));
$application->db->delete('file_options',array('file_id' => $id));
unlink($application->config['DATA_PATH'].'/'.$id);
}
?>
==== EOF - CUT HERE ====
2010/10/30 Sebastien Serre <seb...@te...>
> Hello
>
> I add the expires otion at 30 days, but i had to go on maintenance menu to
> delete them.
>
> I wrote a script to delete them by adding it on a cron job:
>
> #!/bin/bash
>
> find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm
>
>
> It's deleting the files but i have to delete too the entrance in the mysql
> db... any one have an idea of line I have to add ro my scripts?
>
> Many thx
>
>
>
> Sébastien Serre
>
> TEX ALLIANCE
> Logistic & IT Department
> Tél.+33.(1).56.77.30.11
> Fax.+33.(1).76.50.82.23
> seb...@te...
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
--
--
Mário Ginglass
|
|
From: Gregoire T. <gr...@cr...> - 2010-11-04 12:21:08
|
Hi,
My script including lots of different things. I just give you a part of it.
It should help you :
----------------------------------------------
*#!/usr/bin/perl*
*
*
*use DBI;*
*use CGI;*
*
*
*# Définition des variables :*
*$database="";*
*$hostname="";*
*$login = "";*
*$mdp = "";*
*$chemin = "/var/www/openupload/";*
*$service = "[OPEN-UPLOAD]";*
*
*
*
*
*# On journalise dans les logs du système :*
*sub journalisation {*
* use Sys::Syslog qw( :DEFAULT setlogsock);*
* setlogsock('unix');*
* openlog($service,'','user');*
* syslog('info', $_[0]);*
* closelog;*
* *
* # On journalise ensuite dans les logs de la base de données :*
* journalisationBD();*
* }*
*
*
*# On journalise dans les logs de la BD :*
*sub journalisationBD {*
* $date2 = strftime ("%Y-%m-%d %H:%M:%S", localtime);*
* $requetelog = "INSERT INTO activitylog (level, log_time, ip,
user_login, module, realaction, plugin, result, moreinfo) VALUES
('notice','$date2','localhost','$proprio','crond','', 'expire','',
'$message')";*
* $preplog = $dbh->prepare($requetelog);*
* $preplog->execute;*
* }*
*
*
*# Gestion des courriels pour se faire avertir :*
*sub courriel {*
* $title='';*
* $to='';*
* $from= '';*
* $url = '';*
* $subject='';*
*
*
* open(MAIL, "|/usr/sbin/sendmail -t");*
*
*
* ## Mail Header*
* print MAIL "To: $to\n";*
* print MAIL "From: $from\n";*
* print MAIL "Subject: $subject\n\n";*
* ## Mail Body*
* print MAIL "";*
* close(MAIL);*
* }*
*
*
*# Début du script :*
*$dsn = "DBI:mysql:database=$database;host=$hostname";*
*$message = "[ERREUR] Echec de connexion à la base de données";*
*$dbh = DBI->connect($dsn, $login, $mdp) or die do journalisation($message);
*
*
*
*use POSIX qw(strftime);*
*my $date = strftime "%Y-%m-%d", localtime;*
*
*
*my @fichiersExpires_id;*
*
*
*$requete = "SELECT file_id FROM file_options WHERE module='expire' AND
value<'$date'";*
*$prep = $dbh->prepare($requete);*
*$message = "[ERREUR] Ne peux pas exécuter la requête de sélection
".$requete.".";*
*$prep->execute or die do journalisation($message);*
*
*
*while(my ($ids) = $prep->fetchrow_array){*
* push (@fichiersExpires_id, $ids);*
* }*
*
*
*my $fichiersExpires_nb=$prep->rows;*
*$prep->finish();*
*
*
*for ($i=0;$i<$fichiersExpires_nb;$i++){*
* $id_fichier = "SELECT id, user_login FROM files WHERE id LIKE
'$fichiersExpires_id[$i]%'";*
* $prep2 = $dbh->prepare($id_fichier);*
* $message = "[ERREUR] Ne peux pas exécuter la requête de sélection
$requete.";*
* $prep2->execute or die do journalisation($message);*
*
*
* my @fichiersEffaces_id;*
* my @fichiersEffaces_login;*
*
*
* while(my $sids = $prep2->fetchrow_arrayref()){*
* push (@fichiersEffaces_id, $sids->[0]);*
* push (@fichiersEffaces_login, $sids->[1]);*
* }*
* my $fichiersEffaces_nb=$prep2->rows;*
* $prep2->finish();*
*
*
* for ($j=0;$j<$fichiersEffaces_nb;$j++){*
* # on supprime toutes les entrées du fichier dans la base :*
* $requete = "DELETE files, file_options FROM files,
file_options WHERE files.id=file_options.file_id AND files.id =
'$fichiersEffaces_id[$j]'";*
* $prep3 = $dbh->prepare($requete);*
* $message = "[ERREUR] Ne peux pas exécuter la requête SQL de
suppression $requete.";*
* $prep3 -> execute or die do journalisation($message);*
* $prep3 -> finish;*
*
*
* # On récupère l'utilisateur dans user_login :*
* $proprio = $fichiersEffaces_login[$j];*
*
*
* # On journalise la bonne supression de l'entrée dans le
syslog :*
* $message = "[SUCCES] La valeur dans la base pour le fichier
$fichiersEffaces_id[$j] a été effacé.";*
* journalisation($message,$proprio);*
* # on supprime le fichier physiquement :*
* $message = "[ERREUR] Le fichier
$chemin$fichiersEffaces_id[$j] n'a pu être effacé.";*
* unlink($chemin.$fichiersEffaces_id[$j]) or die do
journalisation($message,$proprio);*
*
*
* # On journalise la bonne supression du fichier :*
* $message = "[SUCCES] Le fichier
$chemin$fichiersEffaces_id[$j] a été effacé.";*
* journalisation($message,$proprio);*
* }*
* }*
* *
*if ($fichierExpires_nb=="0"){*
* # On journalise la bonne supression du fichier :*
* $message = "[INFOS] Plus aucun fichier expiré sur le systême.";*
* journalisation($message);*
* }*
*
*
*$dbh -> disconnect;*
---------------------------------------
Regards,
Grégoire.
Le 4 novembre 2010 12:58, Sébastien Serre <seb...@te...> a
écrit :
> Hello Greg
>
>
> I'm not developper at all, could you please send me the script to delete?
>
> Many thx
> Sébastien Serre
> Logistic & IT dept
> Tex Alliance
> Tel: +33 1 56 77 30 11
> Fax: +33 1 83 62 70 13
>
> Le 30/10/2010 19:08, Sebastien Serre a écrit :
> > Hello
> >
> > I add the expires otion at 30 days, but i had to go on maintenance menu
> to delete them.
> >
> > I wrote a script to delete them by adding it on a cron job:
> >
> > #!/bin/bash
> >
> > find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm
> >
> >
> > It's deleting the files but i have to delete too the entrance in the
> mysql db... any one have an idea of line I have to add ro my scripts?
> >
> > Many thx
> >
> >
> >
> > Sébastien Serre
> >
> > TEX ALLIANCE
> > Logistic& IT Department
> > Tél.+33.(1).56.77.30.11
> > Fax.+33.(1).76.50.82.23
> > seb...@te...
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
--
Cordialement,
___________________________
Grégoire Triquet
C R E A T E I S
tel : +336 747 744 54
email : gr...@cr...
http://www.createis.com
|
|
From: Sébastien S. <seb...@te...> - 2010-11-04 11:58:54
|
Hello Greg I'm not developper at all, could you please send me the script to delete? Many thx Sébastien Serre Logistic & IT dept Tex Alliance Tel: +33 1 56 77 30 11 Fax: +33 1 83 62 70 13 Le 30/10/2010 19:08, Sebastien Serre a écrit : > Hello > > I add the expires otion at 30 days, but i had to go on maintenance menu to delete them. > > I wrote a script to delete them by adding it on a cron job: > > #!/bin/bash > > find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm > > > It's deleting the files but i have to delete too the entrance in the mysql db... any one have an idea of line I have to add ro my scripts? > > Many thx > > > > Sébastien Serre > > TEX ALLIANCE > Logistic& IT Department > Tél.+33.(1).56.77.30.11 > Fax.+33.(1).76.50.82.23 > seb...@te... |
|
From: Gregoire T. <gr...@cr...> - 2010-10-31 12:38:34
|
Hi Sebastien, I use the DBI library. You can write SQL request directly on PERL script. I use this method to delete expired files. Gregoire. 2010/10/30 Sebastien Serre <seb...@te...> > Hello > > I add the expires otion at 30 days, but i had to go on maintenance menu to > delete them. > > I wrote a script to delete them by adding it on a cron job: > > #!/bin/bash > > find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm > > > It's deleting the files but i have to delete too the entrance in the mysql > db... any one have an idea of line I have to add ro my scripts? > > Many thx > > > > Sébastien Serre > > TEX ALLIANCE > Logistic & IT Department > Tél.+33.(1).56.77.30.11 > Fax.+33.(1).76.50.82.23 > seb...@te... > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > -- Cordialement, ___________________________ Grégoire Triquet C R E A T E I S tel : +336 747 744 54 email : gr...@cr... http://www.createis.com |
|
From: Alessandro B. <ts...@br...> - 2010-10-31 10:23:22
|
Il 30/10/2010 21:40, Harald Nikolaus ha scritto: > Hi everybody, > > we are thinking about making OpenUpload authenticate against > Plesk-administered e-mail > accounts, so that people, who have an e-mail account at one of our domains > can use their e-mail credentials to log into OpenUpload. > > Since I am not keen on re-inventing the wheel: Did anyone already do this? > If not, we'll probably do it and post the result > Not that I know of. Authentication with imap_login should be trivial. The problem whould be with groups. But I have no experience with plesk specifical implementation (probably by domain could be a solution) Alessandro |
|
From: Harald N. <nik...@xe...> - 2010-10-30 19:40:39
|
Hi everybody, we are thinking about making OpenUpload authenticate against Plesk-administered e-mail accounts, so that people, who have an e-mail account at one of our domains can use their e-mail credentials to log into OpenUpload. Since I am not keen on re-inventing the wheel: Did anyone already do this? If not, we'll probably do it and post the result Greetings Harald |