openupload-devel Mailing List for Open Upload (Page 19)
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: Alessandro B. <ts...@br...> - 2009-09-09 17:33:53
|
ok there is defenatly a bug in 0.4.1 with AD
this is insane ;P
$result['group'][0] = app()->config['register']['default_group'];
Alessandro
Alessandro Briosi ha scritto:
> can u send me the version you are using of ldap.inc.php , just to be
> sure I haven't missed something.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> Yes - currently I am using the entire 0.4.1 tree with the 0.4.0 ldap
>> code.
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Wednesday, September 09, 2009 1:15 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> the whole 0.4.1 tree?
>>
>> hmm, my tests reported to succeed ...
>>
>> The code did change from 0.4 to 0.4.1 to hanlde magic_quotes. (which
>> should
>> have fixed the user login problem with special characters in the
>> password)
>>
>> ho, well stick with 0.4 and I'll recheck AD code.
>>
>> Alessandro
>>
>> On Wed, 9 Sep 2009 13:11:22 -0400, "Weir, Jason" <jas...@nh...>
>> wrote:
>>> Yes I used the 0.4.1 ldap code as well as the changed config.inc.php
>>>
>>> -J
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Wednesday, September 09, 2009 1:07 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> wtf :(
>>>
>>> The authentication code shouldn't have been changed, did you use the
>>> ldap.inc.php provided with 0.4.1?
>>>
>>> Alessandro
>>>
>>> On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
>>> wrote:
>>>> Now I just get a invalid password message but no messages in AD..
>>>>
>>>> -J
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Thursday, September 03, 2009 2:01 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> ok, the problem defenatly is the \, in the distinguishedname.
>>>>
>>>> now I need to find out it the same problem affects OpenLDAP too.
>>>>
>>>> In the mean while could you check if this fixes the problem:
>>>>
>>>> put the following code in ldap.inc.php line: 103, (right afer $filter
>>> =
>>>> '(&('.$this->config['sgid'].'= ...)
>>>>
>>>> if ($this->config['type']=='AD') {
>>>> $filter= str_replace("\\","\\\\",$filter);
>>>> }
>>>>
>>>> And check if this fixes your problem.
>>>>
>>>> Alessandro
>>>>
>>>> P.S. I also found out that creating a group for OpenUplad, and adding
>>>> another group to it won't honorate the cascade. I defenatly think I'm
>>>> going to use adLDAP just to not struggle with this.
>>>>
>>>> Weir, Jason ha scritto:
>>>>> No trouble... I wish I could help more..
>>>>>
>>>>> -J
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Tuesday, September 01, 2009 12:00 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> yes, there were problems whit group membership retrival, so I
>> changed
>>>>> the way of iteracting, but I suppose I miss something. I thought
>> this
>>>>> was already in v0.4 but it's not...
>>>>>
>>>>> As it was working before, simply restore your config.inc.php and
>>>>> ldap.inc.php . I'll dig into this.
>>>>>
>>>>> sorry for the trouble.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> Is that something that changed with the new version?
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>>>>> To: ope...@li...
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> ok. It's failing to find your user group membership. That should
>> be
>>>>>> done by the 'uid' field, which is used to query the AD on group
>>>>>> membership.
>>>>>>
>>>>>> $filter =
>>>>>>
>> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>>>>> onfig['groupclass'].'))';
>>>>>>
>>>>>> shold come out as
>>>>>> (&(member=CN=Weir\,
>>>>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>>>>
>>>>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> I tried using the new LDAP config options here
>>>>>>>
>>>>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
>>>> 'AD';
>>>>>>> $CONFIG['ldap']['user'] = 'username';
>>>>>>> $CONFIG['ldap']['password'] = 'password';
>>>>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>>>>> $CONFIG['ldap']['userclass']='user';
>>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>>>>> =>'uid');
>>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>>>>> 'name','name' => 'description' );
>>>>>>>
>>>>>>> Definitely looks like LDAP is not finding the correct group.. I
>>> get
>>>>>>> authenticated just fine but not assigned any groups..
>>>>>>>
>>>>>>> Just to make sure we are using the correct LDAP names, here is
>> what
>>>> I
>>>>>>> see in my AD..
>>>>>>>
>>>>>>> group info:
>>>>>>> Cn = OpenUpload Admins
>>>>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>>>>> Name
>>>>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>>>>> below
>>>>>>>
>>>>>>> User info:
>>>>>>> Cn = Weir, Jason
>>>>>>> Distinguishedname = CN=Weir\,
>>> Jason,OU=Administrators,DC=nhrs,DC=org
>>>>>>> Mail = jas...@nh...
>>>>>>> sAMAccountName = jweir
>>>>>>> Name = Weir, Jason
>>>>>>>
>>>>>>> I log in with jweir and I am a member of the OpenUpload Admins
>>>> group.
>>>>>>> Any ideas?
>>>>>>> -J
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> ok, could you try the new version with this settings, just to be
>>>>>>> sure.
>>>>>>> There were problems using previous version afair.
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> I have a few differences
>>>>>>>>
>>>>>>>> $CONFIG['ldap']['user'] is set to the username and does not
>>> include
>>>>>>>> the @domain
>>>>>>>>
>>>>>>>> Here are some other differences.
>>>>>>>>
>>>>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name'
>> =>
>>>>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name'
>> =>
>>>>>>>> 'description' )
>>>>>>>>
>>>>>>>> -J
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> Yes, acl are in the db, just some guess. But the Administration
>>>> menu
>>>>>>>> should depend on the ACL.
>>>>>>>>
>>>>>>>> I also introduced a change which should fix the difference
>> between
>>>>>>>> ad
>>>>>>>> and ldap group search. (It works for me as I tested it)
>>>>>>>>
>>>>>>>> Is this what you are using?
>>>>>>>> /* Active Directory */
>>>>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>>>>> $CONFIG['ldap']['domain']
>>>>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>>>>> 1>,dc=<ad
>>>>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>> =>
>>>>>>>> 'uid');
>>>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>> 'name',
>>>>>>>> 'name' => 'description' );
>>>>>>>>
>>>>>>>>
>>>>>>>> where <ad domain> is something like mydomain.local (and ad domain
>>> 1
>>>>>>>> =
>>>>>>>> mydomain and ad domain2 = local)
>>>>>>>>
>>>>>>>> Just to be sure I haven't lost some configuration...
>>>>>>>>
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>>>>> data
>>>>>>>>> stored in the DB?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the
>> right
>>>>>>>> groups
>>>>>>>>> (?)
>>>>>>>>>
>>>>>>>>> Alessandro
>>>>>>>>>
>>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>>> After the upgrade I no longer had the "Administration" button
>> at
>>>>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>>>>
>>>>>>>>>> -J
>>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> This is from 0.4
>>>>>>>>>>
>>>>>>>>>> 1. Backup database and direcories.
>>>>>>>>>> 2. keep the config.inc.php and the data directory (and
>>> eventually
>>>>>>>>>> the template modifications you have made) (rename the folders)
>>> 3.
>>>>>>>>>> replace all files (beside the data) 4. put back the
>>>> config.inc.php
>>>>>>>>>> and other modified files (templates)
>>>>>>>> 5.
>>>>>>>>>> check directory permissions (templates_c must be writable) 6.
>> Go
>>>>>>>>>> to
>>>>>>>>> the
>>>>>>>>>> administration and check that the ACLs are as expected. 7.
>> Check
>>>>>>>>>> that everything is working fine.
>>>>>>>>>>
>>>>>>>>>> Alessandro
>>>>>>>>>>
>>>>>>>>>> P.S. No updates to the database where made.
>>>>>>>>>>
>>>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>>>>
>>>>>>>>>>> -J
>>>>>>>>>>>
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>>>>> Open Upload.
>>>>>>>>>>>
>>>>>>>>>>> It's mainly a bug fix release, but introduces some new
>> feature.
>>>>>>>>>>> You
>>>>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>>>>
>>>>>>>>>>> As always report bugs.
>>>>>>>>>>>
>>>>>>>>>>> Ejnoy,
>>>>>>>>>>> Alessandro
>>>>>>>>>>>
>>>>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>>>>
>>>>>>>>>>> * Database
>>>>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>>>>
>>>>>>>>>>> * Translations
>>>>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>>>>> (leocardoso)
>>>>>>>>>>> * Mime types
>>>>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>>>>
>>>>>>>>>>> * Plugins
>>>>>>>>>>> - Add multiple recipients option to email plugin (;
>>> separated
>>>>>>>>>>> list)
>>>>>>>>>>>
>>>>>>>>>>> * Bugs fixed
>>>>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>>>>> with
>>>>>>>>>> strong passwords
>>>>>>>>>>> - New mysql versions don't allow an empty string for
>>>> date/time
>>>>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>>>>> - A few other minor fixes.
>>>> _____________________________________________________________________
>>>>>>> _
>>>>>>> _______________________
>>>>>>>
>>>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>>>>> and
>>>>>>> updates.
>>>>>>>
>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> ------
>>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
>>> 2008
>>>>>> 30-Day
>>>>>>> trial. Simplify your report design, integration and deployment -
>>> and
>>>>>> focus on
>>>>>>> what you do best, core application coding. Discover what's new
>> with
>>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>>>> _______________________________________________
>>>>>>> Openupload-devel mailing list
>>>>>>> Ope...@li...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> ------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
>> 2008
>>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment -
>> and
>>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new with
>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>>> _______________________________________________
>>>>>> Openupload-devel mailing list
>> Ope...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>> ______________________________________________________________________
>>>>>> __
>>>>>> _____________________
>>>>>>
>>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>> and
>>>>>> updates.
>>>>>>
>>>>>>
>>>>>>
>> ______________________________________________________________________
>>>>>> _______________________
>>>>>>
>>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>> and
>>>>>> updates.
>>>>>>
>> ------------------------------------------------------------------------
>>>>> ------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
>> 2008
>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment -
>> and
>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new with
>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>>> _______________________________________________
>>>>>> Openupload-devel mailing list
>>>>>> Ope...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ------------------------------------------------------------------------
>>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment - and
>>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>>
>>>>>
>>>>>
>>>>>
>> ________________________________________________________________________
>>>>> _____________________
>>>>>
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>>>> updates.
>>>>>
>>>>>
>>>>>
>> ________________________________________________________________________
>>>> _____________________
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>>> updates.
>> ------------------------------------------------------------------------
>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list
>>>>> Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ------------------------------------------------------------------------
>>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>>>>
>>>>
>>>>
>> ________________________________________________________________________
>>>> _____________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>> updates.
>>>>
>>>>
>>>>
>> ________________________________________________________________________
>>> _____________________
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>> updates.
>>>>
>> ------------------------------------------------------------------------
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>> focus
>>>> on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ------------------------------------------------------------------------
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
>> ________________________________________________________________________
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>>> updates.
>>>
>>>
>>>
>> ________________________________________________________________________
>> _____________________
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>>> updates.
>>>
>> ------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus
>>> on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>> ________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
>>
>> _____________________________________________________________________________________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Alessandro B. <ts...@br...> - 2009-09-09 17:21:08
|
can u send me the version you are using of ldap.inc.php , just to be
sure I haven't missed something.
Alessandro
Weir, Jason ha scritto:
> Yes - currently I am using the entire 0.4.1 tree with the 0.4.0 ldap
> code.
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Wednesday, September 09, 2009 1:15 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> the whole 0.4.1 tree?
>
> hmm, my tests reported to succeed ...
>
> The code did change from 0.4 to 0.4.1 to hanlde magic_quotes. (which
> should
> have fixed the user login problem with special characters in the
> password)
>
> ho, well stick with 0.4 and I'll recheck AD code.
>
> Alessandro
>
> On Wed, 9 Sep 2009 13:11:22 -0400, "Weir, Jason" <jas...@nh...>
> wrote:
>> Yes I used the 0.4.1 ldap code as well as the changed config.inc.php
>>
>> -J
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Wednesday, September 09, 2009 1:07 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> wtf :(
>>
>> The authentication code shouldn't have been changed, did you use the
>> ldap.inc.php provided with 0.4.1?
>>
>> Alessandro
>>
>> On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
>> wrote:
>>> Now I just get a invalid password message but no messages in AD..
>>>
>>> -J
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Thursday, September 03, 2009 2:01 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> ok, the problem defenatly is the \, in the distinguishedname.
>>>
>>> now I need to find out it the same problem affects OpenLDAP too.
>>>
>>> In the mean while could you check if this fixes the problem:
>>>
>>> put the following code in ldap.inc.php line: 103, (right afer $filter
>> =
>>> '(&('.$this->config['sgid'].'= ...)
>>>
>>> if ($this->config['type']=='AD') {
>>> $filter= str_replace("\\","\\\\",$filter);
>>> }
>>>
>>> And check if this fixes your problem.
>>>
>>> Alessandro
>>>
>>> P.S. I also found out that creating a group for OpenUplad, and adding
>
>>> another group to it won't honorate the cascade. I defenatly think I'm
>
>>> going to use adLDAP just to not struggle with this.
>>>
>>> Weir, Jason ha scritto:
>>>> No trouble... I wish I could help more..
>>>>
>>>> -J
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Tuesday, September 01, 2009 12:00 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> yes, there were problems whit group membership retrival, so I
> changed
>>>> the way of iteracting, but I suppose I miss something. I thought
> this
>>>> was already in v0.4 but it's not...
>>>>
>>>> As it was working before, simply restore your config.inc.php and
>>>> ldap.inc.php . I'll dig into this.
>>>>
>>>> sorry for the trouble.
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> Is that something that changed with the new version?
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>>>> To: ope...@li...
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> ok. It's failing to find your user group membership. That should
> be
>>>>> done by the 'uid' field, which is used to query the AD on group
>>>>> membership.
>>>>>
>>>>> $filter =
>>>>>
> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>>>> onfig['groupclass'].'))';
>>>>>
>>>>> shold come out as
>>>>> (&(member=CN=Weir\,
>>>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>>>
>>>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> I tried using the new LDAP config options here
>>>>>>
>>>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
>>> 'AD';
>>>>>> $CONFIG['ldap']['user'] = 'username';
>>>>>> $CONFIG['ldap']['password'] = 'password';
>>>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>>>> $CONFIG['ldap']['userclass']='user';
>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>>>> =>'uid');
>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>>>> 'name','name' => 'description' );
>>>>>>
>>>>>> Definitely looks like LDAP is not finding the correct group.. I
>> get
>>>>>> authenticated just fine but not assigned any groups..
>>>>>>
>>>>>> Just to make sure we are using the correct LDAP names, here is
> what
>>> I
>>>>>> see in my AD..
>>>>>>
>>>>>> group info:
>>>>>> Cn = OpenUpload Admins
>>>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>>>> Name
>>>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>>>> below
>>>>>>
>>>>>> User info:
>>>>>> Cn = Weir, Jason
>>>>>> Distinguishedname = CN=Weir\,
>> Jason,OU=Administrators,DC=nhrs,DC=org
>>>>>> Mail = jas...@nh...
>>>>>> sAMAccountName = jweir
>>>>>> Name = Weir, Jason
>>>>>>
>>>>>> I log in with jweir and I am a member of the OpenUpload Admins
>>> group.
>>>>>> Any ideas?
>>>>>> -J
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> ok, could you try the new version with this settings, just to be
>>>>>> sure.
>>>>>> There were problems using previous version afair.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> I have a few differences
>>>>>>>
>>>>>>> $CONFIG['ldap']['user'] is set to the username and does not
>> include
>>>>>>> the @domain
>>>>>>>
>>>>>>> Here are some other differences.
>>>>>>>
>>>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name'
> =>
>>>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name'
> =>
>>>>>>> 'description' )
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> Yes, acl are in the db, just some guess. But the Administration
>>> menu
>>>>>>> should depend on the ACL.
>>>>>>>
>>>>>>> I also introduced a change which should fix the difference
> between
>>>>>>> ad
>>>>>>> and ldap group search. (It works for me as I tested it)
>>>>>>>
>>>>>>> Is this what you are using?
>>>>>>> /* Active Directory */
>>>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>>>> $CONFIG['ldap']['domain']
>>>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>>>> 1>,dc=<ad
>>>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>> =>
>>>>>>> 'uid');
>>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>> 'name',
>>>>>>> 'name' => 'description' );
>>>>>>>
>>>>>>>
>>>>>>> where <ad domain> is something like mydomain.local (and ad domain
>> 1
>>>>>>> =
>>>>>>> mydomain and ad domain2 = local)
>>>>>>>
>>>>>>> Just to be sure I haven't lost some configuration...
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>>>> data
>>>>>>>> stored in the DB?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the
> right
>>>>>>> groups
>>>>>>>> (?)
>>>>>>>>
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>> After the upgrade I no longer had the "Administration" button
> at
>>>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>>>
>>>>>>>>> -J
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This is from 0.4
>>>>>>>>>
>>>>>>>>> 1. Backup database and direcories.
>>>>>>>>> 2. keep the config.inc.php and the data directory (and
>> eventually
>>>>>>>>> the template modifications you have made) (rename the folders)
>> 3.
>>>>>>>>> replace all files (beside the data) 4. put back the
>>> config.inc.php
>>>>>>>>> and other modified files (templates)
>>>>>>> 5.
>>>>>>>>> check directory permissions (templates_c must be writable) 6.
> Go
>>>>>>>>> to
>>>>>>>> the
>>>>>>>>> administration and check that the ACLs are as expected. 7.
> Check
>>>>>>>>> that everything is working fine.
>>>>>>>>>
>>>>>>>>> Alessandro
>>>>>>>>>
>>>>>>>>> P.S. No updates to the database where made.
>>>>>>>>>
>>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>>>
>>>>>>>>>> -J
>>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>>>> Open Upload.
>>>>>>>>>>
>>>>>>>>>> It's mainly a bug fix release, but introduces some new
> feature.
>>>>>>>>>> You
>>>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>>>
>>>>>>>>>> As always report bugs.
>>>>>>>>>>
>>>>>>>>>> Ejnoy,
>>>>>>>>>> Alessandro
>>>>>>>>>>
>>>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>>>
>>>>>>>>>> * Database
>>>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>>>
>>>>>>>>>> * Translations
>>>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>>>> (leocardoso)
>>>>>>>>>> * Mime types
>>>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>>>
>>>>>>>>>> * Plugins
>>>>>>>>>> - Add multiple recipients option to email plugin (;
>> separated
>>>>>>>>>> list)
>>>>>>>>>>
>>>>>>>>>> * Bugs fixed
>>>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>>>> with
>>>>>>>>> strong passwords
>>>>>>>>>> - New mysql versions don't allow an empty string for
>>> date/time
>>>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>>>> - A few other minor fixes.
>>> _____________________________________________________________________
>>>>>> _
>>>>>> _______________________
>>>>>>
>>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>
>>>>>> and
>>>>>> updates.
>>>>>>
> ----------------------------------------------------------------------
>>>>> --
>>>>> ------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
>> 2008
>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment -
>> and
>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new
> with
>>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>>> _______________________________________________
>>>>>> Openupload-devel mailing list
>>>>>> Ope...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
> ----------------------------------------------------------------------
>>>>> --
>>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
>>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment -
> and
>>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list
> Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>>
>>>>>
>>>>>
>>>>>
> ______________________________________________________________________
>>>>> __
>>>>> _____________________
>>>>>
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>>>> updates.
>>>>>
>>>>>
>>>>>
> ______________________________________________________________________
>>>>> _______________________
>>>>>
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>>>> updates.
>>>>>
> ------------------------------------------------------------------------
>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment -
> and
>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list
>>>>> Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
> ------------------------------------------------------------------------
>>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>>>>
>>>>
>>>>
> ________________________________________________________________________
>>>> _____________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>> updates.
>>>>
>>>>
>>>>
> ________________________________________________________________________
>>> _____________________
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>> updates.
> ------------------------------------------------------------------------
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
> ------------------------------------------------------------------------
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
> ________________________________________________________________________
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>> updates.
>>>
>>>
>>>
> ________________________________________________________________________
>> _____________________
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>> updates.
>>>
> ------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus
>>> on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
> ------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
> ________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
>>
>>
> ________________________________________________________________________
> _____________________
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
> _____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-09 17:19:22
|
Yes - currently I am using the entire 0.4.1 tree with the 0.4.0 ldap
code.
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Wednesday, September 09, 2009 1:15 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
the whole 0.4.1 tree?
hmm, my tests reported to succeed ...
The code did change from 0.4 to 0.4.1 to hanlde magic_quotes. (which
should
have fixed the user login problem with special characters in the
password)
ho, well stick with 0.4 and I'll recheck AD code.
Alessandro
On Wed, 9 Sep 2009 13:11:22 -0400, "Weir, Jason" <jas...@nh...>
wrote:
> Yes I used the 0.4.1 ldap code as well as the changed config.inc.php
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Wednesday, September 09, 2009 1:07 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> wtf :(
>
> The authentication code shouldn't have been changed, did you use the
> ldap.inc.php provided with 0.4.1?
>
> Alessandro
>
> On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
> wrote:
>> Now I just get a invalid password message but no messages in AD..
>>
>> -J
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Thursday, September 03, 2009 2:01 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok, the problem defenatly is the \, in the distinguishedname.
>>
>> now I need to find out it the same problem affects OpenLDAP too.
>>
>> In the mean while could you check if this fixes the problem:
>>
>> put the following code in ldap.inc.php line: 103, (right afer $filter
> =
>> '(&('.$this->config['sgid'].'= ...)
>>
>> if ($this->config['type']=='AD') {
>> $filter= str_replace("\\","\\\\",$filter);
>> }
>>
>> And check if this fixes your problem.
>>
>> Alessandro
>>
>> P.S. I also found out that creating a group for OpenUplad, and adding
>> another group to it won't honorate the cascade. I defenatly think I'm
>> going to use adLDAP just to not struggle with this.
>>
>> Weir, Jason ha scritto:
>>> No trouble... I wish I could help more..
>>>
>>> -J
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Tuesday, September 01, 2009 12:00 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> yes, there were problems whit group membership retrival, so I
changed
>
>>> the way of iteracting, but I suppose I miss something. I thought
this
>
>>> was already in v0.4 but it's not...
>>>
>>> As it was working before, simply restore your config.inc.php and
>>> ldap.inc.php . I'll dig into this.
>>>
>>> sorry for the trouble.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> Is that something that changed with the new version?
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>>> To: ope...@li...
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> ok. It's failing to find your user group membership. That should
be
>>>> done by the 'uid' field, which is used to query the AD on group
>>>> membership.
>>>>
>>>> $filter =
>>>>
>>>
>>
>
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>>> onfig['groupclass'].'))';
>>>>
>>>> shold come out as
>>>> (&(member=CN=Weir\,
>>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>>
>>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> I tried using the new LDAP config options here
>>>>>
>>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
>> 'AD';
>>>>> $CONFIG['ldap']['user'] = 'username';
>>>>> $CONFIG['ldap']['password'] = 'password';
>>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['userclass']='user';
>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>>> =>'uid');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='member';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>>> 'name','name' => 'description' );
>>>>>
>>>>> Definitely looks like LDAP is not finding the correct group.. I
> get
>>>>> authenticated just fine but not assigned any groups..
>>>>>
>>>>> Just to make sure we are using the correct LDAP names, here is
what
>> I
>>>>> see in my AD..
>>>>>
>>>>> group info:
>>>>> Cn = OpenUpload Admins
>>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>>> Name
>>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>>> below
>>>>>
>>>>> User info:
>>>>> Cn = Weir, Jason
>>>>> Distinguishedname = CN=Weir\,
> Jason,OU=Administrators,DC=nhrs,DC=org
>>>>> Mail = jas...@nh...
>>>>> sAMAccountName = jweir
>>>>> Name = Weir, Jason
>>>>>
>>>>> I log in with jweir and I am a member of the OpenUpload Admins
>> group.
>>>>>
>>>>> Any ideas?
>>>>> -J
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> ok, could you try the new version with this settings, just to be
>>>>> sure.
>>>>> There were problems using previous version afair.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> I have a few differences
>>>>>>
>>>>>> $CONFIG['ldap']['user'] is set to the username and does not
> include
>>
>>>>>> the @domain
>>>>>>
>>>>>> Here are some other differences.
>>>>>>
>>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name'
=>
>
>>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name'
=>
>>>>>> 'description' )
>>>>>>
>>>>>> -J
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> Yes, acl are in the db, just some guess. But the Administration
>> menu
>>>>>> should depend on the ACL.
>>>>>>
>>>>>> I also introduced a change which should fix the difference
between
>
>>>>>> ad
>>>>>> and ldap group search. (It works for me as I tested it)
>>>>>>
>>>>>> Is this what you are using?
>>>>>> /* Active Directory */
>>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>>> $CONFIG['ldap']['domain']
>>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>>> 1>,dc=<ad
>>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
> =>
>>>>>> 'uid');
>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>> 'name',
>>>>>> 'name' => 'description' );
>>>>>>
>>>>>>
>>>>>> where <ad domain> is something like mydomain.local (and ad domain
> 1
>>
>>>>>> =
>>>>>> mydomain and ad domain2 = local)
>>>>>>
>>>>>> Just to be sure I haven't lost some configuration...
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>>> data
>>>>>>> stored in the DB?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the
right
>>>>>> groups
>>>>>>> (?)
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> After the upgrade I no longer had the "Administration" button
at
>>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>>
>>>>>>>> -J
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> This is from 0.4
>>>>>>>>
>>>>>>>> 1. Backup database and direcories.
>>>>>>>> 2. keep the config.inc.php and the data directory (and
> eventually
>>
>>>>>>>> the template modifications you have made) (rename the folders)
> 3.
>>
>>>>>>>> replace all files (beside the data) 4. put back the
>> config.inc.php
>>>
>>>>>>>> and other modified files (templates)
>>>>>> 5.
>>>>>>>> check directory permissions (templates_c must be writable) 6.
Go
>
>>>>>>>> to
>>>>>>> the
>>>>>>>> administration and check that the ACLs are as expected. 7.
Check
>
>>>>>>>> that everything is working fine.
>>>>>>>>
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> P.S. No updates to the database where made.
>>>>>>>>
>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>>
>>>>>>>>> -J
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>>> Open Upload.
>>>>>>>>>
>>>>>>>>> It's mainly a bug fix release, but introduces some new
feature.
>>>>>>>>> You
>>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>>
>>>>>>>>> As always report bugs.
>>>>>>>>>
>>>>>>>>> Ejnoy,
>>>>>>>>> Alessandro
>>>>>>>>>
>>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>>
>>>>>>>>> * Database
>>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>>
>>>>>>>>> * Translations
>>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>>> (leocardoso)
>>>>>>>>> * Mime types
>>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>>
>>>>>>>>> * Plugins
>>>>>>>>> - Add multiple recipients option to email plugin (;
> separated
>>>>>>>>> list)
>>>>>>>>>
>>>>>>>>> * Bugs fixed
>>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>>> with
>>>>>>>> strong passwords
>>>>>>>>> - New mysql versions don't allow an empty string for
>> date/time
>>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>>> - A few other minor fixes.
>>>>>
>> _____________________________________________________________________
>>>>> _
>>>>> _______________________
>>>>>
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>>> and
>>>>> updates.
>>>>>
>>>>
>>
----------------------------------------------------------------------
>>>> --
>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment -
> and
>>>> focus on
>>>>> what you do best, core application coding. Discover what's new
with
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list
>>>>> Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>>
----------------------------------------------------------------------
>>>> --
>>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment -
and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>>>>
>>>>
>>>>
>>
______________________________________________________________________
>>>> __
>>>> _____________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>
>>>> updates.
>>>>
>>>>
>>>>
>>
______________________________________________________________________
>>>> _______________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>
>>>> updates.
>>>>
>>>
>>
>
------------------------------------------------------------------------
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment -
and
>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>
>
------------------------------------------------------------------------
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
>>
>
________________________________________________________________________
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>> updates.
>>>
>>>
>>>
>>
>
________________________________________________________________________
>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>> updates.
>>>
>>
>
------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>
------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
>
________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
>> updates.
>>
>>
>>
>
________________________________________________________________________
> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
>> updates.
>>
>
------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>>
>> trial. Simplify your report design, integration and deployment - and
> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
>
________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
>
________________________________________________________________________
_____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
>
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Openupload-devel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
________________________________________________________________________
_____________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-09 17:17:29
|
the whole 0.4.1 tree?
hmm, my tests reported to succeed ...
The code did change from 0.4 to 0.4.1 to hanlde magic_quotes. (which should
have fixed the user login problem with special characters in the password)
ho, well stick with 0.4 and I'll recheck AD code.
Alessandro
On Wed, 9 Sep 2009 13:11:22 -0400, "Weir, Jason" <jas...@nh...>
wrote:
> Yes I used the 0.4.1 ldap code as well as the changed config.inc.php
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Wednesday, September 09, 2009 1:07 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> wtf :(
>
> The authentication code shouldn't have been changed, did you use the
> ldap.inc.php provided with 0.4.1?
>
> Alessandro
>
> On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
> wrote:
>> Now I just get a invalid password message but no messages in AD..
>>
>> -J
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Thursday, September 03, 2009 2:01 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok, the problem defenatly is the \, in the distinguishedname.
>>
>> now I need to find out it the same problem affects OpenLDAP too.
>>
>> In the mean while could you check if this fixes the problem:
>>
>> put the following code in ldap.inc.php line: 103, (right afer $filter
> =
>> '(&('.$this->config['sgid'].'= ...)
>>
>> if ($this->config['type']=='AD') {
>> $filter= str_replace("\\","\\\\",$filter);
>> }
>>
>> And check if this fixes your problem.
>>
>> Alessandro
>>
>> P.S. I also found out that creating a group for OpenUplad, and adding
>> another group to it won't honorate the cascade. I defenatly think I'm
>> going to use adLDAP just to not struggle with this.
>>
>> Weir, Jason ha scritto:
>>> No trouble... I wish I could help more..
>>>
>>> -J
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Tuesday, September 01, 2009 12:00 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> yes, there were problems whit group membership retrival, so I changed
>
>>> the way of iteracting, but I suppose I miss something. I thought this
>
>>> was already in v0.4 but it's not...
>>>
>>> As it was working before, simply restore your config.inc.php and
>>> ldap.inc.php . I'll dig into this.
>>>
>>> sorry for the trouble.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> Is that something that changed with the new version?
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>>> To: ope...@li...
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> ok. It's failing to find your user group membership. That should be
>>>> done by the 'uid' field, which is used to query the AD on group
>>>> membership.
>>>>
>>>> $filter =
>>>>
>>>
>>
> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>>> onfig['groupclass'].'))';
>>>>
>>>> shold come out as
>>>> (&(member=CN=Weir\,
>>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>>
>>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> I tried using the new LDAP config options here
>>>>>
>>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
>> 'AD';
>>>>> $CONFIG['ldap']['user'] = 'username';
>>>>> $CONFIG['ldap']['password'] = 'password';
>>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['userclass']='user';
>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>>> =>'uid');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='member';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>>> 'name','name' => 'description' );
>>>>>
>>>>> Definitely looks like LDAP is not finding the correct group.. I
> get
>>>>> authenticated just fine but not assigned any groups..
>>>>>
>>>>> Just to make sure we are using the correct LDAP names, here is what
>> I
>>>>> see in my AD..
>>>>>
>>>>> group info:
>>>>> Cn = OpenUpload Admins
>>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>>> Name
>>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>>> below
>>>>>
>>>>> User info:
>>>>> Cn = Weir, Jason
>>>>> Distinguishedname = CN=Weir\,
> Jason,OU=Administrators,DC=nhrs,DC=org
>>>>> Mail = jas...@nh...
>>>>> sAMAccountName = jweir
>>>>> Name = Weir, Jason
>>>>>
>>>>> I log in with jweir and I am a member of the OpenUpload Admins
>> group.
>>>>>
>>>>> Any ideas?
>>>>> -J
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> ok, could you try the new version with this settings, just to be
>>>>> sure.
>>>>> There were problems using previous version afair.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> I have a few differences
>>>>>>
>>>>>> $CONFIG['ldap']['user'] is set to the username and does not
> include
>>
>>>>>> the @domain
>>>>>>
>>>>>> Here are some other differences.
>>>>>>
>>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>
>>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>>>>> 'description' )
>>>>>>
>>>>>> -J
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> Yes, acl are in the db, just some guess. But the Administration
>> menu
>>>>>> should depend on the ACL.
>>>>>>
>>>>>> I also introduced a change which should fix the difference between
>
>>>>>> ad
>>>>>> and ldap group search. (It works for me as I tested it)
>>>>>>
>>>>>> Is this what you are using?
>>>>>> /* Active Directory */
>>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>>> $CONFIG['ldap']['domain']
>>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>>> 1>,dc=<ad
>>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
> =>
>>>>>> 'uid');
>>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>>> $CONFIG['ldap']['gid']='member';
>>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>> 'name',
>>>>>> 'name' => 'description' );
>>>>>>
>>>>>>
>>>>>> where <ad domain> is something like mydomain.local (and ad domain
> 1
>>
>>>>>> =
>>>>>> mydomain and ad domain2 = local)
>>>>>>
>>>>>> Just to be sure I haven't lost some configuration...
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>>> data
>>>>>>> stored in the DB?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>>>>> groups
>>>>>>> (?)
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> After the upgrade I no longer had the "Administration" button at
>>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>>
>>>>>>>> -J
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> This is from 0.4
>>>>>>>>
>>>>>>>> 1. Backup database and direcories.
>>>>>>>> 2. keep the config.inc.php and the data directory (and
> eventually
>>
>>>>>>>> the template modifications you have made) (rename the folders)
> 3.
>>
>>>>>>>> replace all files (beside the data) 4. put back the
>> config.inc.php
>>>
>>>>>>>> and other modified files (templates)
>>>>>> 5.
>>>>>>>> check directory permissions (templates_c must be writable) 6. Go
>
>>>>>>>> to
>>>>>>> the
>>>>>>>> administration and check that the ACLs are as expected. 7. Check
>
>>>>>>>> that everything is working fine.
>>>>>>>>
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> P.S. No updates to the database where made.
>>>>>>>>
>>>>>>>> Weir, Jason ha scritto:
>>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>>
>>>>>>>>> -J
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>>> Open Upload.
>>>>>>>>>
>>>>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>>>>> You
>>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>>
>>>>>>>>> As always report bugs.
>>>>>>>>>
>>>>>>>>> Ejnoy,
>>>>>>>>> Alessandro
>>>>>>>>>
>>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>>
>>>>>>>>> * Database
>>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>>
>>>>>>>>> * Translations
>>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>>> (leocardoso)
>>>>>>>>> * Mime types
>>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>>
>>>>>>>>> * Plugins
>>>>>>>>> - Add multiple recipients option to email plugin (;
> separated
>>>>>>>>> list)
>>>>>>>>>
>>>>>>>>> * Bugs fixed
>>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>>> with
>>>>>>>> strong passwords
>>>>>>>>> - New mysql versions don't allow an empty string for
>> date/time
>>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>>> - A few other minor fixes.
>>>>>
>> _____________________________________________________________________
>>>>> _
>>>>> _______________________
>>>>>
>>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>>> and
>>>>> updates.
>>>>>
>>>>
>> ----------------------------------------------------------------------
>>>> --
>>>> ------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008
>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment -
> and
>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Openupload-devel mailing list
>>>>> Ope...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>> ----------------------------------------------------------------------
>>>> --
>>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>>
>>>>
>>>>
>>>>
>> ______________________________________________________________________
>>>> __
>>>> _____________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>
>>>> updates.
>>>>
>>>>
>>>>
>> ______________________________________________________________________
>>>> _______________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>>>
>>>> updates.
>>>>
>>>
>>
> ------------------------------------------------------------------------
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>
> ------------------------------------------------------------------------
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
>>
> ________________________________________________________________________
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>> updates.
>>>
>>>
>>>
>>
> ________________________________________________________________________
>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>> updates.
>>>
>>
> ------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
> ------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
> ________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
>>
>>
> ________________________________________________________________________
> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>>
>> trial. Simplify your report design, integration and deployment - and
> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
>
_____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
>
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-09 17:11:37
|
Yes I used the 0.4.1 ldap code as well as the changed config.inc.php
-J
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Wednesday, September 09, 2009 1:07 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
wtf :(
The authentication code shouldn't have been changed, did you use the
ldap.inc.php provided with 0.4.1?
Alessandro
On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
wrote:
> Now I just get a invalid password message but no messages in AD..
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Thursday, September 03, 2009 2:01 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok, the problem defenatly is the \, in the distinguishedname.
>
> now I need to find out it the same problem affects OpenLDAP too.
>
> In the mean while could you check if this fixes the problem:
>
> put the following code in ldap.inc.php line: 103, (right afer $filter
=
> '(&('.$this->config['sgid'].'= ...)
>
> if ($this->config['type']=='AD') {
> $filter= str_replace("\\","\\\\",$filter);
> }
>
> And check if this fixes your problem.
>
> Alessandro
>
> P.S. I also found out that creating a group for OpenUplad, and adding
> another group to it won't honorate the cascade. I defenatly think I'm
> going to use adLDAP just to not struggle with this.
>
> Weir, Jason ha scritto:
>> No trouble... I wish I could help more..
>>
>> -J
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Tuesday, September 01, 2009 12:00 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> yes, there were problems whit group membership retrival, so I changed
>> the way of iteracting, but I suppose I miss something. I thought this
>> was already in v0.4 but it's not...
>>
>> As it was working before, simply restore your config.inc.php and
>> ldap.inc.php . I'll dig into this.
>>
>> sorry for the trouble.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> Is that something that changed with the new version?
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>> To: ope...@li...
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> ok. It's failing to find your user group membership. That should be
>>> done by the 'uid' field, which is used to query the AD on group
>>> membership.
>>>
>>> $filter =
>>>
>>
>
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>> onfig['groupclass'].'))';
>>>
>>> shold come out as
>>> (&(member=CN=Weir\,
>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>
>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> I tried using the new LDAP config options here
>>>>
>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
> 'AD';
>>>> $CONFIG['ldap']['user'] = 'username';
>>>> $CONFIG['ldap']['password'] = 'password';
>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['userclass']='user';
>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>> =>'uid');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='member';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>> 'name','name' => 'description' );
>>>>
>>>> Definitely looks like LDAP is not finding the correct group.. I
get
>>>> authenticated just fine but not assigned any groups..
>>>>
>>>> Just to make sure we are using the correct LDAP names, here is what
> I
>>>> see in my AD..
>>>>
>>>> group info:
>>>> Cn = OpenUpload Admins
>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>> Name
>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>> below
>>>>
>>>> User info:
>>>> Cn = Weir, Jason
>>>> Distinguishedname = CN=Weir\,
Jason,OU=Administrators,DC=nhrs,DC=org
>>>> Mail = jas...@nh...
>>>> sAMAccountName = jweir
>>>> Name = Weir, Jason
>>>>
>>>> I log in with jweir and I am a member of the OpenUpload Admins
> group.
>>>>
>>>> Any ideas?
>>>> -J
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> ok, could you try the new version with this settings, just to be
>>>> sure.
>>>> There were problems using previous version afair.
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> I have a few differences
>>>>>
>>>>> $CONFIG['ldap']['user'] is set to the username and does not
include
>
>>>>> the @domain
>>>>>
>>>>> Here are some other differences.
>>>>>
>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>>>> 'description' )
>>>>>
>>>>> -J
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> Yes, acl are in the db, just some guess. But the Administration
> menu
>>>>> should depend on the ACL.
>>>>>
>>>>> I also introduced a change which should fix the difference between
>>>>> ad
>>>>> and ldap group search. (It works for me as I tested it)
>>>>>
>>>>> Is this what you are using?
>>>>> /* Active Directory */
>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>> $CONFIG['ldap']['domain']
>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>> 1>,dc=<ad
>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
=>
>>>>> 'uid');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='member';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
> 'name',
>>>>> 'name' => 'description' );
>>>>>
>>>>>
>>>>> where <ad domain> is something like mydomain.local (and ad domain
1
>
>>>>> =
>>>>> mydomain and ad domain2 = local)
>>>>>
>>>>> Just to be sure I haven't lost some configuration...
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>> data
>>>>>> stored in the DB?
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>>>> groups
>>>>>> (?)
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> After the upgrade I no longer had the "Administration" button at
>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> This is from 0.4
>>>>>>>
>>>>>>> 1. Backup database and direcories.
>>>>>>> 2. keep the config.inc.php and the data directory (and
eventually
>
>>>>>>> the template modifications you have made) (rename the folders)
3.
>
>>>>>>> replace all files (beside the data) 4. put back the
> config.inc.php
>>
>>>>>>> and other modified files (templates)
>>>>> 5.
>>>>>>> check directory permissions (templates_c must be writable) 6. Go
>>>>>>> to
>>>>>> the
>>>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>>>> that everything is working fine.
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> P.S. No updates to the database where made.
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>
>>>>>>>> -J
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>> Open Upload.
>>>>>>>>
>>>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>>>> You
>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>
>>>>>>>> As always report bugs.
>>>>>>>>
>>>>>>>> Ejnoy,
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>
>>>>>>>> * Database
>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>
>>>>>>>> * Translations
>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>> (leocardoso)
>>>>>>>> * Mime types
>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>
>>>>>>>> * Plugins
>>>>>>>> - Add multiple recipients option to email plugin (;
separated
>>>>>>>> list)
>>>>>>>>
>>>>>>>> * Bugs fixed
>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>> with
>>>>>>> strong passwords
>>>>>>>> - New mysql versions don't allow an empty string for
> date/time
>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>> - A few other minor fixes.
>>>>
> _____________________________________________________________________
>>>> _
>>>> _______________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>> and
>>>> updates.
>>>>
>>>
> ----------------------------------------------------------------------
>>> --
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports
2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment -
and
>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
> ----------------------------------------------------------------------
>>> --
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
> ______________________________________________________________________
>>> __
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>
>>> updates.
>>>
>>>
>>>
> ______________________________________________________________________
>>> _______________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>
>>> updates.
>>>
>>
>
------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>
------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
>
________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
>> updates.
>>
>>
>>
>
________________________________________________________________________
> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
> updates.
>>
>
------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
>
________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
>
________________________________________________________________________
_____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
>
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Openupload-devel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
________________________________________________________________________
_____________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-09 17:10:02
|
wtf :(
The authentication code shouldn't have been changed, did you use the
ldap.inc.php provided with 0.4.1?
Alessandro
On Wed, 9 Sep 2009 12:31:59 -0400, "Weir, Jason" <jas...@nh...>
wrote:
> Now I just get a invalid password message but no messages in AD..
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Thursday, September 03, 2009 2:01 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok, the problem defenatly is the \, in the distinguishedname.
>
> now I need to find out it the same problem affects OpenLDAP too.
>
> In the mean while could you check if this fixes the problem:
>
> put the following code in ldap.inc.php line: 103, (right afer $filter =
> '(&('.$this->config['sgid'].'= ...)
>
> if ($this->config['type']=='AD') {
> $filter= str_replace("\\","\\\\",$filter);
> }
>
> And check if this fixes your problem.
>
> Alessandro
>
> P.S. I also found out that creating a group for OpenUplad, and adding
> another group to it won't honorate the cascade. I defenatly think I'm
> going to use adLDAP just to not struggle with this.
>
> Weir, Jason ha scritto:
>> No trouble... I wish I could help more..
>>
>> -J
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Tuesday, September 01, 2009 12:00 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> yes, there were problems whit group membership retrival, so I changed
>> the way of iteracting, but I suppose I miss something. I thought this
>> was already in v0.4 but it's not...
>>
>> As it was working before, simply restore your config.inc.php and
>> ldap.inc.php . I'll dig into this.
>>
>> sorry for the trouble.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> Is that something that changed with the new version?
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Tuesday, September 01, 2009 11:54 AM
>>> To: ope...@li...
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> ok. It's failing to find your user group membership. That should be
>>> done by the 'uid' field, which is used to query the AD on group
>>> membership.
>>>
>>> $filter =
>>>
>>
> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>>> onfig['groupclass'].'))';
>>>
>>> shold come out as
>>> (&(member=CN=Weir\,
>>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>>
>>> I suppose the problem is the "\," maybe. I need to do some tests.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> I tried using the new LDAP config options here
>>>>
>>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
> 'AD';
>>>> $CONFIG['ldap']['user'] = 'username';
>>>> $CONFIG['ldap']['password'] = 'password';
>>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['userclass']='user';
>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>>> =>'uid');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='member';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>>> 'name','name' => 'description' );
>>>>
>>>> Definitely looks like LDAP is not finding the correct group.. I get
>>>> authenticated just fine but not assigned any groups..
>>>>
>>>> Just to make sure we are using the correct LDAP names, here is what
> I
>>>> see in my AD..
>>>>
>>>> group info:
>>>> Cn = OpenUpload Admins
>>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>>> Name
>>>> = OpenUpload Admins Member = list of users distinguished names as
>>>> below
>>>>
>>>> User info:
>>>> Cn = Weir, Jason
>>>> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
>>>> Mail = jas...@nh...
>>>> sAMAccountName = jweir
>>>> Name = Weir, Jason
>>>>
>>>> I log in with jweir and I am a member of the OpenUpload Admins
> group.
>>>>
>>>> Any ideas?
>>>> -J
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 4:35 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> ok, could you try the new version with this settings, just to be
>>>> sure.
>>>> There were problems using previous version afair.
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> I have a few differences
>>>>>
>>>>> $CONFIG['ldap']['user'] is set to the username and does not include
>
>>>>> the @domain
>>>>>
>>>>> Here are some other differences.
>>>>>
>>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>>>> 'description' )
>>>>>
>>>>> -J
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> Yes, acl are in the db, just some guess. But the Administration
> menu
>>>>> should depend on the ACL.
>>>>>
>>>>> I also introduced a change which should fix the difference between
>>>>> ad
>>>>> and ldap group search. (It works for me as I tested it)
>>>>>
>>>>> Is this what you are using?
>>>>> /* Active Directory */
>>>>> $CONFIG['ldap']['host'] = '<host>';
>>>>> $CONFIG['ldap']['type'] = 'AD';
>>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>>> $CONFIG['ldap']['password'] = '<password>';
>>>>> $CONFIG['ldap']['domain']
>>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>>> 1>,dc=<ad
>>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>>>>> 'uid');
>>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>>> $CONFIG['ldap']['groupclass']='group';
>>>>> $CONFIG['ldap']['gid']='member';
>>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
> 'name',
>>>>> 'name' => 'description' );
>>>>>
>>>>>
>>>>> where <ad domain> is something like mydomain.local (and ad domain 1
>
>>>>> =
>>>>> mydomain and ad domain2 = local)
>>>>>
>>>>> Just to be sure I haven't lost some configuration...
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>>> data
>>>>>> stored in the DB?
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>>>> groups
>>>>>> (?)
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> After the upgrade I no longer had the "Administration" button at
>>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> This is from 0.4
>>>>>>>
>>>>>>> 1. Backup database and direcories.
>>>>>>> 2. keep the config.inc.php and the data directory (and eventually
>
>>>>>>> the template modifications you have made) (rename the folders) 3.
>
>>>>>>> replace all files (beside the data) 4. put back the
> config.inc.php
>>
>>>>>>> and other modified files (templates)
>>>>> 5.
>>>>>>> check directory permissions (templates_c must be writable) 6. Go
>>>>>>> to
>>>>>> the
>>>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>>>> that everything is working fine.
>>>>>>>
>>>>>>> Alessandro
>>>>>>>
>>>>>>> P.S. No updates to the database where made.
>>>>>>>
>>>>>>> Weir, Jason ha scritto:
>>>>>>>> What's the recommended upgrade procedure?
>>>>>>>>
>>>>>>>> -J
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>>
>>>>>>>>
>>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>>> Open Upload.
>>>>>>>>
>>>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>>>> You
>>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>>
>>>>>>>> As always report bugs.
>>>>>>>>
>>>>>>>> Ejnoy,
>>>>>>>> Alessandro
>>>>>>>>
>>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>>
>>>>>>>> * Database
>>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>>
>>>>>>>> * Translations
>>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>>> (leocardoso)
>>>>>>>> * Mime types
>>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>>
>>>>>>>> * Plugins
>>>>>>>> - Add multiple recipients option to email plugin (; separated
>>>>>>>> list)
>>>>>>>>
>>>>>>>> * Bugs fixed
>>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>>> with
>>>>>>> strong passwords
>>>>>>>> - New mysql versions don't allow an empty string for
> date/time
>>>>>>>> - Missing activity_log structure from sql files
>>>>>>>> - Report a message if php fails moving around the files.
>>>>>>>> - A few other minor fixes.
>>>>
> _____________________________________________________________________
>>>> _
>>>> _______________________
>>>>
>>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>>> and
>>>> updates.
>>>>
>>>
> ----------------------------------------------------------------------
>>> --
>>> ------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Openupload-devel mailing list
>>>> Ope...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
> ----------------------------------------------------------------------
>>> --
>>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>>
>>>
>>>
>>>
> ______________________________________________________________________
>>> __
>>> _____________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>
>>> updates.
>>>
>>>
>>>
> ______________________________________________________________________
>>> _______________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
> and
>>
>>> updates.
>>>
>>
> ------------------------------------------------------------------------
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
> ------------------------------------------------------------------------
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
> ________________________________________________________________________
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>> updates.
>>
>>
>>
> ________________________________________________________________________
> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
>
_____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
>
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-09 16:32:13
|
Now I just get a invalid password message but no messages in AD..
-J
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Thursday, September 03, 2009 2:01 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
ok, the problem defenatly is the \, in the distinguishedname.
now I need to find out it the same problem affects OpenLDAP too.
In the mean while could you check if this fixes the problem:
put the following code in ldap.inc.php line: 103, (right afer $filter =
'(&('.$this->config['sgid'].'= ...)
if ($this->config['type']=='AD') {
$filter= str_replace("\\","\\\\",$filter);
}
And check if this fixes your problem.
Alessandro
P.S. I also found out that creating a group for OpenUplad, and adding
another group to it won't honorate the cascade. I defenatly think I'm
going to use adLDAP just to not struggle with this.
Weir, Jason ha scritto:
> No trouble... I wish I could help more..
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Tuesday, September 01, 2009 12:00 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> yes, there were problems whit group membership retrival, so I changed
> the way of iteracting, but I suppose I miss something. I thought this
> was already in v0.4 but it's not...
>
> As it was working before, simply restore your config.inc.php and
> ldap.inc.php . I'll dig into this.
>
> sorry for the trouble.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> Is that something that changed with the new version?
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Tuesday, September 01, 2009 11:54 AM
>> To: ope...@li...
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok. It's failing to find your user group membership. That should be
>> done by the 'uid' field, which is used to query the AD on group
>> membership.
>>
>> $filter =
>>
>
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>> onfig['groupclass'].'))';
>>
>> shold come out as
>> (&(member=CN=Weir\,
>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>
>> I suppose the problem is the "\," maybe. I need to do some tests.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> I tried using the new LDAP config options here
>>>
>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] =
'AD';
>>> $CONFIG['ldap']['user'] = 'username';
>>> $CONFIG['ldap']['password'] = 'password';
>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['userclass']='user';
>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>> =>'uid');
>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='member';
>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>> 'name','name' => 'description' );
>>>
>>> Definitely looks like LDAP is not finding the correct group.. I get
>>> authenticated just fine but not assigned any groups..
>>>
>>> Just to make sure we are using the correct LDAP names, here is what
I
>>> see in my AD..
>>>
>>> group info:
>>> Cn = OpenUpload Admins
>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>> Name
>>> = OpenUpload Admins Member = list of users distinguished names as
>>> below
>>>
>>> User info:
>>> Cn = Weir, Jason
>>> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
>>> Mail = jas...@nh...
>>> sAMAccountName = jweir
>>> Name = Weir, Jason
>>>
>>> I log in with jweir and I am a member of the OpenUpload Admins
group.
>>>
>>> Any ideas?
>>> -J
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 4:35 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> ok, could you try the new version with this settings, just to be
>>> sure.
>>> There were problems using previous version afair.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> I have a few differences
>>>>
>>>> $CONFIG['ldap']['user'] is set to the username and does not include
>>>> the @domain
>>>>
>>>> Here are some other differences.
>>>>
>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>>> 'description' )
>>>>
>>>> -J
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> Yes, acl are in the db, just some guess. But the Administration
menu
>>>> should depend on the ACL.
>>>>
>>>> I also introduced a change which should fix the difference between
>>>> ad
>>>> and ldap group search. (It works for me as I tested it)
>>>>
>>>> Is this what you are using?
>>>> /* Active Directory */
>>>> $CONFIG['ldap']['host'] = '<host>';
>>>> $CONFIG['ldap']['type'] = 'AD';
>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>> $CONFIG['ldap']['password'] = '<password>';
>>>> $CONFIG['ldap']['domain']
>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>> 1>,dc=<ad
>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>>>> 'uid');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='member';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
'name',
>>>> 'name' => 'description' );
>>>>
>>>>
>>>> where <ad domain> is something like mydomain.local (and ad domain 1
>>>> =
>>>> mydomain and ad domain2 = local)
>>>>
>>>> Just to be sure I haven't lost some configuration...
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>> data
>>>>> stored in the DB?
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>>> groups
>>>>> (?)
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> After the upgrade I no longer had the "Administration" button at
>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> This is from 0.4
>>>>>>
>>>>>> 1. Backup database and direcories.
>>>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>>>> the template modifications you have made) (rename the folders) 3.
>>>>>> replace all files (beside the data) 4. put back the
config.inc.php
>
>>>>>> and other modified files (templates)
>>>> 5.
>>>>>> check directory permissions (templates_c must be writable) 6. Go
>>>>>> to
>>>>> the
>>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>>> that everything is working fine.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> P.S. No updates to the database where made.
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> What's the recommended upgrade procedure?
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>> Open Upload.
>>>>>>>
>>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>>> You
>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>
>>>>>>> As always report bugs.
>>>>>>>
>>>>>>> Ejnoy,
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>
>>>>>>> * Database
>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>
>>>>>>> * Translations
>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>> (leocardoso)
>>>>>>> * Mime types
>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>
>>>>>>> * Plugins
>>>>>>> - Add multiple recipients option to email plugin (; separated
>>>>>>> list)
>>>>>>>
>>>>>>> * Bugs fixed
>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>> with
>>>>>> strong passwords
>>>>>>> - New mysql versions don't allow an empty string for
date/time
>>>>>>> - Missing activity_log structure from sql files
>>>>>>> - Report a message if php fails moving around the files.
>>>>>>> - A few other minor fixes.
>>>
_____________________________________________________________________
>>> _
>>> _______________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>> updates.
>>>
>>
----------------------------------------------------------------------
>> --
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
----------------------------------------------------------------------
>> --
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>>
______________________________________________________________________
>> __
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
>
>> updates.
>>
>>
>>
______________________________________________________________________
>> _______________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
and
>
>> updates.
>>
>
------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
>
________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
>
________________________________________________________________________
_____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and
focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Openupload-devel mailing list
Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
________________________________________________________________________
_____________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-08 21:17:45
|
Right now I'm the only developer. I have some changes that need to be made before this, but it would be great to have some help :) I'll post a feature list targeted for 0.5 soon. Alessandro Tom Tucker ha scritto: > Yes, I think that will work. > > Is there a way I can assist with the development? > > Tom Tucker > Sr. Sales Engineer > Cenzic, Inc | www.cenzic.com > tt...@ce... | 817.371.8359 > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Tuesday, September 08, 2009 2:55 PM > To: OpenUpload Delvel and General talk > Cc: Tom Tucker > Subject: Re: [openupload-devel] Temporary upload accounts > > Hi Tom, > please subscribe to the list, it'a a member only list. > > To answer your question, I think this is one of the most wanted > features. > > The way I think I'll implement is a little different, like: > > 1. A registered user has an option to send an invitation to the customer > (here s/he can add protection like a password, and some other options > like, notify me when the upload is done, how many uploads, how long the > invitation will last, password protect the uploads afterwards, and so > on) > 2. The customer is given (via e-mail or so) a link like > http://host/?a=i&i=asdu23 > which gets to the mere upload form (maybe with a description field) > 3. the customer uploads the files > 4. the user is notified about the uploaded files. > 5. Periodically remove expired invitations, or the user might also > get/send > a link to remove the invitation. > > Thoughts? > > Alessandro > > On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> > wrote: >> Hi, >> >> I am trying to implement Open Upload for use in our customer support > to >> securely exchange files with our customers. Providing files that the >> customer can download works great out of the box. What I am trying to >> determine is how best to enable customers to upload files in a >> controlled manner. >> >> The scenario I envision is: >> 1. Registered_User has a form that allows them to enter information >> about customer (email address required at least) >> 2. Script generates a password and creates Customer_Account >> (email address as user login) and Registered_User as parent >> (new field in user table?) >> 3. Script emails customer URL to Open Upload site with generated >> password and instructions >> 4. Customer uploads file(s) >> 5. Uploaded files get owned (user_login field set to username >> of Registered_User) >> 6. Registerd_User gets email notification of uploaded file >> 7. Periodically (as defined by an administrator) cron (or other >> scheduler) job runs that logs into Open Upload database and >> sets active status = 0 >> >> Thoughts? >> >> Tom Tucker, Sr. Sales Engineer >> Cenzic, Inc >> www.cenzic.com >> tt...@ce... >> >> > ------------------------------------------------------------------------ > ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> trial. Simplify your report design, integration and deployment - and > focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Tom T. <tt...@ce...> - 2009-09-08 21:13:59
|
Yes, I think that will work. Is there a way I can assist with the development? Tom Tucker Sr. Sales Engineer Cenzic, Inc | www.cenzic.com tt...@ce... | 817.371.8359 -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Tuesday, September 08, 2009 2:55 PM To: OpenUpload Delvel and General talk Cc: Tom Tucker Subject: Re: [openupload-devel] Temporary upload accounts Hi Tom, please subscribe to the list, it'a a member only list. To answer your question, I think this is one of the most wanted features. The way I think I'll implement is a little different, like: 1. A registered user has an option to send an invitation to the customer (here s/he can add protection like a password, and some other options like, notify me when the upload is done, how many uploads, how long the invitation will last, password protect the uploads afterwards, and so on) 2. The customer is given (via e-mail or so) a link like http://host/?a=i&i=asdu23 which gets to the mere upload form (maybe with a description field) 3. the customer uploads the files 4. the user is notified about the uploaded files. 5. Periodically remove expired invitations, or the user might also get/send a link to remove the invitation. Thoughts? Alessandro On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> wrote: > Hi, > > I am trying to implement Open Upload for use in our customer support to > securely exchange files with our customers. Providing files that the > customer can download works great out of the box. What I am trying to > determine is how best to enable customers to upload files in a > controlled manner. > > The scenario I envision is: > 1. Registered_User has a form that allows them to enter information > about customer (email address required at least) > 2. Script generates a password and creates Customer_Account > (email address as user login) and Registered_User as parent > (new field in user table?) > 3. Script emails customer URL to Open Upload site with generated > password and instructions > 4. Customer uploads file(s) > 5. Uploaded files get owned (user_login field set to username > of Registered_User) > 6. Registerd_User gets email notification of uploaded file > 7. Periodically (as defined by an administrator) cron (or other > scheduler) job runs that logs into Open Upload database and > sets active status = 0 > > Thoughts? > > Tom Tucker, Sr. Sales Engineer > Cenzic, Inc > www.cenzic.com > tt...@ce... > > ------------------------------------------------------------------------ ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Alessandro B. <ts...@br...> - 2009-09-08 20:17:22
|
ok, no worry :) thanks On Tue, 8 Sep 2009 16:14:25 -0400, "Weir, Jason" <jas...@nh...> wrote: > Nope - I had a long weekend - I'll try to get back on it tomorrow.. > > -J > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Tuesday, September 08, 2009 4:09 PM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] Temporary upload accounts > > > Hi Jason, > > good. > > [OT] > did you have any time to test ldap with my last modification (see > e-mail) > [/OT] > > Alessandro > > On Tue, 8 Sep 2009 16:01:07 -0400, "Weir, Jason" <jas...@nh...> > wrote: >> Alessandro - I like it - we would definitely use that... >> >> -Jason >> >> -----Original Message----- >> From: Alessandro Briosi [mailto:ts...@br...] >> Sent: Tuesday, September 08, 2009 3:55 PM >> To: OpenUpload Delvel and General talk >> Cc: tt...@ce... >> Subject: Re: [openupload-devel] Temporary upload accounts >> >> >> Hi Tom, >> please subscribe to the list, it'a a member only list. >> >> To answer your question, I think this is one of the most wanted >> features. >> >> The way I think I'll implement is a little different, like: >> >> 1. A registered user has an option to send an invitation to the > customer >> (here s/he can add protection like a password, and some other options >> like, notify me when the upload is done, how many uploads, how long > the >> invitation will last, password protect the uploads afterwards, and so >> on) >> 2. The customer is given (via e-mail or so) a link like >> http://host/?a=i&i=asdu23 >> which gets to the mere upload form (maybe with a description field) >> 3. the customer uploads the files >> 4. the user is notified about the uploaded files. >> 5. Periodically remove expired invitations, or the user might also >> get/send >> a link to remove the invitation. >> >> Thoughts? >> >> Alessandro >> >> On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> >> wrote: >>> Hi, >>> >>> I am trying to implement Open Upload for use in our customer support >> to >>> securely exchange files with our customers. Providing files that the >>> customer can download works great out of the box. What I am trying to >>> determine is how best to enable customers to upload files in a >>> controlled manner. >>> >>> The scenario I envision is: >>> 1. Registered_User has a form that allows them to enter information >>> about customer (email address required at least) >>> 2. Script generates a password and creates Customer_Account >>> (email address as user login) and Registered_User as parent >>> (new field in user table?) >>> 3. Script emails customer URL to Open Upload site with generated >>> password and instructions >>> 4. Customer uploads file(s) >>> 5. Uploaded files get owned (user_login field set to username >>> of Registered_User) >>> 6. Registerd_User gets email notification of uploaded file >>> 7. Periodically (as defined by an administrator) cron (or other >>> scheduler) job runs that logs into Open Upload database and >>> sets active status = 0 >>> >>> Thoughts? >>> >>> Tom Tucker, Sr. Sales Engineer >>> Cenzic, Inc >>> www.cenzic.com >>> tt...@ce... >>> >>> >> > ------------------------------------------------------------------------ >> ------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >>> >>> trial. Simplify your report design, integration and deployment - and >> focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Openupload-devel mailing list >>> Ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/openupload-devel >> >> > ------------------------------------------------------------------------ >> ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel >> >> >> >> > ________________________________________________________________________ >> _____________________ >> >> Please visit www.nhrs.org to subscribe to NHRS email announcements and >> updates. >> >> >> > ________________________________________________________________________ > _____________________ >> >> Please visit www.nhrs.org to subscribe to NHRS email announcements and >> updates. >> > ------------------------------------------------------------------------ > ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> >> trial. Simplify your report design, integration and deployment - and > focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ________________________________________________________________________ > _____________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > > > _____________________________________________________________________________________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Weir, J. <jas...@nh...> - 2009-09-08 20:13:42
|
Nope - I had a long weekend - I'll try to get back on it tomorrow.. -J -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Tuesday, September 08, 2009 4:09 PM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Temporary upload accounts Hi Jason, good. [OT] did you have any time to test ldap with my last modification (see e-mail) [/OT] Alessandro On Tue, 8 Sep 2009 16:01:07 -0400, "Weir, Jason" <jas...@nh...> wrote: > Alessandro - I like it - we would definitely use that... > > -Jason > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Tuesday, September 08, 2009 3:55 PM > To: OpenUpload Delvel and General talk > Cc: tt...@ce... > Subject: Re: [openupload-devel] Temporary upload accounts > > > Hi Tom, > please subscribe to the list, it'a a member only list. > > To answer your question, I think this is one of the most wanted > features. > > The way I think I'll implement is a little different, like: > > 1. A registered user has an option to send an invitation to the customer > (here s/he can add protection like a password, and some other options > like, notify me when the upload is done, how many uploads, how long the > invitation will last, password protect the uploads afterwards, and so > on) > 2. The customer is given (via e-mail or so) a link like > http://host/?a=i&i=asdu23 > which gets to the mere upload form (maybe with a description field) > 3. the customer uploads the files > 4. the user is notified about the uploaded files. > 5. Periodically remove expired invitations, or the user might also > get/send > a link to remove the invitation. > > Thoughts? > > Alessandro > > On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> > wrote: >> Hi, >> >> I am trying to implement Open Upload for use in our customer support > to >> securely exchange files with our customers. Providing files that the >> customer can download works great out of the box. What I am trying to >> determine is how best to enable customers to upload files in a >> controlled manner. >> >> The scenario I envision is: >> 1. Registered_User has a form that allows them to enter information >> about customer (email address required at least) >> 2. Script generates a password and creates Customer_Account >> (email address as user login) and Registered_User as parent >> (new field in user table?) >> 3. Script emails customer URL to Open Upload site with generated >> password and instructions >> 4. Customer uploads file(s) >> 5. Uploaded files get owned (user_login field set to username >> of Registered_User) >> 6. Registerd_User gets email notification of uploaded file >> 7. Periodically (as defined by an administrator) cron (or other >> scheduler) job runs that logs into Open Upload database and >> sets active status = 0 >> >> Thoughts? >> >> Tom Tucker, Sr. Sales Engineer >> Cenzic, Inc >> www.cenzic.com >> tt...@ce... >> >> > ------------------------------------------------------------------------ > ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> >> trial. Simplify your report design, integration and deployment - and > focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ________________________________________________________________________ > _____________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > > > ________________________________________________________________________ _____________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > ------------------------------------------------------------------------ ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel ________________________________________________________________________ _____________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. _____________________________________________________________________________________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-08 20:12:06
|
Hi Jason, good. [OT] did you have any time to test ldap with my last modification (see e-mail) [/OT] Alessandro On Tue, 8 Sep 2009 16:01:07 -0400, "Weir, Jason" <jas...@nh...> wrote: > Alessandro - I like it - we would definitely use that... > > -Jason > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Tuesday, September 08, 2009 3:55 PM > To: OpenUpload Delvel and General talk > Cc: tt...@ce... > Subject: Re: [openupload-devel] Temporary upload accounts > > > Hi Tom, > please subscribe to the list, it'a a member only list. > > To answer your question, I think this is one of the most wanted > features. > > The way I think I'll implement is a little different, like: > > 1. A registered user has an option to send an invitation to the customer > (here s/he can add protection like a password, and some other options > like, notify me when the upload is done, how many uploads, how long the > invitation will last, password protect the uploads afterwards, and so > on) > 2. The customer is given (via e-mail or so) a link like > http://host/?a=i&i=asdu23 > which gets to the mere upload form (maybe with a description field) > 3. the customer uploads the files > 4. the user is notified about the uploaded files. > 5. Periodically remove expired invitations, or the user might also > get/send > a link to remove the invitation. > > Thoughts? > > Alessandro > > On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> > wrote: >> Hi, >> >> I am trying to implement Open Upload for use in our customer support > to >> securely exchange files with our customers. Providing files that the >> customer can download works great out of the box. What I am trying to >> determine is how best to enable customers to upload files in a >> controlled manner. >> >> The scenario I envision is: >> 1. Registered_User has a form that allows them to enter information >> about customer (email address required at least) >> 2. Script generates a password and creates Customer_Account >> (email address as user login) and Registered_User as parent >> (new field in user table?) >> 3. Script emails customer URL to Open Upload site with generated >> password and instructions >> 4. Customer uploads file(s) >> 5. Uploaded files get owned (user_login field set to username >> of Registered_User) >> 6. Registerd_User gets email notification of uploaded file >> 7. Periodically (as defined by an administrator) cron (or other >> scheduler) job runs that logs into Open Upload database and >> sets active status = 0 >> >> Thoughts? >> >> Tom Tucker, Sr. Sales Engineer >> Cenzic, Inc >> www.cenzic.com >> tt...@ce... >> >> > ------------------------------------------------------------------------ > ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> >> trial. Simplify your report design, integration and deployment - and > focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ________________________________________________________________________ > _____________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > > > _____________________________________________________________________________________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Weir, J. <jas...@nh...> - 2009-09-08 20:00:25
|
Alessandro - I like it - we would definitely use that... -Jason -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Tuesday, September 08, 2009 3:55 PM To: OpenUpload Delvel and General talk Cc: tt...@ce... Subject: Re: [openupload-devel] Temporary upload accounts Hi Tom, please subscribe to the list, it'a a member only list. To answer your question, I think this is one of the most wanted features. The way I think I'll implement is a little different, like: 1. A registered user has an option to send an invitation to the customer (here s/he can add protection like a password, and some other options like, notify me when the upload is done, how many uploads, how long the invitation will last, password protect the uploads afterwards, and so on) 2. The customer is given (via e-mail or so) a link like http://host/?a=i&i=asdu23 which gets to the mere upload form (maybe with a description field) 3. the customer uploads the files 4. the user is notified about the uploaded files. 5. Periodically remove expired invitations, or the user might also get/send a link to remove the invitation. Thoughts? Alessandro On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> wrote: > Hi, > > I am trying to implement Open Upload for use in our customer support to > securely exchange files with our customers. Providing files that the > customer can download works great out of the box. What I am trying to > determine is how best to enable customers to upload files in a > controlled manner. > > The scenario I envision is: > 1. Registered_User has a form that allows them to enter information > about customer (email address required at least) > 2. Script generates a password and creates Customer_Account > (email address as user login) and Registered_User as parent > (new field in user table?) > 3. Script emails customer URL to Open Upload site with generated > password and instructions > 4. Customer uploads file(s) > 5. Uploaded files get owned (user_login field set to username > of Registered_User) > 6. Registerd_User gets email notification of uploaded file > 7. Periodically (as defined by an administrator) cron (or other > scheduler) job runs that logs into Open Upload database and > sets active status = 0 > > Thoughts? > > Tom Tucker, Sr. Sales Engineer > Cenzic, Inc > www.cenzic.com > tt...@ce... > > ------------------------------------------------------------------------ ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel ________________________________________________________________________ _____________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. _____________________________________________________________________________________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-08 19:57:57
|
Hi Tom, please subscribe to the list, it'a a member only list. To answer your question, I think this is one of the most wanted features. The way I think I'll implement is a little different, like: 1. A registered user has an option to send an invitation to the customer (here s/he can add protection like a password, and some other options like, notify me when the upload is done, how many uploads, how long the invitation will last, password protect the uploads afterwards, and so on) 2. The customer is given (via e-mail or so) a link like http://host/?a=i&i=asdu23 which gets to the mere upload form (maybe with a description field) 3. the customer uploads the files 4. the user is notified about the uploaded files. 5. Periodically remove expired invitations, or the user might also get/send a link to remove the invitation. Thoughts? Alessandro On Tue, 8 Sep 2009 11:43:17 -0700, "Tom Tucker" <tt...@ce...> wrote: > Hi, > > I am trying to implement Open Upload for use in our customer support to > securely exchange files with our customers. Providing files that the > customer can download works great out of the box. What I am trying to > determine is how best to enable customers to upload files in a > controlled manner. > > The scenario I envision is: > 1. Registered_User has a form that allows them to enter information > about customer (email address required at least) > 2. Script generates a password and creates Customer_Account > (email address as user login) and Registered_User as parent > (new field in user table?) > 3. Script emails customer URL to Open Upload site with generated > password and instructions > 4. Customer uploads file(s) > 5. Uploaded files get owned (user_login field set to username > of Registered_User) > 6. Registerd_User gets email notification of uploaded file > 7. Periodically (as defined by an administrator) cron (or other > scheduler) job runs that logs into Open Upload database and > sets active status = 0 > > Thoughts? > > Tom Tucker, Sr. Sales Engineer > Cenzic, Inc > www.cenzic.com > tt...@ce... > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Tom T. <tt...@ce...> - 2009-09-08 18:55:46
|
Hi,
I am trying to implement Open Upload for use in our customer support to
securely exchange files with our customers. Providing files that the
customer can download works great out of the box. What I am trying to
determine is how best to enable customers to upload files in a
controlled manner.
The scenario I envision is:
1. Registered_User has a form that allows them to enter information
about customer (email address required at least)
2. Script generates a password and creates Customer_Account
(email address as user login) and Registered_User as parent
(new field in user table?)
3. Script emails customer URL to Open Upload site with generated
password and instructions
4. Customer uploads file(s)
5. Uploaded files get owned (user_login field set to username
of Registered_User)
6. Registerd_User gets email notification of uploaded file
7. Periodically (as defined by an administrator) cron (or other
scheduler) job runs that logs into Open Upload database and
sets active status = 0
Thoughts?
Tom Tucker, Sr. Sales Engineer
Cenzic, Inc
www.cenzic.com
tt...@ce...
|
|
From: Alessandro B. <ts...@br...> - 2009-09-07 20:30:07
|
Hi,
openupload ha scritto:
> Hi List,
>
> Is there a easy way to force captcha usage for certain groups?
> I would like to make captchas required for files from unregistered users,
> and for registered optional.
>
You'll need to tweak the captcha template and change the checkbox into a
hidden value, in templates/default/plugins/captcha/uploadOptions.tpl
something like:
{if $user.login!=''}
<tr><td>{tr}Use Captcha{/tr}:</td><td><input type="checkbox"
name="captcha" value="1" checked></td></tr>
{else}
<input type="hidden" name="captcha" value="1">
{/if}
This would force the captcha on unregistered users.
> oh, and the same question for password protection.
>
Password needs some change to the plugin code to fail if the password is
empty. But this is more complex.
Right now they are optional.
Alessandro
|
|
From: openupload <ope...@sp...> - 2009-09-07 20:21:56
|
Hi List, Is there a easy way to force captcha usage for certain groups? I would like to make captchas required for files from unregistered users, and for registered optional. oh, and the same question for password protection. |
|
From: Alessandro B. <ts...@br...> - 2009-09-03 18:00:50
|
ok, the problem defenatly is the \, in the distinguishedname.
now I need to find out it the same problem affects OpenLDAP too.
In the mean while could you check if this fixes the problem:
put the following code in ldap.inc.php line: 103, (right afer $filter =
'(&('.$this->config['sgid'].'= ...)
if ($this->config['type']=='AD') {
$filter= str_replace("\\","\\\\",$filter);
}
And check if this fixes your problem.
Alessandro
P.S. I also found out that creating a group for OpenUplad, and adding
another group to it won't honorate the cascade. I defenatly think I'm
going to use adLDAP just to not struggle with this.
Weir, Jason ha scritto:
> No trouble... I wish I could help more..
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Tuesday, September 01, 2009 12:00 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> yes, there were problems whit group membership retrival, so I changed
> the way of iteracting, but I suppose I miss something. I thought this
> was already in v0.4 but it's not...
>
> As it was working before, simply restore your config.inc.php and
> ldap.inc.php . I'll dig into this.
>
> sorry for the trouble.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> Is that something that changed with the new version?
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Tuesday, September 01, 2009 11:54 AM
>> To: ope...@li...
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok. It's failing to find your user group membership. That should be
>> done by the 'uid' field, which is used to query the AD on group
>> membership.
>>
>> $filter =
>>
> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
>> onfig['groupclass'].'))';
>>
>> shold come out as
>> (&(member=CN=Weir\,
>> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>>
>> I suppose the problem is the "\," maybe. I need to do some tests.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> I tried using the new LDAP config options here
>>>
>>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] = 'AD';
>>> $CONFIG['ldap']['user'] = 'username';
>>> $CONFIG['ldap']['password'] = 'password';
>>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['userclass']='user';
>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>>> =>'uid');
>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='member';
>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>>> 'name','name' => 'description' );
>>>
>>> Definitely looks like LDAP is not finding the correct group.. I get
>>> authenticated just fine but not assigned any groups..
>>>
>>> Just to make sure we are using the correct LDAP names, here is what I
>>> see in my AD..
>>>
>>> group info:
>>> Cn = OpenUpload Admins
>>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>>> Name
>>> = OpenUpload Admins Member = list of users distinguished names as
>>> below
>>>
>>> User info:
>>> Cn = Weir, Jason
>>> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
>>> Mail = jas...@nh...
>>> sAMAccountName = jweir
>>> Name = Weir, Jason
>>>
>>> I log in with jweir and I am a member of the OpenUpload Admins group.
>>>
>>> Any ideas?
>>> -J
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 4:35 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> ok, could you try the new version with this settings, just to be
>>> sure.
>>> There were problems using previous version afair.
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> I have a few differences
>>>>
>>>> $CONFIG['ldap']['user'] is set to the username and does not include
>>>> the @domain
>>>>
>>>> Here are some other differences.
>>>>
>>>> $CONFIG['ldap']['uid']='samaccountname';
>>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='distinguishedname';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>>> 'description' )
>>>>
>>>> -J
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 4:03 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> Yes, acl are in the db, just some guess. But the Administration menu
>>>> should depend on the ACL.
>>>>
>>>> I also introduced a change which should fix the difference between
>>>> ad
>>>> and ldap group search. (It works for me as I tested it)
>>>>
>>>> Is this what you are using?
>>>> /* Active Directory */
>>>> $CONFIG['ldap']['host'] = '<host>';
>>>> $CONFIG['ldap']['type'] = 'AD';
>>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>>> $CONFIG['ldap']['password'] = '<password>';
>>>> $CONFIG['ldap']['domain']
>>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>>> 1>,dc=<ad
>>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>>>> 'uid');
>>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>>> $CONFIG['ldap']['groupclass']='group';
>>>> $CONFIG['ldap']['gid']='member';
>>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name',
>>>> 'name' => 'description' );
>>>>
>>>>
>>>> where <ad domain> is something like mydomain.local (and ad domain 1
>>>> =
>>>> mydomain and ad domain2 = local)
>>>>
>>>> Just to be sure I haven't lost some configuration...
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>>> data
>>>>> stored in the DB?
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>>> groups
>>>>> (?)
>>>>>
>>>>> Alessandro
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> After the upgrade I no longer had the "Administration" button at
>>>>>> the top of the page.. I restored the old files and it's back..
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> This is from 0.4
>>>>>>
>>>>>> 1. Backup database and direcories.
>>>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>>>> the template modifications you have made) (rename the folders) 3.
>>>>>> replace all files (beside the data) 4. put back the config.inc.php
>
>>>>>> and other modified files (templates)
>>>> 5.
>>>>>> check directory permissions (templates_c must be writable) 6. Go
>>>>>> to
>>>>> the
>>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>>> that everything is working fine.
>>>>>>
>>>>>> Alessandro
>>>>>>
>>>>>> P.S. No updates to the database where made.
>>>>>>
>>>>>> Weir, Jason ha scritto:
>>>>>>> What's the recommended upgrade procedure?
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>>> To: OpenUpload Delvel and General talk
>>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>>
>>>>>>>
>>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>>> Open Upload.
>>>>>>>
>>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>>> You
>>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>>
>>>>>>> As always report bugs.
>>>>>>>
>>>>>>> Ejnoy,
>>>>>>> Alessandro
>>>>>>>
>>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>>
>>>>>>> * Database
>>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>>
>>>>>>> * Translations
>>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>>> (leocardoso)
>>>>>>> * Mime types
>>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>>
>>>>>>> * Plugins
>>>>>>> - Add multiple recipients option to email plugin (; separated
>>>>>>> list)
>>>>>>>
>>>>>>> * Bugs fixed
>>>>>>> - Mime handling is now done on the server if supported.
>>>>>>> - Handle strange AD behavier with blank passwords
>>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>>> with
>>>>>> strong passwords
>>>>>>> - New mysql versions don't allow an empty string for date/time
>>>>>>> - Missing activity_log structure from sql files
>>>>>>> - Report a message if php fails moving around the files.
>>>>>>> - A few other minor fixes.
>>> _____________________________________________________________________
>>> _
>>> _______________________
>>>
>>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>>> and
>>> updates.
>>>
>> ----------------------------------------------------------------------
>> --
>> ------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Openupload-devel mailing list
>>> Ope...@li...
>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>> ----------------------------------------------------------------------
>> --
>> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>>
>>
>>
>> ______________________________________________________________________
>> __
>> _____________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>
>> updates.
>>
>>
>> ______________________________________________________________________
>> _______________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>
>> updates.
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
> _____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-01 16:01:16
|
No trouble... I wish I could help more..
-J
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Tuesday, September 01, 2009 12:00 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
yes, there were problems whit group membership retrival, so I changed
the way of iteracting, but I suppose I miss something. I thought this
was already in v0.4 but it's not...
As it was working before, simply restore your config.inc.php and
ldap.inc.php . I'll dig into this.
sorry for the trouble.
Alessandro
Weir, Jason ha scritto:
> Is that something that changed with the new version?
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Tuesday, September 01, 2009 11:54 AM
> To: ope...@li...
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok. It's failing to find your user group membership. That should be
> done by the 'uid' field, which is used to query the AD on group
> membership.
>
> $filter =
>
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
> onfig['groupclass'].'))';
>
> shold come out as
> (&(member=CN=Weir\,
> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>
> I suppose the problem is the "\," maybe. I need to do some tests.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> I tried using the new LDAP config options here
>>
>> $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] = 'AD';
>> $CONFIG['ldap']['user'] = 'username';
>> $CONFIG['ldap']['password'] = 'password';
>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['userclass']='user';
>> $CONFIG['ldap']['uid']='sAMAccountName';
>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>> =>'uid');
>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='member';
>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>> 'name','name' => 'description' );
>>
>> Definitely looks like LDAP is not finding the correct group.. I get
>> authenticated just fine but not assigned any groups..
>>
>> Just to make sure we are using the correct LDAP names, here is what I
>> see in my AD..
>>
>> group info:
>> Cn = OpenUpload Admins
>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
>> Name
>
>> = OpenUpload Admins Member = list of users distinguished names as
>> below
>>
>> User info:
>> Cn = Weir, Jason
>> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
>> Mail = jas...@nh...
>> sAMAccountName = jweir
>> Name = Weir, Jason
>>
>> I log in with jweir and I am a member of the OpenUpload Admins group.
>>
>> Any ideas?
>> -J
>>
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Monday, August 31, 2009 4:35 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok, could you try the new version with this settings, just to be
>> sure.
>
>> There were problems using previous version afair.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> I have a few differences
>>>
>>> $CONFIG['ldap']['user'] is set to the username and does not include
>>> the @domain
>>>
>>> Here are some other differences.
>>>
>>> $CONFIG['ldap']['uid']='samaccountname';
>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='distinguishedname';
>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>> 'description' )
>>>
>>> -J
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 4:03 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> Yes, acl are in the db, just some guess. But the Administration menu
>>> should depend on the ACL.
>>>
>>> I also introduced a change which should fix the difference between
>>> ad
>
>>> and ldap group search. (It works for me as I tested it)
>>>
>>> Is this what you are using?
>>> /* Active Directory */
>>> $CONFIG['ldap']['host'] = '<host>';
>>> $CONFIG['ldap']['type'] = 'AD';
>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>> $CONFIG['ldap']['password'] = '<password>';
>>> $CONFIG['ldap']['domain']
>
>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain
>>> 1>,dc=<ad
>
>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>>> 'uid');
>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='member';
>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name',
>>> 'name' => 'description' );
>>>
>>>
>>> where <ad domain> is something like mydomain.local (and ad domain 1
>>> =
>
>>> mydomain and ad domain2 = local)
>>>
>>> Just to be sure I haven't lost some configuration...
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>> data
>>>> stored in the DB?
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>> groups
>>>> (?)
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> After the upgrade I no longer had the "Administration" button at
>>>>> the top of the page.. I restored the old files and it's back..
>>>>>
>>>>> -J
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> This is from 0.4
>>>>>
>>>>> 1. Backup database and direcories.
>>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>>> the template modifications you have made) (rename the folders) 3.
>>>>> replace all files (beside the data) 4. put back the config.inc.php
>>>>> and other modified files (templates)
>>> 5.
>>>>> check directory permissions (templates_c must be writable) 6. Go
>>>>> to
>>>> the
>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>> that everything is working fine.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> P.S. No updates to the database where made.
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> What's the recommended upgrade procedure?
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> I'm pleased to announce that I just released version 0.4.1 of
>>>>>> Open Upload.
>>>>>>
>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>> You
>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>
>>>>>> As always report bugs.
>>>>>>
>>>>>> Ejnoy,
>>>>>> Alessandro
>>>>>>
>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>
>>>>>> * Database
>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>
>>>>>> * Translations
>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>> (leocardoso)
>>>>>> * Mime types
>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>
>>>>>> * Plugins
>>>>>> - Add multiple recipients option to email plugin (; separated
>>>>>> list)
>>>>>>
>>>>>> * Bugs fixed
>>>>>> - Mime handling is now done on the server if supported.
>>>>>> - Handle strange AD behavier with blank passwords
>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>> with
>>>>> strong passwords
>>>>>> - New mysql versions don't allow an empty string for date/time
>>>>>> - Missing activity_log structure from sql files
>>>>>> - Report a message if php fails moving around the files.
>>>>>> - A few other minor fixes.
>>
>> _____________________________________________________________________
>> _
>> _______________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements
>> and
>
>> updates.
>>
> ----------------------------------------------------------------------
> --
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ----------------------------------------------------------------------
> --
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ______________________________________________________________________
> __
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
> ______________________________________________________________________
> _______________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and
focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Openupload-devel mailing list Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
________________________________________________________________________
_____________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-01 16:00:04
|
yes, there were problems whit group membership retrival, so I changed
the way of iteracting, but I suppose I miss something. I thought this
was already in v0.4 but it's not...
As it was working before, simply restore your config.inc.php and
ldap.inc.php . I'll dig into this.
sorry for the trouble.
Alessandro
Weir, Jason ha scritto:
> Is that something that changed with the new version?
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Tuesday, September 01, 2009 11:54 AM
> To: ope...@li...
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok. It's failing to find your user group membership. That should be
> done by the 'uid' field, which is used to query the AD on group
> membership.
>
> $filter =
> '(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
> onfig['groupclass'].'))';
>
> shold come out as
> (&(member=CN=Weir\,
> Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
>
> I suppose the problem is the "\," maybe. I need to do some tests.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> I tried using the new LDAP config options here
>>
>> $CONFIG['ldap']['host'] = 'hostname';
>> $CONFIG['ldap']['type'] = 'AD';
>> $CONFIG['ldap']['user'] = 'username';
>> $CONFIG['ldap']['password'] = 'password';
>> $CONFIG['ldap']['domain'] = 'nhrs.org';
>> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['userclass']='user';
>> $CONFIG['ldap']['uid']='sAMAccountName';
>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
>> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
>> =>'uid');
>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='member';
>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
>> 'name','name' => 'description' );
>>
>> Definitely looks like LDAP is not finding the correct group.. I get
>> authenticated just fine but not assigned any groups..
>>
>> Just to make sure we are using the correct LDAP names, here is what I
>> see in my AD..
>>
>> group info:
>> Cn = OpenUpload Admins
>> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org Name
>
>> = OpenUpload Admins Member = list of users distinguished names as
>> below
>>
>> User info:
>> Cn = Weir, Jason
>> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
>> Mail = jas...@nh...
>> sAMAccountName = jweir
>> Name = Weir, Jason
>>
>> I log in with jweir and I am a member of the OpenUpload Admins group.
>>
>> Any ideas?
>> -J
>>
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Monday, August 31, 2009 4:35 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> ok, could you try the new version with this settings, just to be sure.
>
>> There were problems using previous version afair.
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> I have a few differences
>>>
>>> $CONFIG['ldap']['user'] is set to the username and does not include
>>> the @domain
>>>
>>> Here are some other differences.
>>>
>>> $CONFIG['ldap']['uid']='samaccountname';
>>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='distinguishedname';
>>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>>> 'description' )
>>>
>>> -J
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 4:03 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> Yes, acl are in the db, just some guess. But the Administration menu
>>> should depend on the ACL.
>>>
>>> I also introduced a change which should fix the difference between ad
>
>>> and ldap group search. (It works for me as I tested it)
>>>
>>> Is this what you are using?
>>> /* Active Directory */
>>> $CONFIG['ldap']['host'] = '<host>';
>>> $CONFIG['ldap']['type'] = 'AD';
>>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>>> $CONFIG['ldap']['password'] = '<password>'; $CONFIG['ldap']['domain']
>
>>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain 1>,dc=<ad
>
>>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>>> $CONFIG['ldap']['uid']='sAMAccountName';
>>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>>> 'uid');
>>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>>> $CONFIG['ldap']['groupclass']='group';
>>> $CONFIG['ldap']['gid']='member';
>>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name',
>>> 'name' => 'description' );
>>>
>>>
>>> where <ad domain> is something like mydomain.local (and ad domain 1 =
>
>>> mydomain and ad domain2 = local)
>>>
>>> Just to be sure I haven't lost some configuration...
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>>> data
>>>> stored in the DB?
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 2:42 PM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>>> groups
>>>> (?)
>>>>
>>>> Alessandro
>>>>
>>>> Weir, Jason ha scritto:
>>>>> After the upgrade I no longer had the "Administration" button at
>>>>> the top of the page.. I restored the old files and it's back..
>>>>>
>>>>> -J
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> This is from 0.4
>>>>>
>>>>> 1. Backup database and direcories.
>>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>>> the template modifications you have made) (rename the folders) 3.
>>>>> replace all files (beside the data) 4. put back the config.inc.php
>>>>> and other modified files (templates)
>>> 5.
>>>>> check directory permissions (templates_c must be writable) 6. Go to
>>>> the
>>>>> administration and check that the ACLs are as expected. 7. Check
>>>>> that everything is working fine.
>>>>>
>>>>> Alessandro
>>>>>
>>>>> P.S. No updates to the database where made.
>>>>>
>>>>> Weir, Jason ha scritto:
>>>>>> What's the recommended upgrade procedure?
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>>> To: OpenUpload Delvel and General talk
>>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>>
>>>>>>
>>>>>> I'm pleased to announce that I just released version 0.4.1 of Open
>>>>>> Upload.
>>>>>>
>>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>>> You
>>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>>
>>>>>> As always report bugs.
>>>>>>
>>>>>> Ejnoy,
>>>>>> Alessandro
>>>>>>
>>>>>> Changelog from release 0.4 to 0.4.1
>>>>>>
>>>>>> * Database
>>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>>
>>>>>> * Translations
>>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>>> (leocardoso)
>>>>>> * Mime types
>>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>>
>>>>>> * Plugins
>>>>>> - Add multiple recipients option to email plugin (; separated
>>>>>> list)
>>>>>>
>>>>>> * Bugs fixed
>>>>>> - Mime handling is now done on the server if supported.
>>>>>> - Handle strange AD behavier with blank passwords
>>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>>> with
>>>>> strong passwords
>>>>>> - New mysql versions don't allow an empty string for date/time
>>>>>> - Missing activity_log structure from sql files
>>>>>> - Report a message if php fails moving around the files.
>>>>>> - A few other minor fixes.
>>
>> ______________________________________________________________________
>> _______________________
>>
>> Please visit www.nhrs.org to subscribe to NHRS email announcements and
>
>> updates.
>>
> ------------------------------------------------------------------------
> ------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
>> trial. Simplify your report design, integration and deployment - and
> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Openupload-devel mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
> ------------------------------------------------------------------------
> ------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
>
>
>
> ________________________________________________________________________
> _____________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
>
> _____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-01 15:55:09
|
Is that something that changed with the new version?
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Tuesday, September 01, 2009 11:54 AM
To: ope...@li...
Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
ok. It's failing to find your user group membership. That should be
done by the 'uid' field, which is used to query the AD on group
membership.
$filter =
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->c
onfig['groupclass'].'))';
shold come out as
(&(member=CN=Weir\,
Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
I suppose the problem is the "\," maybe. I need to do some tests.
Alessandro
Weir, Jason ha scritto:
> I tried using the new LDAP config options here
>
> $CONFIG['ldap']['host'] = 'hostname';
> $CONFIG['ldap']['type'] = 'AD';
> $CONFIG['ldap']['user'] = 'username';
> $CONFIG['ldap']['password'] = 'password';
> $CONFIG['ldap']['domain'] = 'nhrs.org';
> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['userclass']='user';
> $CONFIG['ldap']['uid']='sAMAccountName';
> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
> =>'uid');
> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['groupclass']='group';
> $CONFIG['ldap']['gid']='member';
> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
> 'name','name' => 'description' );
>
> Definitely looks like LDAP is not finding the correct group.. I get
> authenticated just fine but not assigned any groups..
>
> Just to make sure we are using the correct LDAP names, here is what I
> see in my AD..
>
> group info:
> Cn = OpenUpload Admins
> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org Name
> = OpenUpload Admins Member = list of users distinguished names as
> below
>
> User info:
> Cn = Weir, Jason
> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
> Mail = jas...@nh...
> sAMAccountName = jweir
> Name = Weir, Jason
>
> I log in with jweir and I am a member of the OpenUpload Admins group.
>
> Any ideas?
> -J
>
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Monday, August 31, 2009 4:35 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok, could you try the new version with this settings, just to be sure.
> There were problems using previous version afair.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> I have a few differences
>>
>> $CONFIG['ldap']['user'] is set to the username and does not include
>> the @domain
>>
>> Here are some other differences.
>>
>> $CONFIG['ldap']['uid']='samaccountname';
>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='distinguishedname';
>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>> 'description' )
>>
>> -J
>>
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Monday, August 31, 2009 4:03 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> Yes, acl are in the db, just some guess. But the Administration menu
>> should depend on the ACL.
>>
>> I also introduced a change which should fix the difference between ad
>> and ldap group search. (It works for me as I tested it)
>>
>> Is this what you are using?
>> /* Active Directory */
>> $CONFIG['ldap']['host'] = '<host>';
>> $CONFIG['ldap']['type'] = 'AD';
>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>> $CONFIG['ldap']['password'] = '<password>'; $CONFIG['ldap']['domain']
>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain 1>,dc=<ad
>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>> $CONFIG['ldap']['uid']='sAMAccountName';
>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>> 'uid');
>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='member';
>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name',
>> 'name' => 'description' );
>>
>>
>> where <ad domain> is something like mydomain.local (and ad domain 1 =
>> mydomain and ad domain2 = local)
>>
>> Just to be sure I haven't lost some configuration...
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL
>>> data
>
>>> stored in the DB?
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 2:42 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>> groups
>>> (?)
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> After the upgrade I no longer had the "Administration" button at
>>>> the top of the page.. I restored the old files and it's back..
>>>>
>>>> -J
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> This is from 0.4
>>>>
>>>> 1. Backup database and direcories.
>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>> the template modifications you have made) (rename the folders) 3.
>>>> replace all files (beside the data) 4. put back the config.inc.php
>>>> and other modified files (templates)
>> 5.
>>>> check directory permissions (templates_c must be writable) 6. Go to
>>> the
>>>> administration and check that the ACLs are as expected. 7. Check
>>>> that everything is working fine.
>>>>
>>>> Alessandro
>>>>
>>>> P.S. No updates to the database where made.
>>>>
>>>> Weir, Jason ha scritto:
>>>>> What's the recommended upgrade procedure?
>>>>>
>>>>> -J
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> I'm pleased to announce that I just released version 0.4.1 of Open
>>>>> Upload.
>>>>>
>>>>> It's mainly a bug fix release, but introduces some new feature.
>>>>> You
>
>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>
>>>>> As always report bugs.
>>>>>
>>>>> Ejnoy,
>>>>> Alessandro
>>>>>
>>>>> Changelog from release 0.4 to 0.4.1
>>>>>
>>>>> * Database
>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>
>>>>> * Translations
>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>> (leocardoso)
>>>>> * Mime types
>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>
>>>>> * Plugins
>>>>> - Add multiple recipients option to email plugin (; separated
>>>>> list)
>>>>>
>>>>> * Bugs fixed
>>>>> - Mime handling is now done on the server if supported.
>>>>> - Handle strange AD behavier with blank passwords
>>>>> - Handle magic_quotes_gpc if enabled, which caused problems
>>>>> with
>>>> strong passwords
>>>>> - New mysql versions don't allow an empty string for date/time
>>>>> - Missing activity_log structure from sql files
>>>>> - Report a message if php fails moving around the files.
>>>>> - A few other minor fixes.
>
>
> ______________________________________________________________________
> _______________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and
> updates.
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and
focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Openupload-devel mailing list Ope...@li...
https://lists.sourceforge.net/lists/listinfo/openupload-devel
________________________________________________________________________
_____________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and
updates.
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-09-01 15:54:10
|
ok. It's failing to find your user group membership. That should be
done by the 'uid' field, which is used to query the AD on group membership.
$filter =
'(&('.$this->config['sgid'].'='.$result['uid'].')(objectclass='.$this->config['groupclass'].'))';
shold come out as
(&(member=CN=Weir\,
Jason,OU=Administrators,DC=nhrs,DC=org)(objectclass=group))
I suppose the problem is the "\," maybe. I need to do some tests.
Alessandro
Weir, Jason ha scritto:
> I tried using the new LDAP config options here
>
> $CONFIG['ldap']['host'] = 'hostname';
> $CONFIG['ldap']['type'] = 'AD';
> $CONFIG['ldap']['user'] = 'username';
> $CONFIG['ldap']['password'] = 'password';
> $CONFIG['ldap']['domain'] = 'nhrs.org';
> $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['userclass']='user';
> $CONFIG['ldap']['uid']='sAMAccountName';
> $CONFIG['ldap']['userfields'] = array ( 'samaccountname'
> =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname'
> =>'uid');
> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
> $CONFIG['ldap']['groupclass']='group';
> $CONFIG['ldap']['gid']='member';
> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' =>
> 'name','name' => 'description' );
>
> Definitely looks like LDAP is not finding the correct group.. I get
> authenticated just fine but not assigned any groups..
>
> Just to make sure we are using the correct LDAP names, here is what I
> see in my AD..
>
> group info:
> Cn = OpenUpload Admins
> Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org
> Name = OpenUpload Admins
> Member = list of users distinguished names as below
>
> User info:
> Cn = Weir, Jason
> Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org
> Mail = jas...@nh...
> sAMAccountName = jweir
> Name = Weir, Jason
>
> I log in with jweir and I am a member of the OpenUpload Admins group.
>
> Any ideas?
> -J
>
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Monday, August 31, 2009 4:35 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>
>
> ok, could you try the new version with this settings, just to be sure.
> There were problems using previous version afair.
>
> Alessandro
>
> Weir, Jason ha scritto:
>> I have a few differences
>>
>> $CONFIG['ldap']['user'] is set to the username and does not include
>> the @domain
>>
>> Here are some other differences.
>>
>> $CONFIG['ldap']['uid']='samaccountname';
>> $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' =>
>> 'name', 'memberof' => 'group_id', 'mail' => 'email');
>> $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='distinguishedname';
>> $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' =>
>> 'description' )
>>
>> -J
>>
>>
>> -----Original Message-----
>> From: Alessandro Briosi [mailto:ts...@br...]
>> Sent: Monday, August 31, 2009 4:03 PM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>
>>
>> Yes, acl are in the db, just some guess. But the Administration menu
>> should depend on the ACL.
>>
>> I also introduced a change which should fix the difference between ad
>> and ldap group search. (It works for me as I tested it)
>>
>> Is this what you are using?
>> /* Active Directory */
>> $CONFIG['ldap']['host'] = '<host>';
>> $CONFIG['ldap']['type'] = 'AD';
>> $CONFIG['ldap']['user'] = '<user>@<ad domain>';
>> $CONFIG['ldap']['password'] = '<password>'; $CONFIG['ldap']['domain']
>> = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain 1>,dc=<ad
>> domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad
>> domain 2>'; $CONFIG['ldap']['userclass']='user';
>> $CONFIG['ldap']['uid']='sAMAccountName';
>> $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>
>> 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>
>> 'uid');
>> $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>';
>> $CONFIG['ldap']['groupclass']='group';
>> $CONFIG['ldap']['gid']='member';
>> $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name',
>> 'name' => 'description' );
>>
>>
>> where <ad domain> is something like mydomain.local (and ad domain 1 =
>> mydomain and ad domain2 = local)
>>
>> Just to be sure I haven't lost some configuration...
>>
>> Alessandro
>>
>> Weir, Jason ha scritto:
>>> Did something change in the LDAP routines from 0.4.0? Isn't ACL data
>
>>> stored in the DB?
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Alessandro Briosi [mailto:ts...@br...]
>>> Sent: Monday, August 31, 2009 2:42 PM
>>> To: OpenUpload Delvel and General talk
>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>
>>>
>>> hmm, seems to be an acl problem. Maybe LDAP not finding the right
>> groups
>>> (?)
>>>
>>> Alessandro
>>>
>>> Weir, Jason ha scritto:
>>>> After the upgrade I no longer had the "Administration" button at the
>>>> top of the page.. I restored the old files and it's back..
>>>>
>>>> -J
>>>>
>>>> -----Original Message-----
>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>> Sent: Monday, August 31, 2009 11:03 AM
>>>> To: OpenUpload Delvel and General talk
>>>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released
>>>>
>>>>
>>>> This is from 0.4
>>>>
>>>> 1. Backup database and direcories.
>>>> 2. keep the config.inc.php and the data directory (and eventually
>>>> the template modifications you have made) (rename the folders) 3.
>>>> replace all files (beside the data) 4. put back the config.inc.php
>>>> and other modified files (templates)
>> 5.
>>>> check directory permissions (templates_c must be writable) 6. Go to
>>> the
>>>> administration and check that the ACLs are as expected. 7. Check
>>>> that everything is working fine.
>>>>
>>>> Alessandro
>>>>
>>>> P.S. No updates to the database where made.
>>>>
>>>> Weir, Jason ha scritto:
>>>>> What's the recommended upgrade procedure?
>>>>>
>>>>> -J
>>>>>
>>>>> -----Original Message-----
>>>>> From: Alessandro Briosi [mailto:ts...@br...]
>>>>> Sent: Friday, August 28, 2009 11:01 AM
>>>>> To: OpenUpload Delvel and General talk
>>>>> Subject: [openupload-devel] OpenUpload v0.4.1 released
>>>>>
>>>>>
>>>>> I'm pleased to announce that I just released version 0.4.1 of Open
>>>>> Upload.
>>>>>
>>>>> It's mainly a bug fix release, but introduces some new feature. You
>
>>>>> are encouraged to upgrade (DO A BACKUP BEFORE!)
>>>>>
>>>>> As always report bugs.
>>>>>
>>>>> Ejnoy,
>>>>> Alessandro
>>>>>
>>>>> Changelog from release 0.4 to 0.4.1
>>>>>
>>>>> * Database
>>>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso)
>>>>>
>>>>> * Translations
>>>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso
>> (leocardoso)
>>>>> * Mime types
>>>>> - Now mime types try to be handled on the server (see bugs)
>>>>>
>>>>> * Plugins
>>>>> - Add multiple recipients option to email plugin (; separated
>>>>> list)
>>>>>
>>>>> * Bugs fixed
>>>>> - Mime handling is now done on the server if supported.
>>>>> - Handle strange AD behavier with blank passwords
>>>>> - Handle magic_quotes_gpc if enabled, which caused problems with
>>>> strong passwords
>>>>> - New mysql versions don't allow an empty string for date/time
>>>>> - Missing activity_log structure from sql files
>>>>> - Report a message if php fails moving around the files.
>>>>> - A few other minor fixes.
>
>
> _____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Weir, J. <jas...@nh...> - 2009-09-01 15:40:16
|
I tried using the new LDAP config options here $CONFIG['ldap']['host'] = 'hostname'; $CONFIG['ldap']['type'] = 'AD'; $CONFIG['ldap']['user'] = 'username'; $CONFIG['ldap']['password'] = 'password'; $CONFIG['ldap']['domain'] = 'nhrs.org'; $CONFIG['ldap']['basedn'] = 'dc=nhrs,dc=org'; $CONFIG['ldap']['userdn'] = 'dc=nhrs,dc=org'; $CONFIG['ldap']['userclass']='user'; $CONFIG['ldap']['uid']='sAMAccountName'; $CONFIG['ldap']['userfields'] = array ( 'samaccountname' =>'login','name' => 'name', 'mail' => 'email', 'distinguishedname' =>'uid'); $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org'; $CONFIG['ldap']['groupclass']='group'; $CONFIG['ldap']['gid']='member'; $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name','name' => 'description' ); Definitely looks like LDAP is not finding the correct group.. I get authenticated just fine but not assigned any groups.. Just to make sure we are using the correct LDAP names, here is what I see in my AD.. group info: Cn = OpenUpload Admins Distinguishedname = CN=OpenUpload Admins,OU=Groups,DC=nhrs,DC=org Name = OpenUpload Admins Member = list of users distinguished names as below User info: Cn = Weir, Jason Distinguishedname = CN=Weir\, Jason,OU=Administrators,DC=nhrs,DC=org Mail = jas...@nh... sAMAccountName = jweir Name = Weir, Jason I log in with jweir and I am a member of the OpenUpload Admins group. Any ideas? -J -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Monday, August 31, 2009 4:35 PM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] OpenUpload v0.4.1 released ok, could you try the new version with this settings, just to be sure. There were problems using previous version afair. Alessandro Weir, Jason ha scritto: > I have a few differences > > $CONFIG['ldap']['user'] is set to the username and does not include > the @domain > > Here are some other differences. > > $CONFIG['ldap']['uid']='samaccountname'; > $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' => > 'name', 'memberof' => 'group_id', 'mail' => 'email'); > $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org'; > $CONFIG['ldap']['groupclass']='group'; > $CONFIG['ldap']['gid']='distinguishedname'; > $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => > 'description' ) > > -J > > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Monday, August 31, 2009 4:03 PM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] OpenUpload v0.4.1 released > > > Yes, acl are in the db, just some guess. But the Administration menu > should depend on the ACL. > > I also introduced a change which should fix the difference between ad > and ldap group search. (It works for me as I tested it) > > Is this what you are using? > /* Active Directory */ > $CONFIG['ldap']['host'] = '<host>'; > $CONFIG['ldap']['type'] = 'AD'; > $CONFIG['ldap']['user'] = '<user>@<ad domain>'; > $CONFIG['ldap']['password'] = '<password>'; $CONFIG['ldap']['domain'] > = '<ad domain>'; $CONFIG['ldap']['basedn'] = 'dc=<ad domain 1>,dc=<ad > domain 2>'; $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad > domain 2>'; $CONFIG['ldap']['userclass']='user'; > $CONFIG['ldap']['uid']='sAMAccountName'; > $CONFIG['ldap']['userfields'] = array ( 'samaccountname' => > 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' => > 'uid'); > $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>'; > $CONFIG['ldap']['groupclass']='group'; > $CONFIG['ldap']['gid']='member'; > $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name', > 'name' => 'description' ); > > > where <ad domain> is something like mydomain.local (and ad domain 1 = > mydomain and ad domain2 = local) > > Just to be sure I haven't lost some configuration... > > Alessandro > > Weir, Jason ha scritto: >> Did something change in the LDAP routines from 0.4.0? Isn't ACL data >> stored in the DB? >> >> >> >> -----Original Message----- >> From: Alessandro Briosi [mailto:ts...@br...] >> Sent: Monday, August 31, 2009 2:42 PM >> To: OpenUpload Delvel and General talk >> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released >> >> >> hmm, seems to be an acl problem. Maybe LDAP not finding the right > groups >> (?) >> >> Alessandro >> >> Weir, Jason ha scritto: >>> After the upgrade I no longer had the "Administration" button at the >>> top of the page.. I restored the old files and it's back.. >>> >>> -J >>> >>> -----Original Message----- >>> From: Alessandro Briosi [mailto:ts...@br...] >>> Sent: Monday, August 31, 2009 11:03 AM >>> To: OpenUpload Delvel and General talk >>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released >>> >>> >>> This is from 0.4 >>> >>> 1. Backup database and direcories. >>> 2. keep the config.inc.php and the data directory (and eventually >>> the template modifications you have made) (rename the folders) 3. >>> replace all files (beside the data) 4. put back the config.inc.php >>> and other modified files (templates) > 5. >>> check directory permissions (templates_c must be writable) 6. Go to >> the >>> administration and check that the ACLs are as expected. 7. Check >>> that everything is working fine. >>> >>> Alessandro >>> >>> P.S. No updates to the database where made. >>> >>> Weir, Jason ha scritto: >>>> What's the recommended upgrade procedure? >>>> >>>> -J >>>> >>>> -----Original Message----- >>>> From: Alessandro Briosi [mailto:ts...@br...] >>>> Sent: Friday, August 28, 2009 11:01 AM >>>> To: OpenUpload Delvel and General talk >>>> Subject: [openupload-devel] OpenUpload v0.4.1 released >>>> >>>> >>>> I'm pleased to announce that I just released version 0.4.1 of Open >>>> Upload. >>>> >>>> It's mainly a bug fix release, but introduces some new feature. You >>>> are encouraged to upgrade (DO A BACKUP BEFORE!) >>>> >>>> As always report bugs. >>>> >>>> Ejnoy, >>>> Alessandro >>>> >>>> Changelog from release 0.4 to 0.4.1 >>>> >>>> * Database >>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso) >>>> >>>> * Translations >>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso > (leocardoso) >>>> * Mime types >>>> - Now mime types try to be handled on the server (see bugs) >>>> >>>> * Plugins >>>> - Add multiple recipients option to email plugin (; separated >>>> list) >>>> >>>> * Bugs fixed >>>> - Mime handling is now done on the server if supported. >>>> - Handle strange AD behavier with blank passwords >>>> - Handle magic_quotes_gpc if enabled, which caused problems with >>> strong passwords >>>> - New mysql versions don't allow an empty string for date/time >>>> - Missing activity_log structure from sql files >>>> - Report a message if php fails moving around the files. >>>> - A few other minor fixes. _____________________________________________________________________________________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-08-31 20:36:19
|
sorry that should be delete from `activitylog` where `log_time` < '2009-01-01'; Alessandro Briosi ha scritto: > hmm, good point. There is now way right now beside a Sql query ... > > delete from `activitylog` where date < '2009-01-01' > > sorry. > > > Weir, Jason ha scritto: >> How do I clear logs? >> >> >> _____________________________________________________________________________________________ >> >> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Alessandro B. <ts...@br...> - 2009-08-31 20:35:04
|
ok, could you try the new version with this settings, just to be sure. There were problems using previous version afair. Alessandro Weir, Jason ha scritto: > I have a few differences > > $CONFIG['ldap']['user'] is set to the username and does not include the > @domain > > Here are some other differences. > > $CONFIG['ldap']['uid']='samaccountname'; > $CONFIG['ldap']['userfields'] = array ( 'cn' => 'login', 'name' => > 'name', 'memberof' => 'group_id', 'mail' => 'email'); > $CONFIG['ldap']['groupdn'] = 'dc=nhrs,dc=org'; > $CONFIG['ldap']['groupclass']='group'; > $CONFIG['ldap']['gid']='distinguishedname'; > $CONFIG['ldap']['groupfields'] = array ( 'cn' => 'name', 'name' => > 'description' ) > > -J > > > -----Original Message----- > From: Alessandro Briosi [mailto:ts...@br...] > Sent: Monday, August 31, 2009 4:03 PM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] OpenUpload v0.4.1 released > > > Yes, acl are in the db, just some guess. But the Administration menu > should depend on the ACL. > > I also introduced a change which should fix the difference between ad > and ldap group search. (It works for me as I tested it) > > Is this what you are using? > /* Active Directory */ > $CONFIG['ldap']['host'] = '<host>'; > $CONFIG['ldap']['type'] = 'AD'; > $CONFIG['ldap']['user'] = '<user>@<ad domain>'; > $CONFIG['ldap']['password'] = '<password>'; > $CONFIG['ldap']['domain'] = '<ad domain>'; > $CONFIG['ldap']['basedn'] = 'dc=<ad domain 1>,dc=<ad domain 2>'; > $CONFIG['ldap']['userdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>'; > $CONFIG['ldap']['userclass']='user'; > $CONFIG['ldap']['uid']='sAMAccountName'; > $CONFIG['ldap']['userfields'] = array ( 'samaccountname' => > 'login','name' => 'name', 'mail' => 'email', 'distinguishedname' => > 'uid'); > $CONFIG['ldap']['groupdn'] = 'dc=<ad domain 1>,dc=<ad domain 2>'; > $CONFIG['ldap']['groupclass']='group'; > $CONFIG['ldap']['gid']='member'; > $CONFIG['ldap']['groupfields'] = array ( 'samaccountname' => 'name', > 'name' => 'description' ); > > > where <ad domain> is something like mydomain.local (and ad domain 1 = > mydomain and ad domain2 = local) > > Just to be sure I haven't lost some configuration... > > Alessandro > > Weir, Jason ha scritto: >> Did something change in the LDAP routines from 0.4.0? Isn't ACL data >> stored in the DB? >> >> >> >> -----Original Message----- >> From: Alessandro Briosi [mailto:ts...@br...] >> Sent: Monday, August 31, 2009 2:42 PM >> To: OpenUpload Delvel and General talk >> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released >> >> >> hmm, seems to be an acl problem. Maybe LDAP not finding the right > groups >> (?) >> >> Alessandro >> >> Weir, Jason ha scritto: >>> After the upgrade I no longer had the "Administration" button at the >>> top of the page.. I restored the old files and it's back.. >>> >>> -J >>> >>> -----Original Message----- >>> From: Alessandro Briosi [mailto:ts...@br...] >>> Sent: Monday, August 31, 2009 11:03 AM >>> To: OpenUpload Delvel and General talk >>> Subject: Re: [openupload-devel] OpenUpload v0.4.1 released >>> >>> >>> This is from 0.4 >>> >>> 1. Backup database and direcories. >>> 2. keep the config.inc.php and the data directory (and eventually the >>> template modifications you have made) (rename the folders) >>> 3. replace all files (beside the data) >>> 4. put back the config.inc.php and other modified files (templates) > 5. >>> check directory permissions (templates_c must be writable) 6. Go to >> the >>> administration and check that the ACLs are as expected. 7. Check that >>> everything is working fine. >>> >>> Alessandro >>> >>> P.S. No updates to the database where made. >>> >>> Weir, Jason ha scritto: >>>> What's the recommended upgrade procedure? >>>> >>>> -J >>>> >>>> -----Original Message----- >>>> From: Alessandro Briosi [mailto:ts...@br...] >>>> Sent: Friday, August 28, 2009 11:01 AM >>>> To: OpenUpload Delvel and General talk >>>> Subject: [openupload-devel] OpenUpload v0.4.1 released >>>> >>>> >>>> I'm pleased to announce that I just released version 0.4.1 of Open >>>> Upload. >>>> >>>> It's mainly a bug fix release, but introduces some new feature. You >>>> are encouraged to upgrade (DO A BACKUP BEFORE!) >>>> >>>> As always report bugs. >>>> >>>> Ejnoy, >>>> Alessandro >>>> >>>> Changelog from release 0.4 to 0.4.1 >>>> >>>> * Database >>>> - MSSQL support. by Leonardo F. Cardoso (leocardoso) >>>> >>>> * Translations >>>> - Added Brazilian Portuguese. by Leonardo F. Cardoso > (leocardoso) >>>> * Mime types >>>> - Now mime types try to be handled on the server (see bugs) >>>> >>>> * Plugins >>>> - Add multiple recipients option to email plugin (; separated >>>> list) >>>> >>>> * Bugs fixed >>>> - Mime handling is now done on the server if supported. >>>> - Handle strange AD behavier with blank passwords >>>> - Handle magic_quotes_gpc if enabled, which caused problems with >>> strong passwords >>>> - New mysql versions don't allow an empty string for date/time >>>> - Missing activity_log structure from sql files >>>> - Report a message if php fails moving around the files. >>>> - A few other minor fixes. >> >> > ________________________________________________________________________ > _____________________ >> Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > ------------------------------------------------------------------------ > ------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day >> trial. Simplify your report design, integration and deployment - and > focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel > > ------------------------------------------------------------------------ > ------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > > > > ________________________________________________________________________ > _____________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and > updates. > > > _____________________________________________________________________________________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |