Displaying 1 result from an estimated 1 matches for "ldap_valid".
2006 Apr 20
1
ruby-ldap crashing WEBrick server
...(''server_name'', 389)
conn.bind(account_here, password_here)
my_results = conn.search2(''base_here'', LDAP::LDAP_SCOPE_SUBTREE,
filter_here, attrs=nil)
When the third line is executed we get (again, all works fine in irb):
WEBrick server error:
Assertion failed: LDAP_VALID( ld ), file error.c, line 257
[2006-04-20 14:38:15] INFO WEBrick 1.3.1
[2006-04-20 14:38:15] INFO ruby 1.8.4 (2005-12-24) [sparc-solaris2.8]
[2006-04-20 14:38:15] INFO WEBrick::HTTPServer#start: pid=1290
port=3000
Abort (core dumped)
lines 247-257 of error.c (line 257 is blank):
void
rb_chec...