summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: Added "user list" commandGiampaolo Lauria2011-11-101-0/+34
|
* samba-tool: Change internal argument name in domain machinepasswordGiampaolo Lauria2011-11-101-5/+5
|
* samba-tool: Fix domain machinepassword secret db searchGiampaolo Lauria2011-11-101-4/+2
| | | | | pair programmed with Jelmer Vernooij Add search to include secrets.ldb
* samba-tool: Fix domain machinepassword name searchGiampaolo Lauria2011-11-101-0/+2
| | | | | Append '$' to name provided by user to search for a machine account when necessary
* s4-test: improved error checking in samba-tool time testAndrew Tridgell2011-11-101-0/+2
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-socket: detect NULL server in socket connection codeAndrew Tridgell2011-11-101-0/+5
| | | | | | return NT_STATUS_NOT_FOUND instead of a segfault Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* test: enable time and user samba-tool testsSean Dague2011-11-101-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test: add samba-tool user testsSean Dague2011-11-101-0/+215
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test: Add samba-tool time testsSean Dague2011-11-101-0/+43
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test: add directory and base class for samba-tool testsSean Dague2011-11-102-0/+124
| | | | | | this allows for more sophisticated testing of samba-tool Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-setup Remove servicePrincipalName: DNS/${DNSDOMAIN} from new installationsAndrew Bartlett2011-11-102-2/+0
| | | | | | | | | | | | | This servicePrincipalName is incorrect (windows does not use that servicePrincipalName, as it targets the server it is updating, not the root of the DNS tree), and now that we have multiple DNS backends that use the internal database, it is quite incorrect (as it cannot exist on more than one account). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 10 01:11:46 CET 2011 on sn-devel-104
* s3-py_passdb Ensure that group mapping list input is initailisedAndrew Bartlett2011-11-091-1/+2
| | | | | | This may help to ensure we consistantly crash on an incorrect de-reference. Andrew Bartlett
* s3-passdb Initialise the correct level of pointer dereferenceAndrew Bartlett2011-11-091-1/+1
| | | | | | | | *pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett
* s4:join.py - fix up "DsAddEntry" against Windows Server 2000Matthias Dieter Wallnöfer2011-11-091-9/+18
| | | | | | | | | | | It is important to consider the result level regarding error information. Windows 2000 seems to send us back v2, all other implementations v3. Consider post "Joining W2k AD domain" Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 9 23:37:08 CET 2011 on sn-devel-104
* docs: Make clear to use the workgroup name not the realm.Andreas Schneider2011-11-091-0/+2
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 21:17:09 CET 2011 on sn-devel-104
* s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.Jelmer Vernooij2011-11-091-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
* samba_kcc: Remove unnecessary return statements.Jelmer Vernooij2011-11-071-17/+0
|
* util/time: Make some functions explicitly public.Jelmer Vernooij2011-11-031-3/+3
|
* util/time: Remove unnecessary _PUBLIC_ - that's implicit for things in ↵Jelmer Vernooij2011-11-031-44/+40
| | | | header files.
* s3:registry: prevent unnecessary transactions in regdb_initMichael Adam2011-11-091-0/+4
| | | | | | | | Skip the transaction for the upgrade code, if the database is already at code-level. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 15:06:59 CET 2011 on sn-devel-104
* s3: Use autotools to set the winbind socket directory.Andreas Schneider2011-11-092-5/+38
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104
* s3:smb2_server: grant credits in async interim responses (bug #8357)Stefan Metzmacher2011-11-091-1/+3
| | | | | | | | | | | The first fix for bug #8357 intruduced a regression, so that we no longer grant credits for real async interim responses with STATUS_PENDING. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 11:56:29 CET 2011 on sn-devel-104
* s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)Stefan Metzmacher2011-11-091-1/+1
| | | | | | | | | | | | Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
* s4-provision: Create ldap records for DNS partitions similar to windowsAmitay Isaacs2011-11-092-5/+3
| | | | | | | this allows easy comparison between windows and samba ldap trees Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 9 08:27:46 CET 2011 on sn-devel-104
* s4-provision: Set security descriptor for DNS recordsAmitay Isaacs2011-11-092-18/+103
|
* s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam2011-11-091-26/+7
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
* s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam2011-11-091-23/+3
|
* s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam2011-11-091-29/+6
|
* s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam2011-11-091-19/+3
| | | | smb2_oplock_create()
* s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam2011-11-091-18/+2
| | | | smb2_oplock_create()
* s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam2011-11-091-26/+6
| | | | smb2_lease_create_share()
* s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam2011-11-091-21/+6
| | | | smb2_oplock_create_share()
* s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam2011-11-091-2/+8
| | | | parameter
* s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam2011-11-091-2/+12
| | | | parameter
* s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam2011-11-091-7/+17
| | | | sharemode as parameter
* s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2011-11-092-54/+57
| | | | util.c for re-use
* s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam2011-11-091-38/+38
| | | | convenience
* s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2011-11-092-6/+6
|
* s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2011-11-092-35/+36
| | | | util.c for re-use
* s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2011-11-092-24/+25
|
* s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam2011-11-091-55/+34
|
* s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2011-11-092-24/+25
|
* s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam2011-11-091-0/+1
| | | | lease.multibreak test
* s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam2011-11-091-3/+7
|
* s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam2011-11-091-1/+1
| | | | | to a more reasonable name. This one must have been copied from the durable-open.lease test.
* samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2011-11-092-1/+3
| | | | | | | | | | | | | The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
* s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner2011-11-081-0/+32
| | | | | | marshalling is... Guenther
* s4:samba-tool user command - always initialise the boolean arguments properlyMatthias Dieter Wallnöfer2011-11-081-3/+3
| | | | | | | | | It they haven't been specified. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 8 22:28:38 CET 2011 on sn-devel-104
* s4:samba-tool - other fix for Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer2011-11-081-2/+2
| | | | | | | The condition has not been specified correctly since we are expecting a boolean. Pointed out by Jelmer. Reviewed-by: Jelmer
* s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher2011-11-081-4/+15
| | | | | | | | | | Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104