[ejabberd] External Auth Script

c00i90wn cooldown at litestep.com
Tue May 9 19:20:26 MSD 2006

I have made a script for external auth in Py but the problem that I'm having
is that when I try to read from stdin I get absolutely nothing, here is the
code that attempt to copy the behaviors of lines 14-21 from
check_pass_null.pl :

  nread = sys.stdin.read(2)
  length = struct.unpack('!H',nread)[0]
  nread = sys.stdin.read(length)

  op, user, password = nread.split(':', 3)

Any help would be greatly appreciated,
Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20060509/caffd1c0/attachment.htm

More information about the ejabberd mailing list