summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09s3: fix calculation of st_blocks in init_stat_ex_from_statBjörn Jacke1-1/+1
this is just relevant for the very rare systems that don't have the st_blocks struct member. This is a fixup of the fix for bug 7474. Thanks to Joachim Schmitz for spotting this!
2010-06-08s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in ↵Günther Deschner1-1/+1
netdomjoin-gui. Patch from Buchan Milne <bgmilne@mandriva.org>. Thanks! Guenther
2010-06-07s3: fix build on platforms without st_blocks and st_blksize stat struct membersBjörn Jacke1-0/+9
This fixes bug 7474.
2010-06-07s3-lsa: Fix static list of luids in our privileges implementation.Günther Deschner1-9/+9
The high/low order changed while moving to LSA defines. Found by torture test. Guenther
2010-06-07s3-privileges: use LUID defines from lsa IDL.Günther Deschner2-15/+15
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner2-3/+3
Guenther
2010-06-03s3-security: move ALL_SECURITY_INFORMATION to the only user.Günther Deschner1-0/+7
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner1-1/+1
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner1-1/+1
Guenther
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner1-0/+1
Guenther
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner3-0/+3
Guenther
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