X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fdird%2Fauthenticate.c;h=a69b2779dc8996412e9a4a161f5dd621ba1ab20a;hb=5f61af05321fa278bb544547ff7301e7edc02029;hp=d65fe05e5c7ad3028a9153fd1baa83e8cac19089;hpb=908d0c5a7c352c4473409fd01cab16d968c41b43;p=bacula%2Fbacula diff --git a/bacula/src/dird/authenticate.c b/bacula/src/dird/authenticate.c index d65fe05e5c..a69b2779dc 100644 --- a/bacula/src/dird/authenticate.c +++ b/bacula/src/dird/authenticate.c @@ -6,7 +6,7 @@ The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. This program is Free Software; you can redistribute it and/or - modify it under the terms of version two of the GNU General Public + modify it under the terms of version three of the GNU Affero General Public License as published by the Free Software Foundation and included in the file LICENSE. @@ -15,7 +15,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Affero General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -116,7 +116,7 @@ bool authenticate_storage_daemon(JCR *jcr, STORE *store) "Passwords or names not the same or\n" "Maximum Concurrent Jobs exceeded on the SD or\n" "SD networking messed up (restart daemon).\n" - "Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help.\n"), + "Please see " MANUAL_AUTH_URL " for help.\n"), sd->host(), sd->port()); return 0; } @@ -225,7 +225,7 @@ int authenticate_file_daemon(JCR *jcr) "Passwords or names not the same or\n" "Maximum Concurrent Jobs exceeded on the FD or\n" "FD networking messed up (restart daemon).\n" - "Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help.\n"), + "Please see " MANUAL_AUTH_URL " for help.\n"), fd->host(), fd->port()); return 0; } @@ -290,7 +290,6 @@ int authenticate_user_agent(UAContext *uac) char name[MAX_NAME_LENGTH]; int tls_local_need = BNET_TLS_NONE; int tls_remote_need = BNET_TLS_NONE; - bool need_tls; bool tls_authenticate; int compatible = true; CONRES *cons = NULL; @@ -324,7 +323,6 @@ int authenticate_user_agent(UAContext *uac) } tls_authenticate = director->tls_authenticate; - need_tls = director->tls_enable || tls_authenticate; if (tls_authenticate) { tls_local_need = BNET_TLS_REQUIRED; @@ -351,7 +349,6 @@ int authenticate_user_agent(UAContext *uac) } tls_authenticate = cons->tls_authenticate; - need_tls = cons->tls_enable || tls_authenticate; if (tls_authenticate) { tls_local_need = BNET_TLS_REQUIRED;