summaryrefslogtreecommitdiff
path: root/source3/libgpo
AgeCommit message (Collapse)AuthorFilesLines
2011-07-23s3-libgpo/gpo_filesync.c: return on read errorBjörn Baumbach1-2/+6
replace cli_read_old() with cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach1-1/+1
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-21lib/util Remove samba-util-common!Andrew Bartlett1-1/+1
All of this code is now in common, so we don't need the second '-common' library any more! Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett4-11/+11
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-31s3:libgpo/gpo_proto.h: add _LIBGPO_GPO_PROTO_H_ guardMichael Adam1-0/+5
2011-05-31s3:libgpo/gpo_proto.h: add GPL/Copyright headerMichael Adam1-0/+19
2011-05-25Fix numerous missing dependencies in WAF build scriptsSean Finney1-0/+1
With the recent consolidation of code between s3 and s4, a number of new dependencies have been implicitly introduced. For example, previous s3 code gained an implicit dependency on talloc after the charset related consolidation (lib/util/charset/charset.h now includes talloc.h). When building against the embedded version of talloc this isn't a problem since the paths are automatically added to the search path, but when building against the external libraries build failures will occur for all components that don't directly or indirectly include talloc as a dependency. Since charset.h is included from util.h, which in turn is included from includes.h, this means most of the codebase (s3 and s4) has such an undeclared dependency. Therefore, samba-util-common and samba-util have been added as dependencies to the s3 and s4 code respectively, for all cases where the source would otherwise fail to build. Additionally, a few other dependencies are added in specific wscript_build files to address similar dependency-related problems. https://bugzilla.samba.org/show_bug.cgi?id=8128 Signed-off-by: Sean Finney <seanius@seanius.net> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-2/+2
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-2/+2
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2-0/+2
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell1-4/+4
this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-01s3-waf: avoid module name uppercasing.Günther Deschner1-6/+6
This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
2010-10-29Fix bug #7700 - Improvement of return code of smbclientJeremy Allison1-15/+15
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-08s3-waf: slowly getting modules to match how they look like in old build.Günther Deschner1-7/+7
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 8 09:31:01 UTC 2010 on sn-devel-104
2010-09-28s3-waf: fix dependencies in most of our module subsystems.Günther Deschner1-1/+0
Guenther
2010-09-27s3-waf: link PReg parser only in registry client side extension.Günther Deschner1-0/+1
Guenther
2010-09-27s3-waf: move gpext subsystem to libgpo/gpext/wscript_build.Günther Deschner1-0/+33
Guenther
2010-09-22s3:registry: remove unneeded TALLOC_CTX argument from reg_deletekey_recursiveMichael Adam2-3/+3
2010-09-21s3-libgpo: fix the build of scripts client side extension.Günther Deschner1-0/+1
Guenther
2010-09-21s3:registry: move prototypes from reg_init_basic.c to their own header.Michael Adam1-0/+1
2010-09-21s3:registry: move the reg_api prototypes to their own header.Michael Adam1-0/+1
2010-09-20s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam1-0/+1
The reg_api.c code should just export functions that direclty relate to winreg api calls.
2010-09-11s3-privs Directly manipulate the privileges bitmap.Andrew Bartlett1-1/+1
There is no longer any reason to go via the se_ functions to manipulate this bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change struct nt_user_token -> struct security_tokenAndrew Bartlett5-21/+21
This common structure is defined in security.idl Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-31s3-auth Rename NT_USER_TOKEN privileges -> privilege_maskAndrew Bartlett1-1/+1
This is closer to the struct security_token from security.idl Andrew Bartlett
2010-08-31s3-auth Rename NT_USER_TOKEN user_sids -> sidsAndrew Bartlett1-8/+8
This is closer to the struct security_token from security.idl
2010-08-04s3: Convert cli_list() to return NTSTATUSVolker Lendecke1-7/+7
If needed, the callback functions can count themselves
2010-07-27s3: Remove a typedef (struct file_info)Volker Lendecke1-2/+2
2010-07-07s3-libgpo: remove handmarshalled PReg parser from registry CSE.Günther Deschner1-294/+48
Guenther
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner3-44/+63
Just pull and push data as is. Guenther
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 Bartlett2-9/+9
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-18s3-secdesc: use SD_REVISION from security.idl.Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-1/+1
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner3-0/+3
Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner6-2/+89
Guenther
2010-04-27s3: use shared registry functions.Günther Deschner1-2/+2
Guenther
2009-05-03Fix Coverity ID 913 (NEGATIVE_RETURNS) -- gd, please check!Volker Lendecke1-2/+2
2009-04-30Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison1-3/+3
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
2009-04-20libgpo: fix the build of gpext plugins.Günther Deschner3-9/+10
Guenther
2009-04-20Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build workWilco Baan Hofman2-14/+21
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.Wilco Baan Hofman2-278/+0
It now makes use of lib/util/param.c to parse ini files. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.Wilco Baan Hofman1-866/+0
Signed-off-by: Günther Deschner <gd@samba.org>