summaryrefslogtreecommitdiff
path: root/source4/torture/torture_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/torture_util.c')
-rw-r--r--source4/torture/torture_util.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source4/torture/torture_util.c b/source4/torture/torture_util.c
index c1e35cf3ef..e474c06c6b 100644
--- a/source4/torture/torture_util.c
+++ b/source4/torture/torture_util.c
@@ -291,25 +291,6 @@ BOOL split_unc_name(const char *unc, char **server, char **share)
}
/*
- split a USER%PASS pair into username and password
-*/
-BOOL split_username(const char *pair, char **user, char **pass)
-{
- char *p = strdup(pair);
- if (!p) return False;
-
- (*user) = p;
-
- p = strchr(*user, '%');
- if (!p) return False;
-
- *p = 0;
- (*pass) = p+1;
-
- return True;
-}
-
-/*
set a attribute on a file
*/
BOOL torture_set_file_attribute(struct smbcli_tree *tree, const char *fname, uint16_t attrib)