summaryrefslogtreecommitdiffstats
path: root/libgpo
Commit message (Collapse)AuthorAgeFilesLines
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-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
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-092-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-061-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
* Fix numerous missing dependencies in WAF build scriptsSean Finney2011-05-251-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
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-1/+1
|
* s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner2011-03-311-0/+1
| | | | Guenther
* s3-auth: use auth.h where needed.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-1/+1
| | | | Guenther
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-251-1/+1
| | | | | | This better reflects what this structure is Andrew Bartlett
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-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
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-201-1/+1
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-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
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-2/+2
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* s3-auth Use security_token_debug() from common codeAndrew Bartlett2010-10-141-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>
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-123-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
* s3:registry: move the reg_api prototypes to their own header.Michael Adam2010-09-211-0/+1
|
* s3:auth Remove NT_USER_TOKENAndrew Bartlett2010-09-116-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>
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-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>
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-registry: avoid using registry_value union.Günther Deschner2010-07-021-5/+8
| | | | | | Just pull and push data as is. Guenther
* libgpo: Use system libraries if possible.Jelmer Vernooij2010-06-132-2/+2
|
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-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>
* s3-libgpo: enable LDAP sign in ads_get_gpo_list().Günther Deschner2010-05-201-0/+4
| | | | Guenther
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-libgpo: move group policy protos to where they belong.Günther Deschner2010-05-175-3/+9
| | | | Guenther
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+6
|
* Fix NULL pointer dereference in libgpo when listing Local Policy which has ↵Wilco Baan Hofman2009-11-151-3/+4
| | | | | | no security descriptor. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix a type-punned warningVolker Lendecke2009-04-281-1/+1
|
* libgpo: use shared access bits in gpo_sd_check_agp_object().Günther Deschner2009-04-211-4/+0
| | | | Guenther
* libgpo: fix the build of gpext plugins.Günther Deschner2009-04-201-0/+3
| | | | Guenther
* libgpo: Fix some minor issues.Günther Deschner2009-04-202-1/+3
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build workWilco Baan Hofman2009-04-204-6/+19
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.Wilco Baan Hofman2009-04-203-0/+312
| | | | | | It now makes use of lib/util/param.c to parse ini files. Signed-off-by: Günther Deschner <gd@samba.org>
* Move some headers around to avoid confusion.Wilco Baan Hofman2009-04-202-1/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Adjust samba 3 to the new gpo API. Still untested code.Wilco Baan Hofman2009-04-204-27/+29
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Make the gpo files build for samba 4.Wilco Baan Hofman2009-04-205-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>
* Mark the places where work needs to be done.Wilco Baan Hofman2009-04-202-4/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct ↵Wilco Baan Hofman2009-04-207-38/+66
| | | | | | security_token. Fix build errors. Signed-off-by: Günther Deschner <gd@samba.org>
* Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() ↵Wilco Baan Hofman2009-04-205-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>
* Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.Wilco Baan Hofman2009-04-202-1/+870
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move gpo_fetch to top-level.Jelmer Vernooij2009-04-202-1/+190
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move gpo_sec to top-level.Jelmer Vernooij2009-04-203-1/+193
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move some libgpo files to root.Jelmer Vernooij2009-04-205-0/+1873
Signed-off-by: Günther Deschner <gd@samba.org>