summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-05-28s3:lib s3:lib move get_global_sam_name to util_names.cAndrew Bartlett2-13/+13
This doesn't really belong in util_sid.c, and has much more in common with the other functions in util_names.c Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28s3:lib split out global workgroup and netbios name functions.Andrew Bartlett2-42/+73
Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-25s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.cMichael Adam1-215/+0
2010-05-25s3:registry: move prototype registry_create_admin_token() to new header ↵Michael Adam1-0/+1
reg_util_token.h and use it only where necessary.
2010-05-25s3:registry: extract the reg_backend_db prototypes into their own header.Michael Adam1-0/+1
And use them only where needed.
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett10-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>
2010-05-21s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 typesAndrew Bartlett1-2/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-20s3-registry: support REG_DWORD_BIG_ENDIAN.Günther Deschner1-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
2010-05-20s3-registry: support REG_QWORD.Günther Deschner1-1/+16
Guenther
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-pidfile: set the close on exec flag for the created pidfiles.Günther Deschner1-0/+3
Guenther
2010-05-18s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.Günther Deschner1-0/+2
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2-35/+35
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2-10/+10
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner3-13/+13
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-9/+9
Guenther
2010-05-18s3-build: fix the build.Günther Deschner1-2/+2
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij6-23/+20
2010-05-18smbconf: only include smbconf headers where needed.Günther Deschner4-0/+9
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner2-0/+2
Guenther
2010-05-18s3-tldap: only include tldap when actually needed.Günther Deschner2-0/+3
Guenther
2010-05-08s3-passdb: moving account_pol.c into passdb.Günther Deschner1-454/+0
Guenther
2010-05-07Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison1-1/+3
next :-). Jeremy.
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner3-0/+79
where required. Guenther
2010-05-06Remove the copy of ldb from Samba 3.Jelmer Vernooij132-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].
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner6-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
2010-05-04s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.Andreas Schneider1-1/+42
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-27s3: use shared registry functions.Günther Deschner1-142/+0
Guenther
2010-04-23s3-time: Added a function to get the startup time of the server.Andreas Schneider1-0/+13
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-11s3: Move sanitize_username to lib/util_str.cVolker Lendecke1-0/+8
2010-04-10s3: Use IS_DC macro in get_global_sam_name()Volker Lendecke1-1/+1
Much as I dislike macros, this one is there. So why not use it...
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner2-11/+15
Guenther
2010-03-28s3: Remove unused bitmap_[allocate|free]Volker Lendecke1-36/+0
2010-03-28s3: A NULL context might be perfectly valid for bitmap_tallocVolker Lendecke1-2/+0
2010-03-28s3: Fix a memleak in bitmap_tallocVolker Lendecke1-0/+1
2010-03-28s3: Use TALLOC_ZERO_ARRAY in bitmap_tallocVolker Lendecke1-4/+1
2010-03-28s3: Fix the memory hierarchy in bitmap_tallocVolker Lendecke1-1/+1
2010-03-28s3: Slightly simplify logic in conv_str_sizeVolker Lendecke1-29/+33
2010-03-28s3: Fix indentation in conv_str_sizeVolker Lendecke1-2/+2
2010-03-28s3: Use tdb_transaction_start_nonblock in gencache_stabilizeVolker Lendecke1-1/+10
This avoids the thundering herd problem when 5000 smbds exit simultaneously because the network went down.
2010-03-28Revert "s3: Optimize gencache for smbd exit"Volker Lendecke1-75/+14
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283. That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.
2010-03-26s3-util_sock: Rise debug level for getpeername failed messages.Karolin Seeger1-4/+6
Don't show all getpeername failed messages in debug level 0 and 1. Karolin Signed-off-by: Volker Lendecke <vl@samba.org>
2010-03-26s3-event: switch s3 to using tevent_re_initialise()Andrew Tridgell2-8/+2
This correctly initialises the event backend, and checks for errors (thanks to Metze for suggesting this)
2010-03-25s3: Add a comment to serverid_parent_init, this is pretty confusingVolker Lendecke1-0/+6
2010-03-25s3: Add a comment to messaging_tdb_parent_init, this is pretty confusingVolker Lendecke1-0/+6
2010-03-25s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdbVolker Lendecke1-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.
2010-03-25s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdbVolker Lendecke1-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.
2010-03-25s3: Fix some nonempty blank linesVolker Lendecke1-6/+6