Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | allow to rename an NT group | Jean-François Micouleau | 2001-07-09 | 1 | -2/+5 | |
| | ||||||
* | Don't try and open tdb secrets file in non-root/local mode. | Jeremy Allison | 2001-07-06 | 1 | -2/+1 | |
| | | | | Jeremy. | |||||
* | A program to display a tree of domains, servers and shares similar to the | Tim Potter | 2001-07-06 | 1 | -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 Tridgell | 2001-07-04 | 8 | -24/+24 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 13 | -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 Potter | 2001-07-04 | 1 | -5/+2 | |
| | ||||||
* | Small warning removal tidyup. | Jeremy Allison | 2001-07-03 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Experimental support for joining a domain without creating an account in | Tim Potter | 2001-06-29 | 1 | -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 Potter | 2001-06-27 | 1 | -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 Tridgell | 2001-06-25 | 1 | -1/+1 | |
| | | | | instead of a define | |||||
* | added a -L option to smbpasswd to force it to run locally so we can test ↵ | Andrew Tridgell | 2001-06-25 | 1 | -3/+17 | |
| | | | | smbpasswd as non-root | |||||
* | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 1 | -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 Allison | 2001-06-20 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | initial support for paramter type P_LIST | Simo Sorce | 2001-06-20 | 1 | -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 Tridgell | 2001-06-20 | 1 | -3/+17 | |
| | | | | (to allow unmount) | |||||
* | moved all our torture code to a separate directory | Andrew Tridgell | 2001-06-19 | 6 | -2609/+0 | |
| | ||||||
* | torture code is moving to its own directory | Andrew Tridgell | 2001-06-19 | 1 | -3053/+0 | |
| | ||||||
* | rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0. | Jeremy Allison | 2001-06-19 | 1 | -1/+1 | |
| | | | | | utils/smbcacls.c: Set enum correctly. Jeremy. | |||||
* | New info level tester. | Jeremy Allison | 2001-06-18 | 1 | -0/+47 | |
| | | | | Jeremy. | |||||
* | added a oplock break handler hook to the client code, this allows for more ↵ | Andrew Tridgell | 2001-06-18 | 1 | -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 Potter | 2001-06-13 | 1 | -3/+11 | |
| | | | | Added -d <debuglevel> option. | |||||
* | Set correct reply word in large writeX (greater than 64k) replies. | Jeremy Allison | 2001-06-05 | 1 | -0/+51 | |
| | | | | | Also added smbtorture test for this. Jeremy. | |||||
* | use LDSHFLAGS not -shared in several places | Andrew Tridgell | 2001-06-04 | 2 | -2/+2 | |
| | ||||||
* | If a debug class was explicitly set to zero the debug system would not | Tim Potter | 2001-06-01 | 1 | -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 Allison | 2001-05-15 | 1 | -1/+5 | |
| | | | | | We will need this when we use finer grained locking for max connections. Jeremy. | |||||
* | remember to close tdb after use | Andrew Tridgell | 2001-05-15 | 2 | -9/+14 | |
| | ||||||
* | Fix crash in smbcontrol Gerald pointed out when no parameter given to debug. | Jeremy Allison | 2001-05-14 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Don't check for passwd program if using pam change password. | Jeremy Allison | 2001-05-10 | 1 | -17/+25 | |
| | | | | | Original patch from Andrew Bartlett. Jeremy. | |||||
* | need to do codepage_initialise() for smbtorture to work. | Anton Blanchard | 2001-05-09 | 1 | -0/+2 | |
| | ||||||
* | Patch from Simo: | Gerald Carter | 2001-05-07 | 2 | -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 Potter | 2001-05-07 | 1 | -1/+0 | |
| | ||||||
* | merge some fixes from 2.2 | Andrew Tridgell | 2001-05-07 | 2 | -74/+14 | |
| | ||||||
* | Big cleanup of passdb and backends. | Jean-François Micouleau | 2001-05-04 | 3 | -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.h | Jeremy Allison | 2001-05-03 | 1 | -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 allocated | Jeremy Allison | 2001-05-01 | 1 | -10/+3 | |
| | | | | | with talloc. Jeremy. | |||||
* | fixed some uninitialised variables | Andrew Tridgell | 2001-05-01 | 1 | -1/+1 | |
| | ||||||
* | rpcclient merge from 2.2 (including Jeremy's non-void return fix) | Gerald Carter | 2001-04-28 | 1 | -3/+3 | |
| | ||||||
* | rpcclient/rpcclient.c: Non-void return in void function. | Jeremy Allison | 2001-04-28 | 1 | -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 Allison | 2001-04-27 | 1 | -4/+4 | |
| | | | | Jeremy. | |||||
* | fix typo | Herb Lewis | 2001-04-24 | 1 | -1/+1 | |
| | ||||||
* | don't allow both add and delete user to be set at the same time | Herb Lewis | 2001-04-24 | 1 | -1/+4 | |
| | ||||||
* | This little piece of insanity is inspired by the | Jeremy Allison | 2001-04-14 | 1 | -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 Allison | 2001-04-13 | 1 | -2/+25 | |
| | | | | Jeremy. | |||||
* | Merge of Andrew's changes in 2.2. | Jeremy Allison | 2001-04-13 | 2 | -9/+6 | |
| | | | | Jeremy. | |||||
* | Added SMB_ prefix to enums that clash with Solaris ACL definitions. | Jeremy Allison | 2001-04-11 | 1 | -9/+9 | |
| | | | | Jeremy. | |||||
* | utils/torture.c: Added one more delete on close test. | Jeremy Allison | 2001-03-30 | 1 | -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 Allison | 2001-03-30 | 1 | -1/+43 | |
| | | | | Jeremy. | |||||
* | Expanded delete on close test to 6 cases. I now understand the semantics of | Jeremy Allison | 2001-03-30 | 1 | -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 make | Jeremy Allison | 2001-03-30 | 1 | -9/+57 | |
| | | | | | delete test explicit. Jeremy. | |||||
* | Added delete on close test that has allowed me to determine how w2k | Jeremy Allison | 2001-03-30 | 1 | -0/+147 | |
| | | | | | behaves in this situation. Jeremy. |