summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-libnet: py_net Add change_password() python commandAmitay Isaacs2011-07-281-0/+53
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-libnet: py_net - Remove parsing for credentials argumentAmitay Isaacs2011-07-281-5/+6
| | | | | | py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Python routine to find writable/ldap-capable DCAmitay Isaacs2011-07-281-0/+13
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-libcli: Added python interface for file I/O using SMBAmitay Isaacs2011-07-282-0/+393
| | | | | | | | | This module will support file system access using SMB. based on smb_composite - loadfile(), savefile() based on raw - getacl(), setacl() Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: For samba-tool-c, help lists commands implemented only in CAmitay Isaacs2011-07-281-1/+1
| | | | | | | | The rest of the commands are available in python version of samba-tool. C version of samba-tool is for testing only and will be phased out once all the commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContextAmitay Isaacs2011-07-281-2/+2
| | | | | | | Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Catch exceptions at top-level and exit with correct return valueAmitay Isaacs2011-07-281-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Display usage for main commands and list them alphabeticallyAmitay Isaacs2011-07-281-31/+35
| | | | | | This makes the MainCommand class similar to SuperCommand class in netcmd. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Raise exception on errors and report using base classAmitay Isaacs2011-07-281-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>
* samba-tool: Display Usage line and list commands alphabeticallyAmitay Isaacs2011-07-281-3/+6
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Replace C version of samba-tool with python versionAmitay Isaacs2011-07-284-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>
* samba-tool: Added python version of samba-toolAmitay Isaacs2011-07-281-0/+70
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4auth: Fix the object name for Py_SecurityAmitay Isaacs2011-07-281-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>
* s4auth: Fix the object names for PyCredentials and PyCredentialCacheContainerAmitay Isaacs2011-07-281-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>
* s4auth: Remove duplicate assignment of structure variableAmitay Isaacs2011-07-281-1/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Reimplement GPO functions in pythonAmitay Isaacs2011-07-281-11/+412
| | | | | | | Implementation of subcommands - show, getlink, setlink, dellink, getinheritance, setinheritance Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Removed newuserGiampaolo Lauria2011-07-282-94/+0
| | | | | | Removed newuser as its functionality has been moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: updated test suite to account for newuser changeGiampaolo Lauria2011-07-283-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>
* samba-tool: Changed "user add" implementationGiampaolo Lauria2011-07-281-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>
* samba-tool: add -H or --URL where necessaryGiampaolo Lauria2011-07-287-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>
* samba-tool: Remove password as it has been moved to "user setpassword"Giampaolo Lauria2011-07-283-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>
* s4-dcerpc: Do not return linked attribute on deleted objects it makes W2k8R2 ↵Matthieu Patou2011-07-271-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
* s4-dsdb: Improve the calculation of system flags according to 3.1.1.5.2.4Matthieu Patou2011-07-261-2/+3
|
* s4-upgradeprovision: Detect recent provision in a more reliable wayMatthieu Patou2011-07-261-1/+12
|
* shares: Remove dependencies on share modules.Jelmer Vernooij2011-07-261-1/+1
| | | | The build system will already pull these in - if necessary.
* s4:samba-tool: ldapcmp needs CredentialsOptionsDoubleStefan Metzmacher2011-07-261-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 26 17:09:32 CEST 2011 on sn-devel-104
* libsamba-util: Build in libbitmap.Jelmer Vernooij2011-07-261-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
* policy: Rename to samba-policy to avoid name space clashes.Jelmer Vernooij2011-07-263-6/+6
|
* cli_composite: Lowercase name.Jelmer Vernooij2011-07-264-5/+5
|
* cli_smb_common: Lowercase name.Jelmer Vernooij2011-07-261-2/+2
|
* cli_cldap: Lowercase name.Jelmer Vernooij2011-07-264-4/+4
|
* s4:kdc: canonicalize the principal if HDB_F_FOR_TGS_REQ is givenStefan Metzmacher2011-07-261-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
* s4:heimdal_build: hdb.asn1 needs --sequence=HDB-Ext-KeySet --sequence=KeysStefan Metzmacher2011-07-261-0/+1
| | | | metze
* s4:heimdal: import lorikeet-heimdal-201107241840 (commit ↵Stefan Metzmacher2011-07-2642-115/+555
| | | | 0fdf11fa3cdb47df9f5393ebf36d9f5742243036)
* s4:auth/kerberos: activate windows related krb5 flagsStefan Metzmacher2011-07-251-0/+10
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 25 09:45:01 CEST 2011 on sn-devel-104
* s4:heimdal: build samba4kgetcredStefan Metzmacher2011-07-242-0/+240
| | | | metze
* cli_raw: Make name lowercase.Jelmer Vernooij2011-07-237-11/+11
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
* charset: Make name lowercase everywhere.Jelmer Vernooij2011-07-231-1/+1
|
* update TODO: net has been renamed to samba-tool.Jelmer Vernooij2011-07-231-2/+1
|
* scripting/bin: Some formatting fixes.Jelmer Vernooij2011-07-232-4/+4
|
* s4-messaging: fixed the removal of messaging sockets in child tasksAndrew Tridgell2011-07-228-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
* s4-param: use "state directory" and "cache directory" optionsBjörn Baumbach2011-07-212-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>
* samba-tool: make sure we exit with an error on a bad commandAndrew Tridgell2011-07-211-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
* dbcheck: mark the dbcheck as known-failAndrew Tridgell2011-07-211-0/+1
| | | | this will fail till we correctly update backlinks to deleted objects
* samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell2011-07-211-1/+1
|
* s4-selftest: added undump.sh scriptAndrew Tridgell2011-07-211-0/+20
| | | | | | used to unpack a dumped set of provision files for selftest Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* dbcheck: use string DN in delete when fixing broken strings DNsAndrew Tridgell2011-07-211-1/+1
| | | | | | this prevents the extended_dn_in module from 'fixing' the DN for us Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: run dbcheck on a minimal set of objects in provisionAndrew Tridgell2011-07-211-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>
* s4-kcc: use dsdb_delete() instead of ldb_delete()Andrew Tridgell2011-07-211-1/+1
| | | | | | | this adds the DSDB_SEARCH_SHOW_DELETED flag, which fixes deletion of deleted objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added dsdb_delete() functionAndrew Tridgell2011-07-211-0/+30
| | | | | | | this gives us a delete function that takes the standard set of dsdb flags Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>