kai/samba-autobuild/.git
24 years agoadding CAP_EXTENDED_SECURITY support in a hurry last week. forgot to
Luke Leighton [Thu, 14 Oct 1999 18:49:24 +0000 (18:49 +0000)]
adding CAP_EXTENDED_SECURITY support in a hurry last week.  forgot to
deal with linking issues in other binaries
(This used to be commit 57f95a01988fb4035b2e4448f4fd3ef0d652c106)

24 years ago- added rudimentary CAP_UNICODE support because i thought it was part of
Luke Leighton [Thu, 7 Oct 1999 22:10:29 +0000 (22:10 +0000)]
- added rudimentary CAP_UNICODE support because i thought it was part of
a problem i was having.

- added rudimentary CAP_STATUS32 support for same reason.

- added hard-coded, copy-the-same-data-from-over-the-wire version of
CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate
GSSAPI which encodes
SPNEGO which is used to negotiate
Kerberos or NTLMSSP.  i have implemented
NTLMSSP which negotiates
NTLMv1 or NTLMv2 and 40-bit or 128-bit etc.  i have implemented
NTLMv1 / 40-bit.

*whew*.
(This used to be commit e5b80bd2f76fda70e41e4a9007eb035dab92ed8e)

24 years agoDavid van Geyn spotted that ulong is not defined on FREEBSD, not supposed
Luke Leighton [Tue, 5 Oct 1999 21:35:17 +0000 (21:35 +0000)]
David van Geyn spotted that ulong is not defined on FREEBSD, not supposed
to use ulong use uint32 instead.
(This used to be commit 16dd94db1fd2ed8ed7d240c5aac5a481b64cd26d)

24 years agosplitting dom info into sam_query_dominfo function
Luke Leighton [Fri, 1 Oct 1999 18:44:33 +0000 (18:44 +0000)]
splitting dom info into sam_query_dominfo function
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)

24 years agopermissions on SamrConnect changed to 0x02000000 (maximum allowed)
Luke Leighton [Fri, 1 Oct 1999 18:27:29 +0000 (18:27 +0000)]
permissions on SamrConnect changed to 0x02000000 (maximum allowed)
(This used to be commit cbc646b1d8ce73d1d8167887cbfdab3cad4f11a4)

24 years agoerror-code checking in lsa_lookup_sids. anonymous connections for
Luke Leighton [Fri, 1 Oct 1999 18:11:57 +0000 (18:11 +0000)]
error-code checking in lsa_lookup_sids.  anonymous connections for
domain info.  adjusting net_srv_get_info function.
(This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)

24 years agomemory problems associated with when lsalookupsids returns
Luke Leighton [Tue, 28 Sep 1999 20:54:58 +0000 (20:54 +0000)]
memory problems associated with when lsalookupsids returns
NT_STATUS_NONE_MAPPED.
(This used to be commit 9a43a2551186de02b6cf06a5b84c9591a66c1817)

24 years agoadd description of -P option
Herb Lewis [Tue, 28 Sep 1999 15:10:38 +0000 (15:10 +0000)]
add description of -P option
(This used to be commit d3dd8cdc1210fa4523eeed3c1034b4da93410ee1)

24 years agodon't leak printer handles,
Jean-François Micouleau [Mon, 27 Sep 1999 13:12:55 +0000 (13:12 +0000)]
don't leak printer handles,
don't coredump when adding forms,
and a small non obvious memory leak in the rpc buffers

J.F.
(This used to be commit bee11f8889378b9f1cc6e2818fd0f8dd7ddcf10d)

24 years agoDon't duplicate forms anymore, just update the definition.
Jean-François Micouleau [Sat, 25 Sep 1999 14:18:48 +0000 (14:18 +0000)]
Don't duplicate forms anymore, just update the definition.
Many memory leaks fixed.

J.F.
(This used to be commit f328ae8024584599324ae4263bb9fb89a358279f)

24 years agoCorrectly handle the dependent files in the printer_driver_info_3 struct
Jean-François Micouleau [Fri, 24 Sep 1999 14:45:21 +0000 (14:45 +0000)]
Correctly handle the dependent files in the printer_driver_info_3 struct

It means complex printer drivers should now download fine.

J.F.
(This used to be commit a893df5c00189d7e81efd619a4a4ee2bd8ead61f)

24 years agoAlan (alanh@pinacl.co.uk) found a nasty bug
Jean-François Micouleau [Fri, 24 Sep 1999 10:13:38 +0000 (10:13 +0000)]
Alan (alanh@pinacl.co.uk) found a nasty bug

J.F.
(This used to be commit 7dc7801c20d53caef09519231a65403e007344e6)

24 years agoWhoops ! Being over-paranoid is not good.
Jean-François Micouleau [Fri, 24 Sep 1999 07:28:46 +0000 (07:28 +0000)]
Whoops ! Being over-paranoid is not good.

J.F.
(This used to be commit 706acb17cffd8d6a84209dadb97916f0346cd174)

24 years agouse gecos field to fill the full_name
Jean-François Micouleau [Thu, 23 Sep 1999 15:59:20 +0000 (15:59 +0000)]
use gecos field to fill the full_name
don't overwrite backend values with defaults values.

J.F.
(This used to be commit a204a9adb84c41658def08cb75670995aec02baa)

24 years agoFixed an annoying bug in the LDAP code. Attributes not present in the
Matthew Chapman [Wed, 22 Sep 1999 04:32:19 +0000 (04:32 +0000)]
Fixed an annoying bug in the LDAP code. Attributes not present in the
LDAP database were being initialised using unix_to_nt_time on -1, rather
than -1 as an NTTIME (which is very different).

Problems solved (hopefully):
* "Access Denied" when accessing an NT share in a Samba controlled domain.
* "Your password has expired" sometimes when logging in.
(This used to be commit 740d8388cb6dfebb26681a45fd1b293383d08a6d)

24 years agosplit matthew's sync command (only currently called from smbpasswd)
Luke Leighton [Tue, 21 Sep 1999 21:28:27 +0000 (21:28 +0000)]
split matthew's sync command (only currently called from smbpasswd)
into a separate module
(This used to be commit d99eca020a255022dbc71f3671127343d75db59e)

24 years agotesting for attempts to get more info levels into samr_query_userinfo
Luke Leighton [Tue, 21 Sep 1999 21:04:03 +0000 (21:04 +0000)]
testing for attempts to get more info levels into samr_query_userinfo
(This used to be commit cc19d5cc5c20665beb3b7c5fcf7787d54e37ea71)

24 years agoreading in smb server domain name from SMBnegprot response
Luke Leighton [Thu, 16 Sep 1999 22:46:45 +0000 (22:46 +0000)]
reading in smb server domain name from SMBnegprot response
(This used to be commit 25025f450531c66c0fd9f7eed886cb288d76d025)

24 years ago#defines for port 445 to SMB_PORT2
Luke Leighton [Wed, 15 Sep 1999 17:30:02 +0000 (17:30 +0000)]
#defines for port 445 to SMB_PORT2
(This used to be commit a8d4560e0064a67a234eae89a564b79d2426d9a9)

24 years agouse DEBUGLEVEL not DEBUGLVL()
Luke Leighton [Wed, 15 Sep 1999 17:12:55 +0000 (17:12 +0000)]
use DEBUGLEVEL not DEBUGLVL()
(This used to be commit f9f8aa72a502f075615402ea7d58a8c0e2ff0638)

24 years agowow!!!! this one's been here for two years!!!! alignment issues
Luke Leighton [Tue, 14 Sep 1999 21:42:49 +0000 (21:42 +0000)]
wow!!!! this one's been here for two years!!!! alignment issues
in smb_io_dom_query() where the string name could mis-align!
added a call to prs_align() after the domain string name.
(This used to be commit 1d05d2c959f41fffb9a85d161b9b64c957ee90e7)

24 years agooops.
Luke Leighton [Tue, 14 Sep 1999 21:15:39 +0000 (21:15 +0000)]
oops.
(This used to be commit 5c551e63f22e341e1d7be547f7d14d24234ecf27)

24 years agoadded rpcclient SamrQueryDisplayInfo command "dispinfo"
Luke Leighton [Tue, 14 Sep 1999 21:04:02 +0000 (21:04 +0000)]
added rpcclient SamrQueryDisplayInfo command "dispinfo"
(This used to be commit 6c98d6c9aae64016bfe7727cfe12762967eb5a84)

24 years agorestructuring
Luke Leighton [Sun, 12 Sep 1999 23:59:09 +0000 (23:59 +0000)]
restructuring
(This used to be commit 9d74161a9204da90d3024c2a86d59fefd516ff07)

24 years agousing #define report
Luke Leighton [Sun, 12 Sep 1999 23:39:57 +0000 (23:39 +0000)]
using #define report
(This used to be commit 7fc2ee2f96b79e77039e141c2d2be9598465e5e6)

24 years ago- initialising mach_passwd_file locks to zero (prev. uninit.)
Luke Leighton [Sun, 12 Sep 1999 22:40:27 +0000 (22:40 +0000)]
- initialising mach_passwd_file locks to zero (prev. uninit.)

- cleanup

- #defined report to sprintf as it's #defined to another function in
  other uses of cmd_lsarpc.c
(This used to be commit 8fb2ff247a2fe0ec5ce0c232d8a3da9774f7e6ae)

24 years agooops, port 455 instead of 445
Luke Leighton [Fri, 10 Sep 1999 16:27:14 +0000 (16:27 +0000)]
oops, port 455 instead of 445
(This used to be commit 4e5eac18d0d9325c8e524fb53b4e049f0893fae7)

24 years agoallan hourihane sent log 100 in which showed that some really old code
Luke Leighton [Thu, 9 Sep 1999 18:15:08 +0000 (18:15 +0000)]
allan hourihane sent log 100 in which showed that some really old code
for lsa_close response was messing up.  fixed by calling lsa_io_r_close()
which i've been meaning to do for over eighteen months.
(This used to be commit f9a0ea09486b18a130ce1a1e5381ca61e0293c75)

24 years agobertl <bs@niggard.org> patch for making samba listen on port 445, just like
Luke Leighton [Wed, 8 Sep 1999 19:37:45 +0000 (19:37 +0000)]
bertl <bs@niggard.org> patch for making samba listen on port 445, just like
nt 5 does.  cool!
(This used to be commit 727e1421b2c0f8c72c428776593498103304082b)

24 years agomatthew chapman identified 4 previously unknown samr functions.
Luke Leighton [Tue, 31 Aug 1999 13:19:55 +0000 (13:19 +0000)]
matthew chapman identified 4 previously unknown samr functions.
(This used to be commit 001b53866c819045bc52330cad5746e1a2f7a4b1)

24 years agodebugged enumgroups -g option
Luke Leighton [Mon, 30 Aug 1999 17:15:59 +0000 (17:15 +0000)]
debugged enumgroups -g option
(This used to be commit 1cde47ba6a6409e0ae178ca9f44be2123bef0f9d)

24 years agoadded call to samr_query_groupinfo in enumgroups command (-m option)
Luke Leighton [Mon, 30 Aug 1999 17:07:53 +0000 (17:07 +0000)]
added call to samr_query_groupinfo in enumgroups command (-m option)
(This used to be commit e2a72e2c64d6aad37d0c0f94d36f4fdadd3bd6cc)

24 years agoimproved "dominfo" rpcclient command
Luke Leighton [Sun, 29 Aug 1999 16:36:21 +0000 (16:36 +0000)]
improved "dominfo" rpcclient command
(This used to be commit 65a54b6e16c40ec40727547593154b341d98fc83)

24 years agoadded experimental del_groupmem and del_aliasmem commands that were not
Luke Leighton [Sun, 29 Aug 1999 13:18:10 +0000 (13:18 +0000)]
added experimental del_groupmem and del_aliasmem commands that were not
being called from rpcclient.c

improved add_groupmem command, but cannot test it against nt non-pdc!
(This used to be commit 7a383a2a021be1f0297e177b2c89130f1b37d440)

24 years agoRemoving a stray return, probably inserted during debugging, which broke
Matthew Chapman [Mon, 23 Aug 1999 08:54:07 +0000 (08:54 +0000)]
Removing a stray return, probably inserted during debugging, which broke
NetrShareEnum. Be careful what you commit Luke...
(This used to be commit cc27dba003d2f2ebcf05d01a750d3ee9350b0eb7)

24 years agoDon't print out a message in svcenum command for the ERRmoredata
Tim Potter [Wed, 18 Aug 1999 23:51:02 +0000 (23:51 +0000)]
Don't print out a message in svcenum command for the ERRmoredata
error.
(This used to be commit 92ebd8f12ce4997e77eee22c3bb0c599daa44500)

24 years agopatch from michael glauche to add session enum code into smbd.
Luke Leighton [Wed, 18 Aug 1999 21:18:42 +0000 (21:18 +0000)]
patch from michael glauche to add session enum code into smbd.
(This used to be commit e90e38c66d51dc1808f716c016299b1604636ce9)

24 years agodisplay of session enum info
Luke Leighton [Wed, 18 Aug 1999 21:13:15 +0000 (21:13 +0000)]
display of session enum info
(This used to be commit e0713cf9332e562d1b41a794b8044e05aeb2b937)

24 years agoevent log update, netsessenum, netconnenum update.
Luke Leighton [Wed, 18 Aug 1999 20:33:49 +0000 (20:33 +0000)]
event log update, netsessenum, netconnenum update.
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)

24 years agoevent log update
Luke Leighton [Wed, 18 Aug 1999 20:11:29 +0000 (20:11 +0000)]
event log update
(This used to be commit bcc1212b07c71256fad93d82a996fa86b27db250)

24 years agodebug info display (netbios layer).
Luke Leighton [Wed, 18 Aug 1999 20:10:12 +0000 (20:10 +0000)]
debug info display (netbios layer).
(This used to be commit 5c974cc4a4cdcb9fd3fe01e93aa577b81cf2d18b)

24 years agoadded back test to exclude unused connections.
Luke Leighton [Wed, 18 Aug 1999 19:01:07 +0000 (19:01 +0000)]
added back test to exclude unused connections.
(This used to be commit 6218d986c7cc9d8789b340adf1ca9a07ddc18a9a)

24 years agopatch from Michael Glauche to call get_status_connections() instead of
Luke Leighton [Wed, 18 Aug 1999 00:12:19 +0000 (00:12 +0000)]
patch from Michael Glauche to call get_status_connections() instead of
reading STATUS..LCK direct.
(This used to be commit d794e2eb51b94a334ddb1d1b0775ebf4cef048db)

24 years agouse read() instead of fread() as fread() fails on redhat 6.
Luke Leighton [Wed, 18 Aug 1999 00:01:00 +0000 (00:01 +0000)]
use read() instead of fread() as fread() fails on redhat 6.
(This used to be commit b1025d499ba81233634daf78c3345b9620f9b3a6)

24 years agoadding lib/util_status.c to Makefile.in
Luke Leighton [Tue, 17 Aug 1999 23:20:44 +0000 (23:20 +0000)]
adding lib/util_status.c to Makefile.in
(This used to be commit f1fdf4c3911e7b6c8f8fe8076fec3b67ff666e18)

24 years agopatch from Michael Glauche to list connections from STATUS..LCK.
Luke Leighton [Tue, 17 Aug 1999 23:16:17 +0000 (23:16 +0000)]
patch from Michael Glauche to list connections from STATUS..LCK.
(This used to be commit 91a66dd5c3a551691fbf91e782cb6ff16dfea37b)

24 years agoadded some usage info for rpcclient.
Luke Leighton [Tue, 17 Aug 1999 20:11:12 +0000 (20:11 +0000)]
added some usage info for rpcclient.
(This used to be commit ec11bbaf54764e50687c96ce0979d7aeebe18cb0)

24 years agospelling mistake.
Luke Leighton [Fri, 13 Aug 1999 21:11:38 +0000 (21:11 +0000)]
spelling mistake.
(This used to be commit b8ac96cd9c8efaf0e07651657f878a2dea127290)

24 years agopnum should be a uint16.
Luke Leighton [Fri, 13 Aug 1999 19:35:33 +0000 (19:35 +0000)]
pnum should be a uint16.
(This used to be commit 41cb8b0ba071ef73bf00130ec863b592c16d359a)

24 years agoFix for Win95 not being able to find PDC (for User/Server Manager, and
Matthew Chapman [Sun, 8 Aug 1999 04:51:13 +0000 (04:51 +0000)]
Fix for Win95 not being able to find PDC (for User/Server Manager, and
password change requests), from Michael Stockman <pgmtekn@algonet.se>.
GETDC on \MAILSLOT\NET\NETLOGON necessarily returns less information
than the NTLOGON version.
(This used to be commit 8a603a8793cb067cd06edc3d73d0b35c427ed5ed)

24 years agoSome compilers want (void) instead of just () in function declarations.
Matthew Chapman [Sun, 8 Aug 1999 04:44:36 +0000 (04:44 +0000)]
Some compilers want (void) instead of just () in function declarations.
(This used to be commit c086c7ab94d676e22801bc78588c116cf2e5a4eb)

24 years agoreverted lookup change. from ignacio.
Luke Leighton [Thu, 5 Aug 1999 18:50:13 +0000 (18:50 +0000)]
reverted lookup change.  from ignacio.
(This used to be commit 5b8961a9d4ef6c8188062aaca7f42151ff9684ae)

24 years agochanging debug output message reg_io_unknown_1 to reg_io_close.
Luke Leighton [Tue, 3 Aug 1999 20:54:22 +0000 (20:54 +0000)]
changing debug output message reg_io_unknown_1 to reg_io_close.
(This used to be commit c4901f595193f73b0c248d9315d3bbf547a5dafc)

24 years agoreverted jeremy's c++-like security descriptor modifications as the
Luke Leighton [Tue, 3 Aug 1999 20:30:25 +0000 (20:30 +0000)]
reverted jeremy's c++-like security descriptor modifications as the
simplest method to get rpcclient's reggetsec command working.  the
buffers passed as arguments in do_reg_get_key_sec() do need to be
locally allocated not dynamically allocated, as two calls to
reg_get_key_sec() are needed.  on the first, the server fills in the
size of the security descriptor buffer needed.  on the second, the
server fills in the security descriptor buffer.
(This used to be commit b2d9cbef6f65bb696df8d8f49aa0c240e0bb1f50)

24 years agobug-fix in connection to port 445. cool! it works!
Luke Leighton [Tue, 3 Aug 1999 18:03:08 +0000 (18:03 +0000)]
bug-fix in connection to port 445.  cool!  it works!
(This used to be commit 062b9302c1c7a21df74571ead5f89ce002820d53)

24 years agoattempting a connection to port 445 first, followed by a connection to 139
Luke Leighton [Tue, 3 Aug 1999 17:43:12 +0000 (17:43 +0000)]
attempting a connection to port 445 first, followed by a connection to 139
if this fails.
(This used to be commit 5f821e65015c27f5306c3a707841cd0228509974)

24 years agoclose socket issues:
Luke Leighton [Tue, 3 Aug 1999 17:21:34 +0000 (17:21 +0000)]
close socket issues:
- ssl close from cli_reestablish_connection() not called.
- ntlmv2 fall-back to ntlmv1 failed.
(This used to be commit fdc275353de85fde0c348320e4d64ba66365b73b)

24 years agoFixed quoting/escaping bug in example code.
Tim Potter [Mon, 2 Aug 1999 03:35:39 +0000 (03:35 +0000)]
Fixed quoting/escaping bug in example code.
(This used to be commit 5e0994b8bb960fe754e889c797bd91e64be946f1)

24 years ago- enumprintprocessors and enumprintmonitors added.
Jean-François Micouleau [Tue, 27 Jul 1999 10:46:44 +0000 (10:46 +0000)]
- enumprintprocessors and enumprintmonitors added.
- getjob (level 1 and 2) done.
- better handling of getprinterdriver (level 2).
- added workaround to print PCL files.

Now the spoolss code should be compliant with all kind of printers :-)

Jean Francois
(This used to be commit bf9b639bf9162d61eb152af506dc2c1a7e8a4c85)

24 years agorenaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for adding
Luke Leighton [Mon, 26 Jul 1999 21:47:23 +0000 (21:47 +0000)]
renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER.  ready for adding
another RPC authentication system.
(This used to be commit 1a211bafebad8c63d98b5ef275a6272013527c65)

24 years agoJean-Francois spotted bug in use of file_modified() routine submitted
Luke Leighton [Mon, 26 Jul 1999 18:35:46 +0000 (18:35 +0000)]
Jean-Francois spotted bug in use of file_modified() routine submitted
recently.
(This used to be commit 717af2d55d4f964c0449a1e502b6e77d1c3f3f30)

24 years agocommented location where lookup_sids(), a direct call to the password
Luke Leighton [Mon, 26 Jul 1999 17:46:06 +0000 (17:46 +0000)]
commented location where lookup_sids(), a direct call to the password
database API, needs to be replaced with over-the-wire (actually, tcp/ip
loopback) to smbd.

in fact, this is the location where, if we want to put in an nt5 ldap
lookup system or netware NDS instead, we make the calls to resolve
users-to-sids and vice-versa: NOT by replacing rpc_server/srv_samr.c.
(This used to be commit fd886af3317ca806c9c28f71afca5c7b063c1226)

24 years ago'export BEANS=ham' is a bash-ism. For those who don't have a symbolic
Tim Potter [Thu, 22 Jul 1999 23:29:15 +0000 (23:29 +0000)]
'export BEANS=ham' is a bash-ism.  For those who don't have a symbolic
link from bash to /bin/sh, the correct form is 'BEANS=ham; export BEANS'.
(This used to be commit 569aca445a22ccc3805a5dd5e1fc893011f0a147)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:55:41 +0000 (10:55 +0000)]
BDC support.
Added -S (Synchronise) option to smbpasswd, which calls synchronise_passdb.
(This used to be commit 21c92d24977015f0368480f44f67366f7c412343)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:55:23 +0000 (10:55 +0000)]
BDC support.
(This used to be commit 05a2687b7c3a8c29ea4807b14f928213892509ec)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:55:09 +0000 (10:55 +0000)]
BDC support.
Fixing and clarifying SAM_PWD structure.
(This used to be commit 8e36b07a0e8e7ea8b72e1b9e3b747795b2685e85)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:54:49 +0000 (10:54 +0000)]
BDC support.
Added synchronise_passdb function to update accounts in a BDC's smbpasswd.
Improved rpc_read, which was still somewhat broken for multiple PDU's.
modify_trust_password must initialise cli.pwd (pwd_set_nullpwd).
(This used to be commit 4783ac3968df1c5c8aa0b6ba9144df8b01ae0b99)

24 years agoBDC support.
Matthew Chapman [Thu, 22 Jul 1999 10:54:18 +0000 (10:54 +0000)]
BDC support.
Algorithm based on previous work of Jeremy's.
(This used to be commit f0c71a804dc869a73eb6af6e0ac9f4fb64dd1f68)

24 years agomake proto
Tim Potter [Thu, 22 Jul 1999 05:00:08 +0000 (05:00 +0000)]
make proto
(This used to be commit 50be413a9fa90dbfce31c8e6ae4b8c452a4cb7ce)

24 years agoSupport for arbitrary VFS options in smb.conf. Options are of the
Tim Potter [Thu, 22 Jul 1999 04:55:13 +0000 (04:55 +0000)]
Support for arbitrary VFS options in smb.conf.  Options are of the
format 'vfs option = name = value'.  It would be nice to get rid of
the first equals sign, but that would involve modifications to the
smb.conf parser.

There are a couple of naughties here - I've added a P_PTR enum as the
VFS options are parsed in param/loadparm.c and stored as a linked list
of structures.  I couldn't for the life of me write a FN_LOCAL_PTR()
macro to generate a lp_vfsoptions() function that actually worked so
for the moment it is coded by hand.
(This used to be commit 89ad85f0a3dfa233f6370ac6e3c97a1a645cfdfe)

24 years agoCopy service name into vfs_connection_struct.
Tim Potter [Thu, 22 Jul 1999 04:47:14 +0000 (04:47 +0000)]
Copy service name into vfs_connection_struct.
(This used to be commit 19242cd44e059d90e91f1c27bfb45899ce5de26a)

24 years agoPass VFS options defined in smb.conf to vfs_init() function.
Tim Potter [Thu, 22 Jul 1999 04:43:59 +0000 (04:43 +0000)]
Pass VFS options defined in smb.conf to vfs_init() function.
(This used to be commit 8cde172a77a1582c0af2e685097c53ba5f302a4e)

24 years agoAdded service name to vfs_connection_struct.
Tim Potter [Thu, 22 Jul 1999 04:41:00 +0000 (04:41 +0000)]
Added service name to vfs_connection_struct.

Added a vfs_options struct for passing smb.conf parameters to VFS
modules.
(This used to be commit 38cc03ae0cccb359e31c8dca65606b66ff473762)

24 years agoMoved a whole bunch of macros out of smb.h and into their own #include
Tim Potter [Thu, 22 Jul 1999 04:39:31 +0000 (04:39 +0000)]
Moved a whole bunch of macros out of smb.h and into their own #include
file.
(This used to be commit bf61fdace8cdf71dc3ab40795498a8bfd0d3b9a0)

24 years agoTim Potter spotted compile error: matthew had added BDC support to smbd,
Luke Leighton [Wed, 21 Jul 1999 05:07:20 +0000 (05:07 +0000)]
Tim Potter spotted compile error: matthew had added BDC support to smbd,
which i didn't know about!
(This used to be commit 30620b93e5c476ba7bf09c459ab4b7bea3f67642)

24 years agoBDC support.
Luke Leighton [Wed, 21 Jul 1999 00:32:09 +0000 (00:32 +0000)]
BDC support.
(This used to be commit 2331aa32ab36c3ee5fd8cfbe972e57299939e33d)

24 years agocomments requested by jeremy as to why NT/95 NULL-password distinction hack
Luke Leighton [Wed, 21 Jul 1999 00:31:16 +0000 (00:31 +0000)]
comments requested by jeremy as to why NT/95 NULL-password distinction hack
was modified.
(This used to be commit 50f7bd8a9c47d073bbde66ae26e9f71f030afc4c)

24 years agouse pstring for at command instead of fstring
Luke Leighton [Wed, 21 Jul 1999 00:30:18 +0000 (00:30 +0000)]
use pstring for at command instead of fstring
(This used to be commit 43d3d2336f0b3c3e332d5abc476223a45592f6c6)

24 years agoMake sure that the stamp file is newer than configure.in
Alexandre Oliva [Sun, 18 Jul 1999 20:34:50 +0000 (20:34 +0000)]
Make sure that the stamp file is newer than configure.in
Not a problem unless --enable-maintainer-mode is specified, and, even then
the probability of encountering a problem is minor, but so what? :-)
(This used to be commit b0a59e90c543d9112c2049e3116493fb6e5bc76c)

24 years agoAvoid multiple ``Updating dependencies'' messages before .deps/.stamp
Alexandre Oliva [Sun, 18 Jul 1999 20:31:57 +0000 (20:31 +0000)]
Avoid multiple ``Updating dependencies'' messages before .deps/.stamp
is created
(This used to be commit 407eec63162a18ef23312ddc3adb4fa0c0b2c25f)

24 years agoNTLMv2 check being actioned when NT password response was only 24 chars.
Luke Leighton [Fri, 16 Jul 1999 22:23:45 +0000 (22:23 +0000)]
NTLMv2 check being actioned when NT password response was only 24 chars.
added check to ensure response is more than 24 chars before bothering
to do an NTLMv2 check.
(This used to be commit 7a58895ff26fcad09ee45de99086739bf5761fd9)

24 years agocheck to see if copy_passwd_struct() ever receives its own internal
Luke Leighton [Fri, 16 Jul 1999 22:07:37 +0000 (22:07 +0000)]
check to see if copy_passwd_struct() ever receives its own internal
buffer as an argument :-) :-)
(This used to be commit 0d1f5e5a6d1cbceda3be3d5626842116e6e91809)

24 years agocopy of password struct needed to be made prior to calling copy_passwd_struct
Luke Leighton [Fri, 16 Jul 1999 22:03:15 +0000 (22:03 +0000)]
copy of password struct needed to be made prior to calling copy_passwd_struct
found by Bertl <bs@vpnet.at>.
(This used to be commit 93298bca1c573532c5250c84bac39cf9214ba3b5)

24 years agoadd Windows 2000 version of Plain Text Password registry entry
Herb Lewis [Fri, 16 Jul 1999 19:17:12 +0000 (19:17 +0000)]
add Windows 2000 version of Plain Text Password registry entry
(This used to be commit 1a0e378a6fa146c4282101ee84b7d01adea82f50)

24 years agowork-around for win95 NULL session bug: NULL password actually being
Luke Leighton [Thu, 15 Jul 1999 21:25:58 +0000 (21:25 +0000)]
work-around for win95 NULL session bug: NULL password actually being
placed in data stream before username / domain, whereas NT doesn't do
this...
(This used to be commit 44e6d4c1b0b6ae54e76e96471b40bb784c8b3c8c)

24 years agomore dfs stuff. this looks like it's going to be more appropriate to use
Luke Leighton [Thu, 15 Jul 1999 20:44:24 +0000 (20:44 +0000)]
more dfs stuff.  this looks like it's going to be more appropriate to use
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.
(This used to be commit 00d4aebce9f268a737ef9df9bdbe59f8fe831979)

24 years agodfs issues
Luke Leighton [Thu, 15 Jul 1999 17:52:44 +0000 (17:52 +0000)]
dfs issues
(This used to be commit d9ada8b55d539e555d25298e0a308ea952e2807e)

24 years agoadded %d %d to error message, try to track down the uid / smb_uid mismatch
Luke Leighton [Thu, 15 Jul 1999 17:50:27 +0000 (17:50 +0000)]
added %d %d to error message, try to track down the uid / smb_uid mismatch
(This used to be commit ec918ba144e7c1bd1689007143ca2b8bee604768)

24 years agocode from bertl to allow remap of default built-in names to anything.
Luke Leighton [Wed, 14 Jul 1999 19:21:44 +0000 (19:21 +0000)]
code from bertl to allow remap of default built-in names to anything.
parameter is "builtin rid file".
Copyright 1999 Bertl <bp@vpnet.at>
(This used to be commit 80d36778432d42eb265ed9428f27a27250ba5e08)

24 years agoremoved strncpy()
Luke Leighton [Wed, 14 Jul 1999 18:16:57 +0000 (18:16 +0000)]
removed strncpy()
(This used to be commit 4bdff2748956a61f12a92e19a9af98c7b9668e8f)

24 years agorenamed getfilepwent() and endfilepwent() to getfileent() and endfileent()
Luke Leighton [Tue, 13 Jul 1999 19:54:40 +0000 (19:54 +0000)]
renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()
as they are generic "file line-by-line" reading routines.  lines with
"#" at the front are ignored (as comments).  this code started out as
the password file reading code.
(This used to be commit ef6df590fdf65a6d94b343998bac3a4d48ae07e0)

24 years agodfs parsed string length was being set explicitly to value "6", overwriting
Luke Leighton [Tue, 13 Jul 1999 19:52:33 +0000 (19:52 +0000)]
dfs parsed string length was being set explicitly to value "6", overwriting
the correct length.
(This used to be commit 5d1fad53c2bdfef63930e0b9d5cc460c9740066e)

24 years agoJean-Francois Micouleau's rewrite of Nigel William's DFS support
Luke Leighton [Mon, 12 Jul 1999 21:33:11 +0000 (21:33 +0000)]
Jean-Francois Micouleau's rewrite of Nigel William's DFS support
(This used to be commit e6116c40d4d0473a7412e82791afd9f44e4905a4)

24 years agolengths of NT passwords when "encrypt passwords = no" can be completely
Luke Leighton [Mon, 12 Jul 1999 18:57:05 +0000 (18:57 +0000)]
lengths of NT passwords when "encrypt passwords = no" can be completely
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.
(This used to be commit 98d43b20dc4df72ddbfaeb34581222adc53d15dd)

24 years agoJean-Francois Micouleau's rewritten DFS patch, originally written by
Luke Leighton [Mon, 12 Jul 1999 18:46:15 +0000 (18:46 +0000)]
Jean-Francois Micouleau's rewritten DFS patch, originally written by
Nigel Williams.  despite the data format being *exactly* the same as
NT's, this still doesn't work yet.  more work needed.
(This used to be commit 270981960bb5aab52d2f8e494827101ece6729c4)

24 years agoanon passwd connection: passlen=1; ntpasslen=0.
Luke Leighton [Sun, 11 Jul 1999 19:26:27 +0000 (19:26 +0000)]
anon passwd connection: passlen=1; ntpasslen=0.
(This used to be commit 12ee037d44a603ce50982d5b90e08c30339de750)

24 years agoNULL pwdb_xxx_map_names() parameter can be passed here (which is a bug
Luke Leighton [Sun, 11 Jul 1999 19:15:53 +0000 (19:15 +0000)]
NULL pwdb_xxx_map_names() parameter can be passed here (which is a bug
anyway!)
(This used to be commit 91d5bda9ad22c922a918f0942dcbff04202b9991)

24 years agoPartial GNU readline support for rpcclient. Only command line history
Tim Potter [Fri, 9 Jul 1999 05:10:10 +0000 (05:10 +0000)]
Partial GNU readline support for rpcclient.  Only command line history
and command completion implemented.
(This used to be commit 795fa6a5185d9e245541a44a971a3fb588168c1e)

24 years agoWhen making anonymous connections, must pass pointers to real nt
Tim Potter [Fri, 9 Jul 1999 03:55:15 +0000 (03:55 +0000)]
When making anonymous connections, must pass pointers to real nt
password and password length variables not constants.
(This used to be commit 236022071f2f6df0c583fd88d9802d9b3ea6f73e)

24 years agoPut back in GNU readline support for smbclient accidentally trashed by
Tim Potter [Fri, 9 Jul 1999 03:34:09 +0000 (03:34 +0000)]
Put back in GNU readline support for smbclient accidentally trashed by
tridge in the clientgen.c to clientutil.c conversion.
(This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)