Tim Potter [Sun, 11 Apr 1999 00:27:43 +0000 (00:27 +0000)]
Modification to compile under egcs 2.91.63.
(This used to be commit
d04c530836202ca2277176341261b3ac78f4956a)
John Terpstra [Fri, 9 Apr 1999 13:30:36 +0000 (13:30 +0000)]
Put this back after it dropped off.
(This used to be commit
5feb10ef1330d87fca34cc5400c124dcfce7db4f)
Matthew Chapman [Thu, 8 Apr 1999 05:37:15 +0000 (05:37 +0000)]
Mainly BDC-related changes.
* Added SEC_CHAN_BDC
* Added -b switch to smbpasswd (for a BDC (server) trust account).
* Propagate sec_chan into the various functions which change trust account
passwords, so they can be used for domain control and inter-domain
trusts.
(This used to be commit
6f2b37bfc5fc8d56b275883d0ed2c5179aa60ccd)
Matthew Chapman [Thu, 8 Apr 1999 05:36:39 +0000 (05:36 +0000)]
Mainly BDC-related changes.
* Added SEC_CHAN_BDC
* Propagate sec_chan into the various functions which change trust account
passwords, so they can be used for domain control and inter-domain
trusts.
(This used to be commit
ca540c21f78b4bc8ca36ac3d5af2b8f67cf716c3)
Matthew Chapman [Thu, 8 Apr 1999 05:36:15 +0000 (05:36 +0000)]
Mainly BDC-related changes.
* Added SEC_CHAN_BDC
* Propagate sec_chan into the various functions which change trust account
passwords, so they can be used for domain control and inter-domain
trusts.
* 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.
(This used to be commit
7b830350eb54dc9d357c115e12ddf9a0633527ac)
Matthew Chapman [Thu, 8 Apr 1999 05:35:53 +0000 (05:35 +0000)]
Mainly BDC-related changes.
* 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.
(This used to be commit
74d6dec25d6b44e26d3895f789f1958d5f4639ee)
Matthew Chapman [Thu, 8 Apr 1999 05:34:11 +0000 (05:34 +0000)]
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.
(This used to be commit
7ef76320b79b3ca4e04dcf809ac6388b6c47a3d8)
Tim Potter [Thu, 8 Apr 1999 03:13:33 +0000 (03:13 +0000)]
Always do a compile before CVS commit! )-:
(This used to be commit
0f37e900fa0744573754796916abf967fee05ea2)
Tim Potter [Thu, 8 Apr 1999 03:01:18 +0000 (03:01 +0000)]
Forgot about closedir() function for VFS. Hoo embarassing.
(This used to be commit
c1cbe07c0391c36066b068fdd42bf1aa40259a5c)
Tim Potter [Wed, 7 Apr 1999 04:20:00 +0000 (04:20 +0000)]
Changed calls to strncat() to safe_strcat(). Fix from SAMBA_2_0 branch.
(This used to be commit
2d2c5ae7cd610b0d97151f90ad5ac7f4e41e514d)
Luke Leighton [Tue, 6 Apr 1999 16:36:52 +0000 (16:36 +0000)]
Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD.
(This used to be commit
2f02a083b2f766d2f3d3f410377da7f552739345)
Tim Potter [Mon, 5 Apr 1999 23:35:50 +0000 (23:35 +0000)]
Under IRIX, a void function may return a value, even if that value is
void!
(This used to be commit
e15da6882426edd39ff7fdcd47f1be30c053d4ec)
Tim Potter [Mon, 5 Apr 1999 05:19:34 +0000 (05:19 +0000)]
Fix incorrect conversion of fd_attempt_open() calls to vfs_ops.open().
Use VFS I/O for fd_attempt_open() and check_access_allowed_for_current_user().
(This used to be commit
abf31ca66f3dab1b8bd7772f83e736e41afb4b1e)
Tim Potter [Mon, 5 Apr 1999 05:18:44 +0000 (05:18 +0000)]
Use VFS I/O for stat_cache_lookup()
(This used to be commit
5ece1fcffbc5a5062c02edf6f2ecb405c2a2f43e)
Tim Potter [Mon, 5 Apr 1999 05:18:07 +0000 (05:18 +0000)]
Disable VFS routines if no libdl available.
(This used to be commit
cbfd8a8990b4d06d0c866274e7d28e4a5e384686)
Tim Potter [Mon, 5 Apr 1999 05:14:47 +0000 (05:14 +0000)]
Documentation for VFS construction.
(This used to be commit
753596246ceb7e06f5f8c4f169251a89b464b54c)
Tim Potter [Sun, 4 Apr 1999 22:58:44 +0000 (22:58 +0000)]
Fixed spelling typo in Kerberos configure option.
(This used to be commit
e8fa4fbf8b5a0d5c76745f51751e85f2ec462b41)
Tim Potter [Sun, 4 Apr 1999 07:24:14 +0000 (07:24 +0000)]
Updated for VFS merge.
(This used to be commit
f40a1339620f50a6127362b8156cc738dc9da5f5)
Tim Potter [Sun, 4 Apr 1999 07:18:38 +0000 (07:18 +0000)]
Fixed up incorrect calls to read_file().
(This used to be commit
17d007daa3d1fa60501eae1eecfc2d0f88c1692e)
Tim Potter [Sun, 4 Apr 1999 07:05:03 +0000 (07:05 +0000)]
Use VFS operations for file I/O.
Modified args to read_predict to pass in fsp.
Renamed sync_file() function to sys_sync_file().
(This used to be commit
7ced7fd3958c76303e4b6019b5d54eda666d7b33)
Tim Potter [Sun, 4 Apr 1999 07:03:47 +0000 (07:03 +0000)]
Use VFS operations for file I/O.
Modified invocations of fd_attempt_close as it now takes a fsp instead
of a fd.
(This used to be commit
ef24fcb7b2248aae9c3f1fb4df7466b5ae35f5ce)
Tim Potter [Sun, 4 Apr 1999 06:53:46 +0000 (06:53 +0000)]
#ifdef'ed out functions obsoleted by VFS:
dos_opendir
dos_readdirname
dos_file_exist
Added warning comments to dos_mkdir() as it's used in client code.
(This used to be commit
666afcdf1d794959ea0de75205bb8024c95753b8)
Tim Potter [Sun, 4 Apr 1999 06:47:57 +0000 (06:47 +0000)]
Added smbd/vfs.o and smbd/vfs-wrap.o to object list for smbd.
(This used to be commit
db60aa209c43126d61a798dec69d4f4f5cbcaf37)
Tim Potter [Sun, 4 Apr 1999 06:39:45 +0000 (06:39 +0000)]
Wrote VFS initialisation routines.
Converted some useful routines from doscalls.c and changed them to use
VFS I/O functions:
dos_file_exist
dos_read_data
dos_write_data
dos_transfer_file
dos_readdirname
Some of these functions have been #ifdef'ed out of doscalls.c as they
are not used anywhere else. Not sure whether they should be deleted
or not. The remaining dos_* calls seem to be used by clients and for
locking stuff. This should be cleaned up sometime.
(This used to be commit
ddde0ab9a1e1b90c2a96103721056eb035dcd49d)
Tim Potter [Sun, 4 Apr 1999 06:37:07 +0000 (06:37 +0000)]
Wrapped up all VFS disk I/O functions for portability. I remember
tridge telling me why this needed to be done but I have since
forgotten. (-:
(This used to be commit
6e607ef760bd2c0eb3ac31252601ab30de626270)
Tim Potter [Sun, 4 Apr 1999 06:25:13 +0000 (06:25 +0000)]
Use VFS operations for file I/O.
(This used to be commit
cfddbdb62485256a947a30e04c753200451cbe1c)
Tim Potter [Sun, 4 Apr 1999 06:22:22 +0000 (06:22 +0000)]
Call VFS initialisation, share connect and share disconnect functions.
Initialise VFS function pointers with symbols from the 'vfs object'
file, use disk pointers otherwise.
Added a hook to check for a 'default' VFS share (like the [homes]
section). Currently empty - I'm unsure whether this will be useful or
not.
(This used to be commit
15805164fe77b127372eba1ec51c70758467adee)
Tim Potter [Sun, 4 Apr 1999 05:57:16 +0000 (05:57 +0000)]
Use VFS operations for file I/O.
Changed arg to fd_attempt_close() from fd to fsp_struct.
(This used to be commit
c40124bc9a2ebccf0bb56b1fafa81a551d934aa5)
Tim Potter [Sun, 4 Apr 1999 05:46:40 +0000 (05:46 +0000)]
Use VFS operations for file I/O.
Pass files_struct and connection_struct to read_predict() and
do_read_prediction() functions, respectively.
(This used to be commit
6479abc5b985981f571cb1ee16a0dbb843fcd270)
Tim Potter [Sun, 4 Apr 1999 05:40:28 +0000 (05:40 +0000)]
Use VFS operations for file I/O.
Changed calls to dos_{opendir,readdir} to vfs_{opendir,readdir}
equivalents.
(This used to be commit
5051a210619374639121124e32d24217255e992e)
Tim Potter [Sun, 4 Apr 1999 05:32:42 +0000 (05:32 +0000)]
Use VFS operations for file I/O.
(This used to be commit
20bfa71c951a6e6018aafbd43946d1e0669feacb)
Tim Potter [Sun, 4 Apr 1999 05:29:41 +0000 (05:29 +0000)]
Added struct vfs_ops describing virtual filesystem operations.
Created constants for pstring and fstring lengths.
(This used to be commit
6998bdbfa886de7feda96a6913024deb723ff13b)
Tim Potter [Sun, 4 Apr 1999 04:54:50 +0000 (04:54 +0000)]
Added configuration parameter 'vfs object' to specify loadable object
file containing a VFS implementation.
(This used to be commit
a7af7193e3c38d1303919b31a73eea77d0dfa92f)
Andrew Tridgell [Thu, 1 Apr 1999 05:35:22 +0000 (05:35 +0000)]
new files needed by profiling code
(This used to be commit
cae71af4536ff8bd15080f22f9a559f72ff44c68)
Andrew Tridgell [Thu, 1 Apr 1999 05:22:58 +0000 (05:22 +0000)]
Ken McDonell from SGI was interested in adding some profiling
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.
(This used to be commit
ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
Alexandre Oliva [Tue, 30 Mar 1999 10:41:07 +0000 (10:41 +0000)]
declare ttarf as double, as in client.c
(This used to be commit
dfcfeb743a7667c9dedf3d2b04587c497af12893)
Alexandre Oliva [Tue, 30 Mar 1999 10:25:20 +0000 (10:25 +0000)]
use double instead of SMB_BIG_UINT for dir_total and ttarf
(by tridge, merged from branch)
(This used to be commit
b482ac8fc4948ead79be8dd08c8386449f12e5f6)
Luke Leighton [Mon, 29 Mar 1999 17:24:46 +0000 (17:24 +0000)]
added SamrQueryDomainInfo call info level 0x3 for kix32.exe support
(This used to be commit
ac070dfd39bfa9b60680855585155ce528ab7691)
Luke Leighton [Thu, 25 Mar 1999 21:32:04 +0000 (21:32 +0000)]
"User Manager" - create user + change password now work.
next problem: user group adding not supported so an "access denied"
message is reported instead of "ok" when a new user is created.
(This used to be commit
f5f61bd477b4910cb90675c926381342c30a5b16)
Luke Leighton [Thu, 25 Mar 1999 21:01:08 +0000 (21:01 +0000)]
SMB_BIG_INT dir_total incompatible with %d: must use %llu (line 446)
(This used to be commit
1cece2124601fad6f5f9e3e16c4b0848ec9be249)
Luke Leighton [Thu, 25 Mar 1999 20:56:28 +0000 (20:56 +0000)]
fixed issues with "Welcome to SAMBA Domain" for when admin user/pass is
used to add workstation to domain. unix account db not modified: only
SAM password db is used.
(This used to be commit
129a9a4d4b74897ed753a697a3aed9b194c25568)
Alexandre Oliva [Thu, 25 Mar 1999 20:21:01 +0000 (20:21 +0000)]
* client/client.c (dir_total): use SMB_BIG_UINT
* client/clitar.c (ttarf): ditto
* * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's
patch <cloyce@headgear.org>
(This used to be commit
29581f8486e221f41669c2ca268c282f36a496ce)
Luke Leighton [Thu, 25 Mar 1999 15:14:30 +0000 (15:14 +0000)]
added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is used
by "Welcome to SAMBA Domain".
(This used to be commit
4aed18b5e1e2309c0f6931fbfdd604b01cb9498a)
Luke Leighton [Thu, 25 Mar 1999 13:54:31 +0000 (13:54 +0000)]
SAM database "set user info".
----------------------------
- 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.
(This used to be commit
2e58ed742435befe419aa366c4052019fede8c23)
Luke Leighton [Wed, 24 Mar 1999 21:23:39 +0000 (21:23 +0000)]
NULL pointer handling in nt_lm_owf_gen
(This used to be commit
68841eeb64df5958a90a6471fd17e6e56fba7c67)
Luke Leighton [Wed, 24 Mar 1999 21:09:34 +0000 (21:09 +0000)]
matt, you had removed a "pointer" from DOM_R_REF structure which made it
possible to fix lsa_r_lookup_names, but forgot to add that pointer in
to lsa_r_lookup_sids, where DOM_R_REF was also being used.
(This used to be commit
9092368af8adbf412c71af7216365e926593d54d)
Luke Leighton [Wed, 24 Mar 1999 17:26:08 +0000 (17:26 +0000)]
removed 2 unnecessary args from make_uni_hdr.
(This used to be commit
f84dede27e16a5f02ee6d02fe2d16f2661c65470)
Matthew Chapman [Wed, 24 Mar 1999 12:18:28 +0000 (12:18 +0000)]
Fixed LSA Lookup Names. There were a few too many NULL pointers in a
negative response, which tended to crash lsass.exe.
(This used to be commit
6d03f61d2536630968007958345cf44a42b03584)
Luke Leighton [Tue, 23 Mar 1999 20:43:44 +0000 (20:43 +0000)]
dynamic memory allocation in samr enum dom users. works with 849 entries now.
(This used to be commit
103557e26b071bf1e65e025ef5a52ccdbf483d02)
Matthew Chapman [Tue, 23 Mar 1999 15:01:37 +0000 (15:01 +0000)]
Fixed a typo where the RPC header mem_buffer was initialised as 0x8 bytes long
rather than 0x18. Rather nasty, I doubt the client ever worked for multiple
PDU's.
(This used to be commit
90b6fce780c8dff37a389493be0568923b189ff0)
Matthew Chapman [Tue, 23 Mar 1999 14:58:26 +0000 (14:58 +0000)]
ERRmoredata is informational and should not be treated as a hard error
anywhere.
(This used to be commit
71b861f7468d7950bedb61dd18a4b9d830bf8628)
Matthew Chapman [Tue, 23 Mar 1999 14:56:25 +0000 (14:56 +0000)]
Same infinite loop bug as I fixed in SAMBA_2_0, but I just spent half
an hour tracking it down in HEAD so I'm going to commit it here as well.
(This used to be commit
9a482aedb2c4eb7439e2edc092642d315d2a595b)
Matthew Chapman [Tue, 23 Mar 1999 14:14:12 +0000 (14:14 +0000)]
#if defined(HAVE_MYSQL_H) || defined(WITH_MYSQLSAM)
should instead have &&.
(This used to be commit
1143fd4297b946d4ffd3c6ca104188cdcb48fac8)
Matthew Chapman [Tue, 23 Mar 1999 13:45:42 +0000 (13:45 +0000)]
Another UNICODE issue - this time BUFFER2 was being transmitted incorrectly.
(This used to be commit
73730f6004c7eca1d852a569dede94095a396dca)
Matthew Chapman [Tue, 23 Mar 1999 02:31:34 +0000 (02:31 +0000)]
If a buffer pointer is NULL then its length_is() attribute should not be
transmitted.
Such a problem was crashing Server Manager.
(This used to be commit
402ed18188dd058ebed2ffc2af9840c04533dc8f)
Matthew Chapman [Sun, 21 Mar 1999 13:01:31 +0000 (13:01 +0000)]
The line:
this_pdu_data_pos = data_pos - p->prev_pdu_file_offset;
is correct for first two PDU's only, after that it results in extra
garbage after each fragment and hence "Protocol Error" messages from
NT4 SP4. Changed to:
this_pdu_data_pos = (pdu_data_sent == 0) ? 0 : (pdu_data_sent - 0x18);
(This used to be commit
b9e8a3ef3a25a81c4bb125bdd4f4d8334a578c85)
Matthew Chapman [Sun, 21 Mar 1999 12:55:18 +0000 (12:55 +0000)]
Ensuring return status is aligned in SAMR_QUERY_DISPINFO response.
(This used to be commit
1e17c2529c5162ea79fe2331ca2162ffb98bd6c2)
Luke Leighton [Fri, 19 Mar 1999 21:20:19 +0000 (21:20 +0000)]
added a "createuser" command.
(This used to be commit
fefb4bf19181714cb73414febd6ee2ec10356cbe)
Luke Leighton [Fri, 19 Mar 1999 21:15:03 +0000 (21:15 +0000)]
value->enc_secret not value->secret
(This used to be commit
d6cee14f8049471b14337681cbeac115958fbac0)
Luke Leighton [Fri, 19 Mar 1999 20:58:24 +0000 (20:58 +0000)]
const char* instead of char* for input
(This used to be commit
b51574174c5bbc554eb1c697cb22b2b73af44306)
Luke Leighton [Fri, 19 Mar 1999 20:26:25 +0000 (20:26 +0000)]
return type of nt_decrypt_string2 set to BOOL.
(This used to be commit
674e4a3a73cd601c647a5069e2af943a6321ac06)
Luke Leighton [Fri, 19 Mar 1999 15:49:22 +0000 (15:49 +0000)]
going to start adding inter-domain trust logons soon.
(This used to be commit
f9f594c03e220a0d902c5c3c5835948348b19fee)
Luke Leighton [Fri, 19 Mar 1999 15:39:43 +0000 (15:39 +0000)]
valid_pol in lsa_query_secret() needed to be initialised to False.
(This used to be commit
96e358a2f00ac603c95bc922e488ea2b64aeb829)
Matthew Chapman [Fri, 19 Mar 1999 15:11:07 +0000 (15:11 +0000)]
querysecret now shows the real, fairdinkum, decrypted secret :-)
(This used to be commit
5951e16a1134a559abefdd400e7a17627338f368)
Matthew Chapman [Fri, 19 Mar 1999 15:09:25 +0000 (15:09 +0000)]
Implemented encryption algorithm used for a number of RPC buffers.
(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.
(This used to be commit
f09388fa6f41a13ca035b5b2ff40be804608f619)
Luke Leighton [Fri, 19 Mar 1999 05:00:39 +0000 (05:00 +0000)]
Beau Kuiper: provided patch so that passwords could only be changed by
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.
(This used to be commit
534fe319d9de8da2ed7e911dbba3c7df08193efa)
Luke Leighton [Thu, 18 Mar 1999 22:13:15 +0000 (22:13 +0000)]
double-checked the return results from new querysecret command, corrected
my corrections :)
(This used to be commit
082109369b981713f68c13053b6419686f69ef26)
Luke Leighton [Thu, 18 Mar 1999 22:12:05 +0000 (22:12 +0000)]
matt,
remember: only close handles that you've previously opened. if the
lsa_open_secret() succeeds then and only then can you close it.
if the lsa_open_policy2() succeeds then and only then can you close it.
(This used to be commit
60da0a12555a2e12e27ff2af24e1068a515469c0)
Matthew Chapman [Thu, 18 Mar 1999 09:36:43 +0000 (09:36 +0000)]
Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGON
service on its BDC's prior to initiating SAM replication. For now just
return success.
(This used to be commit
113d03a38a34e5c4115dab59349078093bcd4888)
Matthew Chapman [Thu, 18 Mar 1999 06:30:27 +0000 (06:30 +0000)]
Changed hard-coded number of users/groups in SAMR_QUERY_DOMAIN_INFO
to MAX_SAM_ENTRIES to prevent truncation of user lists.
A proper implementation is not important right now.
(This used to be commit
900238a66153c276d63780e3264651089291d185)
Matthew Chapman [Thu, 18 Mar 1999 05:16:59 +0000 (05:16 +0000)]
Adding LSA_OPENSECRET (-> LsarOpenSecret) and LSA_QUERYSECRET
(-> 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.
(This used to be commit
365fa3b5fbf551670acc91f593138a7e91a5f7fa)
Luke Leighton [Wed, 17 Mar 1999 21:35:10 +0000 (21:35 +0000)]
SAMLOGON query - alignment issue is beginning to get to me.
(This used to be commit
baf55934dc5118f8c423fe05c0e4b8d7c018fa14)
Luke Leighton [Wed, 17 Mar 1999 19:49:14 +0000 (19:49 +0000)]
Stefan Walters: purify spotted rverf should be alloc'd to 16 bytes not 8.
(This used to be commit
4bb74fcc714fccac791ce86c8882d19d704b17a1)
Luke Leighton [Wed, 17 Mar 1999 19:48:29 +0000 (19:48 +0000)]
alignment issue for UDP SAMLOGON response.
(This used to be commit
9d01e9d86a8d22a283a8377a12bb175398547d78)
Matthew Chapman [Tue, 16 Mar 1999 06:24:24 +0000 (06:24 +0000)]
Added SVC_QUERY_DISP_NAME (corresponding to the GetServiceDisplayName API).
Needed during preliminary part of SAM replication.
(This used to be commit
03e722cdf502491d09d4c5eb9024d837ae10ab32)
Matthew Chapman [Sun, 14 Mar 1999 01:25:11 +0000 (01:25 +0000)]
Don't forget to make proto.
(This used to be commit
c95520eae9eecc2ec0a347dc0212d6983c5c7f2c)
Luke Leighton [Fri, 12 Mar 1999 19:53:28 +0000 (19:53 +0000)]
Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.Stefan Walter: spotted *p_group == NULL which should be p_group == NULL.
(This used to be commit
81b5304fe5ea518680b2516e2da39f31c1d05afb)
Luke Leighton [Fri, 12 Mar 1999 19:37:40 +0000 (19:37 +0000)]
cli_setup_creds new arguments added.
(This used to be commit
5fa3a3f710cfd3a51641d560a96bd08f92afca32)
Luke Leighton [Fri, 12 Mar 1999 05:47:06 +0000 (05:47 +0000)]
new "domtrust" test command. r&d into inter-domain trust accounts.
(This used to be commit
65b0abe8b7594ff6c662da86dc2e35bd83a2d13d)
Luke Leighton [Fri, 12 Mar 1999 05:46:10 +0000 (05:46 +0000)]
check for exactly _one_ key: for USRMGR.EXE.
(This used to be commit
478d9ddfcf59e3d847d83947c8d4f0bf84f26833)
Luke Leighton [Wed, 10 Mar 1999 17:32:41 +0000 (17:32 +0000)]
static password space needed.
(This used to be commit
5b1d0789007bfcb09326643eb271746cee386846)
Luke Leighton [Wed, 10 Mar 1999 17:06:07 +0000 (17:06 +0000)]
Greg Dickie: spotted bug where smb_nt_passwd could be NULL.
(This used to be commit
d8946f1cc7b77b06f346344ffdb4772e6d225396)
Luke Leighton [Tue, 9 Mar 1999 23:22:36 +0000 (23:22 +0000)]
Greg Dickie spotted some wierd memory corruption problem with group
database enumeration.
(This used to be commit
b0381bb262f51fca916fb951fc0c7e54a58e2dd3)
Luke Leighton [Tue, 9 Mar 1999 02:03:39 +0000 (02:03 +0000)]
alignment issue in UDP SAMLOGON response.
(This used to be commit
de290627f06915d420d37d2a3ac2f736c4cf8d74)
Luke Leighton [Tue, 9 Mar 1999 01:21:57 +0000 (01:21 +0000)]
mods to allow inter-domain trust accounts to be added to SAM database
using smbpasswd command.
(This used to be commit
62d499f83256c6e8b3308dc4bd8e9f5df873b14b)
Luke Leighton [Tue, 9 Mar 1999 01:20:08 +0000 (01:20 +0000)]
oh dear, it's this one again. removed check for MAILSLOT\NTLOGON because
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.
(This used to be commit
74c7d626cd85189c902489d220c3eca30a4b1bb1)
Luke Leighton [Tue, 9 Mar 1999 01:17:42 +0000 (01:17 +0000)]
oops, IS_BITS_CLR_ALL() macro was wrong!
(This used to be commit
a32a6f64b187e82f88eaccb6a2a88902be5cc4e0)
Luke Leighton [Tue, 9 Mar 1999 01:17:16 +0000 (01:17 +0000)]
reverted access control flags in enum commands.
(This used to be commit
97a0b24955b45e434e34510f65afdde7bfdf3183)
Luke Leighton [Mon, 8 Mar 1999 19:19:01 +0000 (19:19 +0000)]
- todd sabin spotted bugs in samr enum dom users / groups / aliases code:
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.
(This used to be commit
1c330d568225759950401cfb98fe9e99db81419c)
Luke Leighton [Mon, 8 Mar 1999 18:43:50 +0000 (18:43 +0000)]
pass_check.c could receive encrypted password: printing it out as a %s
results in garbage. with no password length argument doing dump_data(
100, password, strlen(password)) is the next best alternative.
(This used to be commit
073c8652c13408b883fc73203e5558b1a9a64d62)
Luke Leighton [Mon, 8 Mar 1999 18:42:43 +0000 (18:42 +0000)]
oops, accidentally committed clear-text password reading last week.
(This used to be commit
e0b5a866ce2628a5e152af3ef817ee3124e60500)
Luke Leighton [Mon, 8 Mar 1999 18:41:58 +0000 (18:41 +0000)]
Bejamin Kuit. #define MYSQL and MYSQL_ROW to void iff <mysql.h> not found.
(This used to be commit
188d9a75edb41e8a0cc0ea6e17c9497771cf3b96)
Luke Leighton [Fri, 5 Mar 1999 22:37:02 +0000 (22:37 +0000)]
spelling mistake, #ifdef'd out for non-developers (oops!)
(This used to be commit
167b0b20e33bef4af5deaff961937dd5fadf481d)
Luke Leighton [Fri, 5 Mar 1999 22:33:32 +0000 (22:33 +0000)]
oops, put -DDEBUG_PASSWORD in wrong place.
(This used to be commit
4e89fbb7d9c2c8e776ab0a819cbf1a1294f07c1b)
Luke Leighton [Fri, 5 Mar 1999 22:03:04 +0000 (22:03 +0000)]
Benjamin Kuit's mods.
(This used to be commit
eb63fbdb68f1189593e68272e05d7ebf76652c4c)
Luke Leighton [Wed, 3 Mar 1999 20:48:48 +0000 (20:48 +0000)]
Benjamin Kuit's latest mysql mods. issue with "make proto" needs to be
resolved.
(This used to be commit
d59a2e669aed7ee33fdca8b8ec126b1c0a984981)
Luke Leighton [Tue, 2 Mar 1999 16:43:27 +0000 (16:43 +0000)]
added <mysql.h> autoconf test.
(This used to be commit
511ef8a58ccfc04d0744f28753bb48d848851980)
Luke Leighton [Mon, 1 Mar 1999 16:31:14 +0000 (16:31 +0000)]
Benjamin Kuit's MYSQL SAM Database implementation.
Copyright (C) Benjamin Kuit <bj@mcs.uts.edu.au> 1999.
(This used to be commit
fdf61e1dabc2c977ee5cf1e9d60e3380f19840da)
Luke Leighton [Mon, 1 Mar 1999 16:01:45 +0000 (16:01 +0000)]
improving syntax / useability of rpcclient "shutdown" command:
rpcclient [-m messsage] [-t timeout] [-r or --reboot].
(This used to be commit
8b859797aaa1b88cb1a932fed97b4c3ea2dbdde2)
Gerald Carter [Thu, 25 Feb 1999 15:00:24 +0000 (15:00 +0000)]
referred reader to NT Domain FAQ for more info (copy of update to 2.0)
(This used to be commit
644cda5d807d875c956e71a6e49d65c2d7f0d61e)