summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-04-10 21:43:36 +0000
committerJeremy Allison <jra@samba.org>2001-04-10 21:43:36 +0000
commitdc9aa315eaab0f8d39cbd4345321a43e5e8aefe8 (patch)
treeec0c5c4e5c7b771c7803da1db7cbd53718605e4b /source
parentb41829d56f107f3efdf64b879327d2f026f51d33 (diff)
downloadsamba-dc9aa315eaab0f8d39cbd4345321a43e5e8aefe8.tar.gz
samba-dc9aa315eaab0f8d39cbd4345321a43e5e8aefe8.tar.xz
samba-dc9aa315eaab0f8d39cbd4345321a43e5e8aefe8.zip
Fixed --with-automount compile error.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/include/proto.h7
-rw-r--r--source/lib/util.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index d7bba04bbce..a4fab6a1c60 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -434,6 +434,7 @@ uint32 interpret_addr(char *str);
struct in_addr *interpret_addr2(char *str);
BOOL zero_ip(struct in_addr ip);
char *automount_lookup(char *user_name);
+char *automount_lookup(char *user_name);
BOOL same_net(struct in_addr ip1,struct in_addr ip2,struct in_addr mask);
struct hostent *Get_Hostbyname(const char *name);
BOOL process_exists(pid_t pid);
@@ -1833,6 +1834,12 @@ struct passdb_ops *ldap_initialize_password_db(void);
struct passdb_ops *nisplus_initialize_password_db(void);
+/*The following definitions come from passdb/pampass.c */
+
+BOOL PAM_session(BOOL instance, const connection_struct *conn, char *tty);
+BOOL pam_passcheck(char * user, char * password);
+BOOL pam_passcheck( char * user, char * password );
+
/*The following definitions come from passdb/pass_check.c */
void dfs_unlogin(void);
diff --git a/source/lib/util.c b/source/lib/util.c
index 122567b4e15..ee3d3693da0 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -903,7 +903,7 @@ char *automount_lookup(char *user_name)
return last_value;
}
#else /* WITH_NISPLUS_HOME */
-static char *automount_lookup(char *user_name)
+char *automount_lookup(char *user_name)
{
static fstring last_key = "";
static pstring last_value = "";