summaryrefslogtreecommitdiff
path: root/libgpo
AgeCommit message (Collapse)AuthorFilesLines
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2-2/+2
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2-3/+3
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_ARRAY() to talloc_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-1/+2
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-05-25Fix numerous missing dependencies in WAF build scriptsSean Finney1-1/+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-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-1/+1
2011-03-31s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: use auth.h where needed.Günther Deschner2-0/+2
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-1/+1
Guenther
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett1-1/+1
This better reflects what this structure is Andrew Bartlett
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-1/+1
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke1-1/+1
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-7/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-2/+2
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
2010-10-14s3-auth Use security_token_debug() from common codeAndrew Bartlett1-1/+1
This prints the security token including the privileges as strings instead of just a bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett3-1/+3
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-09-21s3:registry: move the reg_api prototypes to their own header.Michael Adam1-0/+1
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett6-27/+27
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-1/+1
size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-08-05s3: avoid global include of ads.h.Günther Deschner1-0/+1
Guenther
2010-07-02s3-registry: avoid using registry_value union.Günther Deschner1-5/+8
Just pull and push data as is. Guenther
2010-06-13libgpo: Use system libraries if possible.Jelmer Vernooij2-2/+2
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-5/+5
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-20s3-libgpo: enable LDAP sign in ads_get_gpo_list().Günther Deschner1-0/+4
Guenther
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner5-3/+9
Guenther
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+6
2009-11-15Fix NULL pointer dereference in libgpo when listing Local Policy which has ↵Wilco Baan Hofman1-3/+4
no security descriptor. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-28Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-21libgpo: use shared access bits in gpo_sd_check_agp_object().Günther Deschner1-4/+0
Guenther
2009-04-20libgpo: fix the build of gpext plugins.Günther Deschner1-0/+3
Guenther
2009-04-20libgpo: Fix some minor issues.Günther Deschner2-1/+3
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build workWilco Baan Hofman4-6/+19
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 Hofman3-0/+312
It now makes use of lib/util/param.c to parse ini files. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move some headers around to avoid confusion.Wilco Baan Hofman2-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Adjust samba 3 to the new gpo API. Still untested code.Wilco Baan Hofman4-27/+29
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make the gpo files build for samba 4.Wilco Baan Hofman5-58/+126
Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Mark the places where work needs to be done.Wilco Baan Hofman2-4/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct ↵Wilco Baan Hofman7-38/+66
security_token. Fix build errors. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() ↵Wilco Baan Hofman5-17/+178
function to samba 3. Move prototypes to root libgpo where appropriate. gpo_ldap.c now compiles for both samba 3 and 4. 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 Hofman2-1/+870
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move gpo_fetch to top-level.Jelmer Vernooij2-1/+190
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move gpo_sec to top-level.Jelmer Vernooij3-1/+193
Signed-off-by: Günther Deschner <gd@samba.org>