[s3]winbindd_util: add prototype for fill_domain_username_talloc().
authorMichael Adam <obnox@samba.org>
Mon, 22 Sep 2008 08:36:32 +0000 (10:36 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 23 Sep 2008 08:00:25 +0000 (10:00 +0200)
A talloc version of fill_domain_username().

Michael

source3/winbindd/winbindd_proto.h

index 4774bc8106adef83a7edd7fcb1aff844ffd5cbc6..3836c46e36fcb456e7b00c66dd779a08c5758764 100644 (file)
@@ -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);