summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-09 16:30:37 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-09 16:30:37 +0000
commit58a0cbc0c842187d68872fe021b2ce68a13a12eb (patch)
tree172d1579c898339ddfe748004fdbc14df0f634e6 /source3/lib/util.c
parent74576a48fdf71e4264a892fda58302053f809670 (diff)
downloadsamba-58a0cbc0c842187d68872fe021b2ce68a13a12eb.tar.gz
samba-58a0cbc0c842187d68872fe021b2ce68a13a12eb.tar.bz2
samba-58a0cbc0c842187d68872fe021b2ce68a13a12eb.zip
oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ.
(This used to be commit ca10eb44909e66a07dc7f88b0a740390f9ec3922)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index e5ddda1891..066984962b 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -86,6 +86,20 @@ char **my_netbios_names;
static char *filename_dos(char *path,char *buf);
+/*************************************************************
+ initialise password databases, domain names, domain sid.
+**************************************************************/
+BOOL init_myworkgroup(void)
+{
+ fstrcpy(global_myworkgroup, lp_workgroup());
+
+ if (strequal(global_myworkgroup,"*"))
+ {
+ DEBUG(0,("ERROR: a workgroup name of * is no longer supported\n"));
+ return False;
+ }
+ return True;
+}
/****************************************************************************
find a suitable temporary directory. The result should be copied immediately