[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] New LDAP support
From:       Szombathelyi_György <gyurco () freemail ! hu>
Date:       2004-02-10 8:22:25
Message-ID: 402894C1.2070008 () freemail ! hu
[Download RAW message or body]

Andrew W. Buchanan wrote:

> By any chance does your patch address any of the interoperability issues with 
> the current LDAP support?
> 
> I was just fixing some of those right now (my first KDE dev attempt) and have 
> a compile of kdelibs running as I write...
> 
> The problems I've seen are that an LDAP url is being created in kdelibs, but 
> the username and password (among other things that might really need to be) 
> don't get URL encoded. The upshot is that I can't easily connect to an 
> ActiveDirectory LDAP repostiory that needs a username of user@domain.com for 
> example. In that case you wind up with a url like 
> http://user@domain.com:password@ldapserver...
> You see where that breaks down. You also have to remove the QString.arg type 
> processing because that @ sign gets encoded to %40 and that would have nasty 
> side effects too (the 4th argument gets inserted in the middle of your 
> username).

I'm using setUser(), user(), setPass() and pass() functions from KUrl 
which should encode the username and password correctly (However I did 
not test it, but now I will).

Bye,
György

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic