summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-08-03 05:46:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:23 -0500
commit4dec112b8a99183e1dc01fd8cacad3ece85d21da (patch)
tree674f0eb1c7b40ef46472b79925cb251f2e617259 /source3/libads
parent3ada346cbea6a3710cdb6d0ce81a9d95edca156e (diff)
downloadsamba-4dec112b8a99183e1dc01fd8cacad3ece85d21da.tar.gz
samba-4dec112b8a99183e1dc01fd8cacad3ece85d21da.tar.bz2
samba-4dec112b8a99183e1dc01fd8cacad3ece85d21da.zip
r8989: Fix a warning
(This used to be commit 3d491ebf9ca8edae938aee08abb924905fd83deb)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 0164b0c740..8fa62a5ade 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -285,7 +285,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads)
ENCTYPE_DES_CBC_MD5,
ENCTYPE_NULL};
gss_OID_desc nt_principal =
- {10, "\052\206\110\206\367\022\001\002\002\002"};
+ {10, CONST_DISCARD(char *, "\052\206\110\206\367\022\001\002\002\002")};
/* we need to fetch a service ticket as the ldap user in the
servers realm, regardless of our realm */