H.350

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

 



Greetings,

I've been trying to implement H.350 auth with some phones that have
H.460.18 support, but I'm at a bit of an impasse at the moment.

I've built gnugk 2.3.1 (well, the latest CVS checkout) with libpt
2.6.1 and h323plus-1.21.0.

Looking at gkauth.cxx, it looks like H350PasswordAuth::GetPassword is
calling things properly, but the call to grab the h235IdentityPassword
simply isn't pulling out the password attribute:

          if (session.GetAttribute(entry,"h235IdentityPassword",password)) {
              session.Close();
                  return true;
          }

So after adding PTRACE debugging lines to gkauth and then stepping
into h323plus-1.21.0's src/h350/h350.cxx, I've found that the H.350
Schema isn't being loaded:

In H350_Session::Search, I added a bit of debugging:

                       /// Load the Schemas
                       for (std::map<PString,PString>::const_iterator
r = att.begin(); r != att.end(); ++r) {
                               if (r->first == PString("objectClass")) {

                                  PStringList s = r->second.Lines();

                                  for (PINDEX j=0; j < s.GetSize(); j++) {

                                      PTRACE(4, "H350\tTrying to
create schema: " << s[j]);

                                      PLDAPSchema * schema =
PLDAPSchema::CreateSchema(s[j]);

                                      if (schema != NULL) {
                                                  PTRACE(4,
"H350\tTrying to load schema: " << s[j]);

                                                  schema->LoadSchema();
                                                  rec.push_back(*schema);
                                                  PTRACE(4,
"H350\tSchema Loaded " << s[j]);
                                      }
                                  }
                               }
                       }

That "Trying to load schema" never appears. It seems that
PLDAPSchema::CreateSchema is _always_ returning NULL. Because of this,
the Schema isn't being loaded and the LDAP_Record isn't being parsed,
so gnugk's call to GetAttribute() is failing.

I guess what I'm really looking for at the moment is a pointer as to
what to do next. Should I keep chasing the rabbit down the hole here?

--
- Ian Blenke <ian@xxxxxxxxxx> http://ian.blenke.com

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


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

  Powered by Linux