summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-03-02added <mysql.h> autoconf test.Luke Leighton5-33/+10
(This used to be commit 511ef8a58ccfc04d0744f28753bb48d848851980)
1999-03-01Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton8-2/+1335
Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999. (This used to be commit fdf61e1dabc2c977ee5cf1e9d60e3380f19840da)
1999-03-01improving syntax / useability of rpcclient "shutdown" command:Luke Leighton2-10/+26
rpcclient [-m messsage] [-t timeout] [-r or --reboot]. (This used to be commit 8b859797aaa1b88cb1a932fed97b4c3ea2dbdde2)
1999-02-25referred reader to NT Domain FAQ for more info (copy of update to 2.0)Gerald Carter1-109/+10
(This used to be commit 644cda5d807d875c956e71a6e49d65c2d7f0d61e)
1999-02-24Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending onMatthew Chapman1-7/+10
whether the client supports 32-bit error codes. (This used to be commit cb5428308d6978f7bd76c1b878dd4a43135a274d)
1999-02-24Added "lookupdomain" rpcclient command. Not particularly useful currentlyMatthew Chapman1-0/+1
(you can do "lookupdomain MYDOMAIN" and "lookupdomain BUILTIN" and the results won't be too surprising), but it will come in useful testing the new password database code I'm working on. (This used to be commit d1cc33bcb61305cc9a6e21886237fa291eda9427)
1999-02-24Win9x user level security.Matthew Chapman7-429/+1096
* 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. (This used to be commit 7d03e6e21908f3a759a4e65c5edd850622335e3e)
1999-02-23added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton10-330/+497
(This used to be commit ec1b7000fd88c5a08e438c7033f60e49b9ec44a8)
1999-02-19samr_lookup_names "none found" error needed corrections with empty lists.Luke Leighton1-2/+2
(This used to be commit e164b5080ca966de4227277f7ac031bc96d056ad)
1999-02-19last unix group not being listed. spotted by jacques sansdrap.Luke Leighton3-3/+3
(This used to be commit 2d5fc5c7cf2086c396c853c13a3409bfac77d05c)
1999-02-18problem been there for months: reg_r_info not aligning after string buffer.Luke Leighton1-0/+1
(This used to be commit 66e2787ab7db72fb654b995280b294738e77e50a)
1999-02-18Got to the bottom of another weird one...Michael Warfield1-1/+5
Piping the output of smbmount back to autofs/automount was causing the automount process to hang. Reason was that automount was depending on the pipe to close to continue on, rather than detecting the child signal. This occured with debug enabled and the daemon process was not closing the stdout process. Disabling debuging avoids the problem. Debugging is turned off in the cvs repository and a warning placed over the debugging option. (This used to be commit 329ceaee49fa0175f78873433bd942865309f633)
1999-02-16rpcclient shutdown commandLuke Leighton7-2/+203
(This used to be commit 59f081069a58f6a070ed6016c06153d5e695da93)
1999-02-16bitmap to stringsLuke Leighton2-16/+84
(This used to be commit ba5919bcaefa792bae503c7ab19d4b7bbf9bb954)
1999-02-15Always null-terminate strings.Matthew Chapman17-82/+82
Also some string length and sizeof(pointer) corrections. (This used to be commit ce24191939b82985d09eabe945199f38b0fea486)
1999-02-15Always null-terminate strings.Matthew Chapman1-16/+33
(This used to be commit b314430b2102e47529b093b1b98b5b6f3b6ea74f)
1999-02-14Added caching of user password if it was entered via getpass. We were alreadyMichael Warfield1-1/+102
caching the password if it came from the command line or from the environment. This completes the set and deals with the bloody nusance when reconnecting a connection after we have gone daemon... Grrr... Added code to clean up the mount point following a catastrophic failure during reconnect. The smbmount daemon was exiting but leaving the mount point in an unusable state. If smbmount must exit following a reconnect failure, we "unmount" the mount point and clean up mnttab. Currently, the unmount works, fixing some really ugly I/O errors and failure when trying to remount. The cleanup on mnttab still has problems. This is better than what it was and doesn't break anything that wasn't broken before, so I'm committing this in even with the mnttab problem. Will commit the fix to that when I figure out what is busted there... -mhw- (This used to be commit ad8389804cec6c6bf04601a1d7bb3fb7aa8c2274)
1999-02-14Folding into Samba-2.1.X tree documents added to 2.0.3.John Terpstra3-0/+34
(This used to be commit 1041d53ec246debac0050bdc7e9a6cd72e9ecf49)
1999-02-13 Fixed a glibc glitch in smbumount.c and reenabled some debuggingMichael Warfield2-2/+2
in smbmount.c (This used to be commit 4b4a706213032ad49a0653e80721bac5f6284f90)
1999-02-12const cast issues. [p.s - tidy work, matt!]Luke Leighton1-16/+31
(This used to be commit dad5baef194b18c674c0d908a0e0714c0a1aefa4)
1999-02-12const issues with byte mod / byte read macros.Luke Leighton1-8/+13
(This used to be commit 98ecb88704c3db26de8b548f4f1526f23401a161)
1999-02-12Cut and paste error.Matthew Chapman1-9/+9
(This used to be commit 9ea91d89d2a1baa67f5143ecc08eb60c93213242)
1999-02-12UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman21-324/+296
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). (This used to be commit a1d39af1ce1d451b811dbd7c2ba391214851b87e)
1999-02-11UNICODE issues.Luke Leighton4-13/+13
(This used to be commit 6a437cfb33f24913e0c1f8484c0b08ef317e513b)
1999-02-11the UNICODE issue...Luke Leighton7-11/+44
(This used to be commit 73db80f34183324845407b00f58462ff2d7b47ea)
1999-02-11enum dom users buffer was 0x80 not 0x8000. must fix "enumeration" codeLuke Leighton1-1/+1
as you need to make multiple enum dom users calls. (This used to be commit b5396d3c6de4b8cb0e981bab10367e5838f78a53)
1999-02-11refinement of random ipc$ SMBtrans torture test. send requests, andLuke Leighton1-4/+58
don't wait for responses :-) (This used to be commit c1d65e906054297e42d6d177194d3b9ab16c7e35)
1999-02-11uninitialised pointer being freed if lookupnames failed. oops.Luke Leighton1-1/+1
(This used to be commit d77de868588b6291353fa7a426b6e5da4b5f2c49)
1999-02-10use jeremy's versions of the UNICODE routines.Luke Leighton5-47/+59
(This used to be commit c5109ff782be8774db47a92b48ca6335ec8d6065)
1999-02-09Having Well-known Domain Groups ("Domain Admins/Guests/Users") returnedLuke Leighton2-2/+2
under SID_NAME_ENUM 0x5 instead of 0x2 (Well-known group instead of Domain Group) was making it impossible to view these groups from USRMGR.EXE. (This used to be commit 3072044134eadbf46350b32c1ed0703681b0d590)
1999-02-09groups and aliases being "manually" added which do not necessarily haveLuke Leighton1-45/+7
representation in the underlying database: removed this code. for example, with the nt->unix mapping system (don't know about the ldap one) if you want "Domain Admins" to appear you _must_ put it in the domaingroup.map file. the previous code was adding builtin aliases and well-known groups even if they weren't in the domain maps. bad idea. (This used to be commit 56469578a1af0fbcf6edddf94c498c7bbfb385c6)
1999-02-09when multiple independent large rpc calls come in on the same pipe,Luke Leighton2-6/+4
prev_pdu_file_offset was not being re-initialised to zero. (This used to be commit fcaa1214412f5a417a648d4da5c4332f75f59f57)
1999-02-09removal of the use of unistrn2 function: replace it with unistr2_to_strLuke Leighton8-43/+39
which is more appropriate. (This used to be commit ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b)
1999-02-09pwdb_smb_to_sam was not returning NULL for nt name so thatLuke Leighton2-13/+25
pwdb_sam_map_names() was using a "blank" static string instead of a NULL pointer for nt names. NULL means over-ride, so the nt name got left as "blank". this causes nt clients to terminate with extreme prejudice. (This used to be commit ddd350198202d6a1d2c715b3dce7db3a5d76a63a)
1999-02-09Fix for NT BSOD problem. There's no reason to have two "NT usernames" runningMatthew Chapman1-3/+1
around anyway. The real problem is, once again, the brokenness of pwdb_sam_map_names et al. This time it is deciding to return blank NT usernames, which NT's redirector objects to. I'm currently working on improving the pwdb/mapping code, should be ready in a couple of weeks. (This used to be commit 30a085bf80982c619cd78aee9ad410ece5f88679)
1999-02-08UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()Luke Leighton8-21/+21
(This used to be commit 9084b7e33dfe717bd8d5604ee71d137e3baef0f5)
1999-02-08reload_services needs to be called prior to init_files but afterLuke Leighton1-4/+4
get_myname. (This used to be commit 9ab81caa065a0e08368fc9137d42ed810fd4b817)
1999-02-08iteration of sam passwd entries was an order n-cubed algorithm dueLuke Leighton3-25/+92
to resolution of unix name to nt name being unnecessarily _inside_ another loop. (This used to be commit d455c9d2c9f60289d78d0331228f5922152070bf)
1999-02-03initialise my name (used in %h) prior to loading smb.conf files.Luke Leighton1-26/+15
(This used to be commit ed128c38a88746ec7822d598e72f0106a30a4af7)
1999-02-03%s not $sLuke Leighton1-1/+1
(This used to be commit 62118e15fed8c9a7e13705842d0ae59669a2dd8f)
1999-02-03corrections to get data stream for 2nd and subsequent pdus copied fromLuke Leighton3-23/+19
right place (forgot to subtract 0x18 header bytes) (This used to be commit 5b9a7278da4a25ea217f914c8daae31238fa5cfe)
1999-02-03cache unix groups so that two-level getgrent calls don't occur.Luke Leighton9-31/+226
(This used to be commit f7dfa55a2e191ae780d399026bce48f68cda4bf0)
1999-02-03multiple dce/rpc PDUs failed to work after ntlmssp update was added.Luke Leighton3-33/+24
(This used to be commit f082f07e764c04b75b6880f852b80faec86f1b1c)
1999-02-02server type announcements modified to include the "role" of the server:Luke Leighton2-15/+69
domain member, pdc, bdc. (This used to be commit d95bb252f838b3612f5eba5d2b61d7b38b01f5ef)
1999-02-01Minor change to bring smbmount in the main branch in line with some bzeroMichael Warfield1-3/+3
to memset changes... (This used to be commit 1cb8fcb33bb9e930d8f3cba4cc1ba5aa880c5f8e)
1999-02-01comma after DOM_MAP_USER removedLuke Leighton1-1/+1
(This used to be commit ce1ae86cbd8dec18ff981d1fce05ed660e263f38)
1999-02-01Must set password length to 24 after we encrypt a password.Matthew Chapman1-0/+2
(This used to be commit af83778abc5fae0df53ed1874181e33bc8de8d94)
1999-02-01Initialise NTTIME properly in make_reg_q_enum_key instead of usingMatthew Chapman1-1/+1
unix_to_nt_time hack. Seems to me it's ignored anyway (dummy return buffer?). (This used to be commit 1e3873111faf352ef14a098eff250b505ab0b800)
1999-02-01Fixed a domain functionality problem where NT clients would startMatthew Chapman1-30/+11
endlessly repeating a network SAMLOGON (hoping it to change, hmmm...). ( Guess what I found in pwdb_init_sam... unix_to_nt_time(&user->logon_time, (time_t)-1); unix_to_nt_time(&user->logoff_time, (time_t)-1); unix_to_nt_time(&user->kickoff_time, (time_t)-1); ... ) (This used to be commit e9c79c85e6d1352693ab13e907b07d4706975891)
1999-02-01Added init_nt_time function which initialises an NTTIME to -1.Matthew Chapman2-7/+10
(This used to be commit e1e3875057bed830fdc0aaa9c85f04a1479fd64a)