summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-04 08:57:51 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-04 08:57:51 +0000
commit302bffc08f4e0ff48dedd35c0580b143ab52671f (patch)
treea554b31ba88b7678044319ae6adfad77a172d3f7 /source3/passdb
parent3bc3fabee2d411947dc936372495b5f3a1498031 (diff)
downloadsamba-302bffc08f4e0ff48dedd35c0580b143ab52671f.tar.gz
samba-302bffc08f4e0ff48dedd35c0580b143ab52671f.tar.bz2
samba-302bffc08f4e0ff48dedd35c0580b143ab52671f.zip
Merge from HEAD - we already have one function for converting a unistr2 to a
static 'unix' string, so we don't need a second pdb specific version. Andrew Bartlett (This used to be commit 91ca4771c6b834747b06fff21822a14e929de2c1)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 13e85bd21f..71a880d295 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -989,23 +989,6 @@ BOOL local_sid_to_gid(gid_t *pgid, const DOM_SID *psid, enum SID_NAME_USE *name_
return True;
}
-/**
- * Quick hack to do an easy ucs2 -> mulitbyte conversion
- * @return static buffer containing the converted string
- **/
-
-const char *pdb_unistr2_convert(const UNISTR2 *from)
-{
- static pstring convert_buffer;
- *convert_buffer = 0;
- if (!from) {
- return NULL;
- }
-
- unistr2_to_ascii(convert_buffer, from, sizeof(pstring));
- return convert_buffer;
-}
-
/*************************************************************
Change a password entry in the local smbpasswd file.