]> arthur.barton.de Git - netatalk.git/commitdiff
UUID detection reporting
authorFrank Lahm <franklahm@googlemail.com>
Fri, 11 Jun 2010 08:16:45 +0000 (10:16 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 11 Jun 2010 08:16:45 +0000 (10:16 +0200)
etc/afpd/afp_config.c

index 13dc62e67911ca86abf5c5222cecbf435512d2bc..12ebe3c00880fa63b70fc82b4bb6af47a520cdbd 100644 (file)
@@ -545,9 +545,7 @@ AFPConfig *configinit(struct afp_options *cmdline)
 
 #ifdef HAVE_ACLS
     /* Parse afp_ldap.conf first so we can set the uuid option */
-    LOG(log_debug, logtype_afpd, "Start parsing afp_ldap.conf");
     acl_ldap_readconfig(_PATH_ACL_LDAPCONF);
-    LOG(log_debug, logtype_afpd, "Finished parsing afp_ldap.conf");
 #endif /* HAVE_ACLS */
 
     /* if config file doesn't exist, load defaults */
@@ -558,8 +556,6 @@ AFPConfig *configinit(struct afp_options *cmdline)
         return AFPConfigInit(cmdline, cmdline);
     }
 
-    LOG(log_debug, logtype_afpd, "Loading ConfigFile"); 
-
     /* scan in the configuration file */
     len = 0;
     while (!feof(fp)) {
@@ -587,8 +583,10 @@ AFPConfig *configinit(struct afp_options *cmdline)
 
 #ifdef HAVE_ACLS
        /* Enable UUID support if LDAP config is complete */
-       if (ldap_config_valid)
-           options.flags |= OPTION_UUID;
+        if (ldap_config_valid) {
+            LOG(log_info, logtype_afpd, "Enabling UUID support");
+            options.flags |= OPTION_UUID;
+        }
 #endif /* HAVE_ACLS */
 
         /* this should really get a head and a tail to simplify things. */