summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Put an 0x in front of a hex number.Tim Potter2001-06-261-1/+1
|
* Fixed bug introduced by changeover of security descriptor code fromTim Potter2001-06-261-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 Allison2001-06-261-12/+17
| | | | Jeremy.
* fixed buildAndrew Tridgell2001-06-261-0/+1
| | | | don't rush commits :)
* fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell2001-06-261-1/+3
|
* Remove warning about trapdoor systems for non-root mode.Andrew Bartlett2001-06-261-0/+4
| | | | Andrew Bartlett
* Ensure numeric group or user names don't get misinterpreted.Jeremy Allison2001-06-251-4/+8
| | | | Jeremy.
* Added Andrew's pam password change stuff. Needs some testing but looks good !Jeremy Allison2001-06-252-88/+280
| | | | Jeremy.
* Fixed stupid typo that would stop trusted domains working.Jeremy Allison2001-06-251-4/+3
| | | | Jeremy.
* Cosmetic fixups found while playing with the server manager. Added supportTim Potter2001-06-253-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 docsAndrew Tridgell2001-06-2532-98/+0
|
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-2515-621/+682
| | | | instead of a define
* make sure we have BOOL in autoconf usage of util_sec.cAndrew Tridgell2001-06-251-0/+1
|
* 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
* - make the regresison test mode code build in by default. This shouldAndrew Tridgell2001-06-255-46/+59
| | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something
* fixed errorSimo Sorce2001-06-241-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 beenJeremy Allison2001-06-231-0/+3
| | | | | changed. Jeremy.
* uhm some pointer went wrongSimo Sorce2001-06-231-4/+4
|
* handle P_LIST parametersSimo Sorce2001-06-231-0/+25
|
* fix compiler warningsSimo Sorce2001-06-231-0/+2
|
* fix compiler warningsSimo Sorce2001-06-232-4/+0
|
* Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison2001-06-235-10/+20
| | | | | fix for the problem. Jeremy.
* Better fix for client name vulnarability.Jeremy Allison2001-06-231-0/+2
| | | | Jeremy.
* Fix for multibyte default service parameter from TAKAHASHI Motonobu, Samba ↵Jeremy Allison2001-06-221-2/+2
| | | | | | Users Group Japan Jeremy
* Fixed logic bug in timeout processing spotted by Ying Chen ↵Jeremy Allison2001-06-221-1/+1
| | | | | | <ying@almaden.ibm.com>. Jeremy.
* Fix for race condition found by Herb where we can end up with a NULL dbf.Jeremy Allison2001-06-221-8/+0
| | | | Jeremy.
* Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison2001-06-222-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 isAndrew Tridgell2001-06-224-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 Carter2001-06-221-0/+3
|
* Removed unused (and potentially crash-causing) free function.Jeremy Allison2001-06-221-14/+0
| | | | Jeremy.
* add an ignore on proto.hAndrew Tridgell2001-06-221-0/+1
|
* auto-build proto.h if its not there, but don't make it dependAndrew Tridgell2001-06-222-4704/+4
| | | | on anything. Delete proto.h from CVS
* Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts toTim Potter2001-06-221-20/+34
| | | | allocate 0 bytes.
* Spelling fix.Tim Potter2001-06-221-1/+1
|
* the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell2001-06-222-13/+1
| | | | no way of telling if the call really failed
* Use cli_read_one() for reading DCE/RPC reply fragments. We need to checkTim Potter2001-06-221-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 Potter2001-06-221-0/+46
|
* Andrew - please look this over. I've fixed a long standing (maybe 4-5Jeremy Allison2001-06-222-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 clearerAndrew Tridgell2001-06-221-4/+14
|
* use next_token instead of strtok.Simo Sorce2001-06-211-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 Allison2001-06-211-2/+6
| | | | Jeremy.
* When mmap fails it returns -1 *NOT NULL*.Jeremy Allison2001-06-211-1/+7
| | | | | This got regressed somehow..... Jeremy.
* Merging Gerry's spoolss changes.Jeremy Allison2001-06-214-620/+724
| | | | Jeremy.
* merge from 2.2Gerald Carter2001-06-217-1829/+3382
|
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-2114-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 doesAndrew Tridgell2001-06-218-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 Allison2001-06-214-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 Allison2001-06-208-18/+227
| | | | Jermey.
* Warning fix from Andrew Bartlett.Jeremy Allison2001-06-201-1/+1
| | | | Jeremy.
* initial support for paramter type P_LISTSimo Sorce2001-06-206-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)