* now a single config file in /etc/afp.conf * convert services to procd while at it * take over maintainership as the original maintainer is unresponsive (see #1550) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
15 lines
659 B
Diff
15 lines
659 B
Diff
--- 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)
|