1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

117 Commits

Author SHA1 Message Date
Herb Lewis
d3edf71885 r416: add a newline to the debuglevel message returned string
and have smbcontrol print the PID with it
2007-10-10 10:51:22 -05:00
Jelmer Vernooij
7495395c1c Fix -s option to smbcontrol (#908) -
Tim Potter
0519a7022b Final round of printf warnings fixes for the moment. -
Tim Potter
8b818ce381 Replace the eight (!) copies of dummy become/unbecome root with a single one. -
Alexander Bokovoy
02c5e2fc6f Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, nmbd, winbindd). Reviewed by jerry and tridge. -
Jeremy Allison
8f830c509a Some const correctness. Stop tdb being used as a remote backend. If an
idmap backend is specified cause smbd to ask winbindd (use winbindd if
you want a consistant remote backend solution).
Should work well enough for next beta now...
Jeremy.
-
Jelmer Vernooij
d817eaf0ec Reverse previous patch from Stefan and me after comments by Andrew Bartlett -
Jelmer Vernooij
74d9ecfe2d Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
-
Andrew Bartlett
edbab685d1 Sun CC requires constant initialisers, so use a static here.
(a common bug with popt stuff, becouse it's fine with GCC).
-
Tim Potter
a847ebd827 Merge of const fixes from HEAD. -
Andrew Bartlett
82ba1b4d16 Fix up non-constant initialisers for Sun's CC.
Andrew Bartlett
-
Tim Potter
30ac37efec Merge rewrite of smbcontrol. -
Jelmer Vernooij
38d03f4f1a Give warning if 'drvupgrade' doesn't get an argument -
Tim Potter
77ae3360e3 Merge of smbcontrol debuglevel fixes from HEAD. -
Jeremy Allison
07efebb984 Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Jeremy Allison
09a218a9f6 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
-
Gerald Carter
d06e77b60e fix usage message -
Tim Potter
d3998307ad Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
-
Gerald Carter
f1062e79de [print notify fixes from APP_HEAD]
* fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
-
Jeremy Allison
f755711df8 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
-
Jeremy Allison
d030df7643 Merge of scalable printing code fix... Needs testing.
Jeremy.
-
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release -
Jelmer Vernooij
1b83b78e33 sync 3.0 branch with HEAD -
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Jean-François Micouleau
b83f87d681 added a shutdown command to smbcontrol.
have to add the server side now.

	J.F.
-
Tim Potter
a3cea5e9ae getpid() -> sys_getpid() -
Jeremy Allison
28d4e7a3e2 Fixup the sending of printer change messages from job changes.
Jeremy.
-
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Martin Pool
63ea2bb0ad Quieten warning about uninitialized variable. -
Martin Pool
bcb443c5c4 Add two more memory-debug smbcontrol messages: these ones should
prompt dmalloc to log information about what happening, so you can see
in flight why smbd is getting bloated.
-
Herb Lewis
39d6b31e14 merge changes from 2.2 branch to prevent smb.conf from changing debug level
of commands when specified on command line.
-
Martin Pool
a9b9ae47e1 Cleanup format. -
Martin Pool
9b217dce7f smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's pretty
boring so far.
-
Martin Pool
830a126a44 smbd should register to receive MSG_REQ_POOL_USAGE. Response should
be information about memory usage, but this is not done yet.
-
Martin Pool
ecc624067c smbcontrol in non-interactive mode was returning True for success --
need to invert this to give the shell 0.
-
Martin Pool
53f1c0298b Add option to pass NULL max_replies to wait_for_replies in case you
don't know how many to expect.
-
Martin Pool
17bb0f60af Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)
Factor out common code to wait until replies are received or timeout
expires.

Show debug message when messages are sent.
-
Tim Potter
8fc772c9e5 Removed TimeInit() call from every client program (except for one place
in smbd/process.c where the timezone is reinitialised.  Was replaced with
check for a static is_initialised boolean.
-
Jeremy Allison
694372b2c4 Merged in JohnR's ping messaging extension.
Jeremy.
-
Martin Pool
79ec88f0da Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
-
Volker Lendecke
9ecd9db4ef Added -s configfile to smbcontrol.c.
Volker
-
Andrew Tridgell
c26e0d3f27 got rid of USE_TDB_MMAP_FLAG as its not needed any more -
Jeremy Allison
f35887c7d4 When sending a message via a tdb, it must be open read/write.
Jeremy.
-
Tim Potter
b0c8090396 Added samsync and samrepl (untested) message types to smbcontrol. -
Jeremy Allison
840802f106 Added "use mmap" for HPUX.
Jeremy.
-
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
-
Andrew Tridgell
15b17a80db added a close-share smbcontrol message that forcibly closes a share in smbd (to allow unmount) -
Andrew Tridgell
8ec9c87b5d use LDSHFLAGS not -shared in several places -
Tim Potter
391e7caf76 If a debug class was explicitly set to zero the debug system would not
recognise it as there was no distinction made between zeroing a debug
class and just not setting it to anything.  I've added a
debuglevel_isset array in parallel with the debuglevel_class array to
fix this.

Added a couple of new debug classes which I might start filling out
to get smb, rpc header and rpc marshall/unmarshalling debugs tidied
up.

Fixed a bunch of cut&paste bugs in include/debug.h

Modified smbcontrol and the messaging system debug handler to like the
debuglevel_isset stuff.
-