summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
* domain_client_validate() no longer takes serverlist, it callsLuke Leighton1999-12-022-13/+11
| | | | get_any_dc_name().
* need a domain resolving function, but get_trusted_serverlist() will do.Luke Leighton1999-12-021-30/+6
| | | | this is horrible.
* cli_session_setup() now takes an extra argument (host name). hey, whatLuke Leighton1999-12-011-2/+4
| | | | | the heck is a cli_session_setup() call doing in here??? this should use cli_establish_connection()server!
* sys_select added one more argument (read, write selectors).Luke Leighton1999-12-013-3/+3
|
* attempting to resolve the issue that multiple servers often specified inLuke Leighton1999-11-291-53/+11
| | | | parameters to connect to \PIPE\NETLOGON.
* WARNING! MOVED rpc_server/srv_lsa_hnd.c TO lib/util_hnd.cLuke Leighton1999-11-241-1/+4
| | | | | | CVS UPDATE MAY ISSUE WARNING ABOUT lib/util_hnd.c MODIFICATION DATE BEING IN THE FUTURE. CVS CHECKOUT A NEW REPOSITORY MAY BE SAFER.
* rewrote policy handle code to be generic (it's needed for client-side too)Luke Leighton1999-11-241-1/+1
| | | | attempted to fix regsetsec command
* implement server-side generation of NTLMv2 session key. YESSS :-)Luke Leighton1999-11-212-12/+27
|
* hmmm... have to add client-side support in domain_client_validate() toLuke Leighton1999-11-212-6/+9
| | | | _use_ user session key.
* adding user session key into network netlogon response.Luke Leighton1999-11-211-12/+12
|
* oops, #ifdef'd cli_shutdown out, as the fun has _already_ started:Luke Leighton1999-11-201-2/+1
| | | | NT refuses to play nice, and establish a trust relationship.
* attempting to establish inter-domain trust relationships. modifiedLuke Leighton1999-11-201-0/+2
| | | | smbpasswd so it can be used to set up inter-domain trust account.
* modified domain_client_validate to take trust account name / type. thisLuke Leighton1999-11-203-11/+68
| | | | | | | | | | is to pass DOMAIN_NAME$ and SEC_CHAN_DOMAIN instead of WKSTA_NAME$ and SEC_CHAN_WKSTA. modified check_domain_security to determine if domain name is own domain, and to use wksta trust account if so, otherwise check "trusting domains" parameter and use inter-domain trust account if so, otherwise return False.
* - bug in nmbd registering DOMAIN_NAME<1c> to WINS server; recursionLuke Leighton1999-11-191-0/+1
| | | | | | | | desired flag MUST be set in any NBT UDP packets sent to a WINS server, else they will go to the WINS client side of the NT NetBIOS kernel instead, and will get trashed. - added \PIPE\browser server-side code.
* set "key does not exist" response to reg_query_val() (win32 status codeLuke Leighton1999-11-181-0/+6
| | | | of 0x2). [p.s. getting REALLY bored of this nt5rc2->samba domain stuff].
* - added DCE/RPC "fault" PDU support.Luke Leighton1999-11-154-5/+51
| | | | | | | | | - disabled (AGAIN) the GETDC "if (MAILSLOT\NTLOGON)" code that will get NT5rc2 to work but WILL break win95 (AGAIN). this needs _not_ to be re-enabled but to be replaced with a better mechanism. - added SMBwrite support (note: SMBwriteX already existed) as NT5rc2 is sending DCE/RPC over SMBwrite not SMBwriteX.
* samuserset <username> -p password. YESSSSS :)Luke Leighton1999-11-041-67/+0
| | | | you have to use "ntlmv1" at the moment (i.e set client ntlmv2 = no).
* adding experimental set user password command to rpcclient, it returnsLuke Leighton1999-11-041-0/+31
| | | | error wrong password against nt. ????
* cli_nt_setup_creds() returns uint32 NT status code not a BOOL.Luke Leighton1999-10-291-3/+4
| | | | removed all comparisons to if (fn() == False), replaced with if (!fn()).
* various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.Luke Leighton1999-10-211-1/+1
| | | | | | | samr_lookup_rids() moved to a dynamic memory structure not a static one limited to 32 RIDs. cli_pipe.c reading wasn't checking ERRmoredata when DOS error codes negotiated (this terminates MSRPC code with prejudice).
* David van Geyn spotted that ulong is not defined on FREEBSD, not supposedLuke Leighton1999-10-051-1/+1
| | | | to use ulong use uint32 instead.
* don't leak printer handles,Jean-François Micouleau1999-09-271-2/+5
| | | | | | | don't coredump when adding forms, and a small non obvious memory leak in the rpc buffers J.F.
* reading in smb server domain name from SMBnegprot responseLuke Leighton1999-09-161-3/+4
|
* #defines for port 445 to SMB_PORT2Luke Leighton1999-09-151-4/+4
|
* - initialising mach_passwd_file locks to zero (prev. uninit.)Luke Leighton1999-09-121-1/+0
| | | | | | | - cleanup - #defined report to sprintf as it's #defined to another function in other uses of cmd_lsarpc.c
* oops, port 455 instead of 445Luke Leighton1999-09-101-1/+1
|
* bertl <bs@niggard.org> patch for making samba listen on port 445, just likeLuke Leighton1999-09-082-28/+76
| | | | nt 5 does. cool!
* spelling mistake.Luke Leighton1999-08-131-1/+1
|
* pnum should be a uint16.Luke Leighton1999-08-131-2/+2
|
* Copy service name into vfs_connection_struct.Tim Potter1999-07-221-0/+2
|
* Pass VFS options defined in smb.conf to vfs_init() function.Tim Potter1999-07-221-4/+7
|
* comments requested by jeremy as to why NT/95 NULL-password distinction hackLuke Leighton1999-07-211-1/+6
| | | | was modified.
* NTLMv2 check being actioned when NT password response was only 24 chars.Luke Leighton1999-07-161-1/+1
| | | | | added check to ensure response is more than 24 chars before bothering to do an NTLMv2 check.
* copy of password struct needed to be made prior to calling copy_passwd_structLuke Leighton1999-07-161-6/+8
| | | | found by Bertl <bs@vpnet.at>.
* work-around for win95 NULL session bug: NULL password actually beingLuke Leighton1999-07-151-3/+13
| | | | | placed in data stream before username / domain, whereas NT doesn't do this...
* more dfs stuff. this looks like it's going to be more appropriate to useLuke Leighton1999-07-155-84/+231
| | | | | | | the vfs tables. at the moment, i replaced all calls to unix_convert() with unix_dfs_convert(). this does the job, but it's not very nice.
* dfs issuesLuke Leighton1999-07-152-8/+15
|
* added %d %d to error message, try to track down the uid / smb_uid mismatchLuke Leighton1999-07-151-2/+2
|
* removed strncpy()Luke Leighton1999-07-141-23/+25
|
* dfs parsed string length was being set explicitly to value "6", overwritingLuke Leighton1999-07-131-22/+21
| | | | the correct length.
* Jean-Francois Micouleau's rewrite of Nigel William's DFS supportLuke Leighton1999-07-121-0/+215
|
* lengths of NT passwords when "encrypt passwords = no" can be completelyLuke Leighton1999-07-121-1/+1
| | | | | | random. values seen can be as high as 18255. this fails the check of <= 24 which sets NT password length to 0, effectively ignoring it. the <= 24 was removed in reply_sesssetup_X.
* Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1999-07-126-67/+354
| | | | | Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed.
* oops, refused lm when ntlmv2 was true not false/auto. oops!Luke Leighton1999-07-071-1/+1
|
* reporting failure to accept ntlmv2 (only) with down-level protocols (LANMAN1Luke Leighton1999-07-061-3/+13
| | | | and below).
* smb_password_ok() checking incorrectly whether lm password exists.Luke Leighton1999-07-061-13/+16
| | | | when lmcompatibilitylevel=0x2 on nt sp4+ clients, lm# is not sent.
* improving authentication code (tidyup).Luke Leighton1999-06-293-50/+109
|
* debugging of NBT messages added.Luke Leighton1999-06-241-0/+3
|
* Moved code that changes the pw_passwd entry (i.e shadow password andTim Potter1999-06-135-6/+6
| | | | | | | | weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug. Note that the Get_Pwnam() function now returns a const struct passwd * as a hint to other developers not to change entries in the struct passwd.
* Fixing core dump bug with unix password sync, caused by a NULLMatthew Chapman1999-06-021-5/+7
| | | | | | connection_struct in a call to OpenDir. JF, you fixed a similar bug in printing/nt_printing.c, I think your fix is incorrect as global configuration files should not go through a VFS.