summaryrefslogtreecommitdiffstats
path: root/source4/libgpo
Commit message (Collapse)AuthorAgeFilesLines
* Rename libgpo to lib/policy to avoid confusion with samba3 and add waf buildWilco Baan Hofman2010-06-203-650/+0
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo list function for listing applicable GPO's for users/machines.Wilco Baan Hofman2010-06-202-34/+228
| | | | | | | | | | | | Implements: * Hierarchical listing through all parent containers * security ACL checking on the GPO * User/computer disabled flags on the GPO * gPLink disabled * gPLink enforced * Block inheritance on the container Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gPLink and getgpo functionality to net gpo.Wilco Baan Hofman2010-06-202-53/+299
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Created net gpo and new libgpo for samba 4. This adds the init function ↵Wilco Baan Hofman2010-06-207-668/+210
| | | | | | | | | | which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC. Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-231-1/+1
| | | | | | | | | This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
* Move some headers around to avoid confusion.Wilco Baan Hofman2009-04-201-2/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move some headers around to avoid confusion.Wilco Baan Hofman2009-04-201-0/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Make the gpo files build for samba 4.Wilco Baan Hofman2009-04-204-0/+286
| | | | | | 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>
* Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct ↵Wilco Baan Hofman2009-04-202-0/+29
| | | | | | 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-202-20/+60
| | | | | | | | 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-0/+309
Signed-off-by: Günther Deschner <gd@samba.org>