]> arthur.barton.de Git - netatalk.git/commitdiff
Reorder DSI startu
authorFrank Lahm <franklahm@googlemail.com>
Tue, 14 Feb 2012 20:40:43 +0000 (21:40 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 14 Feb 2012 20:40:43 +0000 (21:40 +0100)
etc/afpd/afp_config.c

index 9e1ef0ddd55508d96d426da8c7aa230a2b686884..028bcae77ee797c442608de8d3bdd50cc02bad79 100644 (file)
@@ -74,6 +74,9 @@ int configinit(AFPObj *obj)
     DSI *dsi, **next = &obj->dsi;
     char *p = NULL, *q = NULL;
 
+    auth_load(obj->options.uampath, obj->options.uamlist);
+    set_signature(&obj->options);
+
     LOG(log_debug, logtype_afpd, "DSIConfigInit: hostname: %s, listen: %s, port: %s",
         obj->options.hostname,
         obj->options.listen ? obj->options.listen : "(default: hostname)",
@@ -109,9 +112,6 @@ int configinit(AFPObj *obj)
     if (obj->dsi == NULL)
         EC_FAIL;
 
-    auth_load(obj->options.uampath, obj->options.uamlist);
-    set_signature(&obj->options);
-
 #ifdef HAVE_LDAP
     /* Parse afp_ldap.conf */
     acl_ldap_readconfig(obj->iniconfig);