summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-11-10s4-setup Remove servicePrincipalName: DNS/${DNSDOMAIN} from new installationsAndrew Bartlett2-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
2011-11-09s4:join.py - fix up "DsAddEntry" against Windows Server 2000Matthias Dieter Wallnöfer1-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
2011-11-09s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.Jelmer Vernooij1-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
2011-11-07samba_kcc: Remove unnecessary return statements.Jelmer Vernooij1-17/+0
2011-11-09s4-provision: Create ldap records for DNS partitions similar to windowsAmitay Isaacs2-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
2011-11-09s4-provision: Set security descriptor for DNS recordsAmitay Isaacs2-18/+103
2011-11-09s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam1-26/+7
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam1-23/+3
2011-11-09s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam1-29/+6
2011-11-09s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam1-19/+3
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam1-18/+2
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam1-26/+6
smb2_lease_create_share()
2011-11-09s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam1-21/+6
smb2_oplock_create_share()
2011-11-09s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam1-2/+8
parameter
2011-11-09s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam1-2/+12
parameter
2011-11-09s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam1-7/+17
sharemode as parameter
2011-11-09s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2-54/+57
util.c for re-use
2011-11-09s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam1-38/+38
convenience
2011-11-09s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2-6/+6
2011-11-09s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2-35/+36
util.c for re-use
2011-11-09s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2-24/+25
2011-11-09s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam1-55/+34
2011-11-09s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2-24/+25
2011-11-09s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam1-0/+1
lease.multibreak test
2011-11-09s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam1-3/+7
2011-11-09s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam1-1/+1
to a more reasonable name. This one must have been copied from the durable-open.lease test.
2011-11-09samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner1-0/+2
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
2011-11-08s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner1-0/+32
marshalling is... Guenther
2011-11-08s4:samba-tool user command - always initialise the boolean arguments properlyMatthias Dieter Wallnöfer1-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
2011-11-08s4:samba-tool - other fix for Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer1-2/+2
The condition has not been specified correctly since we are expecting a boolean. Pointed out by Jelmer. Reviewed-by: Jelmer
2011-11-08s4-provision: site is passed as an argument to setup_ad_dns()Amitay Isaacs1-1/+0
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 06:07:46 CET 2011 on sn-devel-104
2011-11-08s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett5-48/+21
We do not support the LDAP backend any more, but keep the code in case someone comes up with an interesting use case that could leverage this in a very particular situation. In order to keep the code, we must test it, so we keep just this much of the support around. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 8 04:33:49 CET 2011 on sn-devel-104
2011-11-08s4-s3-upgrade Add my copyrightAndrew Bartlett1-0/+1
2011-11-08s4-smb_server No longer follow the security=share smb.conf directiveAndrew Bartlett5-24/+2
By ignoring the value of security= from the smb.conf, we can allow this to instead set the value of 'server role' in a manner compatible with the Samba 3.x release stream. Andrew Bartlett
2011-11-08s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs1-2/+15
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
2011-11-08s4-dnsserver: Fix enumeration of zones in ComplexOperation RPC callAmitay Isaacs1-49/+84
zone_request_flags are interpreted in different groups rather than a single group. This correctly returns 0 zones when there are no reverse zones and DNS_ZONE_REQUEST_REVERSE is set in zone_request_flags.
2011-11-07s4:samba-tool - fix Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer1-4/+5
The new "random-password" parameter has not been evaluated correctly. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 7 19:35:05 CET 2011 on sn-devel-104
2011-11-07Add a --random-password option to user create command.Gémes Géza1-4/+16
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-11-07s4: samba-tool user --help documenation improvementsTheresa Halloran2-7/+146
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 7 01:39:25 CET 2011 on sn-devel-104
2011-11-07kcc: fixed program nameAndrew Tridgell1-3/+3
kcccompute -> samba_kcc
2011-11-07kcc: fixed tabs/spaces in kcc python implementationAndrew Tridgell2-18/+18
as spotted by autobuild
2011-11-07samba_kcc addtionDave Craft3-1/+705
Scaffolding and initial implementations of portions of the KCC in python. This code currently properly computes the graph nodes for the intrasite topology as well as enumerating all steps for a full run of the KCC. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-07add python KCC utility classes and methodsDave Craft1-0/+890
New file source4/scripting/python/samba/kcc_utils.py contains classes and methods for: DirectoryServiceAgent NTDSConnection GraphNode NamingContext NCReplica These are consumed by a new samba_kcc python script for KCC topology computation Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-07python dsdb flag addtions (NTDSSETTINGS, NTDSCONN)Dave Craft1-0/+27
Add missing flags present in C code base to python code base dsdb/pydsdb.c INSTANCE_TYPE... DS_NTDSSETTINGS_OPT... NTDSCONN_OPT... These are consumed by the python KCC scripts Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-06Some formatting fixes, remove unused imports.Jelmer Vernooij3-13/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
2011-11-06s4-resolver: fix bug with DNS servers returning AAAA records when asked for ↵Matthieu Patou1-2/+4
A records Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 6 03:18:00 CET 2011 on sn-devel-104
2011-11-04s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin1-1/+1
2011-11-04s4 dns: Handle QCLASS_NONE queriesKai Blin1-0/+5
2011-11-04s4 dns: Support DNS_QTYPE_ALL queriesKai Blin1-109/+59
2011-11-04dns: Build the python bindingsKai Blin1-0/+6