summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-11 23:35:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:41 -0500
commit2dea9464bba76af4315a8207ccd3e564ec19d146 (patch)
tree32fe895d27cf0b4e4fd29e9249fa7d7375ff6f05
parentf31949ec3456134de474a0219a8cd5dcd15adea6 (diff)
downloadsamba-2dea9464bba76af4315a8207ccd3e564ec19d146.tar.gz
samba-2dea9464bba76af4315a8207ccd3e564ec19d146.tar.xz
samba-2dea9464bba76af4315a8207ccd3e564ec19d146.zip
r25109: Remove obsolete argument from ads_guess_service_principal().
Guenther
-rw-r--r--source/libads/sasl.c5
-rw-r--r--source/libads/util.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/source/libads/sasl.c b/source/libads/sasl.c
index 123ad491fb3..a92bef7ecf2 100644
--- a/source/libads/sasl.c
+++ b/source/libads/sasl.c
@@ -667,8 +667,7 @@ static ADS_STATUS ads_generate_service_principal(ADS_STRUCT *ads,
if (!given_principal ||
strequal(given_principal, ADS_IGNORE_PRINCIPAL)) {
- status = ads_guess_service_principal(ads, given_principal,
- &p->string);
+ status = ads_guess_service_principal(ads, &p->string);
if (!ADS_ERR_OK(status)) {
return status;
}
@@ -1103,7 +1102,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads)
return status;
}
-#endif /* HAVE_GGSAPI */
+#endif /* HAVE_GSSAPI */
/* mapping between SASL mechanisms and functions */
static struct {
diff --git a/source/libads/util.c b/source/libads/util.c
index a0c9d8f4c4b..af96c3e10a4 100644
--- a/source/libads/util.c
+++ b/source/libads/util.c
@@ -53,7 +53,6 @@ failed:
}
ADS_STATUS ads_guess_service_principal(ADS_STRUCT *ads,
- const char *given_principal,
char **returned_principal)
{
char *princ = NULL;