summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* allow to rename an NT groupJean-François Micouleau2001-07-091-2/+5
|
* Don't try and open tdb secrets file in non-root/local mode.Jeremy Allison2001-07-061-2/+1
| | | | Jeremy.
* A program to display a tree of domains, servers and shares similar to theTim Potter2001-07-061-0/+419
| | | | network neighbourhood graph. Still needs a bit of work.
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-048-24/+24
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-0413-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.
* Removed bogus server_n local variable in connect_one() function.Tim Potter2001-07-041-5/+2
|
* Small warning removal tidyup.Jeremy Allison2001-07-031-1/+1
| | | | Jeremy.
* Experimental support for joining a domain without creating an account inTim Potter2001-06-291-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.
* Added some missing entries to usage().Tim Potter2001-06-271-1/+7
| | | | Added -d option to set debug level.
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-251-1/+1
| | | | instead of a define
* added a -L option to smbpasswd to force it to run locally so we can test ↵Andrew Tridgell2001-06-251-3/+17
| | | | smbpasswd as non-root
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-211-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
* Warning fix from Andrew Bartlett.Jeremy Allison2001-06-201-1/+1
| | | | Jeremy.
* initial support for paramter type P_LISTSimo Sorce2001-06-201-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)
* added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-201-3/+17
| | | | (to allow unmount)
* moved all our torture code to a separate directoryAndrew Tridgell2001-06-196-2609/+0
|
* torture code is moving to its own directoryAndrew Tridgell2001-06-191-3053/+0
|
* rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.Jeremy Allison2001-06-191-1/+1
| | | | | utils/smbcacls.c: Set enum correctly. Jeremy.
* New info level tester.Jeremy Allison2001-06-181-0/+47
| | | | Jeremy.
* added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell2001-06-181-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
* Renamed -d option (make verbose) on smbstatus to -v.Tim Potter2001-06-131-3/+11
| | | | Added -d <debuglevel> option.
* Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison2001-06-051-0/+51
| | | | | Also added smbtorture test for this. Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-042-2/+2
|
* If a debug class was explicitly set to zero the debug system would notTim Potter2001-06-011-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.
* Check sizes of data entries in connections.tdb before deciding they're crecs...Jeremy Allison2001-05-151-1/+5
| | | | | We will need this when we use finer grained locking for max connections. Jeremy.
* remember to close tdb after useAndrew Tridgell2001-05-152-9/+14
|
* Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.Jeremy Allison2001-05-141-2/+2
| | | | Jeremy.
* Don't check for passwd program if using pam change password.Jeremy Allison2001-05-101-17/+25
| | | | | Original patch from Andrew Bartlett. Jeremy.
* need to do codepage_initialise() for smbtorture to work.Anton Blanchard2001-05-091-0/+2
|
* Patch from Simo:Gerald Carter2001-05-072-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.
* Removed unused variable.Tim Potter2001-05-071-1/+0
|
* merge some fixes from 2.2Andrew Tridgell2001-05-072-74/+14
|
* Big cleanup of passdb and backends.Jean-François Micouleau2001-05-043-42/+81
| | | | | | | I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F.
* Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison2001-05-031-2/+0
| | | | | | and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy.
* Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison2001-05-011-10/+3
| | | | | with talloc. Jeremy.
* fixed some uninitialised variablesAndrew Tridgell2001-05-011-1/+1
|
* rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter2001-04-281-3/+3
|
* rpcclient/rpcclient.c: Non-void return in void function.Jeremy Allison2001-04-281-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.
* More gcc compile on solaris tidyups.Jeremy Allison2001-04-271-4/+4
| | | | Jeremy.
* fix typoHerb Lewis2001-04-241-1/+1
|
* don't allow both add and delete user to be set at the same timeHerb Lewis2001-04-241-1/+4
|
* This little piece of insanity is inspired by theJeremy Allison2001-04-141-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.
* Fixed potential file descriptor leak with MS-Access fix.Jeremy Allison2001-04-131-2/+25
| | | | Jeremy.
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-132-9/+6
| | | | Jeremy.
* Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison2001-04-111-9/+9
| | | | Jeremy.
* utils/torture.c: Added one more delete on close test.Jeremy Allison2001-03-301-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.
* Added one more test - just to make sure flag can be unset.Jeremy Allison2001-03-301-1/+43
| | | | Jeremy.
* Expanded delete on close test to 6 cases. I now understand the semantics ofJeremy Allison2001-03-301-2/+53
| | | | | | this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our share mode handling is broken (again :-). Jeremy.
* Changed to using GENERIC_XX constants instead of hex values to makeJeremy Allison2001-03-301-9/+57
| | | | | delete test explicit. Jeremy.
* Added delete on close test that has allowed me to determine how w2kJeremy Allison2001-03-301-0/+147
| | | | | behaves in this situation. Jeremy.