Bug 5176

Summary: SIPServer Incorrectly Requires Login over Socket
Product: Koha Reporter: Colin Campbell <colin.campbell>
Component: SIP2Assignee: Colin Campbell <colin.campbell>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: P5 - low CC: marc
Version: rel_3_2   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Colin Campbell 2010-08-25 19:43:41 UTC
Comment in the source indicates a mis-reading of the standard. Assuming that over a raw socket connection login will be the first message. Standard states that whether login or another mechanism is used is optional. (It is configurable on 3M units and most others). (If used login should be first but it can be spoofed in our implementation anyway)
Use of login should be a configurable option. This may cause problems on flaky connections.
Comment 1 Marc Balmer 2012-03-22 11:52:08 UTC
The problem is that the SIP server actually needs an account on the ILS to perform it's operations.  So until a login message over the RAW is received, it can not do anything on the ILS.

See the patch I proposed for Bug 7787, it stays in a loop receiving messages (and or garbage) until it receives a login message.
Comment 2 Colin Campbell 2015-03-06 15:40:11 UTC
As its not causing anyone major problems and everyone seems happy with things the way they are lets consider this resolved