Re: Problem with SMPP smsc-password being too long

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Hi Michael,

> I am having problems with Kannel 1.2.0 on RedHat 7.0.
> Whenever I set try to connect to my SMSC on SMPP 3.4
> with these settings (sorry for all the x's, not allowed to reveal) :

> 2002-07-05 20:51:43 [6] PANIC: gw/smpp_pdu.def:60: smpp_pdu_pack: Assertion
> `octstr_len(p->password) < 9' failed.
> 
> If I reduce the password length to 8 or less, then bearerbox will work (but
> the authentication with my SMSC
> will fail of course). This looks like a major bug, or it could just be me
> being stupid.
> 
> Can someone advice?

yes I can. I just checked SMPP v3.4 specs and they definetly limit the
password length to a maximum of 9 octets.

Hence if your SMPP provider follows the SMPP v3.4 spec he should not
give you any password longer then 9 charsets. (See SMPP v3.4 spec,
page 46).

If he does this, then he obviously braking the protocoll and hence
he's to blame.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.