Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | made smbclient cope better with arbitrary principle forms | Andrew Tridgell | 2001-10-21 | 3 | -21/+10 | |
| | ||||||
* | support both old and new kerberos OIDs | Andrew Tridgell | 2001-10-21 | 1 | -1/+2 | |
| | ||||||
* | Move from timestamp to gen count file id's for finding oplocked files | Jeremy Allison | 2001-10-20 | 1 | -1/+1 | |
| | | | | | in a tdb. Jeremy. | |||||
* | better krb5 error handling (thanks andrewb!) | Andrew Tridgell | 2001-10-20 | 1 | -7/+16 | |
| | ||||||
* | Add additional client RAP calls | Jim McDonough | 2001-10-19 | 1 | -0/+1832 | |
| | ||||||
* | the beginnings of kerberos support in smbd. It doesn't work yet, but | Andrew Tridgell | 2001-10-18 | 4 | -3/+46 | |
| | | | | | it should give something for others to hack on and possibly find what I'm doing wrong. | |||||
* | added basic NTLMSSP support in smbd. This is still quite rough, and | Andrew Tridgell | 2001-10-17 | 4 | -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 | |||||
* | fix heimdal compilation | Andrew Tridgell | 2001-10-16 | 1 | -1/+2 | |
| | ||||||
* | minor Realloc() fix - pedantic | Andrew Tridgell | 2001-10-14 | 1 | -2/+5 | |
| | ||||||
* | fixed NTLMSSP with XP servers (who don't send the duplicate challenge | Andrew Tridgell | 2001-10-14 | 2 | -3/+17 | |
| | | | | in the asn1 spnego structures) | |||||
* | fixed two bugs in the NTLMSSP code | Andrew Tridgell | 2001-10-14 | 1 | -2/+8 | |
| | | | | | - handle servers that don't send a kerberos principle (non-member servers) - enable spnego without KRB5 | |||||
* | moved some OIDs to the ASN.1 header | Andrew Tridgell | 2001-10-12 | 2 | -8/+4 | |
| | ||||||
* | added NTLMSSP authentication to libsmb. It seems to work well so I have ↵ | Andrew Tridgell | 2001-10-12 | 5 | -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 | |||||
* | improve the error handling in the ASN1 code a bit | Andrew Tridgell | 2001-10-11 | 1 | -14/+22 | |
| | ||||||
* | added a ASN.1 parser, so now I can properly parse the negTokenInit | Andrew Tridgell | 2001-10-11 | 3 | -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. | |||||
* | fixed some memory leaks, started adding asn1 decoder for server side | Andrew Tridgell | 2001-10-11 | 2 | -12/+42 | |
| | ||||||
* | initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To | Andrew Tridgell | 2001-10-11 | 4 | -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 | |||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 11 | -32/+0 | |
| | ||||||
* | Kill unused variables | Andrew Bartlett | 2001-09-27 | 1 | -2/+0 | |
| | ||||||
* | Make use of the pdb_set_plaintext_passwd() update to vastly simplify | Andrew Bartlett | 2001-09-26 | 1 | -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 | |||||
* | added cli_qpathinfo_alt_name() for fetching the 8.3 name of a file | Andrew Tridgell | 2001-09-25 | 1 | -0/+65 | |
| | ||||||
* | Removed extra '()' s. | Jeremy Allison | 2001-09-24 | 1 | -8/+6 | |
| | | | | Jeremy. | |||||
* | Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS. | Tim Potter | 2001-09-18 | 1 | -2/+5 | |
| | ||||||
* | fixed ctemp in server and client. It turns out that ctemp on NT is ↵ | Andrew Tridgell | 2001-09-17 | 1 | -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 | |||||
* | typo | Simo Sorce | 2001-09-17 | 1 | -5/+2 | |
| | ||||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 10 | -141/+91 | |
| | ||||||
* | Merge of sam_pwd_hash() function from tng. | Tim Potter | 2001-09-14 | 1 | -0/+17 | |
| | ||||||
* | Use session key from cli_state struct rather than the uninitialised one | Tim Potter | 2001-09-14 | 1 | -4/+2 | |
| | | | | when calling cli_netlogon_sam_sync(). (-: | |||||
* | Fixed return value for cli_dfs_exist() - nt4 returns 1, w2k returns 2. | Tim Potter | 2001-09-13 | 1 | -10/+12 | |
| | | | | | Use werror_to_ntstatus() to convert error returns from dfs client functions into nt errors. | |||||
* | Some patches to authentication: | Tim Potter | 2001-09-12 | 1 | -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 | |||||
* | Converted DFS error returns to WERROR instead of uint32. | Tim Potter | 2001-09-12 | 1 | -6/+6 | |
| | ||||||
* | Added a string for NT_STATUS_OK, m'kay? | Tim Potter | 2001-09-11 | 1 | -0/+1 | |
| | ||||||
* | convert more code to use XFILE | Andrew Tridgell | 2001-09-10 | 1 | -13/+13 | |
| | ||||||
* | Make sure that if there are no interfaces, name_register_wins does not | Richard Sharpe | 2001-09-09 | 1 | -0/+7 | |
| | | | | segfault. | |||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 | |
| | ||||||
* | actually obey the "use mmap" smb.conf option | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 | |
| | ||||||
* | use cli_is_error() instead of looking in smb_rcls, otherwise NT status | Andrew Tridgell | 2001-09-05 | 7 | -64/+55 | |
| | | | | codes don't work correctly | |||||
* | fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵ | Andrew Tridgell | 2001-09-05 | 1 | -9/+10 | |
| | | | | configure to get the new NTSTATUS stuff right | |||||
* | more warning fixes on solaris | Andrew Tridgell | 2001-09-05 | 1 | -2/+2 | |
| | ||||||
* | Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c | Tim Potter | 2001-09-05 | 1 | -0/+177 | |
| | | | | | except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly. | |||||
* | it now all compiles - so try enabling it by default and see what explodes on ↵ | Andrew Tridgell | 2001-09-04 | 1 | -2/+2 | |
| | | | | the build farm | |||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 5 | -63/+77 | |
| | | | | the client code still needs some work | |||||
* | more NTSTATUS/WERROR conversion | Andrew Tridgell | 2001-09-03 | 2 | -0/+595 | |
| | ||||||
* | the next step in our error code handling change | Andrew Tridgell | 2001-09-03 | 1 | -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 | |||||
* | use a name not a number for ERRinsufficientbuffer | Andrew Tridgell | 2001-09-01 | 1 | -1/+1 | |
| | ||||||
* | Fuss, fuss, fuss... | Christopher R. Hertel | 2001-08-29 | 1 | -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 -)----- | |||||
* | Should be dbgtext, not dbg_text. | Tim Potter | 2001-08-29 | 1 | -2/+2 | |
| | ||||||
* | Patched to ensure that it won't break HEAD. | Christopher R. Hertel | 2001-08-29 | 1 | -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 -)----- | |||||
* | Merge of sam sync code from TNG. | Tim Potter | 2001-08-28 | 1 | -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. | |||||
* | fixed typo | Andrew Tridgell | 2001-08-28 | 1 | -1/+1 | |
| |