summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-05-01fixed some uninitialised variablesAndrew Tridgell1-1/+1
(This used to be commit 5d899e51a4fc4e872da550b88ef603dbd2d8391f)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter1-3/+3
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-28rpcclient/rpcclient.c: Non-void return in void function.Jeremy Allison1-1/+1
smbd/sec_ctx.c: Fixed potential memory leak spotted by Kenichi Okuyama@Tokyo Research Lab, IBM-Japan, Co. utils/nmblookup.c: gcc warning on Solaris fix. Jeremy. (This used to be commit 1be60597cd62af2b30a1496d06ea5704e87d3b7d)
2001-04-27More gcc compile on solaris tidyups.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)
2001-04-24fix typoHerb Lewis1-1/+1
(This used to be commit ed2dfae0e503367671c54ad8f1f49ac3af0b1c6a)
2001-04-24don't allow both add and delete user to be set at the same timeHerb Lewis1-1/+4
(This used to be commit 9db84de46a3823878c2a9356ac4ae4fd179d5847)
2001-04-14This little piece of insanity is inspired by theJeremy Allison1-1/+68
fact that an NT client can open a file for O_RDONLY, but set the create disposition to FILE_EXISTS_TRUNCATE. If the client *can* write to the file, then it expects to truncate the file, even though it is opening for readonly. Quicken uses this stupid trick in backup file creation... Thanks *greatly* to "David W. Chapman Jr." <dwcjr@inethouston.net> for helping track this one down. It didn't bite us in 2.0.x as we always opened files read-write in that release. Jeremy. (This used to be commit 5baef56831f9bc4fa10a851abd5f9305b974fb3b)
2001-04-13Fixed potential file descriptor leak with MS-Access fix.Jeremy Allison1-2/+25
Jeremy. (This used to be commit 192887fe72157a141b8df1977085f479e5204782)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison2-9/+6
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-11Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison1-9/+9
Jeremy. (This used to be commit 493d2c316a9e80de0239ef3a6f0b3f4ec9ac6e13)
2001-03-30utils/torture.c: Added one more delete on close test.Jeremy Allison1-0/+55
smbd/notify_kernel.c: This code was wrong I believe. It was structured to only return a changenotify event on being called from timeout processing (t != 0). The kernel changenotify events should fire on *asynchronous* processing (EINTR return from select caused by the realtime signal delivery) with t == 0. Reported by Juergen Hasch (Hasch@t-online.de). ANDREW PLEASE CHECK THIS ! Currently the hash style changenotify is done on async processing as well as timeout processing. As this is expensive we may want to revisit doing this and maybe set it to fire only on timeout processing. Jeremy. (This used to be commit f952380c5d0cfbbec1e7de98b712952f302cddfd)
2001-03-30Added one more test - just to make sure flag can be unset.Jeremy Allison1-1/+43
Jeremy. (This used to be commit 54960b9c8d6be6646a0c0e8ef9ee6c61a4b69cf8)
2001-03-30Expanded delete on close test to 6 cases. I now understand the semantics ofJeremy Allison1-2/+53
this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our share mode handling is broken (again :-). Jeremy. (This used to be commit a55ed1a91d91beafb2f199d1da530169715dbe0e)
2001-03-30Changed to using GENERIC_XX constants instead of hex values to makeJeremy Allison1-9/+57
delete test explicit. Jeremy. (This used to be commit cb5963af0ecabab928aafacd27714e337b9bb37e)
2001-03-30Added delete on close test that has allowed me to determine how w2kJeremy Allison1-0/+147
behaves in this situation. Jeremy. (This used to be commit b0266fe0a8c707cb7e818269dc7fe52da709fdab)
2001-03-27Fix for ENOSPC from DCB.Jeremy Allison1-4/+10
Jeremy. (This used to be commit 55fcd71eecf4477c56fc4a01bda6d452d3b0caa4)
2001-03-26Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and ↵Jeremy Allison1-2/+12
smb.conf file in utf8. Jeremy. (This used to be commit 42052d6079479452aa43eb37ad3d679d28337779)
2001-03-23groupdb/mapping.c:Jeremy Allison1-0/+2
include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy. (This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
2001-03-23can delete mapping from command line now.Jean-François Micouleau1-12/+15
J.F. (This used to be commit 287d9fb06899fe7721fdfcd5ccaa566935d31c4d)
2001-03-23first pass of the new group mapping codeJean-François Micouleau1-0/+341
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-21added -E option (for exit on errors)Andrew Tridgell1-2/+8
forced exclusion of filenames containing only '.' as NT rejects those (This used to be commit a83ff172f271aa74148016f0e2ac62c868c140fb)
2001-03-21latest attempt at lanman1 wildcard matchingAndrew Tridgell1-4/+20
(This used to be commit 32361fc53e11a71f133a1727c6234a2bf01a5ccf)
2001-03-14patches from Simo. Couple of snity thingsGerald Carter1-4/+4
(This used to be commit af3f2a30c657fc42171bbf7da2354bc4cc7b088d)
2001-03-11Added JF's new util.Jeremy Allison1-0/+64
Jeremy. (This used to be commit 96bcfdcded7202a7bced58fae6534f1fcd4c4e36)