Send me the file from own cloud eventually I can implement it this evening
Am 08.11.2012 14:05 schrieb "Johan Hendriks" <Jo...@do...>:
> If i add the function i get the error unexpected T_PRIVATE on line 72 **
> **
>
> Which is outside of the added code. ****
>
> Well that goes waaaay beond my knowledge.****
>
> And i am not a coder so i stand ground :D****
>
> ** **
>
> Too bad, because it could be a nice extension to the whole postfixadmin
> server.****
>
>
> I tink i use the imap function instead.
>
> gr****
>
> Johan
>
>
> ****
>
>
>
>
> ****
>
> ** **
>
> *Van:* Rudi Floren [mailto:rud...@go...]
> *Verzonden:* donderdag 8 november 2012 11:13
> *Aan:* Johan Hendriks
> *Onderwerp:* RE: [Postfixadmin-devel] Owncloud Authenticate against
> postfixadmin database****
>
> ** **
>
> That's the one I meant.****
>
> Look for md5crypt inside pacrypt and try to understand what is done inside.
> ****
>
> Am 08.11.2012 09:16 schrieb "Johan Hendriks" <Jo...@do...>:****
>
> Thanks for your reply.
> I do not have a file pacrypt!
> I do have the function pacrypt!
> But i am not a real coder.
> I will try to make it work, I think more people would benevit from it.
>
> thanks
> regards
> Johan
>
> ________________________________________
> Van: Rudi Floren [rud...@go...]
> Verzonden: woensdag 7 november 2012 16:21
> Aan: Johan Hendriks
> CC: pos...@li...; Christian Boltz
> Onderwerp: Re: [Postfixadmin-devel] Owncloud Authenticate against
> postfixadmin database
>
> Look into the pfacrypt file.
>
> There you find the way postfixadmin hashes the password.
> You could copy pase that into the copied redmine plugin.
>
>
> Am Mittwoch, 7. November 2012 12:56:59 schrieb Johan Hendriks:
> >> -----Oorspronkelijk bericht-----
> >> Van: Christian Boltz [mailto:pos...@cb...]
> >> Verzonden: dinsdag 6 november 2012 19:37
> >> Aan: pos...@li...
> >> Onderwerp: Re: [Postfixadmin-devel] Owncloud Authenticate against
> postfixadmin database
> >
> >> Hello,
> >
> >> Am Dienstag, 6. November 2012 schrieb Robert Schetterer:
> >>> Am 06.11.2012 09:59, schrieb Johan Hendriks:
> >>>> I try to get Owncloud running in combination with posfixadmin.
> >
> >>> http://forum.owncloud.org/viewtopic.php?f=3&t=2250
> >>>
> >>> --snip
> >>> change the password check functions in owncloud/lib/user/database.php
> >>> and let them check versus your joomla user database entries instead of
> >>> the owncloud database.
> >>> --snip
> >
> >> Instead of changing core code of OwnCloud, better write a small plugin.
> >> The plugin to authentificate against a redmine database might be a good
> starting point ;-)
> >
> >> http://apps.owncloud.com/content/show.php/user_redmine?content=150740
> >
> >
> >> Another way is to use IMAP logins to verify the user password. There's
> already an ownClowd plugin to do that, but I >can't guarantee for anything
> ;-)
> >
> >> http://apps.owncloud.com/content/show.php?content=148653&forumpage=0
> >
> >
> >> Note that I didn't test any of the plugins mentioned above. I don't
> even use OwnCloud ;-)
> >
> >
> >> Regards,
> >
> >> Christian Boltz
> >
> >
> > Thanks all for the answers.
> > And sorry if this is the wrong mailinglist.
> >
> > I have it working with the user_imap and i can read the users from the
> DB.
> > But i want a cleaner way so even if the imap server is down, users can
> still use owncloud and authenticate against the database.
> >
> > Also using user_redmine AND plain MD5 i got it working
> >
> > The thing is that it is not working if i use md5crypt.
> > That way it seems impossible to get the password!
> >
> >
> > This is the code from user_remine
> > $sql = 'SELECT login FROM users WHERE login = :uid';
> > $sql .= ' AND hashed_password = SHA1(CONCAT(salt,
> SHA1(:password)))';
> >
> > If i use $CONF['encrypt'] = 'md5'; in config.inc.php in postfixadmin,
> > And change the password for a user through postfixadmin
> > And use the following:
> > $sql = 'SELECT username FROM mailbox WHERE username = :uid';
> > $sql .= ' AND password = MD5(:password)';
> > Then i can login.
> >
> > But if i use the following in config.inc.php
> > $CONF['encrypt'] = 'md5crypt'; which i have in production.
> > Then i can not login.
> > So i need a way to get the password, maybe need some salt? I really do
> not know.
> > But this goes byond my knowledge.
> > I am so close to get this to work, but the md5crypt keeps me from using
> it.
> >
> > Thanks again all
> > gr
> > Johan
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > LogMeIn Central: Instant, anywhere, Remote PC access and management.
> > Stay in control, update software, and manage PCs from one command center
> > Diagnose problems and improve visibility into emerging IT issues
> > Automate, monitor and manage. Do more in less time with Central
> > http://p.sf.net/sfu/logmein12331_d2d
> > _______________________________________________
> > Postfixadmin-devel mailing list
> > Pos...@li...
> > https://lists.sourceforge.net/lists/listinfo/postfixadmin-devel****
>
|