summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-04 15:31:49 -0400
committerVolker Lendecke <vl@samba.org>2009-08-05 03:21:23 -0400
commit0418d38bc80dc8680834875629a3df8e1734b885 (patch)
treed671b0b81f30f3d015a7ec90ed4dac92c6b7aaef /source3
parent7077492778dbda30e5f865ae1d0ab0237e00f54f (diff)
downloadsamba-0418d38bc80dc8680834875629a3df8e1734b885.tar.gz
samba-0418d38bc80dc8680834875629a3df8e1734b885.tar.bz2
samba-0418d38bc80dc8680834875629a3df8e1734b885.zip
s3:winbind: Make fillup_pw_field publically available
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_proto.h8
-rw-r--r--source3/winbindd/winbindd_user.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 5f93391363..bfcf315231 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -508,6 +508,14 @@ enum winbindd_result winbindd_dual_allocate_gid(struct winbindd_domain *domain,
/* The following definitions come from winbindd/winbindd_user.c */
+bool fillup_pw_field(const char *lp_template,
+ const char *username,
+ const char *domname,
+ uid_t uid,
+ gid_t gid,
+ const char *in,
+ fstring out);
+
enum winbindd_result winbindd_dual_userinfo(struct winbindd_domain *domain,
struct winbindd_cli_state *state);
void winbindd_getpwnam(struct winbindd_cli_state *state);
diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c
index c445ef0bdc..884a396142 100644
--- a/source3/winbindd/winbindd_user.c
+++ b/source3/winbindd/winbindd_user.c
@@ -27,7 +27,7 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
-static bool fillup_pw_field(const char *lp_template,
+bool fillup_pw_field(const char *lp_template,
const char *username,
const char *domname,
uid_t uid,