summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* added 2 more (unknown) NTLMSSP negotiation bitsLuke Leighton1999-05-061-0/+2
|
* Changed the RPC api definition now first arg is a pipe_structJean-François Micouleau1999-05-034-5/+36
| | | | | | found some memory leak in the spoolss code. Jean Francois
* Added a new command to rpcclient: eventlog <log> where <log> is System,Jean-François Micouleau1999-05-031-0/+133
| | | | | | Security or Application. That's a crude equivalent to the eventviewer. Jean Francois
* Adding "time" rpcclient command which displays the remote time.Matthew Chapman1999-05-011-0/+4
| | | | | Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt
* added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1999-05-011-0/+1
|
* md5 and hmac_md5Luke Leighton1999-04-304-0/+82
|
* rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau1999-04-275-0/+144
| | | | | | | | | | | | | | | | | | | | include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois
* Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau1999-04-272-0/+1515
| | | | Jean Francois
* Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman1999-04-231-0/+155
| | | | | command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration.
* Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman1999-04-234-0/+43
| | | | | command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration.
* Make proto for VFS init changes and VFS fsync() stuff.Tim Potter1999-04-201-7/+8
|
* Broke out vfs structures to separate header file.Tim Potter1999-04-201-44/+11
| | | | | | | Some cpp hackery to avoid redefining types used by vfs header file. Added a vfs_connection_struct to connection_struct so it can be freed when a VFS share is disconnected.
* Broke out of smb.hTim Potter1999-04-201-0/+131
| | | | | Changed arguments to fsync() function to break dependency on connection_struct.
* Trying to improve DC location & browsing performance for the average userMatthew Chapman1999-04-111-0/+1
| | | | | | | | | | | | | | | | | | | who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code).
* Mainly BDC-related changes.Matthew Chapman1999-04-083-8/+292
| | | | | | | | | | | | | | | * Added SEC_CHAN_BDC * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM.
* Always do a compile before CVS commit! )-:Tim Potter1999-04-081-0/+1
|
* Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter1999-04-081-0/+1
|
* Updated for VFS merge.Tim Potter1999-04-041-6/+47
|
* Added struct vfs_ops describing virtual filesystem operations.Tim Potter1999-04-041-30/+77
| | | | Created constants for pstring and fstring lengths.
* new files needed by profiling codeAndrew Tridgell1999-04-011-0/+32
|
* Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell1999-04-013-11/+24
| | | | | | | | | | | | capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area.
* added SamrQueryDomainInfo call info level 0x3 for kix32.exe supportLuke Leighton1999-03-292-1/+10
|
* "User Manager" - create user + change password now work.Luke Leighton1999-03-251-0/+1
| | | | | next problem: user group adding not supported so an "access denied" message is reported instead of "ok" when a new user is created.
* fixed issues with "Welcome to SAMBA Domain" for when admin user/pass isLuke Leighton1999-03-251-1/+2
| | | | | used to add workstation to domain. unix account db not modified: only SAM password db is used.
* added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is usedLuke Leighton1999-03-252-0/+10
| | | | by "Welcome to SAMBA Domain".
* SAM database "set user info".Luke Leighton1999-03-254-47/+151
| | | | | | | | | | | | | | | | | | | | | | | ---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers.
* removed 2 unnecessary args from make_uni_hdr.Luke Leighton1999-03-241-2/+37
|
* Fixed LSA Lookup Names. There were a few too many NULL pointers in aMatthew Chapman1999-03-241-2/+4
| | | | negative response, which tended to crash lsass.exe.
* dynamic memory allocation in samr enum dom users. works with 849 entries now.Luke Leighton1999-03-231-2/+2
|
* Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly.Matthew Chapman1999-03-231-36/+1
|
* added a "createuser" command.Luke Leighton1999-03-192-3/+46
|
* return type of nt_decrypt_string2 set to BOOL.Luke Leighton1999-03-191-2/+37
|
* Implemented encryption algorithm used for a number of RPC buffers.Matthew Chapman1999-03-192-3/+5
| | | | | | | (actually, decryption only currently because I need to get some sleep). Basically another Microsoft twist on DES; the "master key" is the user's NT hash MD4'd and subsets of this are chosen as the 56-bit DES keys.
* Beau Kuiper: provided patch so that passwords could only be changed byLuke Leighton1999-03-191-0/+1
| | | | | | root if the ACB_PWLOCK bit is set (on a per-user basis). he also added an extra smbpasswd option so that this bit can be modified from command-line.
* Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGONMatthew Chapman1999-03-182-0/+24
| | | | | service on its BDC's prior to initiating SAM replication. For now just return success.
* Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRETMatthew Chapman1999-03-183-36/+86
| | | | | | | | | | (-> LsarQuerySecret) on client side, including rpcclient command "querysecret" for others to play with. The major obstacle is working out the encryption algorithm used for the secret value. It definitely uses the NT hash as part of the key, and it seems the block size is 64 bits - probably DES based - but I can't work out what's done in between. Help required.
* Stefan Walters: purify spotted rverf should be alloc'd to 16 bytes not 8.Luke Leighton1999-03-171-0/+35
|
* Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API).Matthew Chapman1999-03-162-0/+25
| | | | Needed during preliminary part of SAM replication.
* Don't forget to make proto.Matthew Chapman1999-03-141-37/+4
|
* new "domtrust" test command. r&d into inter-domain trust accounts.Luke Leighton1999-03-121-6/+12
|
* mods to allow inter-domain trust accounts to be added to SAM databaseLuke Leighton1999-03-091-5/+6
| | | | using smbpasswd command.
* oops, IS_BITS_CLR_ALL() macro was wrong!Luke Leighton1999-03-091-1/+1
|
* Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.Luke Leighton1999-03-082-0/+13
|
* Benjamin Kuit's mods.Luke Leighton1999-03-051-0/+31
|
* added <mysql.h> autoconf test.Luke Leighton1999-03-022-0/+7
|
* Win9x user level security.Matthew Chapman1999-02-242-85/+195
| | | | | | | | | | | | | | | | | | | | | | | | * Added SAMR_LOOKUP_DOMAIN (-> SamrLookupDomainInSamServer) * Added real SAMR_ENUM_DOM_GROUPS (corresponding to SamrEnumerateGroupsInDomain). The existing one is just an alias for SamrQueryDisplayInformation (see below). * Added three extra info levels to SAMR_QUERY_DISPINFO. Info level 3 is what was previously SAMR_ENUM_DOM_GROUPS; info levels 4 and 5 are simple user/group list requests used by Win9x and I suspect (haven't checked) the "low speed connection" User Manager. * Added another two aliases for SAMR_QUERY_DISPINFO, opcodes 0x30 and 0x33. Usually the first is with info level 3 and the second 4 but there is some overlap so indeed these should be implemented as just aliases. * Return ERRDOS/ERRmoredata on extra data instead of STATUS_BUFFER_OVERFLOW for Win95's benefit. On a named pipe this results in an SMBreadX as usual. Still need to fix SAMR_QUERY_DOMAIN_INFO which has a hard-coded number of users and groups - which Win95 proceeds to truncate at.
* added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1999-02-232-25/+28
|
* rpcclient shutdown commandLuke Leighton1999-02-163-2/+39
|
* const issues with byte mod / byte read macros.Luke Leighton1999-02-121-8/+13
|
* UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1999-02-121-12/+9
| | | | | | No more ugly static library buffers and all functions take a destination string length (especially unistrcpy was rather dangerous; we were only saved by the fact that datagrams are limited in size).