summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a memory leak. I did not check all the calls to winbindd_request, butVolker Lendecke2003-08-011-0/+2
| | | | | | | we might leak the extra_data somewhere else as well. Volker (This used to be commit 5d379345fa06f4253f67b40cb8127b70072db561)
* locking.c now refers to map_nt_error_from_unix, so link it in withVolker Lendecke2003-08-011-2/+2
| | | | | | | smbstatus and smbcontrol Volker (This used to be commit c2c901e06b9723e33cccdb592c609072b4376c10)
* Finish reformatting.Jeremy Allison2003-08-011-516/+467
| | | | | Jeremy. (This used to be commit 5ef75fa36620a87e8fd8567b854ea0770d8125ea)
* Final fix for the bug tridge found. Only push locks onto a blocking lockJeremy Allison2003-08-012-1/+6
| | | | | | | queue if the posix lock failed with EACCES or EAGAIN (this means another lock conflicts). Else return an error and don't queue the request. Jeremy. (This used to be commit 43fbc18fdc184bf29c15186c16bc99fb208de963)
* Reformat lots of clitar code as I hate the style so much :-).Jeremy Allison2003-08-011-563/+540
| | | | | Jeremy. (This used to be commit 77f2a91549c8b61e74e2088faef2b61612803aed)
* Reformat clitar option processing - getting ready to fix it for popt...Jeremy Allison2003-08-011-183/+176
| | | | | Jeremy. (This used to be commit 94b30e7b4a4f71d3aa2fefee60b9ea8ead2acccd)
* CVAL_NC() doesn't need the (unsigned) fix and breaks the IRIX buildAndrew Tridgell2003-07-311-1/+1
| | | | | Thanks to Herb for pointing this out! (This used to be commit 87ede8d310db10d92b4ff57e67d3b53cbb7697fb)
* only honor the first OID in the sessetup snego negotiate. DeviatesGerald Carter2003-07-311-4/+15
| | | | | | | | | | | | | | | from RFC but I'm smelling a client bug here. /* only look at the first OID for determining the mechToken -- accoirding to RFC2478, we should choose the one we want and renegotiate, but i smell a client bug here.. Problem observed when connecting to a member (samba box) of an AD domain as a user in a Samba domain. Samba member server sent back krb5/mskrb5/ntlmssp as mechtypes, but the client (2ksp3) replied with ntlmssp/mskrb5/krb5 and an NTLMSSP mechtoken. --jerry */ (This used to be commit 731420b03dbc15977822f74047e931dc62284fc0)
* Return proper error when it is impossible to change quota flagsAlexander Bokovoy2003-07-311-2/+23
| | | | (This used to be commit 44bae9da9e03a1df738367f8d86adb0f315da41f)
* Fix off-by-one found by valgrind.Volker Lendecke2003-07-311-1/+1
| | | | | Volker (This used to be commit bc39c9b57fa6258674e1ee44b3446f25bf63661e)
* spnego.c has function definitions. Prototype them.Volker Lendecke2003-07-311-1/+1
| | | | | | | | Anybody familiar with Makefile.in could you please look at this? This is probably the wrong way to fix this. Volker (This used to be commit 9a04750dea1b614604e6f9a0f69a251391994a71)
* Fixes for memory leaks in gss spnego handling by aliguori.Volker Lendecke2003-07-311-13/+9
| | | | | Volker (This used to be commit 946695242f0a6db0e8c712f9bd97ac3cb99c4119)
* This fixes an error I must have made when playing with spnego.c foundVolker Lendecke2003-07-311-14/+35
| | | | | | | | | | | by aliguori: NegTokenInit.mechListMIC is an Octet String. Second: add a free_spnego_data function. Both thanks to aliguori. Volker (This used to be commit 6c252440fba33eb69827d5515a95fbb3e8e9a653)
* Apply some constVolker Lendecke2003-07-311-2/+2
| | | | (This used to be commit 692ff44ba39cd24dbc906e0319bc51c8be9cc267)
* make sure the domain sid is set when enumerating trusted domainsGerald Carter2003-07-311-1/+24
| | | | | (we don't always get it back) (This used to be commit 6e8f23d1b1dd5122691cd9363a5c572fcab182af)
* working on transtive trusts issue:Gerald Carter2003-07-319-144/+174
| | | | | | | | | | | | | * use DsEnumerateDomainTrusts() instead of LDAP search. wbinfo -m now lists all trusted downlevel domains and all domains in the forest. Thnigs to do: o Look at Krb5 connection trusted domains o make sure to initial the trusted domain cache as soon as possible (This used to be commit 0ab00ccaedf204b39c86a9e1c2fcac5f15d0e033)
* Whoops - this is probably better shell syntax.Tim Potter2003-07-311-2/+1
| | | | (This used to be commit 4644085b682c806796f9acf2ed73de9dd9872738)
* Turn on automatic winbindd support for FreeBSD and see what the compile farmTim Potter2003-07-311-0/+1
| | | | | thinks of it. (This used to be commit e6210295e4daa5f1768616b4d8390a173c5c67ae)
* This is a critical bug fix for a data corruption bug. If youAndrew Tridgell2003-07-311-2/+2
| | | | | | | | | | | | | | | | | | | | maintain another tree then please apply! On non-X86 machines out byte-order macros fails for one particular value. If you asked for IVAL() of 0xFFFFFFFF and assigned it to a 64 bit quantity then you got a 63 bit number 0x7FFFFFFFFFFFFFFF rather than the expected 0xFFFFFFFF. This is due to some rather bizarre and obscure sign extension rules to do with unsigned chars and arithmetic operators (basically if you | together two unsigned chars you get a signed result!) This affected a byte range lock using the large lockingX format and a lock of offset 0 and length 0xFFFFFFFF. Microsoft Excel does one of these locks when opening a .csv file. If the platform you run on does not then handle locks of length 0x7FFFFFFFFFFFFFFF then the posix lock fails and the client is given a lockingX failure. This causes the .csv file to be trunated!! (This used to be commit 886661c3777dbfd4fa431746c8a5f48674a12b8e)
* Wrap calls to change_oem_password() in become_root()/unbecome_root() pairsJeremy Allison2003-07-313-73/+78
| | | | | | | to allow UNIX password change scripts to work correctly. This is safe as the old password has been checked as correct before invoking this. Jeremy. (This used to be commit 1734d43eb55561d46a6ffb5d806afedfd3746f9f)
* Turn the 'doing_signing' variable on - fix bug where it was only being setJeremy Allison2003-07-311-1/+1
| | | | | | on when signing was mandatory. Jeremy. (This used to be commit 7c58673a103195435ca75ebb2684880d1f7242d3)
* Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2003-07-3019-21/+72
| | | | | | connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
* Save us from possibly uninitialised variable (caught by gcc).Jeremy Allison2003-07-301-4/+4
| | | | | Jeremy. (This used to be commit f3f29665bd2c396c4756cd23f603ac768fea66fd)
* Fix bug we discovered in W2K client signing on secondary trans2 packets.Jeremy Allison2003-07-301-2/+3
| | | | | | | Use W2K parameters. tpot please re-test smbclient with your problem directory. Jeremy. (This used to be commit 677d3a3c4ca0b67148e5e56fa876773a067679bd)
* Eliminate valgrind error when client gets bad sig on list. Some reformatting.Jeremy Allison2003-07-302-12/+25
| | | | | Jeremy. (This used to be commit b8f6b836468b3a0ae75977dc65cae8400f74734c)
* add a few more tidy ups. Now onto winbinddGerald Carter2003-07-302-0/+12
| | | | (This used to be commit f8abdd23e1d4aed56c263c3228e702b191af4c64)
* add support for DsEnumerateDomainTrusted for enumerating all theGerald Carter2003-07-305-7/+303
| | | | | trusted domains in a forest. (This used to be commit c691c7f7d9afb8af542dc83cf934df1dfd38ef17)
* Don't revert something until you've seen if volker has already fixed it :-).Jeremy Allison2003-07-301-4/+0
| | | | | Jeremy. (This used to be commit d57d9b99dfc2a83d91b952a11eb1ae4cf37e6467)
* Comment out mutex until I get dependencies sorted out...Jeremy Allison2003-07-301-0/+4
| | | | | Jeremy (This used to be commit 382d1732ca8e4d0909eb5a95f7327213913da37b)
* bin/net needs server_mutex as kerberos_verify now uses it.Volker Lendecke2003-07-301-1/+1
| | | | | Volker (This used to be commit ee09db891a9a45158e12fcd2a85092d64870fac4)
* Put mutex around access of replay cache for krb5 tickets. krb5 replay cacheJeremy Allison2003-07-291-4/+13
| | | | | | is not multi-process safe. Jeremy. (This used to be commit 9e0534a1b69bbd4f21b4925337cbab127d060fc6)
* split replace into replace and replace1 to allow setenv to be used byHerb Lewis2003-07-293-23/+48
| | | | | | nsswitch modules. Add required libraries to get rid of undefined functions for libns_winbind.so and libns_wins.so (This used to be commit cec5bf5f99ca98b0f5ee84636fc18f0cb3079683)
* Fix bug #226. Stop unmangle of name into a wildcard name from deleting moreJeremy Allison2003-07-291-9/+20
| | | | | | than was intended. Jeremy. (This used to be commit e2742e0d897a35820a7d8f184292c32a4c3952e3)
* Add NT quotas support. Users allowed now to manage quotas on systems with ↵Alexander Bokovoy2003-07-295-45/+373
| | | | | | sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze (This used to be commit e856a96c2c42c39843e5e1a3a6b0d538e7179900)
* Finish tridge's patch as referenced here :Jeremy Allison2003-07-291-0/+17
| | | | | | | | | | | | make sure we don't allow the creation of directories containing wildcard characters. I've only put this in mkdir at the moment, but I suspect this will apply to all places that can create new filenames. We need to allow the opening of existing filenames that contain wildcards, but not allow the creation of new ones. Jeremy. (This used to be commit 7f111e545d198faa5fa89f6d360db0d5c32a8bd7)
* Typo on my part. I typed KRB5_KDB_BAD_ENCTYPE when I meant to type ↵Jeremy Allison2003-07-291-1/+1
| | | | | | | | KRB5_BAD_ENCTYPE. Heimdal has the latter, not the former. Jeremy. (This used to be commit e8425df77c2e917c819592d93833a164ee3b5338)
* Fix the build on Heimdal. KRB5_KDB_BAD_ENCTYPE doesn't exist on Heimdal, andJim McDonough2003-07-291-1/+1
| | | | | | | | it's a different rc than KRB5_BAD_ENCTYPE (which exists on both MIT and Heimdal). This will just make the debug show up at level 3 always. Jeremy, you may want to revisit this, but it's probably not worth the hassle. (This used to be commit 4ff322ccf9c8485bcfe67e658d48f190f03547b0)
* This adds gss-spnego to ntlm_auth. It contains some new spnego supportVolker Lendecke2003-07-295-2/+586
| | | | | | | | | | from Jim McDonough. It is to enable cyrus sasl to provide the gss-spnego support. For a preliminary patch to cyrus sasl see http://samba.sernet.de/cyrus-gss-spnego.diff Volker (This used to be commit 45cef8f66e46abe4a25fd2b803a7d1051c1c6602)
* Typo fix for bug 258.Tim Potter2003-07-291-1/+1
| | | | (This used to be commit a4e342c20cbddbb4d9d6ac49258457751146d890)
* Improved debug messages whilst trying to track down kerb issues.Jeremy Allison2003-07-291-13/+20
| | | | | Jeremy. (This used to be commit 29dd71ddea480f6163ebbc9d8860a7930ae84066)
* More memory leak fixes from Brett! It turns out PyDict_SetItemStringTim Potter2003-07-291-16/+23
| | | | | | | didn't behave exactly as I thought it did. If you create an item using a PyFoo_FromBar function you must decrement the reference to that object afterwards (or use Py_BuildValue). (This used to be commit 2a960963fbe43de753d44d617a7666a7b258092e)
* Memory leak fixes from Brett A. Funderburg - don't use the connection tallocTim Potter2003-07-291-7/+20
| | | | | context for data that is only needed on a per-call basis. (This used to be commit 3cb39ddee456f55b96e593c67c86082bbd590d86)
* Add debug output api's from lsa/spoolss modules to smb module. PatchTim Potter2003-07-291-1/+33
| | | | | from Brett A. Funderburg. (This used to be commit 2cedaff044e5a5a03482b1e8f211218db5394930)
* Corrected description of SWAT FLAGS since they have changed as a result of theJohn Terpstra2003-07-281-5/+4
| | | | | cleanup of loadparm and swat.c (This used to be commit 6956eb9a0b878f6fae37e4de14573cccd2af2156)
* Cleanup of loadparm and swat to correctly display all parameters as required.John Terpstra2003-07-282-435/+422
| | | | | | No change to what is displayed has been made at this time. I do intend to change the display order before 3.0.0 ships. (This used to be commit de7d3063d9e07255da2cc4e67afa50c1e2ddf321)
* Add buttons to Printers ViewJohn Terpstra2003-07-271-0/+10
| | | | (This used to be commit 805c33b08902d0d02358b624ef9976dd0bde4909)
* Clarified what the SWAT FLAGS mean and what they do.John Terpstra2003-07-271-3/+5
| | | | | | Note: The comments in this file regarding the FLAGS has been in need of maintenance for some time. (This used to be commit a0d2fa0f25abe22008080df2ad2e58e7ee424a2b)
* Fix commentAndrew Bartlett2003-07-271-1/+1
| | | | (This used to be commit 2c395a3904395c2743df9c3035459c6f3866232d)
* the testsuite lib needs dummyroot too.Andrew Bartlett2003-07-271-1/+1
| | | | (This used to be commit e09a7c767ee4a7ff32f21f292b3967486a751532)
* Use the specified workgroup in 'net ads'. (Defaults to lp_workgroup()).Andrew Bartlett2003-07-271-3/+3
| | | | | Andrew Bartlett (This used to be commit e6cc5ca780f24f19dda65a499fda95bd2d99ea93)