summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* better handling of DOS LANMAN2.1 protocolAndrew Tridgell2002-04-151-4/+18
| | | | (This used to be commit 7f923d738b94eef042b21e4d0143861755620d91)
* 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. (This used to be commit 245468dbabb7c849ce423cc3cb586fa913d0adfe)
* Added error string for STATUS_SOME_UNMAPPEDTim Potter2002-04-141-0/+1
| | | | (This used to be commit f736e115c00e02e3f131ccceb7769559dd4d908a)
* 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 (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
* Added cli_spoolss_enumjobs() function.Tim Potter2002-04-101-0/+52
| | | | (This used to be commit 952eb866f44ac0d8ba2032cf251d3a4298a750d3)
* Added WERR_INVALID_FORM_NAME constant.Tim Potter2002-04-091-0/+1
| | | | (This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
* Always pass NT password as well as Lanman.Jeremy Allison2002-04-061-1/+1
| | | | | Jeremy. (This used to be commit 146fb9d12bd3621087193f439e99c13d609ff658)
* 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. (This used to be commit 638c692525c050ecdf414d461ef6b4aed3ce51db)
* 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. (This used to be commit 6dc80d625752f0a3ce6fd7b2278095529c6ec29f)
* oopsTim Potter2002-04-041-1/+1
| | | | (This used to be commit 6b20a809020821276b0330810317a4d10c9fdb5a)
* Fixed memory leak in cli_lsa_enum_trust_dom(). Use talloc_strdup() insteadTim Potter2002-04-041-1/+1
| | | | | of strdup(). (This used to be commit fb32f7199b8a487757b509555e5a69ec5cae8fbd)
* 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.... (This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)
* 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 (This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)
* Correctly increment offset in cli_smbwrite.Jeremy Allison2002-03-201-0/+2
| | | | | Jeremy. (This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
* 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. (This used to be commit 24ef6258a16e6b4673f1088d64b79bddcd268df5)
* Don't try to sort a list of zero length in internal_resolve_name()Tim Potter2002-03-191-1/+1
| | | | (This used to be commit 5387e4046f67a1c6ef9e98268268b06a729d5ca4)
* Added dos_errstr() function. Not all errors in list yet.Tim Potter2002-03-172-12/+88
| | | | (This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-177-10/+10
| | | | (This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
* this tdb was being opened without locking, which is unsafe for sharedAndrew Tridgell2002-03-151-2/+2
| | | | | databases (This used to be commit 1394e6ed318af5fc740aa5622919f9fd26d5a8d2)
* getpid() -> sys_getpid()Tim Potter2002-03-141-1/+1
| | | | (This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
* added cli_locktype() for testing different lockingX lock typesAndrew Tridgell2002-03-111-0/+54
| | | | (This used to be commit 136b9752fc9da86f0ad0e1f46dc389b752975aea)
* better handling of a zero timeout in cli_lockAndrew Tridgell2002-03-101-2/+6
| | | | (This used to be commit 56662a75f58d35cec1a5b2d6c9a4315d95a22420)
* Added case statment for decoding enumprinters level 0 result.Tim Potter2002-03-081-0/+4
| | | | (This used to be commit 33d49ed68c4d6a66217558b13d960764c235089a)
* Removed duplicate \n from debug message.Tim Potter2002-03-061-21/+13
| | | | | Small tidyups. (This used to be commit 252da94ebb279c47263dfae36fd016d0a29a6dbf)
* Fix error return.Jeremy Allison2002-03-051-1/+1
| | | | | Jeremy. (This used to be commit 3bec83cbe9b863176ca087fd45efa6d1457b502c)
* 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 (This used to be commit ac8c24a9a888a3f916e8b40238b936e6ad743ef7)
* Add a dash of const here and there...Andrew Bartlett2002-03-022-6/+6
| | | | (This used to be commit 413a46292b4e963343abce2428955305052e9cb4)
* 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 (This used to be commit 770c8a31d9804d3339ffa0de8b5072a5c7eb02df)
* Another comment fix for mirmirAndrew Bartlett2002-03-011-1/+1
| | | | (This used to be commit 7412890adc8f3dfddfabba545003715816e262bc)
* 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. (This used to be commit 8ed49fe0df201833329c17b2afe1e3aa70646558)
* Fixed dumb typo caught by Herb.Jeremy Allison2002-02-271-1/+1
| | | | | Jeremy. (This used to be commit f7c980d61439f42395a457a5b99b28f526cabe69)
* 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. (This used to be commit 330b0df960329bcf4696b8fa4a7357e6c456f74e)
* Implemented client side functions for SPOOLSS addform, getform, setform andTim Potter2002-02-251-6/+160
| | | | | enumforms. (This used to be commit e69222f0816878e3211e3dedb049de50ca90fed0)
* added cli_qfilename(), used in trans2 torture testAndrew Tridgell2002-02-211-0/+43
| | | | (This used to be commit d37905f20397911e4f74e672ebdee28f1ddf3c2c)
* 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 (This used to be commit aeecb7a06b006e69879f00699f4b8b6497553d19)
* 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. (This used to be commit 029e2b307d91171168040e71d2e5d5e0d01b7633)
* Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.Tim Potter2002-02-191-49/+45
| | | | (This used to be commit fccfa034e92bca145b8e0639e405f6af5bb1a50b)
* 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. (This used to be commit b595c258295ecc4824fe89ba1136c778a1700e28)
* Try not to malloc -1 bytes (apx 4GB) when the data is already in error.Andrew Bartlett2002-02-151-2/+12
| | | | | Andrew Bartlett (This used to be commit ad1faf8fa4019cb57fbb7f311f6d4943359bcd45)
* merge from 2.2Gerald Carter2002-02-132-2/+7
| | | | (This used to be commit 50fa21c995d33601920b3b56a3e03b09262e7fd9)
* fixed a bug in qpathinfo client codeAndrew Tridgell2002-02-051-4/+6
| | | | (This used to be commit 22f348a1f9501cc00d46d6c6064f71198558c0ee)
* 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. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
* Added addform, setform and deleteform cli functions.Tim Potter2002-01-311-0/+164
| | | | (This used to be commit a7e67dc00ae1a9a80875f2708def6565af0c6f0e)
* Removed version number from file header.Tim Potter2002-01-3040-77/+39
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Name another talloc.Andrew Bartlett2002-01-281-1/+1
| | | | (This used to be commit 9d62f25f5d3c25d71d8b87801084d42ae9b66f8c)
* Back out some of the less well thought out ideas from last weeks work onAndrew Bartlett2002-01-261-2/+2
| | | | | | | | | | | winbind default domains, particulary now I understand whats going on a lot better. This ensures that the RPC client code does as little 'magic' as possible - this is up to the application/user. (Where - for to name->sid code - it was all along). This leaves the change that allows the sid->name code to return domains and usernames in seperate paramaters. Andrew Bartlett (This used to be commit 5dfba2cf536f761b0aee314ed9e30dc53900b691)
* Fix up a security issue with the way we handle domain groups retuned on theAndrew Bartlett2002-01-261-9/+15
| | | | | | | | | | | | info3. These are RIDs, and it only makes sense to combine them with the domain SID returned with them. This is important for trusted domains, where that sid might be other than the one we currently reterive from the secrets.tdb. Also remove the become_root()/unbecome_root() wrapper from around both remaining TDB users: Both are now initialised at smbd startup. Andrew Bartlett (This used to be commit 554842e0a55155193f25aefca6480b89d5c512ca)
* Removed unused static variable.Tim Potter2002-01-251-1/+0
| | | | (This used to be commit 7c2d7205938ddd958b8399599febbf63ac4c8a88)
* Add more string explanations of RAP errors that are already documentedMartin Pool2002-01-221-8/+17
| | | | | in clirap2. (This used to be commit 935955b50ff503d18265f745e6e0df90d3e5dd4b)
* Spelling fixes.Tim Potter2002-01-201-0/+2
| | | | (This used to be commit e67c7c5852624bcdd5c565ea5f00b143aaf7fee4)