summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Make ad2oLschema even simpler, by moving the heavy work into dsdb.Andrew Bartlett2008-07-104-368/+368
| | | | | | | | This will allow the kludge_acl and schema code to leverage the same work. (We might even get schema validation soon! :-) Andrew Bartlett (This used to be commit cecd04ce1f8ce2af2fb654b3abc1499092405d60)
* ldb_map: eliminate "discards qualifyer" warning (const).Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit b7c14af3790bcf825367a7f16d2aaa375b04393c)
* libnet_domain: eliminate "discards qualifier" warning (const).Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit ea99590046f50ec2d0c4afe0163fc8660a797ba4)
* dsdb: eliminate disards qualifyer compile warning.Michael Adam2008-07-091-1/+1
| | | | | Michael (This used to be commit 3b0917dbc5399dc6835b523d762b244bdcf45b79)
* Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"Michael Adam2008-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115. This fix is not valid: 1. convert_string() is not only used for key strings but also for data. 2. Some databases use string_tdb_data() i.e. non-null-terminated strings as keynames and others (like the one I was using), use string_term_tdb_data(), i.e. zero-terminated key strings. After discussion with Metze, the easiest (and proper way) to handle this is to specify key names as "keyname\0" for databases which use string_term_tdb_data(). Sorry for the noise... Michael (This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
* tdbtool: fix off-by-one error in argument length. (bug #2344)Michael Adam2008-07-081-1/+1
| | | | | | | | | | | | | | This prevented all commands operating on keys (all non-traverse commands) in tdbtool to fail with a "fetch failed" or "delete failed" message. It seems that it fixes bug #2344 ... Apparently this bug was introduced with 94e53472666ed in 2005. Either nobody is using tdbtool or else tdb_find() has become more strict about the key legth in the meantime. :-) Michael (This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
* rpc_server: use the transport session_info if availableStefan Metzmacher2008-07-071-8/+12
| | | | | metze (This used to be commit 76dd521bcf53a245bd1412968e9b921e5c2f10c9)
* packet: make it possible to free the packet_context from the send_callbackStefan Metzmacher2008-07-071-0/+6
| | | | | | metze (cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff) (This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)
* smb_server/smb: handle incoming multi fragmented nttrans requestsStefan Metzmacher2008-07-071-16/+152
| | | | | metze (This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)
* smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher2008-07-072-4/+7
| | | | | metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
* libcli/raw: remove unused smb_raw_max_trans_data() functionStefan Metzmacher2008-07-071-12/+0
| | | | | metze (This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)
* torture: .in.max_data should not depend on the smb max sizeStefan Metzmacher2008-07-072-9/+9
| | | | | | | We now support async multi fragment SMBtrans calls. metze (This used to be commit ba8499867af90dcd88455476b1f58a2ab18f159b)
* rap: trans->in.max_data should not depend on the smb max sizeStefan Metzmacher2008-07-071-1/+1
| | | | | | | We now support async multi fragment SMBtrans calls. metze (This used to be commit 66e0c1754f14cf0100ca2d3e9c0cd8c87f9dc1e6)
* dcerpc_smb: trans->in.max_data should not depend on the smb max sizeStefan Metzmacher2008-07-071-1/+8
| | | | | | | We now support async multi fragment SMBtrans calls. metze (This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)
* libcli/raw: make multi fragmented nttrans requests possibleStefan Metzmacher2008-07-071-17/+178
| | | | | metze (This used to be commit a6aa055097313975299f214d8ebe8d45aa51d10a)
* smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher2008-07-071-2/+3
| | | | | metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
* libcli/raw: trans(2) setup count is uint8_tStefan Metzmacher2008-07-071-4/+6
| | | | | metze (This used to be commit 48ccb51caf7976ec07c8a9bfc1afd3076bf4ee22)
* libcli/raw: remove unused smbcli_request_receive_more() functionStefan Metzmacher2008-07-071-13/+0
| | | | | metze (This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)
* libcli/raw: use the new recv_helper infrastructure for trans/trans2 repliesStefan Metzmacher2008-07-071-184/+313
| | | | | metze (This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)
* libcli/raw: use the new recv_helper infrastructure for nttrans repliesStefan Metzmacher2008-07-071-102/+145
| | | | | metze (This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)
* libcli/raw: add a recv_helper hook infrastructureStefan Metzmacher2008-07-072-1/+23
| | | | | | | | | | | | 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)
* libcli/raw: the nttrans setup count is only 8-bitStefan Metzmacher2008-07-071-1/+1
| | | | | metze (This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
* smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher2008-07-071-1/+12
| | | | | | | Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
* smb_server/smb: fix crash bug with fragmented trans callsStefan Metzmacher2008-07-071-13/+20
| | | | | | | | | | | | 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)
* dcerpc.idl: the signing overhead can be more than 32 bytesStefan Metzmacher2008-07-031-1/+1
| | | | | | | | | | | | | 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)
* rpc_server: use the same chunk_size logic as we we use in the clientStefan Metzmacher2008-07-031-7/+7
| | | | | metze (This used to be commit 9ff0ce42b32bf0f1463d2cb9c2a6595f51b13d04)
* Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison2008-07-021-0/+3
| | | | | | | strlcat gives error. Jeremy. (This used to be commit e633dc4ec2d72c3d34b5e096e0460e07e07ab514)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-07-021-1/+1
|\ | | | | | | (This used to be commit b4e7063058ac8587c526dd9133aee345e99f8ef8)
| * ldap_server: allow modifies to the root dse record and pass them to the ldb ↵Stefan Metzmacher2008-07-021-1/+1
| | | | | | | | | | | | | | layer metze (This used to be commit 3da6f7f95d7c04cff49fa2312f94c059686d11e4)
* | Move ad2oLschema and oLschema2ldif into Samba4, out of LDBAndrew Bartlett2008-07-0210-174/+364
|/ | | | | | | | | | 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)
* Fill in the auxiliary classes into the dsdb_schema.Andrew Bartlett2008-07-021-3/+2
| | | | | Andrew Bartlett (This used to be commit 615564b3daec0ffe17d05599b7ec8688619f5c65)
* Collapse auxillary classes in LDAP schema conversion.Andrew Bartlett2008-07-021-4/+106
| | | | | | | | | | | 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)
* schema_fsmo: prepare auto allocation of schema oid prefixesStefan Metzmacher2008-07-012-1/+82
| | | | | | | | 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)
* schema_fsmo: move fsmo info into struct dsdb_schemaStefan Metzmacher2008-07-015-33/+20
| | | | | metze (This used to be commit 8538d305c803268c712a90879f29a2a74ba0ef03)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-07-016-32/+51
|\ | | | | | | (This used to be commit cd5e48649ce0987952b2b55ea79c3ecceecfafd5)
| * schema_fsmo: only set module->private_data in case we keep the struct for a ↵Stefan Metzmacher2008-06-301-2/+3
| | | | | | | | | | | | | | long time metze (This used to be commit 82940f6ca120026378e6deb49a07becb2d581f45)
| * drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)Stefan Metzmacher2008-06-304-24/+24
| | | | | | | | | | metze (This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
| * drsuapi.idl: remove some unknows from DsGetNCChanges()Stefan Metzmacher2008-06-301-6/+24
| | | | | | | | | | metze (This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
* | Create PREFIX/var/lib and PREFIX/var/run in 'make install'.Andrew Bartlett2008-07-011-1/+3
|/ | | | | | | | This is a problem because the location of the winbind privilaged pipe moved. Andrew Bartlett (This used to be commit 68afc2893c032be0a8a31d996f90574ceb6c10ad)
* On the way to alpha6!Andrew Bartlett2008-06-301-2/+2
| | | | (This used to be commit 97b7a521da183b63c494b395d330f70d5cd4e233)
* Merge branch '4-0-stable' into 4-0-localAndrew Bartlett2008-06-301-1/+1
|\ | | | | | | (This used to be commit 857df6e91874407f70436749e3dad13ada003e6e)
| * Mark as 'not a git snapshot'.Andrew Bartlett2008-06-301-1/+1
| | | | | | | | (This used to be commit 74e95269fcded3454253452802f404d529508ce5)
* | Ensure we install smbd as well...Andrew Bartlett2008-06-301-1/+1
|/ | | | (This used to be commit 72aaa905b3a9c71578c362554b6ab75edd2cd695)
* nbt_server/wins: don't force wins_ldb as shared_moduleStefan Metzmacher2008-06-301-1/+0
| | | | | metze (This used to be commit 861b79c91fb39b6b7f40d57000770f0f839e6c59)
* dsdb: don't force the build of ldb modules as shared_moduleStefan Metzmacher2008-06-301-23/+0
| | | | | metze (This used to be commit 3379630a91bd96a34f99ed24ac92380bd97ccb07)
* ldb_ildap: don't force the build as shared_moduleStefan Metzmacher2008-06-301-1/+0
| | | | | metze (This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)
* auth: don't force the build of auth_server as shared_moduleStefan Metzmacher2008-06-301-1/+0
| | | | | metze (This used to be commit b5187dd58ccae03e22ba8857c344a2d7d94f13b3)
* lib/talloc: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher2008-06-301-1/+1
| | | | | metze (This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
* lib/events: build as MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher2008-06-301-1/+1
| | | | | metze (This used to be commit a2a506ba2e044699d147486e987b11d839373784)
* smb_build: use MERGED_OBJ instead of STATIC_LIBRARYStefan Metzmacher2008-06-301-2/+2
| | | | | metze (This used to be commit 54b06a1c839a9af4565635011e3e624271769cc7)