summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Leave the packet sequence checkers enabled whilst I track down a smbclient ↵Jeremy Allison2003-08-021-2/+2
| | | | | | | | -> smbd sequence number problem. Jeremy. (This used to be commit 844898dbd8e99837ef1621aa73024714aa819ce4)
* Add the same signing code to the server. Ensure we use identical sessionJeremy Allison2003-08-024-12/+82
| | | | | | numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)
* Correct fix (removed the earlier band-aid) for what I thought was a signingJeremy Allison2003-08-024-4/+97
| | | | | | | | | | | | | bug with w2k. Turns out that when we're doing a trans/trans2/nttrans call the MID and send_sequence_number and reply_sequence_number must remain constant. This was something we got very wrong in earlier versions of Samba. I can now get a directory listing from WINNT\SYSTEM32 with the older earlier parameters for clilist.c This still needs to be fixed for the server side of Samba, client appears to be working happily now (I'm doing a signed smbtar download of an entire W2K3 image to test this :-). Jeremy. (This used to be commit 2093a3130d4087d0659b497eebd580e7a66e5aa3)
* Fix the option processing for smbtar. Does no one check this !Jeremy Allison2003-08-012-6/+35
| | | | | Jeremy. (This used to be commit c4af1ec73584656fb9d2b372461da4748e1643f1)
* add tests for IRIX attr functionsHerb Lewis2003-08-011-1/+3
| | | | (This used to be commit ea57a57db036de6245ff44cd953dae3b482b4744)
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-0120-20/+20
| | | | (This used to be commit a2bd8f0bfa12f2a1e33c96bc9dabcc0e2171700d)
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-0111-11/+11
| | | | (This used to be commit c9b209be2b17c2e4677cc30b46b1074f48878f43)
* Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough2003-08-0123-25/+19
| | | | (This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
* fix cut-n-paste error found by abartletGerald Carter2003-08-011-8/+10
| | | | (This used to be commit 042492b862c4f2389086275dd8a0e044d7432537)
* Add ntlmssp client support to ntlm_auth. Find the corresponding cyrus saslVolker Lendecke2003-08-011-25/+310
| | | | | | | module under http://samba.sernet.de/cyrus-gss-spnego.diff Volker (This used to be commit a82f6a00969f7ea377626c28ec05ace04f8135a9)
* 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)