summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-21 13:40:11 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 14:13:55 +0100
commit574354a7ec76e85e0f5a1172de9e59ae5bc52d48 (patch)
treea9b5202c949a08b7bd5e2b12b244af8f5999c999
parent4418b989e7009c63d2206cecdfaa50cc66e1d8da (diff)
downloadsamba-574354a7ec76e85e0f5a1172de9e59ae5bc52d48.tar.gz
samba-574354a7ec76e85e0f5a1172de9e59ae5bc52d48.tar.bz2
samba-574354a7ec76e85e0f5a1172de9e59ae5bc52d48.zip
Use ADS_IGNORE_PRINCIPAL define.
Guenther (This used to be commit 763e13315fc71237b14a186810bc201e725648f5)
-rw-r--r--source3/libsmb/cliconnect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index d370808bba..33110c803f 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -863,8 +863,7 @@ ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
/* If we get a bad principal, try to guess it if
we have a valid host NetBIOS name.
*/
- if (strequal(principal,
- "not_defined_in_RFC4178@please_ignore")) {
+ if (strequal(principal, ADS_IGNORE_PRINCIPAL)) {
SAFE_FREE(principal);
}