1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

16308 Commits

Author SHA1 Message Date
Stefan Metzmacher
997f539bf5 libcli/raw: remove unused smb_raw_max_trans_data() function
metze
(This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
bbbe06fb09 torture: .in.max_data should not depend on the smb max size
We now support async multi fragment SMBtrans calls.

metze
(This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
4af2de3f03 rap: trans->in.max_data should not depend on the smb max size
We now support async multi fragment SMBtrans calls.

metze
(This used to be commit 66e0c1754f14cf0100ca2d3e9c0cd8c87f9dc1e6)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
a3ea8bcb19 dcerpc_smb: trans->in.max_data should not depend on the smb max size
We now support async multi fragment SMBtrans calls.

metze
(This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)
2008-07-07 20:59:13 +02:00
Stefan Metzmacher
efaf4cedb2 libcli/raw: make multi fragmented nttrans requests possible
metze
(This used to be commit a6aa055097313975299f214d8ebe8d45aa51d10a)
2008-07-07 18:10:08 +02:00
Stefan Metzmacher
1bc344cf52 smb_server/smb: trans(2) setup count is uint8_t
metze
(This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
2008-07-07 18:10:08 +02:00
Stefan Metzmacher
848ab7fa3b libcli/raw: trans(2) setup count is uint8_t
metze
(This used to be commit 48ccb51caf7976ec07c8a9bfc1afd3076bf4ee22)
2008-07-07 18:10:07 +02:00
Stefan Metzmacher
fd1ce8c263 libcli/raw: remove unused smbcli_request_receive_more() function
metze
(This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)
2008-07-07 18:10:07 +02:00
Stefan Metzmacher
1777734240 libcli/raw: use the new recv_helper infrastructure for trans/trans2 replies
metze
(This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)
2008-07-07 18:10:03 +02:00
Stefan Metzmacher
b4726d48e5 libcli/raw: use the new recv_helper infrastructure for nttrans replies
metze
(This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)
2008-07-07 13:43:13 +02:00
Stefan Metzmacher
7718a89222 libcli/raw: add a recv_helper hook infrastructure
The recv helper will be called when a response comes
and the recv helper can decide to let the request
on the SMBCLI_REQUEST_RECV when more reponse packets
are expected. It's up to the helper function
to keep a reference to the in buffers, each incoming
response overwrites req->in.

metze
(This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)
2008-07-07 13:43:13 +02:00
Stefan Metzmacher
70ccb7e7ce libcli/raw: the nttrans setup count is only 8-bit
metze
(This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
2008-07-07 13:43:12 +02:00
Stefan Metzmacher
50df83ac8c smb_server/smb: transs and transs2 calls have different word counts
Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror).

metze
(This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
2008-07-07 13:43:12 +02:00
Stefan Metzmacher
88a26f6e7f smb_server/smb: fix crash bug with fragmented trans calls
We need to use smbsrv_setup_secondary_request(req) to send the
trans ack, because smbsrv_send_reply(req) destroys 'req'
and the partial trans list had dead elements in the list.

Also make sure the partial list element is removed by a talloc
destructor.

metze
(This used to be commit 221f4d6e534a40b7def6e51dc6b4f9e8057d18b7)
2008-07-07 13:43:12 +02:00
Stefan Metzmacher
b6327116dd dcerpc.idl: the signing overhead can be more than 32 bytes
Windows seems to use 64 here, so we do now.

Before we got nca_proto_error fault because we send fragments
larger than the negotiated max frag size.

If the max frag size is 5840, we're sending 5837 bytes
when the auth_len is 45 and that matches w2k3 traffic.

metze
(This used to be commit 351947dba3f7a26ac871d4aa7b6bba4cd472383a)
2008-07-03 15:49:56 +02:00
Stefan Metzmacher
8bd7dabb07 rpc_server: use the same chunk_size logic as we we use in the client
metze
(This used to be commit 9ff0ce42b32bf0f1463d2cb9c2a6595f51b13d04)
2008-07-03 15:49:56 +02:00
Jeremy Allison
d8ac9bde86 Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of strlcat gives error.
Jeremy.
(This used to be commit e633dc4ec2d72c3d34b5e096e0460e07e07ab514)
2008-07-02 12:01:15 -07:00
Andrew Bartlett
b4b303b5ce Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit b4e7063058ac8587c526dd9133aee345e99f8ef8)
2008-07-02 21:47:21 +10:00
Andrew Bartlett
7e851ada55 Move ad2oLschema and oLschema2ldif into Samba4, out of LDB
LDB does not know about nor process the AD schema, so it makes no
sense to have this tool there.  I've been changing it anyway, to use a
common schema manipulation library, and will enhance these links in
the future.

Andrew Bartlett
(This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
2008-07-02 21:30:08 +10:00
Stefan Metzmacher
0a391223ac ldap_server: allow modifies to the root dse record and pass them to the ldb layer
metze
(This used to be commit 3da6f7f95d7c04cff49fa2312f94c059686d11e4)
2008-07-02 10:32:02 +02:00
Andrew Bartlett
fe174cc141 Fill in the auxiliary classes into the dsdb_schema.
Andrew Bartlett
(This used to be commit 615564b3daec0ffe17d05599b7ec8688619f5c65)
2008-07-02 15:19:49 +10:00
Andrew Bartlett
d7bd297df7 Collapse auxillary classes in LDAP schema conversion.
MS-ADTS 3.1.1.3.1.1.5 describes the behaviour of auxiliary classes.
In effect, these are additional MUST or MAY attributes that are
appeneded to the parent class (the auxiliary does not become listed in
the objectClass attribute), and so we do just that, and merge them
here, for export to OpenLDAP as it's schema.

Andrew Bartlett
(This used to be commit d674e92591ea90eb3b2117d8dd21f79f718d7730)
2008-07-02 15:15:54 +10:00
Stefan Metzmacher
2a918a353f schema_fsmo: prepare auto allocation of schema oid prefixes
This implements the logic in the schema_fsmo_add() function,
but it only calls a dummy dsdb_create_prefix_mapping() yet.

metze
(This used to be commit 9018b85e834de6714a78304ba1c7018838e30a61)
2008-07-01 17:58:47 +02:00
Stefan Metzmacher
db0a105aae schema_fsmo: move fsmo info into struct dsdb_schema
metze
(This used to be commit 8538d305c803268c712a90879f29a2a74ba0ef03)
2008-07-01 16:55:43 +02:00
Andrew Bartlett
8974bf92a8 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit cd5e48649ce0987952b2b55ea79c3ecceecfafd5)
2008-07-01 14:54:23 +10:00
Andrew Bartlett
b3e8d3ad99 Create PREFIX/var/lib and PREFIX/var/run in 'make install'.
This is a problem because the location of the winbind privilaged pipe
moved.

Andrew Bartlett
(This used to be commit 68afc2893c032be0a8a31d996f90574ceb6c10ad)
2008-07-01 14:53:31 +10:00
Stefan Metzmacher
5767b578a0 schema_fsmo: only set module->private_data in case we keep the struct for a long time
metze
(This used to be commit 82940f6ca120026378e6deb49a07becb2d581f45)
2008-06-30 17:40:01 +02:00
Stefan Metzmacher
c88ec856bd drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
metze
(This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-30 17:40:01 +02:00
Stefan Metzmacher
1eb5756ca5 drsuapi.idl: remove some unknows from DsGetNCChanges()
metze
(This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
2008-06-30 17:40:01 +02:00
Andrew Bartlett
278016d28f On the way to alpha6!
(This used to be commit 97b7a521da183b63c494b395d330f70d5cd4e233)
2008-06-30 21:54:28 +10:00
Andrew Bartlett
5d2dea38d6 Merge branch '4-0-stable' into 4-0-local
(This used to be commit 857df6e91874407f70436749e3dad13ada003e6e)
2008-06-30 21:54:01 +10:00
Andrew Bartlett
1fe26e61da Ensure we install smbd as well...
(This used to be commit 72aaa905b3a9c71578c362554b6ab75edd2cd695)
2008-06-30 19:31:20 +10:00
Andrew Bartlett
d4942363ba Mark as 'not a git snapshot'.
(This used to be commit 74e95269fcded3454253452802f404d529508ce5)
2008-06-30 18:12:20 +10:00
Stefan Metzmacher
69964a24d7 nbt_server/wins: don't force wins_ldb as shared_module
metze
(This used to be commit 861b79c91fb39b6b7f40d57000770f0f839e6c59)
2008-06-30 09:25:31 +02:00
Stefan Metzmacher
db0c0327ad dsdb: don't force the build of ldb modules as shared_module
metze
(This used to be commit 3379630a91bd96a34f99ed24ac92380bd97ccb07)
2008-06-30 09:25:31 +02:00
Stefan Metzmacher
6ed5fc9207 ldb_ildap: don't force the build as shared_module
metze
(This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)
2008-06-30 09:25:30 +02:00
Stefan Metzmacher
93bc9f49a2 auth: don't force the build of auth_server as shared_module
metze
(This used to be commit b5187dd58ccae03e22ba8857c344a2d7d94f13b3)
2008-06-30 09:25:30 +02:00
Stefan Metzmacher
780fa9f9e6 lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
2008-06-30 09:25:30 +02:00
Stefan Metzmacher
27970ccc30 lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit a2a506ba2e044699d147486e987b11d839373784)
2008-06-30 09:25:29 +02:00
Stefan Metzmacher
4deff16ddb smb_build: use MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit 54b06a1c839a9af4565635011e3e624271769cc7)
2008-06-30 09:25:29 +02:00
Stefan Metzmacher
b438d59eb5 smb_build: enable implicit make rules
metze
(This used to be commit be3f3e18d476431f991d08317eb94b4aebe927e6)
2008-06-30 09:25:28 +02:00
Stefan Metzmacher
5ccfd6a90e ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)
metze
(This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
2008-06-30 09:14:07 +02:00
Stefan Metzmacher
d7ac45f8b8 ldb: fix the init function names for some modules
metze
(This used to be commit a485a363c3dc1b6b4d12410ed8e390b4d64a739f)
2008-06-30 09:14:06 +02:00
Andrew Bartlett
6f55742b4c Rework samdb handling for 'netlogon' packets.
Don't reopen the samdb for every netlogon packet, and use the
system_session(), as we must access data not available to anonymous.
Perhaps we should consider a 'authenticated but not system' token, if
we want more control on this.

Andrew Bartlett
(This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362)
2008-06-30 12:22:50 +10:00
Andrew Bartlett
71439c6283 Relax the ldap.py tests so that they pass against OpenLDAP CVS.
This requires a patched OpenLDAP checked out from their CVS HEAD.  I
hope to see the patches incorporated soon.

Andrew Bartlett
(This used to be commit 963bcfc777679ba122189ea6cf7f94b8d46cdce7)
2008-06-30 11:27:55 +10:00
Andrew Bartlett
8b6d8184a5 Loosen ldap.py tests on the LDAP backend.
Allow LDAP backend to return parts of the DN in a different case, when
verifying memberOf.

Andrew Bartlett
(This used to be commit daddfae9fd8b7375bd4f469808378edc60a55be0)
2008-06-30 09:38:52 +10:00
Jelmer Vernooij
63cfab25e9 Non-zero exit code on failure.
(This used to be commit 9c220c0dce31fbe4b2f6433f40a52162d21c03f7)
2008-06-28 15:26:46 +02:00
Andrew Bartlett
43bf8f4546 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 6479f481dbf2f5c83edec0702ece73e83b6c810e)
2008-06-28 22:04:19 +10:00
Andrew Bartlett
b5808e5d65 selftest changes for 'winbind privileged dir' change.
(This used to be commit c19b28f7579268133939aebe06e1c947d4415182)
2008-06-28 22:03:52 +10:00
Andrew Bartlett
03f51df570 dynconfig changes for 'winbind privileged dir' changes.
(This used to be commit 7e20919d5ba9244362503e450273938a7cc94796)
2008-06-28 22:02:58 +10:00