netatalk: update to version 3.1.10

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2016-09-19 17:41:11 +02:00
parent 786b9ffb58
commit ce5228c794
2 changed files with 2 additions and 17 deletions
@@ -1,15 +0,0 @@
--- a/etc/afpd/volume.c
+++ b/etc/afpd/volume.c
@@ -380,7 +380,11 @@ static int getvolparams(const AFPObj *ob
ashort |= VOLPBIT_ATTR_UNIXPRIV;
if (vol->v_flags & AFPVOL_TM)
ashort |= VOLPBIT_ATTR_TM;
- if (!ldap_config_valid || vol->v_flags & AFPVOL_NONETIDS)
+ if (
+#ifdef HAVE_LDAP
+ !ldap_config_valid ||
+#endif
+ vol->v_flags & AFPVOL_NONETIDS)
ashort |= VOLPBIT_ATTR_NONETIDS;
if (obj->afp_version >= 32) {
if (vol->v_vfs_ea)