summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContextAmitay Isaacs1-2/+2
Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Catch exceptions at top-level and exit with correct return valueAmitay Isaacs1-1/+5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Display usage for main commands and list them alphabeticallyAmitay Isaacs1-31/+35
This makes the MainCommand class similar to SuperCommand class in netcmd. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Raise exception on errors and report using base classAmitay Isaacs1-10/+3
Exceptions are captured at top-level samba-tool and reported using the base class (Command) method show_command_error(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Display Usage line and list commands alphabeticallyAmitay Isaacs1-3/+6
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Replace C version of samba-tool with python versionAmitay Isaacs4-5/+5
C version of samba-tool is now called samba-tool-c, which will be removed as soon as all the samba-tool commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Added python version of samba-toolAmitay Isaacs1-0/+70
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4auth: Fix the object name for Py_SecurityAmitay Isaacs1-1/+1
Use the object names as <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4auth: Fix the object names for PyCredentials and PyCredentialCacheContainerAmitay Isaacs1-2/+2
Use the object names as <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4auth: Remove duplicate assignment of structure variableAmitay Isaacs1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Reimplement GPO functions in pythonAmitay Isaacs1-11/+412
Implementation of subcommands - show, getlink, setlink, dellink, getinheritance, setinheritance Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Removed newuserGiampaolo Lauria2-94/+0
Removed newuser as its functionality has been moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: updated test suite to account for newuser changeGiampaolo Lauria3-5/+5
Updated test suite invocations of newuser to "user add" as the newuser functionality is now being moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Changed "user add" implementationGiampaolo Lauria1-13/+60
Changed "user add" to use SamDB instead of Net Also, added the set of Options available in newuser Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: add -H or --URL where necessaryGiampaolo Lauria7-19/+32
To improve consistency, I've made sure all the commands take either a -H or --URL when specifying a URL Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Remove password as it has been moved to "user setpassword"Giampaolo Lauria3-176/+2
The password functionality has been moved to "user setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-27s4-dcerpc: Do not return linked attribute on deleted objects it makes W2k8R2 ↵Matthieu Patou1-1/+15
loops when joining s4 domains Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jul 27 00:46:56 CEST 2011 on sn-devel-104
2011-07-26s4-dsdb: Improve the calculation of system flags according to 3.1.1.5.2.4Matthieu Patou1-2/+3
2011-07-26s4-upgradeprovision: Detect recent provision in a more reliable wayMatthieu Patou1-1/+12
2011-07-26shares: Remove dependencies on share modules.Jelmer Vernooij1-1/+1
The build system will already pull these in - if necessary.
2011-07-26s4:samba-tool: ldapcmp needs CredentialsOptionsDoubleStefan Metzmacher1-0/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 26 17:09:32 CEST 2011 on sn-devel-104
2011-07-26libsamba-util: Build in libbitmap.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
2011-07-26policy: Rename to samba-policy to avoid name space clashes.Jelmer Vernooij3-6/+6
2011-07-26cli_composite: Lowercase name.Jelmer Vernooij4-5/+5
2011-07-26cli_smb_common: Lowercase name.Jelmer Vernooij1-2/+2
2011-07-26cli_cldap: Lowercase name.Jelmer Vernooij4-4/+4
2011-07-26s4:kdc: canonicalize the principal if HDB_F_FOR_TGS_REQ is givenStefan Metzmacher1-2/+7
Windows seems to always canonicalize the principal in TGS replies. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 26 03:25:06 CEST 2011 on sn-devel-104
2011-07-26s4:heimdal_build: hdb.asn1 needs --sequence=HDB-Ext-KeySet --sequence=KeysStefan Metzmacher1-0/+1
metze
2011-07-26s4:heimdal: import lorikeet-heimdal-201107241840 (commit ↵Stefan Metzmacher42-115/+555
0fdf11fa3cdb47df9f5393ebf36d9f5742243036)
2011-07-25s4:auth/kerberos: activate windows related krb5 flagsStefan Metzmacher1-0/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 25 09:45:01 CEST 2011 on sn-devel-104
2011-07-24s4:heimdal: build samba4kgetcredStefan Metzmacher2-0/+240
metze
2011-07-23cli_raw: Make name lowercase.Jelmer Vernooij7-11/+11
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
2011-07-23charset: Make name lowercase everywhere.Jelmer Vernooij1-1/+1
2011-07-23update TODO: net has been renamed to samba-tool.Jelmer Vernooij1-2/+1
2011-07-23scripting/bin: Some formatting fixes.Jelmer Vernooij2-4/+4
2011-07-22s4-messaging: fixed the removal of messaging sockets in child tasksAndrew Tridgell8-29/+41
when a child task exits we were firing a destructor on any inherited messaging contexts, which could trigger a removal of the parents message socket and messaging database entry. This adds a new auto_remove flag to imessaging_init(), and exposes the cleanup code for use by the stream service. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 22 08:09:06 CEST 2011 on sn-devel-104
2011-07-21s4-param: use "state directory" and "cache directory" optionsBjörn Baumbach2-9/+9
instead of "state dir" and "cache dir" in order be compatible with the source3 code. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-21samba-tool: make sure we exit with an error on a bad commandAndrew Tridgell1-1/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jul 21 04:58:01 CEST 2011 on sn-devel-104
2011-07-21dbcheck: mark the dbcheck as known-failAndrew Tridgell1-0/+1
this will fail till we correctly update backlinks to deleted objects
2011-07-21samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell1-1/+1
2011-07-21s4-selftest: added undump.sh scriptAndrew Tridgell1-0/+20
used to unpack a dumped set of provision files for selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21dbcheck: use string DN in delete when fixing broken strings DNsAndrew Tridgell1-1/+1
this prevents the extended_dn_in module from 'fixing' the DN for us Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21s4-provision: run dbcheck on a minimal set of objects in provisionAndrew Tridgell1-4/+8
this speeds up the dbcheck in provision to fix only the objects that we know will need fixing Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21s4-kcc: use dsdb_delete() instead of ldb_delete()Andrew Tridgell1-1/+1
this adds the DSDB_SEARCH_SHOW_DELETED flag, which fixes deletion of deleted objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21s4-dsdb: added dsdb_delete() functionAndrew Tridgell1-0/+30
this gives us a delete function that takes the standard set of dsdb flags Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21samba_backup: check that directory really existsMatthieu Patou1-1/+11
2011-07-21tests: Add alpha13 dumped provisionMatthieu Patou23-0/+79033
2011-07-21s4-dsdb: Use controls provided during the request while searching for object ↵Matthieu Patou1-1/+13
to delete If the parent request specify the show_deleted control we must use it in order to be able to see the deleted objects. Also we just allow to trusted connections with the system account to remove deleted objects, others receive an unwilling to perform.
2011-07-21s4-dsdb: check group membership only for non deleted objectsMatthieu Patou1-2/+9
Group membership has been already removed on deleted objects so there is no mean doing something on this kind of object.
2011-07-21s4-dsdb: change the samba3sam test to add the show_deleted moduleAndrew Tridgell1-1/+1
this is needed now that the samldb module adds the show deleted control Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>