Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
236da36f
Commit
236da36f
authored
May 05, 2003
by
Kurt Zeilenga
Browse files
ITS#2475: Cyrus SASL realm fix
parent
e83d82a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/cyrus.c
View file @
236da36f
...
...
@@ -724,14 +724,12 @@ ldap_int_sasl_bind(
fprintf
(
stderr
,
"SASL username: %s
\n
"
,
data
);
}
#if SASL_VERSION_MAJOR >= 2
saslrc
=
sasl_getprop
(
ctx
,
SASL_DEFUSERREALM
,
(
SASL_CONST
void
**
)
&
data
);
#else
#if SASL_VERSION_MAJOR < 2
saslrc
=
sasl_getprop
(
ctx
,
SASL_REALM
,
(
SASL_CONST
void
**
)
&
data
);
#endif
if
(
saslrc
==
SASL_OK
&&
data
&&
*
data
)
{
fprintf
(
stderr
,
"SASL realm: %s
\n
"
,
data
);
}
#endif
}
saslrc
=
sasl_getprop
(
ctx
,
SASL_SSF
,
(
SASL_CONST
void
**
)
&
ssf
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment