diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-04 15:31:49 -0400 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-05 03:21:23 -0400 |
commit | 0418d38bc80dc8680834875629a3df8e1734b885 (patch) | |
tree | d671b0b81f30f3d015a7ec90ed4dac92c6b7aaef /source3 | |
parent | 7077492778dbda30e5f865ae1d0ab0237e00f54f (diff) | |
download | samba-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.h | 8 | ||||
-rw-r--r-- | source3/winbindd/winbindd_user.c | 2 |
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, |