summaryrefslogtreecommitdiff
path: root/source/utils
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-18 20:21:32 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-18 20:21:32 +0000
commit2a28a6e5e461aca7fe6c19cd01d287010056cffb (patch)
treed7260b27bf8a97bd1dd626f4fe68fc31fd6eb039 /source/utils
parent256afb764828b0a6dad5529d62501bc9ea2807ee (diff)
downloadsamba-2a28a6e5e461aca7fe6c19cd01d287010056cffb.tar.gz
charset.c: Split charset_initialise() into 2 - a charset_initialise() and
a codepage_initialise(). Fixes problem with initialising dos map twice. charset.h: Changes to support charset changes. client.c: Changes to support charset changes. loadparm.c: follow symlinks parameter from David Clerc <David.Clerc@cui.unige.ch> nmbd.c: Changes to support charset changes. nmblookup.c:Changes to support charset changes. proto.h: Changes to support charset changes. reply.c: Don't call security=server with no user/no password guest. Fix from Stefaan A Eeckels <Stefaan.Eeckels@ecc.lu> server.c: follow symlinks code from David Clerc <David.Clerc@cui.unige.ch> smbpasswd.c:Changes to support charset changes. status.c: Changes to support charset changes. testparm.c: Changes to support charset changes. testprns.c: Changes to support charset changes. uid.c: Fixed log message with no \n. Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/nmblookup.c2
-rw-r--r--source/utils/smbpasswd.c2
-rw-r--r--source/utils/status.c2
-rw-r--r--source/utils/testparm.c2
-rw-r--r--source/utils/testprns.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/source/utils/nmblookup.c b/source/utils/nmblookup.c
index 68093c10ede..582f4eb6db3 100644
--- a/source/utils/nmblookup.c
+++ b/source/utils/nmblookup.c
@@ -111,7 +111,7 @@ int main(int argc,char *argv[])
setup_logging(argv[0],True);
- charset_initialise(0);
+ charset_initialise();
while ((opt = getopt(argc, argv, "p:d:B:i:s:SMh")) != EOF)
switch (opt)
diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c
index 6867ff3b8a1..e03ebbaaef7 100644
--- a/source/utils/smbpasswd.c
+++ b/source/utils/smbpasswd.c
@@ -236,7 +236,7 @@ static void usage(char *name)
setup_logging(argv[0],True);
- charset_initialise(0);
+ charset_initialise();
#ifndef DEBUG_PASSWORD
/* Check the effective uid */
diff --git a/source/utils/status.c b/source/utils/status.c
index 77fbc7fae11..b439741e6c6 100644
--- a/source/utils/status.c
+++ b/source/utils/status.c
@@ -155,7 +155,7 @@ locking version (was %d, should be %d).\n",fname,
TimeInit();
setup_logging(argv[0],True);
- charset_initialise(0);
+ charset_initialise();
DEBUGLEVEL = 0;
dbf = fopen("/dev/null","w");
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index e9a848eb0b4..81e69cd76fb 100644
--- a/source/utils/testparm.c
+++ b/source/utils/testparm.c
@@ -48,7 +48,7 @@ extern int DEBUGLEVEL;
setup_logging(argv[0],True);
- charset_initialise(0);
+ charset_initialise();
if (argc < 2)
strcpy(configfile,CONFIGFILE);
diff --git a/source/utils/testprns.c b/source/utils/testprns.c
index c96ad476d29..4a2ddb7c635 100644
--- a/source/utils/testprns.c
+++ b/source/utils/testprns.c
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
setup_logging(argv[0],True);
- charset_initialise(0);
+ charset_initialise();
if (argc < 2 || argc > 3)
printf("Usage: testprns printername [printcapfile]\n");