diff options
Diffstat (limited to 'src/providers/ldap/sdap_utils.c')
-rw-r--r-- | src/providers/ldap/sdap_utils.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/providers/ldap/sdap_utils.c b/src/providers/ldap/sdap_utils.c index 9653639c9..93a1faae1 100644 --- a/src/providers/ldap/sdap_utils.c +++ b/src/providers/ldap/sdap_utils.c @@ -22,25 +22,6 @@ #include "util/util.h" #include "providers/ldap/sdap_async.h" -#define REALM_SEPARATOR '@' - -void make_realm_upper_case(const char *upn) -{ - char *c; - - c = strchr(upn, REALM_SEPARATOR); - if (c == NULL) { - DEBUG(SSSDBG_TRACE_ALL, "No realm delimiter found in upn [%s].\n", upn); - return; - } - - while(*(++c) != '\0') { - c[0] = toupper(*c); - } - - return; -} - errno_t sdap_attrs_add_ldap_attr(struct sysdb_attrs *ldap_attrs, const char *attr_name, |