summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* samba-tool: Fix error handling in SuperCommand classGiampaolo Lauria2011-07-211-2/+11
| | | | | | | Created show_command_error method to handle errors in SuperCommand Removed statement in SuperCommand to raise exception Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: improved Option list for all user commandsGiampaolo Lauria2011-07-211-10/+7
| | | | | | Added metavar values for -H and added some default values for other options Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: added error handling for the user commandGiampaolo Lauria2011-07-211-10/+21
| | | | | | Caught exception whenever possible, added new check for newpassword to make sure it contains some chars Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fixed drs commands synopsisGiampaolo Lauria2011-07-211-5/+5
| | | | | | Added [options] as needed Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fixed samba-tool user syntaxAndrew Tridgell2011-07-211-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: fixed synopsis on user commandsGiampaolo Lauria2011-07-211-1/+1
| | | | | | Fixed all synopsis to contain [options], filter, and username Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fixed synopsis on all "user" commandsGiampaolo Lauria2011-07-211-4/+8
| | | | | | Added [options] where needed, fixed others where filter or username was needed, renamed name to username Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: moved takes_optiongroups definition to Command base classGiampaolo Lauria2011-07-2119-240/+23
| | | | | | | | | | The option groups should be defined at the Command base class level as they are in common across all samba-tool commands. Major move advantages: 1. more OOP approach 2. enforcing consistency across commands 3. avoiding the need of declaring for every new command Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed the assignment to parser.progGiampaolo Lauria2011-07-211-1/+0
| | | | | | The prog should only be set if we want it to be different than the name of the program that executed it. I think that for better portability we should not set it and let it default to samba-tool. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fixed prog name in samba-toolGiampaolo Lauria2011-07-211-1/+1
| | | | | | Changed the prog name from net to samba-tool so that the usage statement is now correct Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update vampire.py messageGiampaolo Lauria2011-07-211-1/+1
| | | | | | The update was necessary to reflect the move from join to domain join as part of the object-action work Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed join as it has been replaced by domain joinGiampaolo Lauria2011-07-212-80/+0
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: moved join to domain joinGiampaolo Lauria2011-07-211-1/+57
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed export as it has been moved to domain dumpkeysGiampaolo Lauria2011-07-212-58/+0
| | | | | | The functionality of export has been moved to domain dumpkeys to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: moved export to domain dumpkeysGiampaolo Lauria2011-07-211-0/+23
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: updated test suite to reflect the move from domainlevel to ↵Giampaolo Lauria2011-07-211-1/+1
| | | | | | | | domain level The test suite needs to reflect the change from domailevel to "domain level" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed domainlevel as it has been moved to domain levelGiampaolo Lauria2011-07-212-249/+0
| | | | | | The functionality of domainlevel has been moved the "domain level" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: moved domainlevel to domain levelGiampaolo Lauria2011-07-211-0/+201
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed machinepw as it has been moved to domain machinepasswordGiampaolo Lauria2011-07-212-58/+0
| | | | | | The functionality of machinepwd has been moved to "domain machinepassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: moved machinepw to domain machinepasswordGiampaolo Lauria2011-07-211-1/+37
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite for the new domain objectGiampaolo Lauria2011-07-211-1/+1
| | | | | | Changed test suite to reflect the changes from setpassword to "domain setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed pwsettingsGiampaolo Lauria2011-07-211-197/+0
| | | | | | pwsettings functionality has been moved to user passwordsettings to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: created domain object, moved pwsettings to user passwordsettingsGiampaolo Lauria2011-07-212-2/+214
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: update test suite for add setpasswordGiampaolo Lauria2011-07-213-7/+5
| | | | | | The test suite needs to change from setpassword to "user setpassword" to reflect the new cmd syntax Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: removed setpassword.pyGiampaolo Lauria2011-07-211-80/+0
| | | | | | The functionality in setppasword has now been moved to "user setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: added setpassword to userGiampaolo Lauria2011-07-211-2/+58
| | | | | | This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: fix summary of the fsmo command to be clearerGiampaolo Lauria2011-07-211-1/+1
| | | | | | fsmo command is for general FSMO management Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:kdc: restore the behavior before the last heimdal importStefan Metzmacher2011-07-201-8/+16
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 20 12:12:38 CEST 2011 on sn-devel-104
* selftest: Add tests to verify that the named pipe proxy works.Andrew Bartlett2011-07-201-0/+7
| | | | | | | | | This verifies that for NTLM authenticated connections, named pipe forwarding works as expected, including the session keys. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* auth: Split out make_user_info_SamBaseInfo and add authenticated argumentAndrew Bartlett2011-07-204-3/+10
| | | | | | | | | This will allow the source3 auth code to call this without needing to double-parse the SIDs Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-param Handle P_CHAR and P_BOOLREV in pyparamAndrew Bartlett2011-07-201-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-lsa: prepare dcesrv_lsa_CreateTrustedDomain_base() to deal with ↵Günther Deschner2011-07-151-15/+16
| | | | | | | | | unencrypted auth info. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 15 19:57:48 CEST 2011 on sn-devel-104
* s4-smbtorture: add very basic tests for lsa_CreateTrustedDomainEx.Günther Deschner2011-07-151-21/+79
| | | | Guenther
* lsa: lsa_CreateTrustedDomainEx takes lsa_TrustDomainInfoAuthInfo, notGünther Deschner2011-07-151-1/+6
| | | | | | lsa_TrustDomainInfoAuthInfoInternal. Guenther
* lsa: rename auth info argument in lsa_CreateTrustedDomainEx2Günther Deschner2011-07-153-5/+5
| | | | Guenther
* s4:kdc: set *_strongest_*_key to true to restore the old behaviorStefan Metzmacher2011-07-151-0/+13
| | | | | | | | | TODO: check why this is needed. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 15 12:26:25 CEST 2011 on sn-devel-104
* s4:auth/credentials: with the build after heimdal importStefan Metzmacher2011-07-151-0/+1
| | | | metze
* s4:heimdal_build: define HAVE_KRB5_PDU_NONE_DECLStefan Metzmacher2011-07-151-0/+1
| | | | metze
* s4:heimdal: add missing filesStefan Metzmacher2011-07-156-1/+642
| | | | metze
* s4:heimdal: import lorikeet-heimdal-201107150856 (commit ↵Stefan Metzmacher2011-07-15312-2505/+3559
| | | | 48936803fae4a2fb362c79365d31f420c917b85b)
* s4:heimdal_build: we need k5crypto and gssapi_krb5 aliases also when using ↵Stefan Metzmacher2011-07-141-13/+7
| | | | | | system libraries metze
* s4:heimdal_build: only maintain lib/gssapi/{spnego,krb5} file lists onceStefan Metzmacher2011-07-141-90/+67
| | | | | | | This also makes sure we only create private headers if we use internal heimdal. metze
* s4:heimdal_build: provide HEIMDAL_UNUSED_ATTRIBUTEStefan Metzmacher2011-07-141-0/+2
| | | | metze
* s4-winbind handle all values for server roleAndrew Bartlett2011-07-141-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Jul 14 08:20:13 CEST 2011 on sn-devel-104
* s4-param finish services hooks for s4->s3 loadparm contextAndrew Bartlett2011-07-142-2/+30
|
* s4-param cope with parameters of type charAndrew Bartlett2011-07-141-0/+12
|
* Add intrasite code test switchDave Craft2011-07-142-0/+9
| | | | | | | | | | | | | | kcc_service struct gets a intrasite_code boolean that is filled in via parametric parameter kccsrv:intrasite = [true/false] in smb.conf. This will allow us to continue to utilize old simple KCC topology as continuing default while newer intra-site topology matures further. Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jul 14 00:19:12 CEST 2011 on sn-devel-104
* Add kccsrv_add_repsFrom() possibility of NULL res argumentDave Craft2011-07-141-2/+2
| | | | | | | | | | | | We need the ability to utilize this function in a different manner. KCC intra-site topology has already vetted the replica as being appropriate to produce a repsFrom from. We do not want kccsrv_add_repsFrom() to produce further checking as was the case for simple topology. Thus if we pass a NULL (res) parameter this extra check will be skipped. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Remove static to allow availability to other KCC filesDave Craft2011-07-141-4/+4
| | | | | | | | kccsrv_replica_flags() and kccsrv_add_repsFrom() need to be available to functions outside kcc_periodic.c Signed-off-by: Andrew Tridgell <tridge@samba.org>
* kcc_connection invocation_id added to structDave Craft2011-07-141-0/+1
| | | | | | | | | | Utilized by KCC to carry the invocation id of the NTDSDSA that we are replicating the name context from. Utilized when NTDSConnection is created (much like dsa_guid tracks the NTDSDSA objectGUID that we are replicating the name context from). Signed-off-by: Andrew Tridgell <tridge@samba.org>