Ticket #47742 - 64bit problem on big endian: auth method not supported
Description: Cast from ber_tag_t to int on a big endian machine causes
the "auth method not supported" error. Instead of handling the method
as "int", use ber_tag_t through out the server code.
https://fedorahosted.org/389/ticket/47742
Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
(cherry picked from commit e0219e8fede80d1ab63a7c706d756abd4e53e3a4)