1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

2550 Commits

Author SHA1 Message Date
Jelmer Vernooij
b33f17e11b r3412: Add NCACN_SPX and NCADG_IPX transports
(This used to be commit ff2f2b4273)
2007-10-10 13:05:07 -05:00
Tim Potter
9ebf74c576 r3411: Ignore some autogenerated files.
(This used to be commit f6428f2d01)
2007-10-10 13:05:06 -05:00
Tim Potter
751b412326 r3410: Handle conversion of DATA_BLOBs and pointers to DATA_BLOBs from python.
(This used to be commit 12e037dbe3)
2007-10-10 13:05:06 -05:00
Tim Potter
12fb5bc0cb r3406: Don't throw a werror exception for WERR_NO_MORE_ITEMS and WERR_MORE_DATA.
(This used to be commit deaa5159f4)
2007-10-10 13:05:06 -05:00
Tim Potter
5d7c6d7bbd r3405: Test EnumPrinterData and GetPrinterData.
(This used to be commit a4facee860)
2007-10-10 13:05:06 -05:00
Tim Potter
3d2dd91d4d r3404: Rename name of DATA_BLOB in GetPrinterData()
(This used to be commit f06ecd81dd)
2007-10-10 13:05:06 -05:00
Tim Potter
0e082a5c9d r3403: Add test for operations on print server handle.
Add tests for EnumJobs, GetJob.

Oops - forgot to EnumPrinters at level2.
(This used to be commit 930d57964b)
2007-10-10 13:05:06 -05:00
Tim Potter
0b0673213b r3402: Fix idl for spoolss_JobInfo1.
(This used to be commit e5fe971dc5)
2007-10-10 13:05:06 -05:00
Tim Potter
75f1497c32 r3401: Fix IDL for SetForm RPC.
(This used to be commit 206f3de297)
2007-10-10 13:05:06 -05:00
Andrew Tridgell
b24fcfc1aa r3400: - allow callers to control the flags2 field in raw packets
- added testing of the FLAGS2_READ_PERMIT_EXECUTE bit in the ntdeny tests
(This used to be commit adf4a68270)
2007-10-10 13:05:05 -05:00
Jelmer Vernooij
50c5059ab0 r3397: Fix IDL for ComplexPing and SimplePing, including tests
(This used to be commit cf976a6feb)
2007-10-10 13:05:05 -05:00
Tim Potter
89665e87b4 r3396: Rename form_name -> formname. This time, check smbtorture builds before
committing.  (-:
(This used to be commit c776232d01)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
74dd7d9062 r3395: added support for "string32" type, to fix the fixed width string
problem that tim found.
(This used to be commit 2cf35cb4d2)
2007-10-10 13:05:05 -05:00
Andrew Bartlett
cf97155ab4 r3394: Give the user a clue why we are blasting them with the usage brick.
Andrew Bartlett
(This used to be commit d967569c56)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
9b24cd21e2 r3393: added test_rpc.sh. The idea is that this script will test all the
RPC-* tests that are expected to pass against Samba4. Currently only
RPC-SCHANNEL and RPC-ECHO are in that list, but as we get more working
this test will allow us to ensure that they stay working.
(This used to be commit d49dfd406f)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
eb3b256864 r3392: fixed schannel over ncalrpc
(This used to be commit 0b93be9f5f)
2007-10-10 13:05:05 -05:00
Andrew Tridgell
173dda6bf4 r3391: fixed some memory leaks in the schannel code
(This used to be commit eb3366d366)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
feff2e9cbd r3390: fixed schannel server side support. RPC-SCHANNEL now works against Samba4.
(This used to be commit 01f5c1c72d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
557bf8d3e4 r3389: fixed schannel client side code. RPC-SCHANNEL now works against w2k3
again. The problem was that the sig_size method didn't get added in
the gensec conversion.
(This used to be commit a49b61173d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
c2cf02c116 r3388: when doing schannel use a anonymous session setup (as the machine acct
isn't allowed to login on a share)
(This used to be commit 8c0be60d8d)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
d93636c29e r3387: fixed pvfs to pass the NTDENY tests. The tricky bit was
SA_RIGHT_FILE_EXECUTE, which depends on a flags2 bit
(This used to be commit c36851d230)
2007-10-10 13:05:04 -05:00
Andrew Tridgell
cb1cff90f1 r3386: - fixed --seed option in smbtorture
- added new tests BASE-NTDENY1 and BASE-NTDENY2. These are the
  ntcreatex equivalents of the BASE-DENY1 and BASE-DENY2
  tests. Unfortunately, with ntcreatex there are 4 million combination
  and trying each one takes 1 second, so randomised testing is the
  only choice. The BASE-DENY1 test can operate in parallel with
  hundreds of connections, speeding things up a bit (as most time is
  spent waiting 1 second for a sharing violation to come back)
(This used to be commit b95493d3d1)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
1dc8e52f91 r3385: when discarding a unmatched reply print the command type to help debugging
(This used to be commit 91139ed8d4)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
65510d99e4 r3384: added SA_RIGHT_FILE_WRITE_APPEND, which is a combination of write and append
(This used to be commit d098636d7f)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
39883a90cf r3383: avoid multi-part SMBtrans and SMBtrans2 replies until our client library can handle
them properly (they are difficult to do in an async fashion).

By choosing trans.in.max_data to fix in the negotiated buffer size a
server won't send us multi-part replies.

I notice that windows seems to avoid them too :)
(This used to be commit e23edf762c)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
ad8c4ae941 r3380: - changed the default behaviour of server signing. We now have a default
setting of "server signing = auto", which means to offer signing
  only if we have domain logons enabled (ie. we are a DC). This is a
  better match for what windows clients want, as unfortunately windows
  clients always use signing if it is offered, and when they use signing
  they not only go slower because of the signing itself, they also
  disable large readx/writex support, so they end up sending very small
  IOs for.

- changed the default max xmit again, this time matching longhorn,
  which uses 12288. That seems to be a fairly good compromise value.
(This used to be commit e63edc8171)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
08e30a51f8 r3375: changed the default max xmit until I fix a problem with the SMBtrans multi-part code
A higher max xmit avoids multi-part trans requests
(This used to be commit 23f4ce3a7d)
2007-10-10 13:05:03 -05:00
Jelmer Vernooij
3ab24d0d22 r3374: Couple of bug fixes
(This used to be commit f8e45e1430)
2007-10-10 13:05:03 -05:00
Andrew Tridgell
b1c8e870d8 r3373: added better error reporting in pvfs_open
(This used to be commit 22abdfca96)
2007-10-10 13:05:02 -05:00
Andrew Tridgell
b97145b2a6 r3372: fixed the initial directory permissions for pvfs_mkdir()
(This used to be commit 72ddb38a72)
2007-10-10 13:05:02 -05:00
Andrew Tridgell
b17470a80d r3371: fixed endpoint for browser.idl
(This used to be commit b2ec1e75a2)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
def0a74030 r3370: Initial work on Add Key/Delete Key/Add Value/Mod Value/Del Value support in
gregedit
(This used to be commit 33f429c61f)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
9dc3f789c4 r3369: More registry updates
We now pass the RPC-WINREG torture test.
Also, constructions like the following work now:

regtree <-> smbd <-> NTUSER.DAT
(This used to be commit df952e95cd)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
9ba6c3885a r3368: Default to rpc backend with binding "ncalrpc:" if no backend was specified in the various registry tools.
Allow opening a remote registry to partly fail (I.e. if not all hives could be opened)
(This used to be commit 313034b10d)
2007-10-10 13:05:02 -05:00
Jelmer Vernooij
a29c24f180 r3367: More registry updates.
Add support flush_key and close_hive.
(This used to be commit c526273df2)
2007-10-10 13:05:02 -05:00
Andrew Tridgell
e78bfc9603 r3366: updates from the junkcode version of talloc.
The main change is to get rid of talloc_parent_chunk() from all
commonly used code paths, so talloc_free() is now O(1) again. It was
originally O(1), but the last round of changes broke that.

Also some documentation updates
(This used to be commit d4fe21cdb9)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
9a09b41b01 r3365: Fill in the user and primary group SIDs into the 'server info' before
the session info.

Andrew Bartlett
(This used to be commit 5db5c30ebe)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
757215dc8b r3364: Add parameter to fix the compile.
Andrew Bartlett
(This used to be commit effd10883b)
2007-10-10 13:05:01 -05:00
Andrew Tridgell
9752471973 r3363: added basic support for SA_RIGHT_FILE_EXECUTE, needed for opening .dll files
(This used to be commit ba1bfd51e1)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
b448bd5b5e r3362: Change netlogon.idl so we can parse the 'info3' seperate from it's surroundings, and rename user_id -> rid, as it could be a user or group id.
Andrew Bartlett

Andrew Bartlett
(This used to be commit 18d0d70994)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
85796280f4 r3361: Allow Samba4 (I'm interested in ntlm_auth in particular) to use
Samba3's winbind.  This is also the start of domain membership code in
Samba4, as we now (partially) parse the info3, and use it like Samba3
does.

Andrew Bartlett
(This used to be commit c1b7303c1c)
2007-10-10 13:05:01 -05:00
Andrew Tridgell
09d0b152b7 r3360: improved the deletion of tmp files. smbd now puts all tmp files in var/locks/smbd.tmp/
and deletes that dir on startup.
(This used to be commit 7e942e7f1b)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
98052096e3 r3359: Add magic auto-initialisation hooks here, to match the rest of
secrets.  (Which will, I am assured, go away).

Andrew Bartlett
(This used to be commit 415ba95927)
2007-10-10 13:05:01 -05:00
Andrew Bartlett
6593327948 r3358: Try to put all the basic struct dom_sid manipulation functions in one
place.  (I always have trouble finding one half or the other).

Andrew Bartlett
(This used to be commit 224b59edba)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
dbf0395924 r3357: removed the need to use TDB_CLEAR_IF_FIRST in Samba4.
We found a few months ago that TDB_CLEAR_IF_FIRST is extremely
inefficient for large numbers of connections, due to a fundamental
limitation in the way posix byte range locking is implemented. Rather
than the nasty workaround we had for Samba3, we now have a single
"cleanup tmp files" function that runs when smbd starts. That deletes
the tmp tdbs, so TDB_CLEAR_IF_FIRST is not needed at all.
(This used to be commit ffa285bc78)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
0caeda53d3 r3356: in the standard process model we need to make sure we close all
listening sockets after the fork to prevent the child still listening
on incoming requests.

I have also added an optimisation where we use dup()/close() to lower
the file descriptor number of the new socket to the lowest possible
after closing our listening sockets. This keeps the max fd num passed
to select() low, which makes a difference to the speed of select().
(This used to be commit f2a9bbc317)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
bc24603e41 r3355: fixed the old style search code in smb_server to correctly handle
searches that go beyond the negotiated max xmit size
(This used to be commit 84762a5976)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
072dfad0af r3354: honor "max xmit" and "max mux" from smb.conf in our client code. This
is important as it allows the test suite to exercise the multiple
reply logic in smbd for trans2 search replies.
(This used to be commit 865159016a)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
d1a732dd2d r3353: don't reference dos.attrib unless its initialised
(This used to be commit 498799e426)
2007-10-10 13:05:00 -05:00
Andrew Tridgell
b2df916390 r3352: make smbcli_read() and smbcli_write() work with very small negotiated SMB buffer sizes
(This used to be commit 320ca0214d)
2007-10-10 13:04:59 -05:00