Re: Re: ExternalPassword Auth Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is not a problem of the gatekeeper - you need to force
your endpoint to use a proper username. Then the alias field
in the cryptoToken will contain correct information.

On Wed, 2004-08-18 at 13:39, rahul a wrote:
> Id is always taken from clearToken/cryptoToken (generalID field). Does
> clearToken generalID field contain the aliases as well. Coz here i am
> sending the username and alias. For Example : registrationRequest {
> .... .... .... terminalAlias = 2 entries { [0]=h323_ID 5 characters {
> 0076 0065 006e 006b 0079 venky } [1]=h323_ID 6 characters { 0076 0065
> 006e 006b 0061 0074 venkat } } gatekeeperIdentifier = 6 characters {
> 0053 0069 0066 0079 0047 004b SifyGK } endpointVendor = { vendor = {
> t35CountryCode = 9 t35Extension = 0 manufacturerCode = 61 } productId
> = 23 octets { 45 71 75 69 76 61 6c 65 6e 63 65 20 4f 70 65 6e
> Equivalence Open 50 68 6f 6e 65 00 00 Phone.. } versionId = 26 octets
> { 31 2e 39 2e 33 20 28 4f 70 65 6e 48 33 32 33 20 1.9.3 (OpenH323 76
> 31 2e 31 35 2e 30 29 00 00 v1.15.0).. } } cryptoTokens = 1 entries {
> [0]=cryptoEPPwdHash { alias = h323_ID 5 characters { 0076 0065 006e
> 006b 0079 venky } timeStamp = 1092826025 token = { algorithmOID =
> 1.2.840.113549.2.5 paramS = { } hash = Hex: fd df b6 3c a8 ab 07 fd da
> e4 df d5 13 44 5a 8a } } } } 2004/08/18 16:05:56.706 2 RasSrv.cxx(356)
> RCF|10.1.3.43:1720|venky:h323_ID=venkat:h323_ID|terminal|1412_sifyep1;
> I need to send \'venkat\' as the id to ExternalPassword Auth and not
> \'venky\'. How can i achieve that ? Thanks!! -rahul > > You have to
> return a clear text password - not the hash. > > > > - ok will try
> with that. > > > > PS: Your emails are hard to read - no newlines
> displayed in my > Evolution email reader. > > > > - thanks for the
> pointer, my mail client doesn\'t seem to be > recognizing new lines in
> Evolution .. will fix it !! > > > > I am using openphone as the
> endpoint and \'am setting the username and > alias at the General
> Menu. > > > > As i figure, the ep would register with the gatekeeper
> with the > username and not the alias, > > if both exist. > > > > Now,
> using ExternalPassword Auth, i went through the code in > gkauth.cxx,
> there is a function > > > > bool
> ExternalPasswordAuth::GetPassword(const PString & id, PString & >
> passwd) > > { > > . > > . > > } > > > > the \'id\', gets the value of
> the username. > > > > My questions : > > > > 1. What do i do to make
> sure that i get the alias value and not the > username value, here ? >
> > > > 2. If there are any code tweaks, some pointers in the right
> direction > would be very helpfull ? > > > > thanks !! > > > > Rgds, >
> > rahul > > > > 



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux