I just stole your PAM code and used it for smppbox.
Works like a charm in smppbox. But. not in smsbox!!! First, the configure script doesn't generate the necessary #define's. After adding them, the pam service shows no activity at all but smsbox returns with "authentication failure". We tried with the simplest setup: # pam testing group = sendsms-user username = pam password = dummypassword group = sendsms-pam-user acl = kannel # end pam testing Do we miss something here?