[vmchecker-dev] LDAP passwords with ';'

Szekeres Adriana aaa_sz at yahoo.com
Mon Mar 29 19:50:04 EEST 2010


Ah, sry, this only solves the search for the username. 
I'll check for the bind. 

--- On Mon, 3/29/10, Szekeres Adriana <aaa_sz at yahoo.com> wrote:

> From: Szekeres Adriana <aaa_sz at yahoo.com>
> Subject: Re: [vmchecker-dev] LDAP passwords with ';'
> To: "VMchecker Development List" <vmchecker-dev at lists.rosedu.org>
> Date: Monday, March 29, 2010, 7:43 PM
> Hi guys,
> 
> I think I forgot some parentheses in the search filter,
> sry. It should do the trick for the characters you mentioned
> but there are other characters that must be considered: *,
> ), (, \ 
> 
> I'll try to solve this. In the meantime, Lucian, please
> replace
> line 26 in websutil.py on elf.cs
> 
> with:
> searchFilter = '(uid=' + credentials['username'] + ')'
> 
> 10x
> 
> 
> http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=LDAP_05.html
> 
> 
> 
> --- On Mon, 3/29/10, Alexandru Moșoi <brtzsnr at gmail.com>
> wrote:
> 
> > From: Alexandru Moșoi <brtzsnr at gmail.com>
> > Subject: Re: [vmchecker-dev] LDAP passwords with ';'
> > To: "VMchecker Development List" <vmchecker-dev at lists.rosedu.org>
> > Date: Monday, March 29, 2010, 4:26 PM
> > 2010/3/29 Lucian Adrian Grijincu
> > <lucian.grijincu at gmail.com>:
> > > We now have a problem with the authentication
> web
> > service for students
> > > that have special characters in their passwords,
> like
> > ';'.
> > > This char is used by LDAP to separate elements in
> the
> > query. We should
> > > find an alternative way to send the passwords
> (e.g.
> > encode them in
> > > base64).
> > 
> > 
> > Python provides various sanitation tools like quote
> [0].
> > 
> > [0] http://docs.python.org/dev/library/urllib.html#utility-functions
> > 
> > 
> > -- 
> > Alexandru Moșoi
> > http://www.alexandru.mosoi.ro/
> > _______________________________________________
> > vmchecker-dev mailing list
> > vmchecker-dev at lists.rosedu.org
> > http://lists.rosedu.org/listinfo/vmchecker-dev
> 
> 
>       
> _______________________________________________
> vmchecker-dev mailing list
> vmchecker-dev at lists.rosedu.org
> http://lists.rosedu.org/listinfo/vmchecker-dev


      


More information about the vmchecker-dev mailing list