Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

Excuse me, I spoke a little too soon.  You are correct that ctld has
been converting target names to lower case before registering them in
the kernel for a long time.  The change is that previously, if an
initiator attempted to connect to an uppercase target name, ctld would
accept it.  That's because port_find_in_pg used strcasecmp in
stable/14.  But change 4b1aac931465f39c5c26bfa1d5539a428d340f20
removed strcasecmp, replacing it by the C++ STL's find method on
std::unordered_map.

So we used to accept connections case-insensitively, and now we accept
them case-sensitively.  To restore the previous behavior, should we
add tolower() on the target_name in iscsi_connection::login() ?


home | help