I have done the LDAP settings on our reviewboard server. However, when I am trying to login to the reviewboard server using the below code, it is throwing the below error:
DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
DEBUG: CM::RB::RBGet: URL=https://<reviewboard server>:443/api
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
DEBUG: CM::RB::RBprocess: status = 200 OK
DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server using url https://<reviewboard server>:443/api
DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: URL=https://<reviewboard server>:443/api/review-requests/58656
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x3331b38)
DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
<br>Bad response while posting data (401 UNAUTHORIZED)
<br>Message = UNAUTHORIZED
DEBUG: main::checkChangeIDStatus: All changes
DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The URL = https://<reviewboard server>:443/api/review-requests/58656
DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The Header is = HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: URL=https://<reviewboard server>:443/api/review-requests/58656
DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x35752a0)
DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
<br>Bad response while posting data (401 UNAUTHORIZED)
<br>Message = UNAUTHORIZED