Simo Sorce
995bf62aae
patch from metze
...
(This used to be commit cc8e6ebc0ec840d882211c8327cafdcafbcafbd7)
2002-08-27 09:45:26 +00:00
Simo Sorce
709c7c1674
add the netatalk module
...
(This used to be commit 2a156995329699c776772fe01672cfe763b3f988)
2002-08-27 09:30:17 +00:00
Simo Sorce
7251f6b9ec
avoid using libtool for VFS modules
...
change a name in block.c it was hiding a function name
add a comment in configure
(This used to be commit 05038f44717ff07ed7d4a3afbdd8f072a3c058cc)
2002-08-27 09:14:21 +00:00
Simo Sorce
8f6c926a8f
add a trivial seeking function to xfile (tseek) that does not do SEEK_CUR
...
and add commands reget and reput to smbclient that continues a transfer that has been onterrupted.
thanks to josef Zlomek that did the original patch.
(This used to be commit b275547c9ecc13bede5bd21a392fa1d695a3926d)
2002-08-27 09:07:08 +00:00
Andrew Tridgell
901ffd7ca8
slprintf() takes a size argument
...
(This used to be commit 4e142ba3749d2eb45687425ff87c153fb6147056)
2002-08-27 05:04:16 +00:00
Tim Potter
7488f61d3c
Implemented enum_domain_groups function.
...
(This used to be commit 9e36824d47f7d1aac14bb5aeded8da54962c90a8)
2002-08-27 01:49:51 +00:00
Tim Potter
dbbb157b2e
Don't try to convert enumprinters name to a unc name.
...
(This used to be commit e09007dd5d17d5f84aea3c2fed16ce79ba7be1f2)
2002-08-27 01:48:00 +00:00
Tim Potter
b1037bffcf
New arguments to cli_spoolss_enum_printers()
...
(This used to be commit 55f891016c005c1552f1c1d95dd067bbf9de8869)
2002-08-27 00:41:06 +00:00
Tim Potter
83c5985880
Pass the object name down to the enum_printers rpc. By default this is the
...
server name and everything works as advertised. See the MSDN doco for details.
(This used to be commit d6b10fe9691bfc96d5933c029990c60fd292bdc9)
2002-08-27 00:38:55 +00:00
Jeremy Allison
dc40c5fb2d
Correct fix for nc problem.
...
Jeremy.
(This used to be commit 1f81b177182aee7fe24e50ae3cd72d417e81b45a)
2002-08-26 20:29:10 +00:00
Jeremy Allison
dc0c3e97ca
Reformatting only before real change.
...
Jeremy.
(This used to be commit ac21f280d5030a9c49330be37bd754a1540a238a)
2002-08-26 20:26:25 +00:00
Gerald Carter
6dad13d801
merge from APP_HEAD
...
(This used to be commit ebe89453b63467c87263c24f4380544fef1124a6)
2002-08-26 16:57:35 +00:00
Gerald Carter
68d5ab9a65
merge from APP_HEAD
...
(This used to be commit 4689e7ea5e55e22e1e4293c91ba69fee53436143)
2002-08-26 16:43:29 +00:00
Jeremy Allison
e6ecd43dfc
Reverted and tidied up the "special" files patch. Adds "hide special files"
...
option (set to false by default). Made checking for hide unreadable/writable
more efficient (less stat calls, less allocating printf calls).
Jeremy.
(This used to be commit 15ff5a48f94fdc6ed61fb10f063c4fbf8bb5bb2d)
2002-08-26 16:38:08 +00:00
Richard Sharpe
e74e0b235c
A small type and addition of an example add printer command script.
...
(This used to be commit 7c5f94e73746fcb97e440a29e5abc7bbb0a6c250)
2002-08-26 13:04:26 +00:00
Richard Sharpe
86115eaba8
Fix some small spelling etc problems in the SGML.
...
Must also add a small tute on adding print queues dynamically with the addprinter command.
(This used to be commit 5ea345f464800fa4ce70108c0285791c745243c9)
2002-08-26 11:24:30 +00:00
Andrew Bartlett
e32fdc1001
Some fixes for SMB signing. I can now get Win2k to correctly respond with a
...
security signiture, but I can't get it to accept ours.
Andrew Bartlett
(This used to be commit 7746de6a3c5798e321ed8300f763588fa3807964)
2002-08-26 03:59:01 +00:00
Andrew Bartlett
d8767bcdad
Header file change from last commit.
...
(This used to be commit a760bca56a55b119cf399c5ac6f8b0db418be2e0)
2002-08-26 03:16:10 +00:00
Andrew Bartlett
2560c73026
Updates!
...
- Don't print an uninitialised buffer in service.c
- Change some charcnv.c functions to take smb_ucs2_t ** instead of void **
- Update NTLMv2 code to use dynamic buffers
- Update experimental SMB signing code - still more work to do
- Move sys_getgrouplist() to SAFE_FREE() and do a DEBUG() on initgroups()
failure.
Andrew Bartlett
(This used to be commit de1964f7fa855022258a84556b266100b917444b)
2002-08-26 03:08:37 +00:00
Andrew Bartlett
53749c1342
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)
2002-08-26 02:01:05 +00:00
Andrew Bartlett
9c7742727a
Try to support non-root-mode systems without getgrouplist().
...
Andrew Bartlett
(This used to be commit 17096315a0f30f946ddecb79708604a111c37011)
2002-08-26 00:43:06 +00:00
Andrew Bartlett
014792fc03
Clarify function comments
...
(This used to be commit a613dde7edab62c4439d256932b9f9b4ae2ec4e0)
2002-08-25 23:33:22 +00:00
Andrew Bartlett
066c5ae97f
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)
2002-08-25 22:43:20 +00:00
Andrew Bartlett
6b9de4f69f
Use a function that actually exists for the keepalive send.
...
Andrew Bartlett
(This used to be commit 82e7212bbbeefce873291c2fdb3b04ae1e6c26d6)
2002-08-25 22:23:46 +00:00
Andrew Bartlett
b97a387c0f
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)
2002-08-25 21:46:49 +00:00
Andrew Bartlett
f73039b225
Fix from kai to correctly decode ntlmssp flags.
...
Andrew Bartlett
(This used to be commit 2e74473551f0fce0384eacd31bc1a53ff3967464)
2002-08-25 21:36:45 +00:00
Richard Sharpe
46f0426c28
Another speling fix
...
(This used to be commit c904fa4abd7b79057ef9369aacaa368cdc177c32)
2002-08-24 17:26:08 +00:00
Richard Sharpe
4a366ae4bf
Some more minor doco fixes ...
...
(This used to be commit b02e8aa4cb302689fa54cc6de9d2f1e5e23bb560)
2002-08-24 17:24:03 +00:00
Richard Sharpe
0fb1bfaeea
Your car depreciates in value, while obsolete parameters are deprecated.
...
(This used to be commit c95e53a1dda579cabbe2fb5059f2a1bde33ccf0c)
2002-08-24 17:06:07 +00:00
Simo Sorce
bf6cd37716
if muhammad does not go to the mountain ...
...
(This used to be commit 5246d3693c463e581a7cd40f86878e40456237c3)
2002-08-24 02:06:17 +00:00
Simo Sorce
699fcb65fc
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)
2002-08-24 01:33:25 +00:00
John Terpstra
9cf3c89ed6
Removed samsync
...
(This used to be commit 644a45d493712c12e6318d13f7dd6ef1be5e6b1a)
2002-08-23 17:01:02 +00:00
Jeremy Allison
9c31d18987
Merged initial allocation code for IFSTEST fix.
...
Jeremy.
(This used to be commit 095e2bf9469a4c26814fb049f2870983c090ed81)
2002-08-23 15:51:28 +00:00
Jeremy Allison
d5dd9dcc3f
Test for non-POSIX st_blksize field.
...
Jeremy.
(This used to be commit d406d08e3e1aa2266a472f98cff7dd0ff311a33c)
2002-08-23 15:29:44 +00:00
Tim Potter
6bca450207
Cope with negative cache dns entries better.
...
(This used to be commit 3404023260a5d6fed5523eb378d4a1ad418302a0)
2002-08-23 15:01:08 +00:00
Simo Sorce
f38fc7b3b1
We never checked if the smb packet len is != 0
...
Should fix a supposed DoS too.
(This used to be commit f76e5b2677beb161c2f9c0d3dd78e707655e942f)
2002-08-23 15:01:07 +00:00
Tim Potter
55315b4b4e
Moved calculation of secure channel type into a new function.
...
(This used to be commit b8dba26978c281259e02b9d6ebacaa7cba4f7787)
2002-08-23 13:38:00 +00:00
Tim Potter
53fabdee01
Don't take the sizeof(struct in_addr) * -1
...
(This used to be commit e13016bb42dbba675d6e7ee7e163543aad2e62c2)
2002-08-23 13:23:49 +00:00
Herb Lewis
d58445d6cc
remove samsync and spamsync
...
(This used to be commit 34a7efd1f8fc5d5fda7cafe50cb6fd7c4aac32ab)
2002-08-23 12:43:46 +00:00
Andrew Bartlett
548203a0c4
We need to return the value here...
...
Andrew Bartlett
(This used to be commit 8fbc964f2f40de80851cf89f7bed0ddc5d01b074)
2002-08-23 12:31:36 +00:00
Herb Lewis
f480692056
sync with 2.2 branch
...
(This used to be commit 52924c064dc649032619c52e5cc915ca74e3aa10)
2002-08-23 10:58:44 +00:00
Jean-François Micouleau
8462dbb933
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)
2002-08-23 05:12:06 +00:00
Tim Potter
6232468dca
Fix for change in cli_netlogon_sam_sync()
...
(This used to be commit 6ec267618a7ba2c4a7170b78ccfe95120c5430c4)
2002-08-22 23:44:36 +00:00
Tim Potter
266fd83651
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)
2002-08-22 23:39:26 +00:00
Herb Lewis
e6de7c24a5
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)
2002-08-22 23:34:27 +00:00
Andrew Tridgell
89586f0b7c
added smb_xstrndup()
...
(This used to be commit 26fc20187d405702c50d1e7a38d3a94c84932bed)
2002-08-22 22:53:33 +00:00
Andrew Tridgell
ba2fdbb4c8
a ASN.1 fix from anthony
...
(This used to be commit 5ff687a839f805af56ae77cba94c466a0ff87ccc)
2002-08-22 22:53:00 +00:00
Andrew Tridgell
8e089e8770
don't use spnego in the client unless enabled in smb.conf
...
(This used to be commit c00388de6cf5d0527505bfe4edfe2f0269c5a4c8)
2002-08-22 22:52:16 +00:00
Andrew Tridgell
0bc1feb2d6
made the CAP_UNIX test a bit cleaner
...
(This used to be commit 8c8b0dd381f357bdd204fd6b5d50b78765e93090)
2002-08-22 22:51:28 +00:00
Andrew Tridgell
84b4e79227
a few minor cleanups in the cldap request
...
(This used to be commit 228fc518da0404fe770175d5277fe5f5b08f9c67)
2002-08-22 22:50:57 +00:00