summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* oh dear, it's this one again. removed check for MAILSLOT\NTLOGON becauseLuke Leighton1999-03-091-14/+12
| | | | | | it's wrong. i've seen a packet from nt client on MAILSLOT\NETLOGON with appended undocumented unicode tacked on the end and the response contained undocumented unicode tacked on the end.
* oops, IS_BITS_CLR_ALL() macro was wrong!Luke Leighton1999-03-091-1/+1
|
* reverted access control flags in enum commands.Luke Leighton1999-03-091-3/+3
|
* - todd sabin spotted bugs in samr enum dom users / groups / aliases code:Luke Leighton1999-03-082-130/+159
| | | | | | | | last count (probably an ENUM / resume handle) should always be returned even if there are no items being returned. - got fed up of seven intendation levels in cmd_samr.c, maximum recommended in *any* code is three! made some sub-fns instead.
* pass_check.c could receive encrypted password: printing it out as a %sLuke Leighton1999-03-082-2/+4
| | | | | results in garbage. with no password length argument doing dump_data( 100, password, strlen(password)) is the next best alternative.
* oops, accidentally committed clear-text password reading last week.Luke Leighton1999-03-081-1/+1
|
* Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.Luke Leighton1999-03-082-0/+13
|
* spelling mistake, #ifdef'd out for non-developers (oops!)Luke Leighton1999-03-051-0/+5
|
* oops, put -DDEBUG_PASSWORD in wrong place.Luke Leighton1999-03-051-1/+1
|
* Benjamin Kuit's mods.Luke Leighton1999-03-053-3/+36
|
* Benjamin Kuit's latest mysql mods. issue with "make proto" needs to beLuke Leighton1999-03-036-93/+165
| | | | resolved.
* added <mysql.h> autoconf test.Luke Leighton1999-03-025-33/+10
|
* Benjamin Kuit's MYSQL SAM Database implementation.Luke Leighton1999-03-018-2/+1335
| | | | Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999.
* improving syntax / useability of rpcclient "shutdown" command:Luke Leighton1999-03-012-10/+26
| | | | rpcclient [-m messsage] [-t timeout] [-r or --reboot].
* referred reader to NT Domain FAQ for more info (copy of update to 2.0)Gerald Carter1999-02-251-109/+10
|
* Return either STATUS_BUFFER_OVERFLOW or ERRDOS/ERRmoredata depending onMatthew Chapman1999-02-241-7/+10
| | | | whether the client supports 32-bit error codes.
* Added "lookupdomain" rpcclient command. Not particularly useful currentlyMatthew Chapman1999-02-241-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.
* Win9x user level security.Matthew Chapman1999-02-247-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.
* added jeremy's new c++-like code for parsing of security descriptors.Luke Leighton1999-02-2310-330/+497
|
* samr_lookup_names "none found" error needed corrections with empty lists.Luke Leighton1999-02-191-2/+2
|
* last unix group not being listed. spotted by jacques sansdrap.Luke Leighton1999-02-193-3/+3
|
* problem been there for months: reg_r_info not aligning after string buffer.Luke Leighton1999-02-181-0/+1
|
* Got to the bottom of another weird one...Michael Warfield1999-02-181-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.
* rpcclient shutdown commandLuke Leighton1999-02-167-2/+203
|
* bitmap to stringsLuke Leighton1999-02-162-16/+84
|
* Always null-terminate strings.Matthew Chapman1999-02-1517-82/+82
| | | | Also some string length and sizeof(pointer) corrections.
* Always null-terminate strings.Matthew Chapman1999-02-151-16/+33
|
* Added caching of user password if it was entered via getpass. We were alreadyMichael Warfield1999-02-141-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-
* Folding into Samba-2.1.X tree documents added to 2.0.3.John Terpstra1999-02-143-0/+34
|
* Fixed a glibc glitch in smbumount.c and reenabled some debuggingMichael Warfield1999-02-132-2/+2
| | | | in smbmount.c
* const cast issues. [p.s - tidy work, matt!]Luke Leighton1999-02-121-16/+31
|
* const issues with byte mod / byte read macros.Luke Leighton1999-02-121-8/+13
|
* Cut and paste error.Matthew Chapman1999-02-121-9/+9
|
* UNICODE cleanup (see lib/util_unistr.c).Matthew Chapman1999-02-1221-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).
* UNICODE issues.Luke Leighton1999-02-114-13/+13
|
* the UNICODE issue...Luke Leighton1999-02-117-11/+44
|
* enum dom users buffer was 0x80 not 0x8000. must fix "enumeration" codeLuke Leighton1999-02-111-1/+1
| | | | as you need to make multiple enum dom users calls.
* refinement of random ipc$ SMBtrans torture test. send requests, andLuke Leighton1999-02-111-4/+58
| | | | don't wait for responses :-)
* uninitialised pointer being freed if lookupnames failed. oops.Luke Leighton1999-02-111-1/+1
|
* use jeremy's versions of the UNICODE routines.Luke Leighton1999-02-105-47/+59
|
* Having Well-known Domain Groups ("Domain Admins/Guests/Users") returnedLuke Leighton1999-02-092-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.
* groups and aliases being "manually" added which do not necessarily haveLuke Leighton1999-02-091-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.
* when multiple independent large rpc calls come in on the same pipe,Luke Leighton1999-02-092-6/+4
| | | | prev_pdu_file_offset was not being re-initialised to zero.
* removal of the use of unistrn2 function: replace it with unistr2_to_strLuke Leighton1999-02-098-43/+39
| | | | which is more appropriate.
* pwdb_smb_to_sam was not returning NULL for nt name so thatLuke Leighton1999-02-092-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.
* Fix for NT BSOD problem. There's no reason to have two "NT usernames" runningMatthew Chapman1999-02-091-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.
* UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()Luke Leighton1999-02-088-21/+21
|
* reload_services needs to be called prior to init_files but afterLuke Leighton1999-02-081-4/+4
| | | | get_myname.
* iteration of sam passwd entries was an order n-cubed algorithm dueLuke Leighton1999-02-083-25/+92
| | | | | to resolution of unix name to nt name being unnecessarily _inside_ another loop.
* initialise my name (used in %h) prior to loading smb.conf files.Luke Leighton1999-02-031-26/+15
|