Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c | Michael Adam | 2010-05-25 | 1 | -215/+0 |
| | |||||
* | s3:registry: move prototype registry_create_admin_token() to new header ↵ | Michael Adam | 2010-05-25 | 1 | -0/+1 |
| | | | | | | reg_util_token.h and use it only where necessary. | ||||
* | s3:registry: extract the reg_backend_db prototypes into their own header. | Michael Adam | 2010-05-25 | 1 | -0/+1 |
| | | | | And use them only where needed. | ||||
* | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 2010-05-21 | 10 | -120/+120 |
| | | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types | Andrew Bartlett | 2010-05-21 | 1 | -2/+2 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3-registry: support REG_DWORD_BIG_ENDIAN. | Günther Deschner | 2010-05-20 | 1 | -1/+3 |
| | | | | | | | Just treat it as a REG_DWORD for now. Long term all these checks will need to pass away, once we get a real registry... Guenther | ||||
* | s3-registry: support REG_QWORD. | Günther Deschner | 2010-05-20 | 1 | -1/+16 |
| | | | | Guenther | ||||
* | s3-rpc_client: move protos to init_samr.h | Günther Deschner | 2010-05-18 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-rpc_client: move protos to cli_lsarpc.h | Günther Deschner | 2010-05-18 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-rpc_client: move protos to cli_samr.h | Günther Deschner | 2010-05-18 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-pidfile: set the close on exec flag for the created pidfiles. | Günther Deschner | 2010-05-18 | 1 | -0/+3 |
| | | | | Guenther | ||||
* | s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user. | Günther Deschner | 2010-05-18 | 1 | -0/+2 |
| | | | | Guenther | ||||
* | s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". | Günther Deschner | 2010-05-18 | 2 | -35/+35 |
| | | | | Guenther | ||||
* | s3-secdesc: remove "typedef struct security_acl SEC_ACL". | Günther Deschner | 2010-05-18 | 2 | -10/+10 |
| | | | | Guenther | ||||
* | s3-secdesc: remove "typedef struct security_ace SEC_ACE". | Günther Deschner | 2010-05-18 | 3 | -13/+13 |
| | | | | Guenther | ||||
* | s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF". | Günther Deschner | 2010-05-18 | 1 | -9/+9 |
| | | | | Guenther | ||||
* | s3-build: fix the build. | Günther Deschner | 2010-05-18 | 1 | -2/+2 |
| | | | | Guenther | ||||
* | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 2010-05-18 | 6 | -23/+20 |
| | |||||
* | smbconf: only include smbconf headers where needed. | Günther Deschner | 2010-05-18 | 4 | -0/+9 |
| | | | | Guenther | ||||
* | s3-registry: only include registry headers when really needed. | Günther Deschner | 2010-05-18 | 2 | -0/+2 |
| | | | | Guenther | ||||
* | s3-tldap: only include tldap when actually needed. | Günther Deschner | 2010-05-18 | 2 | -0/+3 |
| | | | | Guenther | ||||
* | s3-passdb: moving account_pol.c into passdb. | Günther Deschner | 2010-05-08 | 1 | -454/+0 |
| | | | | Guenther | ||||
* | Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵ | Jeremy Allison | 2010-05-07 | 1 | -1/+3 |
| | | | | | | next :-). Jeremy. | ||||
* | s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵ | Günther Deschner | 2010-05-06 | 3 | -0/+79 |
| | | | | | | where required. Guenther | ||||
* | Remove the copy of ldb from Samba 3. | Jelmer Vernooij | 2010-05-06 | 132 | -38549/+246 |
| | | | | | There were two utility functions that other parts of Samba 3 still relied on; they have been moved to lib/ldb_compat.[ch]. | ||||
* | s3: only include gen_ndr headers where needed. | Günther Deschner | 2010-05-06 | 6 | -2/+4 |
| | | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | ||||
* | s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function. | Andreas Schneider | 2010-05-04 | 1 | -1/+42 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3: use shared registry functions. | Günther Deschner | 2010-04-27 | 1 | -142/+0 |
| | | | | Guenther | ||||
* | s3-time: Added a function to get the startup time of the server. | Andreas Schneider | 2010-04-23 | 1 | -0/+13 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3: Move sanitize_username to lib/util_str.c | Volker Lendecke | 2010-04-11 | 1 | -0/+8 |
| | |||||
* | s3: Use IS_DC macro in get_global_sam_name() | Volker Lendecke | 2010-04-10 | 1 | -1/+1 |
| | | | | Much as I dislike macros, this one is there. So why not use it... | ||||
* | s3: add iconv_convenience handle to pull/push sz helpers. | Günther Deschner | 2010-04-09 | 2 | -11/+15 |
| | | | | Guenther | ||||
* | s3: Remove unused bitmap_[allocate|free] | Volker Lendecke | 2010-03-28 | 1 | -36/+0 |
| | |||||
* | s3: A NULL context might be perfectly valid for bitmap_talloc | Volker Lendecke | 2010-03-28 | 1 | -2/+0 |
| | |||||
* | s3: Fix a memleak in bitmap_talloc | Volker Lendecke | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | s3: Use TALLOC_ZERO_ARRAY in bitmap_talloc | Volker Lendecke | 2010-03-28 | 1 | -4/+1 |
| | |||||
* | s3: Fix the memory hierarchy in bitmap_talloc | Volker Lendecke | 2010-03-28 | 1 | -1/+1 |
| | |||||
* | s3: Slightly simplify logic in conv_str_size | Volker Lendecke | 2010-03-28 | 1 | -29/+33 |
| | |||||
* | s3: Fix indentation in conv_str_size | Volker Lendecke | 2010-03-28 | 1 | -2/+2 |
| | |||||
* | s3: Use tdb_transaction_start_nonblock in gencache_stabilize | Volker Lendecke | 2010-03-28 | 1 | -1/+10 |
| | | | | | This avoids the thundering herd problem when 5000 smbds exit simultaneously because the network went down. | ||||
* | Revert "s3: Optimize gencache for smbd exit" | Volker Lendecke | 2010-03-28 | 1 | -75/+14 |
| | | | | | | This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283. That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it. | ||||
* | s3-util_sock: Rise debug level for getpeername failed messages. | Karolin Seeger | 2010-03-26 | 1 | -4/+6 |
| | | | | | | | | Don't show all getpeername failed messages in debug level 0 and 1. Karolin Signed-off-by: Volker Lendecke <vl@samba.org> | ||||
* | s3-event: switch s3 to using tevent_re_initialise() | Andrew Tridgell | 2010-03-26 | 2 | -8/+2 |
| | | | | | | This correctly initialises the event backend, and checks for errors (thanks to Metze for suggesting this) | ||||
* | s3: Add a comment to serverid_parent_init, this is pretty confusing | Volker Lendecke | 2010-03-25 | 1 | -0/+6 |
| | |||||
* | s3: Add a comment to messaging_tdb_parent_init, this is pretty confusing | Volker Lendecke | 2010-03-25 | 1 | -0/+6 |
| | |||||
* | s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdb | Volker Lendecke | 2010-03-25 | 1 | -0/+16 |
| | | | | | | In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | ||||
* | s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdb | Volker Lendecke | 2010-03-25 | 1 | -0/+16 |
| | | | | | | In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | ||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2010-03-25 | 1 | -6/+6 |
| | |||||
* | s3: Optimize gencache for smbd exit | Volker Lendecke | 2010-03-24 | 1 | -14/+75 |
| | | | | | | | | If thousands of smbds try to gencache_stabilize at the same time because the network died, all of them might be sitting in transaction_start. Don't do the stabilize transaction if nothing has changed in gencache_notrans.tdb. Volker | ||||
* | share_info.tdb could use non-canonicalized sharenames. | Jeremy Allison | 2010-03-22 | 1 | -14/+143 |
| | | | | | | | | Fix this by moving canonicalization into lib/sharesec.c. Update the db version to 3. Ensures we always find share names with security descriptors attached. Jeremy. |