summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-22 10:36:32 +0200
committerMichael Adam <obnox@samba.org>2008-09-23 10:00:25 +0200
commite401ce6de79e696d8dda7b56568b1565d2e21f62 (patch)
tree16b28f1360bfaf98993c7ab9bd29992721ecf4f0 /source3/winbindd/winbindd_proto.h
parentf0dccdca6a9da4440406f9cccd76805cad87d7e6 (diff)
downloadsamba-e401ce6de79e696d8dda7b56568b1565d2e21f62.tar.gz
samba-e401ce6de79e696d8dda7b56568b1565d2e21f62.tar.bz2
samba-e401ce6de79e696d8dda7b56568b1565d2e21f62.zip
[s3]winbindd_util: add prototype for fill_domain_username_talloc().
A talloc version of fill_domain_username(). Michael
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 4774bc8106..3836c46e36 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -569,6 +569,10 @@ bool parse_domain_user_talloc(TALLOC_CTX *mem_ctx, const char *domuser,
void parse_add_domuser(void *buf, char *domuser, int *len);
bool canonicalize_username(fstring username_inout, fstring domain, fstring user);
void fill_domain_username(fstring name, const char *domain, const char *user, bool can_assume);
+char *fill_domain_username_talloc(TALLOC_CTX *ctx,
+ const char *domain,
+ const char *user,
+ bool can_assume);
const char *get_winbind_pipe_dir(void) ;
char *get_winbind_priv_pipe_dir(void) ;
int open_winbindd_socket(void);