summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.cMichael Adam2010-05-251-215/+0
|
* s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam2010-05-251-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 Adam2010-05-251-0/+1
| | | | And use them only where needed.
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-2110-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 typesAndrew Bartlett2010-05-211-2/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-registry: support REG_DWORD_BIG_ENDIAN.Günther Deschner2010-05-201-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 Deschner2010-05-201-1/+16
| | | | Guenther
* s3-rpc_client: move protos to init_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-pidfile: set the close on exec flag for the created pidfiles.Günther Deschner2010-05-181-0/+3
| | | | Guenther
* s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.Günther Deschner2010-05-181-0/+2
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-182-35/+35
| | | | Guenther
* s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2010-05-182-10/+10
| | | | Guenther
* s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2010-05-183-13/+13
| | | | Guenther
* s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner2010-05-181-9/+9
| | | | Guenther
* s3-build: fix the build.Günther Deschner2010-05-181-2/+2
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-186-23/+20
|
* smbconf: only include smbconf headers where needed.Günther Deschner2010-05-184-0/+9
| | | | Guenther
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-182-0/+2
| | | | Guenther
* s3-tldap: only include tldap when actually needed.Günther Deschner2010-05-182-0/+3
| | | | Guenther
* s3-passdb: moving account_pol.c into passdb.Günther Deschner2010-05-081-454/+0
| | | | Guenther
* Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison2010-05-071-1/+3
| | | | | | next :-). Jeremy.
* s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner2010-05-063-0/+79
| | | | | | where required. Guenther
* Remove the copy of ldb from Samba 3.Jelmer Vernooij2010-05-06132-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 Deschner2010-05-066-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 Schneider2010-05-041-1/+42
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: use shared registry functions.Günther Deschner2010-04-271-142/+0
| | | | Guenther
* s3-time: Added a function to get the startup time of the server.Andreas Schneider2010-04-231-0/+13
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Move sanitize_username to lib/util_str.cVolker Lendecke2010-04-111-0/+8
|
* s3: Use IS_DC macro in get_global_sam_name()Volker Lendecke2010-04-101-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 Deschner2010-04-092-11/+15
| | | | Guenther
* s3: Remove unused bitmap_[allocate|free]Volker Lendecke2010-03-281-36/+0
|
* s3: A NULL context might be perfectly valid for bitmap_tallocVolker Lendecke2010-03-281-2/+0
|
* s3: Fix a memleak in bitmap_tallocVolker Lendecke2010-03-281-0/+1
|
* s3: Use TALLOC_ZERO_ARRAY in bitmap_tallocVolker Lendecke2010-03-281-4/+1
|
* s3: Fix the memory hierarchy in bitmap_tallocVolker Lendecke2010-03-281-1/+1
|
* s3: Slightly simplify logic in conv_str_sizeVolker Lendecke2010-03-281-29/+33
|
* s3: Fix indentation in conv_str_sizeVolker Lendecke2010-03-281-2/+2
|
* s3: Use tdb_transaction_start_nonblock in gencache_stabilizeVolker Lendecke2010-03-281-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 Lendecke2010-03-281-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 Seeger2010-03-261-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 Tridgell2010-03-262-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 confusingVolker Lendecke2010-03-251-0/+6
|
* s3: Add a comment to messaging_tdb_parent_init, this is pretty confusingVolker Lendecke2010-03-251-0/+6
|
* s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdbVolker Lendecke2010-03-251-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.tdbVolker Lendecke2010-03-251-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 linesVolker Lendecke2010-03-251-6/+6
|
* s3: Optimize gencache for smbd exitVolker Lendecke2010-03-241-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 Allison2010-03-221-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.