summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2001-08-29Fuss, fuss, fuss...Christopher R. Hertel1-1/+1
Function name_status_query() performs a node status query, so it really should be called "node_status_query()" just to be consistent. Yeah, minor... but it's looking as though an overhaul of namequery.c is in order and I am trying to do the tiny changes that impact other stuff first. Chris -)----- (This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)
2001-08-28Added samsync and samrepl (untested) message types to smbcontrol.Tim Potter1-0/+38
(This used to be commit b0c8090396ca02d06669d6e20a1c715fc83ff887)
2001-08-28Fixed typo in comment.Tim Potter1-3/+1
(This used to be commit b10ad789d6d412ef1d2e0d8b47fc233225861bf9)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell2-6/+6
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-26Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel1-1/+1
to determine whether the 'wins server' parameter is set. (This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)
2001-08-24get rid of compiler warningsHerb Lewis1-3/+3
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell1-2/+1
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-23Fix up some unused variables and functions, fix up formattingAndrew Bartlett1-14/+0
(This used to be commit bfce4ba7b6db261d981a60a7e262f2f690355f5c)
2001-08-22A few changes:Andrew Bartlett1-60/+44
drop paramaters: status utmp hostname change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-) change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate). I'll get swat doing some of this shortly. (This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
2001-08-20added -b optionAndrew Tridgell1-2/+9
(This used to be commit 1c2618df450ddde7e52ab8784fcdd2b64a85771e)
2001-08-02Allow smbpasswd to join a W2K hosted AD domain.Jeremy Allison1-3/+10
Jeremy. (This used to be commit c51cfc7f0d3ad1614ca1e0330c8707f7b263b8e6)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison2-2/+2
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-2/+2
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-25nicer smbtree outputAndrew Tridgell1-2/+4
(This used to be commit b840d7d65e0e8e437e016318d7ee702db2fa561b)
2001-07-12Changed instances of TRUE, FALSE to True, False as some compilers don'tTim Potter1-23/+23
have the first set of symbols. (This used to be commit ad0cbfbd790bc5d6003ffcff2835d82fb0140625)
2001-07-09allow to rename an NT groupJean-François Micouleau1-2/+5
(This used to be commit 42fc4f4154ccf2e93322da6b0b234f8f846991dc)
2001-07-06Don't try and open tdb secrets file in non-root/local mode.Jeremy Allison1-2/+1
Jeremy. (This used to be commit e78a114425129d980f79db812dbea368123913ed)
2001-07-06A program to display a tree of domains, servers and shares similar to theTim Potter1-0/+419
network neighbourhood graph. Still needs a bit of work. (This used to be commit 6b4559506d1434e6114d9707dd11fdc8ee8d54be)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell8-24/+24
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell13-817/+2
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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-04Removed bogus server_n local variable in connect_one() function.Tim Potter1-5/+2
(This used to be commit 69d90a8af167d53ebdb6d7aeef41b28b672288d1)
2001-07-03Small warning removal tidyup.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 5cf7bc582bc2dc4fa7be43d87c81e94f6dd00573)
2001-06-29Experimental support for joining a domain without creating an account inTim Potter1-23/+344
server manager first. Just use the -U parameter to smbpasswd when joining the domain: smbpasswd -r PDC -j DOMAIN -U administrator%password Should also work with domain users with the 'add workstation to domain' user right. (This used to be commit 937b96feaa276f8dd626f2d640f03dc4c55f48c6)
2001-06-27Added some missing entries to usage().Tim Potter1-1/+7
Added -d option to set debug level. (This used to be commit 9874df0c2242ee46182744eabae14829c3b5f21e)
2001-06-25fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell1-1/+1
instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-25added a -L option to smbpasswd to force it to run locally so we can test ↵Andrew Tridgell1-3/+17
smbpasswd as non-root (This used to be commit ab635202655712a05b812ff40550d00d00552853)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-2/+2
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-20Warning fix from Andrew Bartlett.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 87f647715d9fba9f8d25da0bde005a8d8858c2ae)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-12/+17
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-20added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell1-3/+17
(to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
2001-06-19moved all our torture code to a separate directoryAndrew Tridgell6-2609/+0
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)
2001-06-19torture code is moving to its own directoryAndrew Tridgell1-3053/+0
(This used to be commit a4ef84e1a031042ca24fc3bea6d7311ab5976ac6)
2001-06-19rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.Jeremy Allison1-1/+1
utils/smbcacls.c: Set enum correctly. Jeremy. (This used to be commit 66f959e0ffb0cd385167a34c7db3f4959eaf1d7f)
2001-06-18New info level tester.Jeremy Allison1-0/+47
Jeremy. (This used to be commit 9297ae69a7dde878bb4c696f90fbaceb46e18720)
2001-06-18added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell1-2/+46
complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly (This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
2001-06-13Renamed -d option (make verbose) on smbstatus to -v.Tim Potter1-3/+11
Added -d <debuglevel> option. (This used to be commit bdb9714380503d5bbe12a8bfa4ec723e1f5070ca)
2001-06-05Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison1-0/+51
Also added smbtorture test for this. Jeremy. (This used to be commit 6d65556ae8bea45a203defaded8436cbb56965e1)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell2-2/+2
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-06-01If a debug class was explicitly set to zero the debug system would notTim Potter1-5/+7
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. (This used to be commit 391e7caf76cbc22021629ef0ec5e0c32806edfd7)
2001-05-15Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison1-1/+5
We will need this when we use finer grained locking for max connections. Jeremy. (This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-15remember to close tdb after useAndrew Tridgell2-9/+14
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)
2001-05-14Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.Jeremy Allison1-2/+2
Jeremy. (This used to be commit ef687a2f6ba8143dcc041b2b629542c3ea9e3966)
2001-05-10Don't check for passwd program if using pam change password.Jeremy Allison1-17/+25
Original patch from Andrew Bartlett. Jeremy. (This used to be commit aae779d0a3d3c80e6fa010fdb397af3aff360551)
2001-05-09need to do codepage_initialise() for smbtorture to work.Anton Blanchard1-0/+2
(This used to be commit 7a619ab81c07b4b50e865635eee22efd8c5656b4)
2001-05-07Patch from Simo:Gerald Carter2-9/+10
o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. (This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)
2001-05-07Removed unused variable.Tim Potter1-1/+0
(This used to be commit 6bd197714a6f51e43efb8fb72bb51e83c6991c79)
2001-05-07merge some fixes from 2.2Andrew Tridgell2-74/+14
(This used to be commit 7e57adf2a039cb5b6458496f9190c9c642645600)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau3-42/+81
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-2/+0
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-05-01Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison1-10/+3
with talloc. Jeremy. (This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)