]> arthur.barton.de Git - netatalk.git/commitdiff
Fix dependencie on LDAP
authorFrank Lahm <franklahm@googlemail.com>
Fri, 9 Mar 2012 10:20:40 +0000 (11:20 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 9 Mar 2012 10:20:40 +0000 (11:20 +0100)
libatalk/acl/uuid.c

index 4d8a875dc3d38a739814916d705d37a70635265b..1ab48a7e391d8ed9331290fae89a3aae63dcc5e3 100644 (file)
@@ -112,9 +112,11 @@ const char *uuid_bin2string(unsigned char *uuid) {
     int i = 0;
     unsigned char c;
 
+#ifdef HAVE_LDAP
     if (ldap_uuid_string)
         uuidmask = ldap_uuid_string;
     else
+#endif
         uuidmask = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
 
     LOG(log_debug, logtype_afpd, "uuid_bin2string{uuid}: mask: %s", uuidmask);