summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28samba-tool: updated test suite to account for newuser changeGiampaolo Lauria7-14/+14
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: update test suite to reflect the move from password to "user ↵Giampaolo Lauria2-9/+9
setpassword" This is part of the work to reflect the object-action model 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-28s3-waf: the passdb subsystem needs to be called pdbAndrew Tridgell4-30/+30
the 'pdb' name is builtin to the passdb module loading code as a fixed string. We need to call the subsystem pdb so that external passdb modules end up in bin/modules/pdb/ where they can be found by the Samba3 module loader Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-28Use existing ISDOT and ISDOTDOT macros.Jeremy Allison1-2/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jul 28 02:09:20 CEST 2011 on sn-devel-104
2011-07-28nbt: fix WinXP S3 domain join: alignment of nbt_netlogon_response_from_pdcAndrew Bartlett1-1/+1
This fixes WinXP joining a Samba3 domain, which was broken on hosts with an even number of characters in the host name. The alignment requested in the structure was ignored because of the overall NDR_NOALIGN set on the packet. Andrew Bartlett Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jul 28 00:30:26 CEST 2011 on sn-devel-104
2011-07-27s3: Avoid calls to cli_dos/nt_error in tortureVolker Lendecke1-20/+19
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 27 23:07:51 CEST 2011 on sn-devel-104
2011-07-27s3: Fix formatting in check_error()Volker Lendecke1-3/+6
2011-07-27s3:test_async_echo: unsure the desired smb message sequenceStefan Metzmacher1-0/+10
We want to start sending echo requests once the rpc related smb operation arrived the smb layer. metze
2011-07-27s3:modules fix Bug 8330 NFSv4 ACL merging logic is brokenChristian Ambach1-2/+1
we should not merge ACEs with different flags (e.g. CI/OI/I/) Otherwise ACLs get wrong entries and thus wrong semantics Example: ACL:BUILTIN\Users:ALLOWED/0x0/FULL ACL:BUILTIN\Users:ALLOWED/I/READ got merged to ACL:BUILTIN\Users:ALLOWED/I/FULL This is not the same and also leads to wrong displays in the Windows ACL dialog Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Jul 27 16:03:51 CEST 2011 on sn-devel-104
2011-07-27s3-spoolss: Use get_session_info_system().Andreas Schneider1-19/+2
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Jul 27 10:38:34 CEST 2011 on sn-devel-104
2011-07-27s3-spoolss: Free the info2 structure in _spoolss_GetPrinter.Andreas Schneider1-0/+1
2011-07-27s3-spoolss: Use tmp_ctx everywhere in _spoolss_DeletePrinterDriverEx.Andreas Schneider1-6/+6
2011-07-27s3-spoolss: Use tmp_ctx in winreg_enum_printer_key_internal.Andreas Schneider1-7/+20
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_deleteform1_internal.Andreas Schneider1-4/+17
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_setform1_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_addform1_internal.Andreas Schneider1-4/+17
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_getform1_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_enumforms1_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_set_printer_secdesc_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_get_printer_secdesc_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_add_driver_internal.Andreas Schneider1-6/+19
2011-07-27s3-spoolss: Use tmp_ctx in winreg_del_driver_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_get_driver_list_internal.Andreas Schneider1-7/+20
2011-07-27s3-spoolss: Use tmp_ctx in winreg_get_driver_internal.Andreas Schneider1-7/+20
2011-07-27s3-spoolss: Use tmp_ctx in winreg_delete_printer_dataex_internal.Andreas Schneider1-6/+19
2011-07-27s3-spoolss: Use tmp_ctx in winreg_get_printer_dataex_internal.Andreas Schneider1-9/+22
2011-07-27s3-spoolss: Use tmp_ctx in winreg_enum_printer_dataex_internal.Andreas Schneider1-7/+20
2011-07-27s3-spoolss: Use tmp_ctx in winreg_set_printer_dataex_internal.Andreas Schneider1-9/+22
2011-07-27s3-spoolss: Use tmp_ctx in winreg_update_printer_internal.Andreas Schneider1-8/+21
2011-07-27s3-spoolss: Use tmp_ctx in winreg_create_printer_internal.Andreas Schneider1-4/+17
2011-07-27s3-spoolss: Use tmp_ctx in winreg_get_printer_internal.Andreas Schneider1-5/+17
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_get_changeid_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Use tmp_ctx in winreg_printer_update_changeid_internal.Andreas Schneider1-4/+17
2011-07-27s3-spoolss: Use tmp_ctx in winreg_delete_printer_key_internal.Andreas Schneider1-5/+18
2011-07-27s3-spoolss: Free local in winreg_printer_binding_handle.Andreas Schneider1-0/+1
2011-07-27s3-spoolss: Improve memory efficiency.Simo Sorce1-158/+242
p->mem_ctx is a relatively long lived context as it will not be freed until a full request is served. In spoolss we do a lot of operations including opening new pipes to connect to winreg. Use more shortlived temporary contexts to avoid leaking a lot of memory on p->mem_ctx and carrying it around untill all the operations in the current call are done. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-27s3-rpc_client: Fix memory context in winreg_enum_printer_dataex().Andreas Schneider1-3/+2
2011-07-27s3-rpc_client: Close policy handles before creating defaults.Andreas Schneider1-0/+15
We reopen the hive and key so close them before reopen.
2011-07-27s3-rpc_client: Close the hive handle before we open it again.Andreas Schneider1-9/+13
2011-07-27s3-rpc_client: Close hive if opening of the key fails.Andreas Schneider1-1/+11
2011-07-27s3-rpc_server: Copy correct local tsocket address.Andreas Schneider1-1/+1
2011-07-27s3:idmap_tdb2: remove the undocumented option of the silly name "tdb:idmap2.tdb"Michael Adam1-5/+1
In ancient times, when ctdb had not support for persistent databases and tdb2 was introduced as a two-layer solution and it was more important than today to be able to change the location of the permanent database file because it had to reside on shared storage. But these were times when idmap_tdb2 was not even officially released. Nowadays, with ctdb handling the persistent idmap2.tdb database, the path is stripped anyways, so this undocumented option has become unnecessary and is hence removed. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 27 05:37:57 CEST 2011 on sn-devel-104
2011-07-27s3:idmap_tdb2: remove a legacy commentMichael Adam1-1/+0
2011-07-27s3:idmap_tdb2: remove legacy commentMichael Adam1-2/+0
2011-07-27s3:idmap_tdb2: remove superfluous initialization with bogus commentMichael Adam1-3/+0
2011-07-27s3:idmap_tdb2: fix a legacy comment that does not apply any moreMichael Adam1-2/+1
2011-07-27s3:doc: add an example with idmap script to the idmap_tdb2 manpageMichael Adam1-0/+12