Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
df054f40
...
df054f40a7a7fcd6e649ebbb071da98f2e1d971e
authored
2007-11-26 08:51:04 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor clean-up
1 parent
67ffa5b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
auth/ldap.c
auth/ldap.c
View file @
df054f4
...
...
@@ -141,7 +141,7 @@ _mu_conn_setup (LDAP **pld)
mu_error
(
_
(
"DNS SRV: Cannot convert domain=%s into a hostlist"
),
domain
);
goto
dnssrv_free
;
}
}
rc
=
mu_argcv_get
(
hostlist
,
" "
,
NULL
,
&
hostcnt
,
&
hosts
);
if
(
rc
)
...
...
@@ -243,7 +243,7 @@ _mu_conn_setup (LDAP **pld)
}
free
(
ldapuri
);
if
(
ldap_param
.
tls
)
if
(
ldap_param
.
tls
)
{
rc
=
ldap_start_tls_s
(
ld
,
NULL
,
NULL
);
if
(
rc
!=
LDAP_SUCCESS
)
...
...
@@ -637,9 +637,6 @@ _mu_ldap_search (LDAP *ld, const char *filter_pat, const char *key,
}
#define MATCH(s,p,l) \
(
static
int
my_strncasecmp
(
const
char
*
p
,
const
char
*
q
,
size_t
len
)
{
...
...
@@ -870,7 +867,6 @@ mu_ldap_authenticate (struct mu_auth_data **return_data MU_ARG_UNUSED,
}
}
/* FIXME: Support for {algo}octet-string */
return
strcmp
(
db_pass
,
pass
)
==
0
?
0
:
MU_ERR_AUTH_FAILURE
;
}
...
...
Please
register
or
sign in
to post a comment