ira/wip.git
19 years agoOur 'guest' login still requires an entry in the SAM - and build farm machines
Andrew Bartlett [Mon, 26 Aug 2002 02:01:05 +0000 (02:01 +0000)]
Our 'guest' login still requires an entry in the SAM - and build farm machines
do not run 'unixsam', so add it to smbpasswd.

Andrew Bartlett
(This used to be commit 2ff6d53db550c1f4472b735b1bc87c9705716241)

19 years agoTry to support non-root-mode systems without getgrouplist().
Andrew Bartlett [Mon, 26 Aug 2002 00:43:06 +0000 (00:43 +0000)]
Try to support non-root-mode systems without getgrouplist().

Andrew Bartlett
(This used to be commit 17096315a0f30f946ddecb79708604a111c37011)

19 years agoClarify function comments
Andrew Bartlett [Sun, 25 Aug 2002 23:33:22 +0000 (23:33 +0000)]
Clarify function comments
(This used to be commit a613dde7edab62c4439d256932b9f9b4ae2ec4e0)

19 years agoSteve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
Andrew Bartlett [Sun, 25 Aug 2002 22:43:20 +0000 (22:43 +0000)]
Steve Langasek <vorlon@netexpress.net> has again attempted to simplify Samba's
external lib dependencies - let's hope this patch stays around for longer than
the previous attempt.

Andrew Bartlett
(This used to be commit d0c0e9f427400c24f5cc38c67b7a927f9d937375)

19 years agoUse a function that actually exists for the keepalive send.
Andrew Bartlett [Sun, 25 Aug 2002 22:23:46 +0000 (22:23 +0000)]
Use a function that actually exists for the keepalive send.

Andrew Bartlett
(This used to be commit 82e7212bbbeefce873291c2fdb3b04ae1e6c26d6)

19 years agoPatch from mimir to back out idra's attempted DOS mitigation patch.
Andrew Bartlett [Sun, 25 Aug 2002 21:46:49 +0000 (21:46 +0000)]
Patch from mimir to back out idra's attempted DOS mitigation patch.
(It broke port 139 name exchange)

I've been thinking about this, and doing is properly is actually rather
difficult - but I'll try and get somthing in there.  (My worry is what
smb_read_error should be set to, and how that interacts with the rest of
samba).

Andrew Bartlett
(This used to be commit 3e682867bbb13dae265cb9a8acea8b7cc87d82a6)

19 years agoFix from kai to correctly decode ntlmssp flags.
Andrew Bartlett [Sun, 25 Aug 2002 21:36:45 +0000 (21:36 +0000)]
Fix from kai to correctly decode ntlmssp flags.

Andrew Bartlett
(This used to be commit 2e74473551f0fce0384eacd31bc1a53ff3967464)

19 years agoAnother speling fix
Richard Sharpe [Sat, 24 Aug 2002 17:26:08 +0000 (17:26 +0000)]
Another speling fix
(This used to be commit c904fa4abd7b79057ef9369aacaa368cdc177c32)

19 years agoSome more minor doco fixes ...
Richard Sharpe [Sat, 24 Aug 2002 17:24:03 +0000 (17:24 +0000)]
Some more minor doco fixes ...
(This used to be commit b02e8aa4cb302689fa54cc6de9d2f1e5e23bb560)

19 years agoYour car depreciates in value, while obsolete parameters are deprecated.
Richard Sharpe [Sat, 24 Aug 2002 17:06:07 +0000 (17:06 +0000)]
Your car depreciates in value, while obsolete parameters are deprecated.
(This used to be commit c95e53a1dda579cabbe2fb5059f2a1bde33ccf0c)

19 years agoif muhammad does not go to the mountain ...
Simo Sorce [Sat, 24 Aug 2002 02:06:17 +0000 (02:06 +0000)]
if muhammad does not go to the mountain ...
(This used to be commit 5246d3693c463e581a7cd40f86878e40456237c3)

19 years agodo not expose special files, only files, directories and links (and we
Simo Sorce [Sat, 24 Aug 2002 01:33:25 +0000 (01:33 +0000)]
do not expose special files, only files, directories and links (and we
should really check if a link points to a special file and deny access
imho), expose no fifo, socket, devices ...
(This used to be commit 59954113348cfb2061fa6bd7dfe7545f614e2891)

19 years agoRemoved samsync
John Terpstra [Fri, 23 Aug 2002 17:01:02 +0000 (17:01 +0000)]
Removed samsync
(This used to be commit 644a45d493712c12e6318d13f7dd6ef1be5e6b1a)

19 years agoMerged initial allocation code for IFSTEST fix.
Jeremy Allison [Fri, 23 Aug 2002 15:51:28 +0000 (15:51 +0000)]
Merged initial allocation code for IFSTEST fix.
Jeremy.
(This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)

19 years agoTest for non-POSIX st_blksize field.
Jeremy Allison [Fri, 23 Aug 2002 15:29:44 +0000 (15:29 +0000)]
Test for non-POSIX st_blksize field.
Jeremy.
(This used to be commit d406d08e3e1aa2266a472f98cff7dd0ff311a33c)

19 years agoCope with negative cache dns entries better.
Tim Potter [Fri, 23 Aug 2002 15:01:08 +0000 (15:01 +0000)]
Cope with negative cache dns entries better.
(This used to be commit 3404023260a5d6fed5523eb378d4a1ad418302a0)

19 years agoWe never checked if the smb packet len is != 0
Simo Sorce [Fri, 23 Aug 2002 15:01:07 +0000 (15:01 +0000)]
We never checked if the smb packet len is != 0
Should fix a supposed DoS too.
(This used to be commit f76e5b2677beb161c2f9c0d3dd78e707655e942f)

19 years agoMoved calculation of secure channel type into a new function.
Tim Potter [Fri, 23 Aug 2002 13:38:00 +0000 (13:38 +0000)]
Moved calculation of secure channel type into a new function.
(This used to be commit b8dba26978c281259e02b9d6ebacaa7cba4f7787)

19 years agoDon't take the sizeof(struct in_addr) * -1
Tim Potter [Fri, 23 Aug 2002 13:23:49 +0000 (13:23 +0000)]
Don't take the sizeof(struct in_addr) * -1
(This used to be commit e13016bb42dbba675d6e7ee7e163543aad2e62c2)

19 years agoremove samsync and spamsync
Herb Lewis [Fri, 23 Aug 2002 12:43:46 +0000 (12:43 +0000)]
remove samsync and spamsync
(This used to be commit 34a7efd1f8fc5d5fda7cafe50cb6fd7c4aac32ab)

19 years agoWe need to return the value here...
Andrew Bartlett [Fri, 23 Aug 2002 12:31:36 +0000 (12:31 +0000)]
We need to return the value here...

Andrew Bartlett
(This used to be commit 8fbc964f2f40de80851cf89f7bed0ddc5d01b074)

19 years agosync with 2.2 branch
Herb Lewis [Fri, 23 Aug 2002 10:58:44 +0000 (10:58 +0000)]
sync with 2.2 branch
(This used to be commit 52924c064dc649032619c52e5cc915ca74e3aa10)

19 years agosome cleanup while working on the NETLOGON pipe.
Jean-François Micouleau [Fri, 23 Aug 2002 05:12:06 +0000 (05:12 +0000)]
some cleanup while working on the NETLOGON pipe.

smb_io_chal() did a prs_align() but a challenge is an array of bytes.
and all code calling smb_io_chal() played with the alignment to not align !

I'm confident in my change, but I would *really* like if jeremy could look
at that.

J.F.
(This used to be commit 23501ea971f8cc0799515e0d51ad8619221a31e1)

19 years agoFix for change in cli_netlogon_sam_sync()
Tim Potter [Thu, 22 Aug 2002 23:44:36 +0000 (23:44 +0000)]
Fix for change in cli_netlogon_sam_sync()
(This used to be commit 6ec267618a7ba2c4a7170b78ccfe95120c5430c4)

19 years agoAdded some new delta types discovered by Ronnie from ethereal"
Tim Potter [Thu, 22 Aug 2002 23:39:26 +0000 (23:39 +0000)]
Added some new delta types discovered by Ronnie from ethereal"

 - SAM_DELTA_RENAME{USER,GROUP,ALIAS}
 - SAM_DELTA_DELETE{USER,GROUP}

Renamed some of the unknown delta types and their unmarshalling functions:

 - SAM_DELTA_TRUST_DOMS
 - SAM_DELTA_SECRET_INFO
(This used to be commit 1f29276c2ff450c4ca3705c27fb0be71ddcda4ad)

19 years agomove where got_sig_term and reload_after_sighup are defined.
Herb Lewis [Thu, 22 Aug 2002 23:34:27 +0000 (23:34 +0000)]
move where got_sig_term and reload_after_sighup are defined.
populate cli structure with called name and calling name even for port
445 connects.
(This used to be commit 123eee6206d9afb28c169540dc63824957b505f4)

19 years agoadded smb_xstrndup()
Andrew Tridgell [Thu, 22 Aug 2002 22:53:33 +0000 (22:53 +0000)]
added smb_xstrndup()
(This used to be commit 26fc20187d405702c50d1e7a38d3a94c84932bed)

19 years agoa ASN.1 fix from anthony
Andrew Tridgell [Thu, 22 Aug 2002 22:53:00 +0000 (22:53 +0000)]
a ASN.1 fix from anthony
(This used to be commit 5ff687a839f805af56ae77cba94c466a0ff87ccc)

19 years agodon't use spnego in the client unless enabled in smb.conf
Andrew Tridgell [Thu, 22 Aug 2002 22:52:16 +0000 (22:52 +0000)]
don't use spnego in the client unless enabled in smb.conf
(This used to be commit c00388de6cf5d0527505bfe4edfe2f0269c5a4c8)

19 years agomade the CAP_UNIX test a bit cleaner
Andrew Tridgell [Thu, 22 Aug 2002 22:51:28 +0000 (22:51 +0000)]
made the CAP_UNIX test a bit cleaner
(This used to be commit 8c8b0dd381f357bdd204fd6b5d50b78765e93090)

19 years agoa few minor cleanups in the cldap request
Andrew Tridgell [Thu, 22 Aug 2002 22:50:57 +0000 (22:50 +0000)]
a few minor cleanups in the cldap request
(This used to be commit 228fc518da0404fe770175d5277fe5f5b08f9c67)

19 years agoadded a 'net rpc samdump' command for dumping the whole sam via
Andrew Tridgell [Thu, 22 Aug 2002 22:48:54 +0000 (22:48 +0000)]
added a 'net rpc samdump' command for dumping the whole sam via
samsync operations (as a BDC)
(This used to be commit e4cb106d2e3e6a41529369545a7a6ce5fe6d8986)

19 years agoadded a useful unistr2 display function
Andrew Tridgell [Thu, 22 Aug 2002 22:44:06 +0000 (22:44 +0000)]
added a useful unistr2 display function
(This used to be commit f4581133649b5208d8f91c4995ef60579e04b6f6)

19 years agotypos typos :)
Simo Sorce [Thu, 22 Aug 2002 21:42:59 +0000 (21:42 +0000)]
typos typos :)
(This used to be commit 78cfbebc69fb15326d8f6dbbce1090c301a1f270)

19 years agofix registry editor API for printing backend after I changed
Gerald Carter [Thu, 22 Aug 2002 21:16:11 +0000 (21:16 +0000)]
fix registry editor API for printing backend after I changed
the NT_PRINTER_PARAM to a REGISTRY_VALUE
(This used to be commit 8d510abe125e15a8d71c58a13d170dc3d6371368)

19 years agoreload_after_sighup and got_sig_term are defined in server.c
Herb Lewis [Thu, 22 Aug 2002 21:15:17 +0000 (21:15 +0000)]
reload_after_sighup and got_sig_term are defined in server.c
(This used to be commit 667e2fe32f111ce840fe3be028c61497d54d6b3d)

19 years agoSpelling fixes.
Tim Potter [Thu, 22 Aug 2002 20:19:49 +0000 (20:19 +0000)]
Spelling fixes.
(This used to be commit 9b49d97b94a7e3842cdcbfa4ebfa961586857aea)

19 years agoRemember to check for UNIX extensions before saying we support them.
Jeremy Allison [Thu, 22 Aug 2002 20:02:33 +0000 (20:02 +0000)]
Remember to check for UNIX extensions before saying we support them.
Jeremy.
(This used to be commit 2c7ad907eb5e1838b6430940cb5289489fad4bb0)

19 years agoPut back in BDC support in set_server_role(). Tidied up debugs.
Tim Potter [Thu, 22 Aug 2002 19:57:53 +0000 (19:57 +0000)]
Put back in BDC support in set_server_role().  Tidied up debugs.
(This used to be commit 08d7d6ffa65568209e953a2834d263cf3537064e)

19 years agoWe were returning incorrect flags in smb_action....
Jeremy Allison [Thu, 22 Aug 2002 19:56:16 +0000 (19:56 +0000)]
We were returning incorrect flags in smb_action....
IFSTEST strikes again :-).
Jeremy.
(This used to be commit 4e0a2564302bdb18087e395576208fa0f0c5c32e)

19 years agoMore compile warnings.
Tim Potter [Thu, 22 Aug 2002 17:46:25 +0000 (17:46 +0000)]
More compile warnings.
(This used to be commit 8303ff62609bd57af457bc1f1527c58657225fdf)

19 years agoFix compile warnings.
Tim Potter [Thu, 22 Aug 2002 17:43:27 +0000 (17:43 +0000)]
Fix compile warnings.
(This used to be commit e84f47a234d31e98b0dc28c51f3ec337458e48d1)

19 years agoEnsure we don't change to a user that we can't get an NT_TOKEN for.
Andrew Bartlett [Thu, 22 Aug 2002 17:05:35 +0000 (17:05 +0000)]
Ensure we don't change to a user that we can't get an NT_TOKEN for.
(This used to be commit 9416289b571b1c838239e5342bb6148041ab681b)

19 years agofix for difference in strsep and strtok semantics
Herb Lewis [Thu, 22 Aug 2002 10:33:21 +0000 (10:33 +0000)]
fix for difference in strsep and strtok semantics
(This used to be commit 51e0a4adc7c6cc09e53003726b31201a091e9f35)

19 years agoSpelling fixes.
Tim Potter [Thu, 22 Aug 2002 09:48:06 +0000 (09:48 +0000)]
Spelling fixes.
(This used to be commit 24fa84bda49a3a77fbc092652a0b6b132f06ff7c)

19 years agoget the access check in addform() correct this time.
Gerald Carter [Thu, 22 Aug 2002 03:12:10 +0000 (03:12 +0000)]
get the access check in addform() correct this time.
Needed to modify OpenPrinter() to store the access granted to
on the print server handle as well.
(This used to be commit 08b3f9688c6c3c83ad8949e6346d8fab5e563df4)

19 years agofix a few segfaults
Gerald Carter [Thu, 22 Aug 2002 02:51:32 +0000 (02:51 +0000)]
fix a few segfaults
(This used to be commit ccb02f7cfcec4a555cf7304816c739f4bf7b46f0)

19 years agoMake samsync use popt
Andrew Bartlett [Thu, 22 Aug 2002 01:25:10 +0000 (01:25 +0000)]
Make samsync use popt
(This used to be commit 6aa7aa00f32c2d6512029eb603f9087ce6c98bf9)

19 years agoA few fixes towards libsmbclient and rpcclient - get pointer types right and
Andrew Bartlett [Thu, 22 Aug 2002 00:51:00 +0000 (00:51 +0000)]
A few fixes towards libsmbclient and rpcclient - get pointer types right and
try to keep to functions inside libsmbclient.

Andrew Bartlett
(This used to be commit 340bc31fdb031d79fa87de27c2c46215dd8113a3)

19 years agoMove comment
Andrew Bartlett [Thu, 22 Aug 2002 00:16:21 +0000 (00:16 +0000)]
Move comment
(This used to be commit 009b331182b1338e07968388004f5d44b835e7f5)

19 years agoFixed IFSTEST errors with OpenParams... more to go.
Jeremy Allison [Thu, 22 Aug 2002 00:10:02 +0000 (00:10 +0000)]
Fixed IFSTEST errors with OpenParams... more to go.
Jeremy.
(This used to be commit 31a0c4ac33e89be4a27ff697dd3850fe6578e75f)

19 years agoAdded README written by Jelmer - thanks!
Tim Potter [Wed, 21 Aug 2002 23:28:41 +0000 (23:28 +0000)]
Added README written by Jelmer - thanks!
(This used to be commit f639eb3817b9edf421dc103394428d607857a0bb)

19 years agofix segfault
Gerald Carter [Wed, 21 Aug 2002 23:27:38 +0000 (23:27 +0000)]
fix segfault
(This used to be commit 982eadf73bb3932ec3ac89c6112a8bf79dbec127)

19 years agoNETLOGON NetServerAuthenticate3 include and parser file
Jean-François Micouleau [Wed, 21 Aug 2002 23:08:28 +0000 (23:08 +0000)]
NETLOGON NetServerAuthenticate3 include and parser file

J.F.
(This used to be commit 2f68d6f5ec925f07a387f784db6de0cfbaa53278)

19 years agoMore hacks for 'guest account' to get it to show up with the right rid...
Andrew Bartlett [Wed, 21 Aug 2002 22:13:45 +0000 (22:13 +0000)]
More hacks for 'guest account' to get it to show up with the right rid...

Andrew Bartlett
(This used to be commit 2795d92268d23063faf5a661279a91f7703d8aac)

19 years agoAdd tridge's backtrace script - it should at least work for systems with
Andrew Bartlett [Wed, 21 Aug 2002 21:42:05 +0000 (21:42 +0000)]
Add tridge's backtrace script - it should at least work for systems with
gdb....

Andrew Bartlett
(This used to be commit 7cb080559eaf39fb0afd6d846bf56715f1303801)

19 years agoFix longstanding bug in Win2k clients by clearing the shortname
Jeremy Allison [Wed, 21 Aug 2002 21:07:27 +0000 (21:07 +0000)]
Fix longstanding bug in Win2k clients by clearing the shortname
buffer before returning ascii short name.
Jeremy.
(This used to be commit d01bbd42ff043d9fb0dc40dc4e207da8df0c9c14)

19 years agoDocument -v option
Jelmer Vernooij [Wed, 21 Aug 2002 21:00:40 +0000 (21:00 +0000)]
Document -v option
(This used to be commit a8936762967643a935ae45f468ad70e206406190)

19 years agoReplaced reference to global_myworkgroup by calls to lp_workgroup().
Volker Lendecke [Wed, 21 Aug 2002 20:50:42 +0000 (20:50 +0000)]
Replaced reference to global_myworkgroup by calls to lp_workgroup().

pdbedit failed to initialize global_myworkgroup, wo we could end up
having a SID for SECRETS/SID/  in secrets.tdb.

Volker
(This used to be commit 8c96ab4bc05e55e119c1b44779fe14d3ab6c5f35)

19 years agoThis is like jht's (abortive) patch for showing only non-default testparm
Andrew Bartlett [Wed, 21 Aug 2002 20:29:11 +0000 (20:29 +0000)]
This is like jht's (abortive) patch for showing only non-default testparm
options.

Andrew Bartlett
(This used to be commit 4cd822d9e4e5f35a47b0837bfa73c8a457e6cc85)

19 years agoPatch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
Jelmer Vernooij [Wed, 21 Aug 2002 19:59:23 +0000 (19:59 +0000)]
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)

19 years agopdbedit needs global_myname to be set in order to display the
Volker Lendecke [Wed, 21 Aug 2002 19:48:56 +0000 (19:48 +0000)]
pdbedit needs global_myname to be set in order to display the
user SIDs correctly.

Volker
(This used to be commit 287b7bda11100c42f2cdea36a20a81f6ea397f43)

19 years agoglobal_myname is a pstring, not an fstring
Volker Lendecke [Wed, 21 Aug 2002 19:39:38 +0000 (19:39 +0000)]
global_myname is a pstring, not an fstring
(This used to be commit 2df34c9bfc76ee832e5005a2ad0ff0b6abb98034)

19 years agoAdd changes suggested by abartlet:
Jelmer Vernooij [Wed, 21 Aug 2002 18:58:04 +0000 (18:58 +0000)]
Add changes suggested by abartlet:
- don't use lp_passwd_file() to retrieve NIS domain name, but use location
  instead
- some cleanups
(This used to be commit 16f4568f35c753ec0ab0a0dda2b264668f5ac5ab)

19 years agodocument nisplus sam
Jelmer Vernooij [Wed, 21 Aug 2002 17:32:14 +0000 (17:32 +0000)]
document nisplus sam
(This used to be commit debf77cd3a7a48ad833255c42917d7e7660d3d15)

19 years agoAdd 'net rpc getsid' to fetch the PDC's SID into the local secrets.tdb
Volker Lendecke [Wed, 21 Aug 2002 17:23:34 +0000 (17:23 +0000)]
Add 'net rpc getsid' to fetch the PDC's SID into the local secrets.tdb

Print domain SID on 'net rpc info'

Volker
(This used to be commit 12fd889a3f0e3eeeb27a51cdd7f648a59083f2ba)

19 years agojust comment typos
Volker Lendecke [Wed, 21 Aug 2002 17:07:10 +0000 (17:07 +0000)]
just comment typos
(This used to be commit 169e784f4829ef356ed6232ace950d43cac1d467)

19 years agoFix debug level initialization for net.c
Volker Lendecke [Wed, 21 Aug 2002 11:48:05 +0000 (11:48 +0000)]
Fix debug level initialization for net.c

Volker
(This used to be commit 5af5326f1311a49d3c8316e1dcc27037b831065a)

19 years agoCope with non-unix accounts - we just won't get the groups for those users.
Andrew Bartlett [Wed, 21 Aug 2002 11:34:05 +0000 (11:34 +0000)]
Cope with non-unix accounts - we just won't get the groups for those users.

Andrew Bartlett
(This used to be commit 7cad7814555645aa3bee95fb48fbd694e6a9e313)

19 years agoUse the 'init' flag to determine if the UID is set, rather than testing the
Andrew Bartlett [Wed, 21 Aug 2002 11:18:25 +0000 (11:18 +0000)]
Use the 'init' flag to determine if the UID is set, rather than testing the
uid for -1.

Andrew Bartlett
(This used to be commit 2fc12864ae78ea08d8cb4e3b1c7e341ca4a854e6)

19 years agoFix pam_smbpass to always check the return value of pdb_getsampwnam() to
Andrew Bartlett [Wed, 21 Aug 2002 11:15:10 +0000 (11:15 +0000)]
Fix pam_smbpass to always check the return value of pdb_getsampwnam() to
determine if the user exists.

(from post on samba-technical)

Andrew Bartlett
(This used to be commit b43304c2aa406267ef157dd0ac59319d6c494ce4)

19 years agoHandle wrap-around on this number by making it unsigned.
Andrew Bartlett [Wed, 21 Aug 2002 11:12:14 +0000 (11:12 +0000)]
Handle wrap-around on this number by making it unsigned.

(Wrapping to zero does not create problems in this cache)

Andrew Bartlett
(This used to be commit c58e3d5c7d78dd02584b1490a27f7007e11b8712)

19 years agoimplemented lock and mknod
Simo Sorce [Wed, 21 Aug 2002 02:34:49 +0000 (02:34 +0000)]
implemented lock and mknod
addedd to vfstest the possibility to read a file to imput a stream of commands
(This used to be commit 233b14f447994db8fdb4448d19eff0c38c17254d)

19 years agoaddform fix from SAMBA_2_2
Gerald Carter [Wed, 21 Aug 2002 01:47:29 +0000 (01:47 +0000)]
addform fix from SAMBA_2_2
(This used to be commit db286e66ec4788b40e279fd230b2013f311e44ec)

19 years agofix typos
Simo Sorce [Tue, 20 Aug 2002 21:21:56 +0000 (21:21 +0000)]
fix typos
thanks Josef Zlomek
(This used to be commit fb32fd99b9878db2bacf0588d30fd5f1f37dbfd7)

19 years agopdb_nisplus converted to the new passdb system API's
Jelmer Vernooij [Tue, 20 Aug 2002 20:56:10 +0000 (20:56 +0000)]
pdb_nisplus converted to the new passdb system API's
(This used to be commit 72e9a5cd340d6a912e274dc0d6f2a22a922d4b03)

19 years agoIFSTEST fixes for open fid, nametoolong.
Jeremy Allison [Tue, 20 Aug 2002 20:54:32 +0000 (20:54 +0000)]
IFSTEST fixes for open fid, nametoolong.
Jeremy.
(This used to be commit e53a81261ed189881c0f07e1b46f97aa6770cab7)

19 years agoThe "max data count" value in SMB transacts indicates how much the other end can
Shirish Kalele [Tue, 20 Aug 2002 19:58:23 +0000 (19:58 +0000)]
The "max data count" value in SMB transacts indicates how much the other end can
send us. As it stands, we incorrectly set it to the number of bytes we are
sending. Correcting this by setting a static value of 1024 (This could even be
something larger). Improves RPC client performance.
(This used to be commit b0bd42c9466f41dc87a11fd6065620f93c8ebc40)

19 years agosome fixes
Jelmer Vernooij [Tue, 20 Aug 2002 19:35:13 +0000 (19:35 +0000)]
some fixes
(This used to be commit e0c61b31050a3e3fdec2c47c80ef34de3ec73e04)

19 years agofix typo
Jelmer Vernooij [Tue, 20 Aug 2002 19:16:28 +0000 (19:16 +0000)]
fix typo
(This used to be commit 71e2b41c77cc3128c6cb6e68b7ddbe2213274805)

19 years agofix irix compile errors - cannot initialize array in declaration statement
Herb Lewis [Tue, 20 Aug 2002 18:43:59 +0000 (18:43 +0000)]
fix irix compile errors - cannot initialize array in declaration statement
with non-const values - strsep not defined
(This used to be commit a5c59b2cd10016ecbd931531602ad1cb3660bbf9)

19 years agoRemove unused variables
Jelmer Vernooij [Tue, 20 Aug 2002 17:58:09 +0000 (17:58 +0000)]
Remove unused variables
(This used to be commit 20f1765c32b2dd048e1572cd1b1e490459f7d5dc)

19 years agoDon't report missing "-valid"
Jelmer Vernooij [Tue, 20 Aug 2002 17:57:07 +0000 (17:57 +0000)]
Don't report missing "-valid"
(This used to be commit f9018f4560c205033d25e6294534be4b7a79f6c1)

19 years agofix generating protos for smbwrapper
Herb Lewis [Tue, 20 Aug 2002 17:38:54 +0000 (17:38 +0000)]
fix generating protos for smbwrapper
(This used to be commit 92408c822033c9d0e604d9696cf629d4665aa9ee)

19 years agoUpdate generated version of manpages
Jelmer Vernooij [Tue, 20 Aug 2002 17:13:57 +0000 (17:13 +0000)]
Update generated version of manpages
(This used to be commit 724f368bbac97b7d47d5986408d8937f3e7ee15c)

19 years agoNew (simpler) documentation system.
Jelmer Vernooij [Tue, 20 Aug 2002 16:27:37 +0000 (16:27 +0000)]
New (simpler) documentation system.
(This used to be commit d3b8ad67fc32c097d5aa783744192197cb3b3f26)

19 years agoStrip URL stuff, not only ending in .html
Jelmer Vernooij [Tue, 20 Aug 2002 16:11:58 +0000 (16:11 +0000)]
Strip URL stuff, not only ending in .html
(This used to be commit 8bb4843f20c58bcf423bade3342beea61f2b35f7)

19 years agoRemove (broken) index
Jelmer Vernooij [Tue, 20 Aug 2002 16:06:40 +0000 (16:06 +0000)]
Remove (broken) index
don't use underscores in chaptor names (invalid sgml syntax)
(This used to be commit 7864aeb9694a72090425f15e1512f56e32b20588)

19 years agocannot use casts in the DLIST_xxx macros
Herb Lewis [Tue, 20 Aug 2002 12:38:43 +0000 (12:38 +0000)]
cannot use casts in the DLIST_xxx macros
(This used to be commit c9ffc416aeee2610fdc896a9d41dac182039a5f9)

19 years agosegfault fixes merged from APP_HEAD
Gerald Carter [Tue, 20 Aug 2002 03:01:37 +0000 (03:01 +0000)]
segfault fixes merged from APP_HEAD
(This used to be commit cd9ee27d89a5cd489efac2029c22797ec9c383ca)

19 years agoBased orginally by work by Kai, this patch moves our NT_TOKEN generation into
Andrew Bartlett [Tue, 20 Aug 2002 01:54:28 +0000 (01:54 +0000)]
Based orginally by work by Kai, this patch moves our NT_TOKEN generation into
our authenticaion code - removing some of the duplication from the current
code.

This also gets us *much* closer to supporting a real SAM backend, becouse the
SAM can give us the right info then.

This also changes our service.c code, so that we do a VUID (rather than uid)
cache on the connection struct, and do full NT ACL/NT_TOKEN checks (or cached
equivilant) on every packet, for the same r or rw mode the whole share was open
for.

Andrew Bartlett
(This used to be commit d8122cee059fc7098bfa7e42e638a9958b3ac902)

19 years agofix irix compiler error
Herb Lewis [Tue, 20 Aug 2002 00:20:23 +0000 (00:20 +0000)]
fix irix compiler error
(This used to be commit 4df7983487545a432cfa8832eae1afbdf7866060)

19 years agoFix syntax errors
Jelmer Vernooij [Mon, 19 Aug 2002 23:32:12 +0000 (23:32 +0000)]
Fix syntax errors
(This used to be commit 2e6aa71c964a94c7b02fd61c14d9078c24ffb66d)

19 years agoadd support for the "value,OID" format described in MSDN.
Gerald Carter [Mon, 19 Aug 2002 21:17:22 +0000 (21:17 +0000)]
add support for the "value,OID" format described in MSDN.
I've not seen this on a real network, but we support it now :-)
(This used to be commit 1ed6f68f6f29e1a62b12764ec5e84de8351efbd3)

19 years agoa new icon for the upcoming wizard
Simo Sorce [Mon, 19 Aug 2002 19:50:54 +0000 (19:50 +0000)]
a new icon for the upcoming wizard
(This used to be commit 2d1c7797ffd413bf64e469356cd88bf550134f42)

19 years agoAdded comment about our implementation of the trans2
Tim Potter [Mon, 19 Aug 2002 19:12:26 +0000 (19:12 +0000)]
Added comment about our implementation of the trans2
SMB_FILE_INTERNAL_INFORMATION possibly causing the failure of one of the
IFSKIT tests.
(This used to be commit ca73d24307fcf60e4b7bfe574287b2a84c5d86c8)

19 years agofix typo auth/auth_server.c
Jelmer Vernooij [Mon, 19 Aug 2002 18:06:07 +0000 (18:06 +0000)]
fix typo auth/auth_server.c
remove unused 'max packet' and 'packet size' options
(This used to be commit 6a787a695db65688916464a9b0e2a9024b131eee)

19 years agoMore smb.conf manpage updates:
Jelmer Vernooij [Mon, 19 Aug 2002 18:05:06 +0000 (18:05 +0000)]
More smb.conf manpage updates:

add printer command -> addprinter command
delete printer command -> deleteprinter command
display charset
dos charset
hide unwriteable -> hide unwriteable files
hostname lookups
name cache timeout
ntlm auth
paranoid server security
realm
smb ports
unicode
unix charset
wtmp directory
wins partners
block size
vfspath
(This used to be commit 80a25fe365ac83b7331fa95b3287dd275a229fdc)

19 years agofixed memory corruption in cli_full_connection()
Andrew Tridgell [Mon, 19 Aug 2002 17:49:37 +0000 (17:49 +0000)]
fixed memory corruption in cli_full_connection()
(This used to be commit 7c2167182becbf72ba062230e911d55d337a4709)

19 years agothe SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS macro isn't needed any more
Andrew Tridgell [Mon, 19 Aug 2002 17:26:00 +0000 (17:26 +0000)]
the SMBD_SELECT_TIMEOUT_WITH_PENDING_LOCKS macro isn't needed any more
(This used to be commit 341bb9fb78a2e750f05a902e020ba352e26ca030)