summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-08-02samba-tool: Don't install -c version, which is now deprecated.Jelmer Vernooij1-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Aug 2 04:53:39 CEST 2011 on sn-devel-104
2011-08-02dbcheck: Cancel transaction if operation fails.Jelmer Vernooij1-10/+15
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Aug 2 01:41:07 CEST 2011 on sn-devel-104
2011-08-01acl: Improve error message when setting acls fails.Jelmer Vernooij1-4/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Aug 1 18:59:12 CEST 2011 on sn-devel-104
2011-08-01remove unnecessary dependency on 'events' from ldb modules.Jelmer Vernooij1-35/+35
2011-08-01heimdal_build: Use krb5-config to find heimdal include directory and library ↵Jelmer Vernooij1-2/+19
path, rather than hardcoding.
2011-08-01winsif.idl: fix comment about a pidl bugStefan Metzmacher1-2/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Aug 1 17:47:05 CEST 2011 on sn-devel-104
2011-08-01s4-upgradeprovision: try to fix the detection of @provision recordMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Aug 1 13:43:50 CEST 2011 on sn-devel-104
2011-07-31s4-kcc: correctly populate the neighbor object when taking information from ↵Matthieu Patou1-0/+3
repsTo Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Jul 31 00:17:17 CEST 2011 on sn-devel-104
2011-07-29samba-tool: use ldb.binary_encode() on search expression elementsAndrew Tridgell9-24/+27
this allows us to deal with search elements containing characters that must be escaped in LDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-29samba-tool: fixed binary encoding of usernames in setpasswordAndrew Tridgell1-2/+2
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-29s4-auth Fill in the remainder of the unix info in auth_session_infoAndrew Bartlett2-5/+45
Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 29 05:33:03 CEST 2011 on sn-devel-104
2011-07-29s4-auth Move conversion of security_token to unix_token to authAndrew Bartlett8-61/+129
This allows us to honour the AUTH_SESSION_INFO_UNIX_TOKEN flag. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29gensec: Add a way to request a unix token from GENSECAndrew Bartlett3-5/+14
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29ntvfs: Use security_unix_token from auth.idlAndrew Bartlett1-24/+16
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29s4-lsa Use the supplied handle in LsaLookupNames2Andrew Bartlett1-5/+5
In my rework of this function in 2006 with 459a2301a5d63f5a1a6b27996c8a0358b20f2ab2 I ignored the incoming handle, instead feching the LSA state again (dispite the commit message indicating otherwise). This means that data->access_mask is uninitialised, which doesn't matter right now, but will once we start checking that. Andrew Bartlett
2011-07-29s4-debug: Start with DEBUG_DEFAULT_STDOUT, so we can log to a file in deamonsAndrew Bartlett1-1/+1
In commit 3c9d01e3e58e2217915317406541ac8c6f6dcf92 I changed the priority order and added DEBUG_DEFAULT_STDOUT, but did not check all the callers. Andrew Bartlett
2011-07-28samba-tool: ensure prompting of passwords is in the right orderAndrew Tridgell1-1/+3
ask the creds object for the password before prompting for the new password in the user password change code, to ensure the user is asked for the old password first Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jul 28 08:35:45 CEST 2011 on sn-devel-104
2011-07-28samba-tool: Added gpo fetch command implementation using python smb module.Amitay Isaacs1-0/+94
To copy the GPO files, use libcli python interface list() to get directory listing and loadfile() to read the contents of the file. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Change samba-tool gpo semantics (use gpo name instead of dn)Amitay Isaacs1-78/+124
Instead of using gpo dn as the key to refer to a gpo, use the gpo name as the key. If no URL is specified (-H option), find a writable DC and use that. Extract a commonly used method as get_gpo_info() to find details of a GPO. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libcli: Initialize stack structure variables to zero.Amitay Isaacs1-14/+45
Update do_smb_connect function to return NTSTATUS rather than raise python exception on error. Error checking done in py_smb_new(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Add user password command to change user's own passwordAmitay Isaacs1-0/+33
This command is a user-level command and differs from setpassword command which is administrator command. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libnet: py_net Add change_password() python commandAmitay Isaacs1-0/+53
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libnet: py_net - Remove parsing for credentials argumentAmitay Isaacs1-5/+6
py_creds are not used anywhere in the function. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28samba-tool: Python routine to find writable/ldap-capable DCAmitay Isaacs1-0/+13
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s4-libcli: Added python interface for file I/O using SMBAmitay Isaacs2-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>
2011-07-28samba-tool: For samba-tool-c, help lists commands implemented only in CAmitay Isaacs1-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>
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