]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/acls.c
Fix a crash when searching for a UUID that is not a special local UUID and LDAP suppo...
[netatalk.git] / etc / afpd / acls.c
index b91de9f27b2c3a8114b37afc6bb2cde7139f0006..7bbec02c689d8df89edab346aa6cf9690397a751 100644 (file)
@@ -1119,7 +1119,7 @@ static int check_acl_access(const struct vol *vol,
         cfrombstr(dir->d_fullpath), path, getcwdpath(), requested_rights);
 
     /* Get uid or gid from UUID */
-    EC_ZERO_LOG_ERR(getnamefromuuid(uuid, &username, &uuidtype), AFPERR_PARAM);
+    EC_ZERO_ERR(getnamefromuuid(uuid, &username, &uuidtype), AFPERR_PARAM);
     EC_ZERO_LOG_ERR(lstat(path, &st), AFPERR_PARAM);
 
     switch (uuidtype) {