func DetermineLDAPScheme(scheme string) (Scheme, error) {
	switch Scheme(scheme) {
	case SchemeLDAP, SchemeLDAPS:
		return Scheme(scheme), nil
	default:
		return "", fmt.Errorf("invalid scheme %q", scheme)
	}
}
// DetermineLDAPScheme determines the LDAP connection scheme. Scheme is one of "ldap" or "ldaps"
// Default to "ldap"
DetermineLDAPScheme determines the LDAP connection scheme. Scheme is one of "ldap" or "ldaps"
Default to "ldap"
// DetermineLDAPScheme determines the LDAP connection scheme . Scheme is one of " ldap " or " ldaps " // Default to " ldap "
func DetermineLDAPScheme(scheme string) (Scheme, error) {
	switch Scheme(scheme) {
	case SchemeLDAP, SchemeLDAPS:
		return Scheme(scheme), nil
	default:
		return "", fmt.Errorf("invalid scheme %q", scheme)
	}
}
func DetermineLDAPScheme ( scheme string ) ( Scheme , error ) { switch Scheme ( scheme ) { case SchemeLDAP , SchemeLDAPS : return Scheme ( scheme ) , nil default : return " " , fmt . Errorf ( " " , scheme ) } }
DetermineLDAPScheme determines the LDAP connection scheme.
DetermineLDAPScheme determines the LDAP connection scheme .