summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-312-37/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett2011-05-311-26/+28
| | | | | | This makes it easier to see what the actual differences here are. Andrew Bartlett
* heimdal: Remove getprogname and setprogname from the heimdal importAndrew Bartlett2011-05-312-139/+0
|
* heimdal_build: Don't use heimdal's getprogname() and setprogname()Andrew Bartlett2011-05-312-6/+17
| | | | | | | Writing into an __progname variable spooks me, and if we use the local variable, then we duplciate the system one, which fails SYMBOLCHECK Andrew Bartlett
* s4:torture: fix SEGFAULT in raw.acl.dynamicGregor Beck2011-05-301-7/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:samldb LDB module - check if the RODC group exists if creating an RODCMatthias Dieter Wallnöfer2011-05-251-13/+43
| | | | | | | | | | Older AD deployments simply don't have it and hence there is no RODC support. Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 10:26:37 CEST 2011 on sn-devel-104
* s4:samldb LDB module - better to call "samldb_prim_group_trigger"Matthias Dieter Wallnöfer2011-05-251-1/+1
| | | | | | | "samldb_prim_group_trigger" which as a wrapper calls "samldb_prim_group_change" for a LDB modify operation. Reviewed-by: abartlet
* s4:samldb LDB module - convert a "dsdb_module_search" into ↵Matthias Dieter Wallnöfer2011-05-251-5/+2
| | | | | | | | "dsdb_module_search_dn" It saves us from checking the number of returned entries. Reviewed-by: abartlet
* s4:sam.py - uncomment/enhance some account type testsMatthias Dieter Wallnöfer2011-05-251-30/+48
| | | | Reviewed-by: abartlet
* s4:samldb LDB modules - only objectClass "computer" is allowed to embed all ↵Matthias Dieter Wallnöfer2011-05-251-3/+33
| | | | | | types of account Reviewed-by: abartlet
* s4:sam.py - tests for "isCriticalSystemObject" attributeMatthias Dieter Wallnöfer2011-05-251-0/+132
| | | | Reviewed-by: abartlet
* s4:samldb LDB module - fix "isCriticalSystemObject" behaviourMatthias Dieter Wallnöfer2011-05-251-3/+22
| | | | | | | Tests against Windows Server show that it gets set to "FALSE" (not deleted) if we change the account type to a domain member. Reviewed-by: abartlet
* s4:sam.py - unchanged "primaryGroupID" when account type remains the sameMatthias Dieter Wallnöfer2011-05-251-0/+38
| | | | | | Enhance the testcase with a workstation example. Reviewed-by: abartlet
* s4:samldb LDB module - fix the behaviour when changing the "userAccountControl"Matthias Dieter Wallnöfer2011-05-251-14/+31
| | | | | | | | | | Ekacnet was not quite right yet but his patch made me think further. This primary group changing is only needed if the account type changes. With this patch we do one more search if the "userAccountControl" changes but we save us from doing these unneeded and wrong modify replace operations most of the time. Reviewed-by: abartlet
* s4-provision Use correct tkey-gssapi-credentialAndrew Bartlett2011-05-252-2/+4
| | | | | | | | We changed to ${DNSNAME} (the fully qualified domain name) a while back, and while it's usually functionally idential to the previous setting, this breaks down if there is more than one DNS server. Andrew Bartlett
* selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2011-05-251-80/+80
| | | | | | | | | | | | Except in one case (where we mark printing tests as knownfail), this has all our regular expressions start with ^, which ensures we don't accidentially mix up the samba3/samba4 prefix here. Because of the particular values in these files at the moment, this should not change the set of tests, but it will help to ensure that future edits follow the correct pattern. Andrew Bartlett
* s4:sam.py - add tests to check that setting "userAccountValue" on usersdon't ↵Matthieu Patou2011-05-211-2/+40
| | | | | | | | | | | | impact the "primaryGroupID" attribute Notice: The domain administrators groups isn't referenced as "Domain Admins" since this name could differ. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat May 21 19:19:57 CEST 2011 on sn-devel-104
* s4:samldb LDB module - don't change the "primaryGroupId" on LDB ↵Matthieu Patou2011-05-211-1/+16
| | | | | | modifications unless we are a computer/dc/rodc Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4:lsa RPC server - handle LDB flags as "unsigned"Matthias Dieter Wallnöfer2011-05-211-1/+1
| | | | Signed-off-by: Metze
* s4:ldb-samba/ldb_wrap.*-dsdb/samdb/samdb.c - handle LDB connection flags as ↵Matthias Dieter Wallnöfer2011-05-213-7/+7
| | | | | | | | unsigned The LDB API ("ldb_connect") prescribes that they should be "unsigned". Signed-off-by: Metze
* ldb:pyldb.c - all flags should be unsignedMatthias Dieter Wallnöfer2011-05-211-10/+10
| | | | | | Adapt it to the previous commits Reviewed-by: Jelmer + Metze
* ldb:ldb_sqlite3.c - all LDB flags should be handled as "unsigned"Matthias Dieter Wallnöfer2011-05-211-2/+3
| | | | Signed-off-by: Metze
* ldb:tools/cmdline.c + tools/ldbtest.c - the connection flags are typed as ↵Matthias Dieter Wallnöfer2011-05-212-2/+2
| | | | | | "unsigned" Signed-off-by: Metze
* ldb:ldbtest.c - make more use of LDB constantsMatthias Dieter Wallnöfer2011-05-211-4/+4
| | | | Signed-off-by: Metze
* s4:torture - always cast correctly when using the "%x" format string argumentMatthias Dieter Wallnöfer2011-05-212-6/+6
| | | | Signed-off-by: Metze
* s4:auth/ntlmssp/ntlmssp_server.c - add "const" in front of "dnsdomain"Matthias Dieter Wallnöfer2011-05-211-1/+1
| | | | Signed-off-by: Metze
* add a demo script for dirsyncMatthieu Patou2011-05-211-0/+156
| | | | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 15:40:26 CEST 2011 on sn-devel-104
* s4-dsdb: add unit tests for dirsync controlMatthieu Patou2011-05-213-0/+716
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: implementation of the dirsync controlMatthieu Patou2011-05-213-0/+1369
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: introduce dsdb_module_search_treeMatthieu Patou2011-05-211-24/+63
| | | | | | | | | With this function your own search tree can be specified This function is similar to ldb_build_search_req_ex as it allows to pass a parse tree structure. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: relax a bit the checks on read acl when dirsync control is specifiedMatthieu Patou2011-05-211-12/+42
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: create flag for requesting ACL relax in case of DIRSYNC requestMatthieu Patou2011-05-211-0/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: do not change the critical flag when it's on a dirsync controlMatthieu Patou2011-05-211-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4: add blackbox test for renameMatthieu Patou2011-05-211-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104
* upgradeprovision: add hostname in the blackbox testsMatthieu Patou2011-05-211-1/+1
|
* Make the purge first so that the provision can reused during testsMatthieu Patou2011-05-211-3/+3
|
* Add a script for renaming a DCMatthieu Patou2011-05-211-0/+200
|
* s4-python: Remove not used importsMatthieu Patou2011-05-212-7/+4
|
* s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou2011-05-215-113/+112
| | | | namespace as it can be used not only for upgradeprovision
* torture-dfs: fix a typo that was causing the test to be flackyMatthieu Patou2011-05-201-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri May 20 09:39:12 CEST 2011 on sn-devel-104
* selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett2011-05-185-0/+170
|
* s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett2011-05-184-49/+21
| | | | | | | | libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
* build: Expand dcerpc-samba grouping libraryAndrew Bartlett2011-05-181-1/+1
| | | | | | | This is possible in common now because the generated RPC code does not rely on a particular dcerpc layer. Andrew Bartlett
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-181-2/+3
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
* s4-selftest: gensec test is finished, don't skipAndrew Bartlett2011-05-181-1/+0
|
* selftest: Don't skip Samba3 tests in the top level buildAndrew Bartlett2011-05-181-56/+64
| | | | | | | | | The regular expressions here were not specific enough, they matched the samba3. names from the source3/selftest/tests.py Found by Andreas Schneider Andrew Bartlett
* torture: desactivate the level 4 tests for DFS referralMatthieu Patou2011-05-181-2/+17
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed May 18 13:04:00 CEST 2011 on sn-devel-104
* s4-dfs: Add workaround so that XP really works wellMatthieu Patou2011-05-181-13/+18
| | | | | XP seems to have problems working at a correct speed (or even working at all if we return referral of level 4).
* s4:ntvfs/cifs: return NT_STATUS_INTERNAL_ERROR if no credentials are availableStefan Metzmacher2011-05-181-1/+1
| | | | | | | | | | This is a configuration problem on the server, no invalid parameter from the client. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 08:49:00 CEST 2011 on sn-devel-104
* s4:kdc: split s4u2self and s4u2proxy checksStefan Metzmacher2011-05-184-23/+55
| | | | metze