summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-1711-70/+120
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-3026-632/+1908
| | | | Jeremy.
* This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-04-241-0/+90
|\ | | | | 'SAMBA_2_2_RELEASE'.
| * This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2002-04-241-0/+90
| |\
| | * Added constant and message for invalid security descriptor dos error.Tim Potter2002-04-241-0/+1
| | |
| | * My seven-year-old daughter calls me 'Captain Pedantic'. I don't know whichChristopher R. Hertel2002-04-221-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is freakier... the name or the fact that a seven-year-old knows what it means. Small change to correct the value we place in the DGM_LENGTH field of NBT Datagram messages. We have been counting the full datagram, but it's fairly clear in the RFCs that we should only count the source name, destination name, and payload. We've been overcharging by 14 bytes (the size of the NBT DGM header). This fix brings us in line with what Windows does, and what the RFCs say should be done. I'm a little surprised that this didn't cause any bugs or error messages. I guess no one actually checks this field.
| | * fixed a namequery bug caused by my recent string length patchesAndrew Tridgell2002-04-191-1/+1
| | |
| | * libsmb/cli_netlogon.c: Fixed confusing debug messages.Jeremy Allison2002-04-171-4/+4
| | | | | | | | | | | | | | | | | | param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration I lost a day on.... Jeremy.
| | * better handling of DOS LANMAN2.1 protocolAndrew Tridgell2002-04-151-4/+18
| | |
| | * The cli_lsa_lookup_{names,sids} functions were returning uselessTim Potter2002-04-141-20/+21
| | | | | | | | | | | | | | | | | | information when one or more of the names/sids being queried were not resolvable. We now return a list the same length as the parameters passed instead of an array of just the resolvable names/sids.
| | * Added error string for STATUS_SOME_UNMAPPEDTim Potter2002-04-141-0/+1
| | |
| | * Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett2002-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett
| | * Added cli_spoolss_enumjobs() function.Tim Potter2002-04-101-0/+52
| | |
| | * Added WERR_INVALID_FORM_NAME constant.Tim Potter2002-04-091-0/+1
| | |
| | * Always pass NT password as well as Lanman.Jeremy Allison2002-04-061-1/+1
| | | | | | | | | | | | Jeremy.
| | * small change in name_resolve_bcast()Jean-François Micouleau2002-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | spotted by alexander bokovoy. it shouldn't break anything. if it's wrong, feel free to revert but explain why. J.F.
| | * If compiling with Insure, mallocate a byte of memory and attach it to theTim Potter2002-04-042-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | POLICY_HND structure when passing new handles back from the appropriate cli_* functions. When closing the policy handle free the memory. Insure (and indeed other memory checkers) should detect handles that have not been closed properly as memory leaks. Unfortunately this can only be done when the program terminates (set insure++.summarize leaks in your .psrc file) rather than when the policy handle falls out of scope. Looks like Jeremy has squished all the policy handle leaks at the moment but more are bound to crop up later.
| | * oopsTim Potter2002-04-041-1/+1
| | |
| | * Fixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() insteadTim Potter2002-04-041-1/+1
| | | | | | | | | | | | of strdup().
| | * some mergee from SAMBA_2_2. Does compile, but needs some more testing.Gerald Carter2002-04-021-208/+266
| | | | | | | | | | | | This is an intermediate check-in. More to come....
| | * Make a number of the lookup tables 'const'. I'm told this assists in sharingAndrew Bartlett2002-03-232-12/+12
| | | | | | | | | | | | | | | | | | memory between users of shared libs. Andrew Bartlett
| | * Correctly increment offset in cli_smbwrite.Jeremy Allison2002-03-201-0/+2
| | | | | | | | | | | | Jeremy.
| | * Test against W2K that we're doing large read/writes correctly (we are).Jeremy Allison2002-03-201-0/+9
| | | | | | | | | | | | | | | At least with 14 word writes. Jeremy.
| | * Don't try to sort a list of zero length in internal_resolve_name()Tim Potter2002-03-191-1/+1
| | |
| | * Added dos_errstr() function. Not all errors in list yet.Tim Potter2002-03-172-12/+88
| | |
| | * Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-177-10/+10
| | |
| | * this tdb was being opened without locking, which is unsafe for sharedAndrew Tridgell2002-03-151-2/+2
| | | | | | | | | | | | databases
| | * getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
| | |
| | * added cli_locktype() for testing different lockingX lock typesAndrew Tridgell2002-03-111-0/+54
| | |
| | * better handling of a zero timeout in cli_lockAndrew Tridgell2002-03-101-2/+6
| | |
| | * Added case statment for decoding enumprinters level 0 result.Tim Potter2002-03-081-0/+4
| | |
| | * Removed duplicate \n from debug message.Tim Potter2002-03-061-21/+13
| | | | | | | | | | | | Small tidyups.
| | * Fix error return.Jeremy Allison2002-03-051-1/+1
| | | | | | | | | | | | Jeremy.
| | * Allow Samba to trust NT4 Domains.Andrew Bartlett2002-03-022-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit builds on the auth subsystem to give Samba support for trusting NT4 domains. It is off by default, but is enabled by adding 'trustdomain' to the 'auth methods' smb.conf paramater. Tested against NT4 only - there are still some issues with the join code for Win2k servers (spnego stuff). The main work TODO involves enumerating the trusted domains (including the RPC calls to match), and getting winbind to run on the PDC correctly. Similarly, work remains on getting NT4 to trust Samba domains. Andrew Bartlett
| | * Add a dash of const here and there...Andrew Bartlett2002-03-022-6/+6
| | |
| | * The beginning of trusted and trusting domain support fromAndrew Bartlett2002-03-011-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> This adds the 'net' tools to manipulate the trusted domains. Andrew Bartlett
| | * Another comment fix for mirmirAndrew Bartlett2002-03-011-1/+1
| | |
| | * Ensure that winbindd and smbd both use identical logic to find dc's.Jeremy Allison2002-02-281-8/+8
| | | | | | | | | | | | | | | Fix bug where zeroip addresses were being checked. Jeremy.
| | * Fixed dumb typo caught by Herb.Jeremy Allison2002-02-271-1/+1
| | | | | | | | | | | | Jeremy.
| | * bcopy must DIE ! Stop people creeping use of bcopy back into the codeJeremy Allison2002-02-262-3/+3
| | | | | | | | | | | | | | | (and yes I know who you are..... :-). Jeremy.
| | * Implemented client side functions for SPOOLSS addform, getform, setform andTim Potter2002-02-251-6/+160
| | | | | | | | | | | | enumforms.
| | * added cli_qfilename(), used in trans2 torture testAndrew Tridgell2002-02-211-0/+43
| | |
| | * This fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)Andrew Bartlett2002-02-201-4/+9
| | | | | | | | | | | | | | | | | | where we pass the client's name. We should pass the servers name. Andrew Bartlett
| | * Converted remaining spoolss rpcclient functions to werror/needed/offered.Tim Potter2002-02-201-150/+128
| | | | | | | | | | | | | | | | | | I couldn't test some of these because I didn't know the right magic arguments to pass to rpcclient (familiar anyone? (-:) so there may be some bugs lurking.
| | * Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.Tim Potter2002-02-191-49/+45
| | |
| | * Added cli_spoolss_initialise() function.Tim Potter2002-02-191-61/+72
| | | | | | | | | | | | | | | Converted cli_spoolss_enumprinterdrivers() to pass offered and *needed as parameters and return a WERROR.
| | * Try not to malloc -1 bytes (apx 4GB) when the data is already in error.Andrew Bartlett2002-02-151-2/+12
| | | | | | | | | | | | Andrew Bartlett
| | * merge from 2.2Gerald Carter2002-02-132-2/+7
| | |
| | * fixed a bug in qpathinfo client codeAndrew Tridgell2002-02-051-4/+6
| | |
| | * Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-1/+1
| | | | | | | | | | | | | | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy.