From 6433e53290313a1662fcb14f5dac9347870dc011 Mon Sep 17 00:00:00 2001 From: Andrea Lora Date: Tue, 17 Jun 2014 14:47:39 +0200 Subject: [PATCH] Removed the "token" word. Now you can enable radius auth with #fqdn --- src/Cedar/Protocol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cedar/Protocol.c b/src/Cedar/Protocol.c index 38dac652..f091c6d0 100644 --- a/src/Cedar/Protocol.c +++ b/src/Cedar/Protocol.c @@ -2049,8 +2049,8 @@ bool ServerAccept(CONNECTION *c) domain = strchr (username, '@'); if (domain != NULL) { domain++; - tokenized = (char*)malloc((strlen(domain)+6+1) * sizeof(char)); - sprintf(tokenized,"token#%s",domain); + tokenized = (char*)malloc((strlen(domain)+2) * sizeof(char)); + sprintf(tokenized,"#%s",domain); b = AcIsUser(hub, tokenized); if(b == false) { free(tokenized);