Thread:Extension talk:LDAP Authentication/Undefined Index: ws Domain error?/reply (5)

That's the thing. wsDomain should be defined. I think I've partially fixed this issue in 1.18, but there's more places where wsDomain is somehow being undefined, or the session is being wiped out in some nasty way.