summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-03 12:55:42 -0700
committerJeremy Allison <jra@samba.org>2011-05-04 20:05:42 +0200
commit54727f93163f1529eb78dfab5ac605e138391797 (patch)
treec802830b7b1a9d24e28b86768726a42f04d46b75 /source3/winbindd/winbindd_util.c
parent0d1b2d2033e9cc33accea29a4c3a8fafd3d75aa2 (diff)
downloadsamba-54727f93163f1529eb78dfab5ac605e138391797.tar.gz
samba-54727f93163f1529eb78dfab5ac605e138391797.tar.bz2
samba-54727f93163f1529eb78dfab5ac605e138391797.zip
Remove unused function parse_add_domuser().
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 20:05:42 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_util.c')
-rw-r--r--source3/winbindd/winbindd_util.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index 9fbc778e04..63cb2d2f02 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -894,31 +894,6 @@ bool parse_domain_user_talloc(TALLOC_CTX *mem_ctx, const char *domuser,
return ((*domain != NULL) && (*user != NULL));
}
-/* add a domain user name to a buffer */
-void parse_add_domuser(void *buf, char *domuser, int *len)
-{
- fstring domain;
- char *p, *user;
-
- user = domuser;
- p = strchr(domuser, *lp_winbind_separator());
-
- if (p) {
-
- fstrcpy(domain, domuser);
- domain[PTR_DIFF(p, domuser)] = 0;
- p++;
-
- if (assume_domain(domain)) {
-
- user = p;
- *len -= (PTR_DIFF(p, domuser));
- }
- }
-
- safe_strcpy((char *)buf, user, *len);
-}
-
/* Ensure an incoming username from NSS is fully qualified. Replace the
incoming fstring with DOMAIN <separator> user. Returns the same
values as parse_domain_user() but also replaces the incoming username.