]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/uam.c
Changes made by Michel Jouvin - jouvin@lal.in2p3.fr - 23/11/2000
[netatalk.git] / etc / afpd / uam.c
index af39f358f86e29ef3b4a9ab6c2045d01fb595d47..cff56de530ac014e91c7b5c49dba554057c7d32b 100644 (file)
@@ -2,6 +2,10 @@
  * All Rights Reserved.  See COPYRIGHT.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/param.h>
 #include <sys/time.h>
 
+#ifdef SHADOWPW
+#include <shadow.h>
+#endif SHADOWPW
+
 #include <netatalk/endian.h>
 #include <atalk/asp.h>
 #include <atalk/dsi.h>
@@ -19,7 +27,7 @@
 #include <atalk/util.h>
 
 #include "globals.h"
-#include "config.h"
+#include "afp_config.h"
 #include "auth.h"
 #include "uam_auth.h"
 
@@ -46,6 +54,9 @@ struct uam_mod *uam_load(const char *path, const char *name)
   if ((p = strchr(buf, '.')))
     *p = '\0';
   if ((mod->uam_fcn = mod_symbol(module, buf)) == NULL) {
+    syslog(LOG_ERR, "uam_load(%s): mod_symbol error for symbol %s",
+          name,
+          buf);
     goto uam_load_err;
   }
 
@@ -360,3 +371,9 @@ uam_afp_read_err:
   *buflen = 0;
   return len;
 }
+
+/* --- papd-specific functions (just placeholders) --- */
+void append(void *pf, char *data, int len)
+{
+       return;
+}