Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put an 0x in front of a hex number. | Tim Potter | 2001-06-26 | 1 | -1/+1 |
| | |||||
* | Fixed bug introduced by changeover of security descriptor code from | Tim Potter | 2001-06-26 | 1 | -1/+8 |
| | | | | | | | | | | | malloc() to talloc(). Previously, creating an ACL containing zero ACEs would return a non-NULL pointer to zero bytes of memory. The talloc() code would return a NULL pointer making the ACL a NULL ACL instead of an empty one. The difference is a NULL ACL allows all access and an empty ACL denies all access. We solve this by calling talloc(ctx, sizeof(SEC_ACE) * num_aces + 1). Heh. | ||||
* | Always use DOMAIN\user first that this is the more specific case. | Jeremy Allison | 2001-06-26 | 1 | -12/+17 |
| | | | | Jeremy. | ||||
* | fixed build | Andrew Tridgell | 2001-06-26 | 1 | -0/+1 |
| | | | | don't rush commits :) | ||||
* | fall back to "unsigned" for uint32 on systems that don't have one | Andrew Tridgell | 2001-06-26 | 1 | -1/+3 |
| | |||||
* | Remove warning about trapdoor systems for non-root mode. | Andrew Bartlett | 2001-06-26 | 1 | -0/+4 |
| | | | | Andrew Bartlett | ||||
* | Ensure numeric group or user names don't get misinterpreted. | Jeremy Allison | 2001-06-25 | 1 | -4/+8 |
| | | | | Jeremy. | ||||
* | Added Andrew's pam password change stuff. Needs some testing but looks good ! | Jeremy Allison | 2001-06-25 | 2 | -88/+280 |
| | | | | Jeremy. | ||||
* | Fixed stupid typo that would stop trusted domains working. | Jeremy Allison | 2001-06-25 | 1 | -4/+3 |
| | | | | Jeremy. | ||||
* | Cosmetic fixups found while playing with the server manager. Added support | Tim Potter | 2001-06-25 | 3 | -1/+122 |
| | | | | | | | | | | for NET_SRV_SET_INFO rpc call which is made when double-clicking on a computer in the server manager and changing the description. We always return NT_STATUS_NOPROBLEMO as NT doesn't seem to decode any error messages passed back. Maybe the changed comment string could be stored in a tdb and regurgitated instead of the "server string" smb.conf parameter? | ||||
* | got rid of the date headers off all text docs | Andrew Tridgell | 2001-06-25 | 32 | -98/+0 |
| | |||||
* | fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵ | Andrew Tridgell | 2001-06-25 | 15 | -621/+682 |
| | | | | instead of a define | ||||
* | make sure we have BOOL in autoconf usage of util_sec.c | Andrew Tridgell | 2001-06-25 | 1 | -0/+1 |
| | |||||
* | 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 | ||||
* | - make the regresison test mode code build in by default. This should | Andrew Tridgell | 2001-06-25 | 5 | -46/+59 |
| | | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something | ||||
* | fixed error | Simo Sorce | 2001-06-24 | 1 | -5/+5 |
| | | | | using wrong pointer to test and free s/str/s/ | ||||
* | Log debug before and after netbios names copied so we know if they've been | Jeremy Allison | 2001-06-23 | 1 | -0/+3 |
| | | | | | changed. Jeremy. | ||||
* | uhm some pointer went wrong | Simo Sorce | 2001-06-23 | 1 | -4/+4 |
| | |||||
* | handle P_LIST parameters | Simo Sorce | 2001-06-23 | 1 | -0/+25 |
| | |||||
* | fix compiler warnings | Simo Sorce | 2001-06-23 | 1 | -0/+2 |
| | |||||
* | fix compiler warnings | Simo Sorce | 2001-06-23 | 2 | -4/+0 |
| | |||||
* | Added other_safe_chars to alpha_strcpy(). Needs testing but is a better | Jeremy Allison | 2001-06-23 | 5 | -10/+20 |
| | | | | | fix for the problem. Jeremy. | ||||
* | Better fix for client name vulnarability. | Jeremy Allison | 2001-06-23 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Fix for multibyte default service parameter from TAKAHASHI Motonobu, Samba ↵ | Jeremy Allison | 2001-06-22 | 1 | -2/+2 |
| | | | | | | Users Group Japan Jeremy | ||||
* | Fixed logic bug in timeout processing spotted by Ying Chen ↵ | Jeremy Allison | 2001-06-22 | 1 | -1/+1 |
| | | | | | | <ying@almaden.ibm.com>. Jeremy. | ||||
* | Fix for race condition found by Herb where we can end up with a NULL dbf. | Jeremy Allison | 2001-06-22 | 1 | -8/+0 |
| | | | | Jeremy. | ||||
* | Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(), | Jeremy Allison | 2001-06-22 | 2 | -9/+9 |
| | | | | | we need to close with close_file(). Jeremy. | ||||
* | added the ability to test smbd safely as an ordinary user. The way it works is | Andrew Tridgell | 2001-06-22 | 4 | -3/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | that libsmb/ creates a local tcp socket then launches smbd as a subprocess attached to that socket. smbd thinks it is being launched from inetd. to use it do the following: - compile with -DSMB_REGRESSION_TEST - run like this (also works with smbtorture etc) export SMBD_TEST=1 export LIBSMB_PROG=bin/smbd smbclient //server/share -Uuser%pass obviously you need to setup a smb.conf etc. Using --prefix to configure is useful. The aim of all this stuff is to add a decent set of regression tests to the build farm, so we know if smbd actually runs correctly on all the platforms, not just builds. We can run smbtorture, masktest, locktest etc, plus a bunch of smbclient scripts and any new tests we write. This doesn't help much with nmbd (at least not yet) but its a good start. | ||||
* | sync this function with 2.2 (single check for NULL parameter) | Gerald Carter | 2001-06-22 | 1 | -0/+3 |
| | |||||
* | Removed unused (and potentially crash-causing) free function. | Jeremy Allison | 2001-06-22 | 1 | -14/+0 |
| | | | | Jeremy. | ||||
* | add an ignore on proto.h | Andrew Tridgell | 2001-06-22 | 1 | -0/+1 |
| | |||||
* | auto-build proto.h if its not there, but don't make it depend | Andrew Tridgell | 2001-06-22 | 2 | -4704/+4 |
| | | | | on anything. Delete proto.h from CVS | ||||
* | Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts to | Tim Potter | 2001-06-22 | 1 | -20/+34 |
| | | | | allocate 0 bytes. | ||||
* | Spelling fix. | Tim Potter | 2001-06-22 | 1 | -1/+1 |
| | |||||
* | the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵ | Andrew Tridgell | 2001-06-22 | 2 | -13/+1 |
| | | | | no way of telling if the call really failed | ||||
* | Use cli_read_one() for reading DCE/RPC reply fragments. We need to check | Tim Potter | 2001-06-22 | 1 | -29/+36 |
| | | | | | | | | for and ignore ERRmoredata errors as the client library doesn't support 32-bit error messages. Added some annotations for the RPC pipe code to make it a bit clearer maybe. | ||||
* | Merged cli_read_one() function for reading DCE/RPC reply fragments. | Tim Potter | 2001-06-22 | 1 | -0/+46 |
| | |||||
* | Andrew - please look this over. I've fixed a long standing (maybe 4-5 | Jeremy Allison | 2001-06-22 | 2 | -137/+164 |
| | | | | | | | | | years old) bug when chainging a sessionsetup_and_X and tcon together. The wrong username was being entered into the tdb, even though the correct user was used for accessing files. This is related to the fact that authorise_login() is not used for sessionsetup, but only for tcon auths. Jeremy. | ||||
* | added some comments to make the cli read code clearer | Andrew Tridgell | 2001-06-22 | 1 | -4/+14 |
| | |||||
* | use next_token instead of strtok. | Simo Sorce | 2001-06-21 | 1 | -6/+7 |
| | | | | single elemnts of list cannot be longer than a pstring (1024B now) | ||||
* | Ok - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-). | Jeremy Allison | 2001-06-21 | 1 | -2/+6 |
| | | | | Jeremy. | ||||
* | When mmap fails it returns -1 *NOT NULL*. | Jeremy Allison | 2001-06-21 | 1 | -1/+7 |
| | | | | | This got regressed somehow..... Jeremy. | ||||
* | Merging Gerry's spoolss changes. | Jeremy Allison | 2001-06-21 | 4 | -620/+724 |
| | | | | Jeremy. | ||||
* | merge from 2.2 | Gerald Carter | 2001-06-21 | 7 | -1829/+3382 |
| | |||||
* | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 14 | -290/+153 |
| | | | | | | | | | 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 | ||||
* | Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does | Andrew Tridgell | 2001-06-21 | 8 | -654/+673 |
| | | | | | | | | send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths | ||||
* | Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>, | Jeremy Allison | 2001-06-21 | 4 | -16/+22 |
| | | | | | | Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy. | ||||
* | Fixed W2K SP2 joining a Samba PDC hosted domain. | Jeremy Allison | 2001-06-20 | 8 | -18/+227 |
| | | | | Jermey. | ||||
* | 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 | 6 | -690/+856 |
| | | | | | | 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) |