mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3:libads: Use #ifdef instead of #if for config.h definitions
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
72c6cd2d39
commit
3f3cc42b51
@ -184,7 +184,7 @@ void ads_destroy(ADS_STRUCT **ads)
|
||||
bool is_mine;
|
||||
|
||||
is_mine = (*ads)->is_mine;
|
||||
#if HAVE_LDAP
|
||||
#ifdef HAVE_LDAP
|
||||
ads_disconnect(*ads);
|
||||
#endif
|
||||
SAFE_FREE((*ads)->server.realm);
|
||||
|
@ -60,7 +60,7 @@ kerb_prompter(krb5_context ctx, void *data,
|
||||
* version have looping detection and return with a proper error code.
|
||||
*/
|
||||
|
||||
#if HAVE_KRB5_PROMPT_TYPE /* Heimdal */
|
||||
#if defined(HAVE_KRB5_PROMPT_TYPE) /* Heimdal */
|
||||
if (prompts[0].type == KRB5_PROMPT_TYPE_NEW_PASSWORD &&
|
||||
prompts[1].type == KRB5_PROMPT_TYPE_NEW_PASSWORD_AGAIN) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user