hack.. don't handle @
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Oct 2016 06:34:33 +0000 (08:34 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 12:47:43 +0000 (13:47 +0100)
source3/libsmb/cliconnect.c

index f7acac39253eb364d55e1179d06be9ef7a324a95..445ed685a5d60f6ce54fae2b81fc75c5b9216ffa 100644 (file)
@@ -1339,7 +1339,7 @@ static char *cli_session_setup_get_account(TALLOC_CTX *mem_ctx,
                return NULL;
        }
        p = strchr_m(account, '@');
-       if (p != NULL) {
+       if (0 && p != NULL) {
                *p = '\0';
        }
        return account;