summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2001-10-19Add additional client RAP callsJim McDonough1-0/+1832
(This used to be commit b94427ddd55c177145da2665afe3d3a3682db031)
2001-10-18the beginnings of kerberos support in smbd. It doesn't work yet, butAndrew Tridgell4-3/+46
it should give something for others to hack on and possibly find what I'm doing wrong. (This used to be commit 353c290f059347265b9be2aa1010c2956da06485)
2001-10-17added basic NTLMSSP support in smbd. This is still quite rough, andAndrew Tridgell4-26/+258
loses things like username mapping. I wanted to get this in then discuss it a bit to see how we want to split up the existing session setup code (This used to be commit b74fda69bf23207c26d8b2af23910d8f2eb89875)
2001-10-16fix heimdal compilationAndrew Tridgell1-1/+2
(This used to be commit 888183a17cfb12c0cbf7d1ed515064d6f1716114)
2001-10-14minor Realloc() fix - pedanticAndrew Tridgell1-2/+5
(This used to be commit 1bcdf9106afacbe18437e87178bc1f219695c1e9)
2001-10-14fixed NTLMSSP with XP servers (who don't send the duplicate challengeAndrew Tridgell2-3/+17
in the asn1 spnego structures) (This used to be commit 131010e9fb842b4d5a8660c538a3313c95fadae7)
2001-10-14fixed two bugs in the NTLMSSP codeAndrew Tridgell1-2/+8
- handle servers that don't send a kerberos principle (non-member servers) - enable spnego without KRB5 (This used to be commit b218d465a1968a11d2d6a42afa7e552fea8b7f5e)
2001-10-12moved some OIDs to the ASN.1 headerAndrew Tridgell2-8/+4
(This used to be commit 7092beef9d7a68018ede569883b22c822300c7ff)
2001-10-12added NTLMSSP authentication to libsmb. It seems to work well so I have ↵Andrew Tridgell5-269/+585
enabled it by default if the server supports it. Let me know if this breaks anything. Choose kerberos with the -k flag to smbclient, otherwise it will use SPNEGO/NTLMSSP/NTLM (This used to be commit 076aa97bee54d182288d9e93ae160ae22a5f7757)
2001-10-11improve the error handling in the ASN1 code a bitAndrew Tridgell1-14/+22
(This used to be commit 8b692d8326a1548a7dbbd2cecee9ece6aa60473a)
2001-10-11added a ASN.1 parser, so now I can properly parse the negTokenInitAndrew Tridgell3-78/+320
packet which means I can extract the service and realm, so we should now work with realms other than the local realm. it also means we now check the list of OIDs given by the server just in case it says that it doesn't support kerberos. In that case we should fall back to NTLMSSP but that isn't written yet. (This used to be commit 395cfeea94febb5280ea57027e8a8a3c7c3f9291)
2001-10-11fixed some memory leaks, started adding asn1 decoder for server sideAndrew Tridgell2-12/+42
(This used to be commit 919734c1a6fd8b3bd0e12e96d878f47b6d6ff5e0)
2001-10-11initial kerberos/ADS/SPNEGO support in libsmb and smbclient. ToAndrew Tridgell4-147/+802
activate you need to: - install krb5 libraries - run configure - build smbclient - run kinit to get a TGT - run smbclient with the -k option to choose kerberos auth (This used to be commit d33057585644e1337bac743e25ed7653bfb39eef)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter11-32/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-27Kill unused variablesAndrew Bartlett1-2/+0
(This used to be commit 758d923fa183b50acab9928e402f17bd25ba8f41)
2001-09-26Make use of the pdb_set_plaintext_passwd() update to vastly simplifyAndrew Bartlett1-49/+10
decode_pw_buffer() and the samr password changing routines. And yes, I know that we can lost some information in the Unicode->UTF->Unicode bit of this, but its worth the code cleanup. This also takes into account the possability of multibyte passwords. Andrew Bartlett (This used to be commit 42402c87d6bcff71b700e497b74d2600d7ce8b95)
2001-09-25added cli_qpathinfo_alt_name() for fetching the 8.3 name of a fileAndrew Tridgell1-0/+65
(This used to be commit b2eb7feb7f5bafe953fdeb92daaf9e4f08e44983)
2001-09-24Removed extra '()' s.Jeremy Allison1-8/+6
Jeremy. (This used to be commit b5f4a97bb028394f56c904dbb8e12827cb99e785)
2001-09-18Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter1-2/+5
(This used to be commit e0bdcbc5994345fdc76f7590dba7bce5f0127d58)
2001-09-17fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell1-3/+12
completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case (This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
2001-09-17typoSimo Sorce1-5/+2
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
2001-09-17move to SAFE_FREE()Simo Sorce10-141/+91
(This used to be commit 48fc6a6cd52e01b287030fbbf0aa08a6814c5e11)
2001-09-14Merge of sam_pwd_hash() function from tng.Tim Potter1-0/+17
(This used to be commit b6cb6b837ac06d8b9cb898668e69236b64a8b698)
2001-09-14Use session key from cli_state struct rather than the uninitialised oneTim Potter1-4/+2
when calling cli_netlogon_sam_sync(). (-: (This used to be commit e4a3231a074b01cb1d6c4bf42e0a8e687e584413)
2001-09-13Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2.Tim Potter1-10/+12
Use werror_to_ntstatus() to convert error returns from dfs client functions into nt errors. (This used to be commit a83061ef3e4933c52e7206270b455a3888fa63a8)
2001-09-12Some patches to authentication:Tim Potter1-1/+0
- the usersupplied_info now contains a smb_username (as it comes across on the wire) and a unix_username (after being passed through mapping functions) - when doing security={server,domain} use the smb_username, otherwise use the unix_username (This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)
2001-09-12Converted DFS error returns to WERROR instead of uint32.Tim Potter1-6/+6
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)
2001-09-11Added a string for NT_STATUS_OK, m'kay?Tim Potter1-0/+1
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)
2001-09-10convert more code to use XFILEAndrew Tridgell1-13/+13
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-09Make sure that if there are no interfaces, name_register_wins does notRichard Sharpe1-0/+7
segfault. (This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-1/+1
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06actually obey the "use mmap" smb.conf optionAndrew Tridgell1-1/+1
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)
2001-09-05use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell7-64/+55
codes don't work correctly (This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)
2001-09-05fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵Andrew Tridgell1-9/+10
configure to get the new NTSTATUS stuff right (This used to be commit 9bae57cfe30825174536d11983bb3434498e3f03)
2001-09-05more warning fixes on solarisAndrew Tridgell1-2/+2
(This used to be commit c04c67fec85b1c81ef0b3cebacde304a1de0d854)
2001-09-05Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.cTim Potter1-0/+177
except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly. (This used to be commit 4ca085f253fc39de60115edc049e91d5c95735ef)
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell1-2/+2
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell5-63/+77
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell2-0/+595
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-0/+11
- added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-09-01use a name not a number for ERRinsufficientbufferAndrew Tridgell1-1/+1
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-08-29Fuss, fuss, fuss...Christopher R. Hertel1-2/+2
Function name_status_query() performs a node status query, so it really should be called "node_status_query()" just to be consistent. Yeah, minor... but it's looking as though an overhaul of namequery.c is in order and I am trying to do the tiny changes that impact other stuff first. Chris -)----- (This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)
2001-08-29Should be dbgtext, not dbg_text.Tim Potter1-2/+2
(This used to be commit 7a68236c42acc72e500e120906230a637305f418)
2001-08-29Patched to ensure that it won't break HEAD.Christopher R. Hertel1-6/+10
This isn't the final version, of course, I still need to get WINS failover working. This is just patched so it won't need lp_wins_server() (which I renamed to lp_wins_server_list()). I can't compile just now as something else is broken in HEAD. Let me know if this version of namequery.c causes trouble down the line. Shouldn't, as the changes are very small, but I've been known to rock the boat before. Chris -)----- (This used to be commit 29c6efc9564e51dc28e8434bdc86079c6502d73d)
2001-08-28Merge of sam sync code from TNG.Tim Potter1-3/+142
Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-28fixed typoAndrew Tridgell1-1/+1
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
2001-08-27Convert to NTSTATUS.Tim Potter6-166/+165
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell7-43/+43
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell5-53/+902
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell4-51/+32
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)