summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-14s4-dsdb: minimise the DN in group expansionAndrew Tridgell1-0/+5
this DN we have came from an extended DN search, which means it may have multiple extended components. We need to minimise the DN before AD will accept it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14ldb: added ldb_dn_minimise()Andrew Tridgell2-0/+64
this removes any extraneous components from a DN. For an extended DN, this means removing the string DN and all but the first extended component. This is needed as AD returns "invalid syntax" if you don't use a minimal DN as the base DN for a search. A non-minimal DN also doesn't ever match in a search expression. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14s4-dns: renamed DNS_TYPE_ZERO to DNS_TYPE_TOMBSTONEAndrew Tridgell2-6/+7
we now know that these are tombstone records, with a timestamp Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14s4-dsdb: validate number of extended componentsAndrew Tridgell1-2/+10
this checks that the number of extended components in a DN is valid, to match MS AD behaviour. We need to do this to ensure that our tools don't try to do operations that will be invalid when used against MS servers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14ldb: added ldb_dn_get_extended_comp_num()Andrew Tridgell3-1/+10
this returns the number of extended components. We need this to validate a DN in the extended_dn_in module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14s4-samba_tool Added ACL checking to python GPO management toolAndrew Bartlett1-8/+26
2011-01-14libcli/security Add python bindings for se_access_checkAndrew Bartlett2-0/+89
Andrew Bartlett
2011-01-14pyldb Simplify python wrappers for struct ldb_val (LdbValue)Andrew Bartlett1-17/+4
Andrew Bartlett
2011-01-14s4-auth Add get and set methods for auth_session_info python wrapperAndrew Bartlett2-7/+73
This allows the session key, security_token and credentials to be manipulated from python. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-01-14s4-auth Add function to obtain any user's session_info from a given LDBAndrew Bartlett6-81/+209
This will be a building block for a tokenGroups test, which can compare against a remote server (in particular the rootDSE) against what we would calculate the tokenGroups to be. (this meant moving some parts out of the auth_sam code into the containing library) Andrew Bartlett
2011-01-14s4-auth use new dsdb_expand_nested_groups()Andrew Bartlett2-152/+11
This isn't quite as good as using tokenGroups, but that is only available for BASE searches, and this isn't how the all the callers work at the moment. Andrew Bartlett
2011-01-14s4-dsdb Implement tokenGroups expansion directly in ldb operational moduleAndrew Bartlett3-30/+269
This removes a silly cross-dependency between the ldb moudle stack and auth/ Andrew Bartlett
2011-01-13Fix bug #7909 - map SYNCHRONIZE acl permission statically in zfs_acl vfs module.Paul B. Henson2-1/+6
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jan 13 20:02:32 CET 2011 on sn-devel-104
2011-01-13security: Fixed incorrect indentation in create_descriptor.cNadezhda Ivanova1-12/+12
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Jan 13 15:53:16 CET 2011 on sn-devel-104
2011-01-13s3-build: remove RPCCLI_WINREG subsystem.Günther Deschner1-2/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Thu Jan 13 15:06:36 CET 2011 on sn-devel-104
2011-01-13s3-waf: remove RPCCLI_WINREG subsystem.Günther Deschner1-6/+2
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net_registry: prefer dcerpc_winreg_X functions.Günther Deschner1-100/+273
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_winreg_X functions.Günther Deschner1-7/+18
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-spoolss: no need to include cli_winreg header anymore.Günther Deschner1-1/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpcclient: prefer dcerpc_winreg_X functions.Günther Deschner1-8/+13
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-build: remove RPCCLI_SRVSVC subsystem.Günther Deschner1-2/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-waf: remove RPCCLI_SRVSVC subsystem.Günther Deschner1-11/+7
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpcclient: prefer dcerpc_srvsvc_X functions.Günther Deschner1-28/+90
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_srvsvc_X functions.Günther Deschner1-13/+44
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-smbtree: prefer dcerpc_srvsvc_X functions.Günther Deschner1-2/+5
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-lanman: prefer dcerpc_srvsvc_X functions.Günther Deschner1-3/+9
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-libsmbclient: prefer dcerpc_srvsvc_X functions.Günther Deschner1-4/+18
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-smbclient: prefer dcerpc_srvsvc_X functions.Günther Deschner1-2/+5
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-libnetapi: prefer dcerpc_srvsvc_X functions.Günther Deschner3-15/+86
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-build: remove RPCCLI_NETLOGON subsystem.Günther Deschner1-2/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-waf: remove RPCCLI_NETLOGON subsystem.Günther Deschner1-5/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpcclient: prefer dcerpc_netr_X functions.Günther Deschner1-27/+82
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-winbind: prefer dcerpc_netr_X functions.Günther Deschner4-28/+61
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpc_client: prefer dcerpc_netr_X functions.Günther Deschner1-27/+65
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: prefer dcerpc_netr_X functions.Günther Deschner1-5/+13
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-libnet: prefer dcerpc_netr_X functions.Günther Deschner2-11/+19
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-libnetapi: prefer dcerpc_netr_X functions.Günther Deschner2-13/+32
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: remove some pointless fstrings in "net rpc service".Günther Deschner1-12/+3
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_scm().Günther Deschner1-123/+59
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-net: restructure "net rpc service" and add open_service().Günther Deschner1-75/+49
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-build: remove RPCCLI_SVCCTL subsystem.Günther Deschner1-2/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-waf: remove RPCCLI_SVCCTL subsystem.Günther Deschner1-5/+1
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-svcctl: prefer dcerpc_svcctl_X functions.Günther Deschner1-68/+254
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s4:torture/nbench/nbench.c - initialise "n"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104
2011-01-12s4:dns_server/dlz_bind9.c - initialise "ret" variablesMatthias Dieter Wallnöfer1-2/+2
2011-01-12s4:extended_dn_out LDB module - initialise "have_reveal_control"Matthias Dieter Wallnöfer1-1/+1
2011-01-12s4:librpc/rpc/dcerpc_connect.c - fix uninitialised variableMatthias Dieter Wallnöfer1-0/+1
2011-01-12ldb:ltdb_sequence_number - initialise "tmp_ctx" to prevent uninitialisation ↵Matthias Dieter Wallnöfer1-1/+2
warning
2011-01-12ldb:ldbsearch.c - fix possible uninitialised variableMatthias Dieter Wallnöfer1-2/+2
And add a comparison for the "ret" result - this is more standard-oriented
2011-01-12torture:drs/rpc/msds_intid.c - proof for the correct "intId"Matthias Dieter Wallnöfer1-1/+1
"drs_attr" is uninitialised in this loop