summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Move kdc_get_policy helper in the lsa server where it belongs.Simo Sorce2012-04-207-96/+44
| | | | | | | | | | | | | | | | This was used in only 2 places, db-glue.c and the lsa server. In db-glue.c it is awkward though, as it forces to use an unconvenient lsa structure and conversions from time_t to nt_time only to have nt_times converted back to time_t for actual use. This is silly. Also the kdc-policy file was a single funciton library, that's just ridiculous. The loadparm helper is all we need to keep the values consistent, and if we ever end up doing something with group policies we will care about it when it's the time. the code would have to change quite a lot anyway. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Fri Apr 20 01:53:37 CEST 2012 on sn-devel-104
* Use loadparm helper to find lifetime defaultsSimo Sorce2012-04-191-6/+10
| | | | Implictly fixes buggy use of int for time_t
* Move README file in the right place.Simo Sorce2012-04-191-4/+0
| | | | Someone forgot to move the README when they moved the code ...
* s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntaclAndrew Bartlett2012-04-191-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 20:51:16 CEST 2012 on sn-devel-104
* Added number of FSMO roles owned by the server we are trying to demote.Daniele Dario2012-04-191-1/+1
|
* s4-provision: Always give the warning if we are using eadb. It really ↵Andrew Bartlett2012-04-191-3/+6
| | | | should be for testing only
* waf: Fix mispellingSimo Sorce2012-04-191-1/+1
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
* Fix Error messagesSimo Sorce2012-04-191-4/+2
|
* s4-kcc: avoid a false alarm with rodcMatthieu Patou2012-04-191-0/+7
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Apr 19 12:32:58 CEST 2012 on sn-devel-104
* samba_spnupdate: don't try to register DNS related SPN if we are not ↵Matthieu Patou2012-04-191-1/+24
| | | | | | | | mastering the NC For RW DC the impact is pretty small but for RODC the whole SPN set is rejected by the target DC as RODC hasn't the right to register DNS SPN if it is not mastering this NC.
* dbcheck: Add a check that every FSMO role has a valid ownerAndrew Bartlett2012-04-191-0/+41
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 07:49:54 CEST 2012 on sn-devel-104
* s4-samba-tool: Fix samba-tool fsmo seizeAndrew Bartlett2012-04-192-46/+51
| | | | | | This is currently untested, and a restructure broke it. Andrew Bartlett
* s4-s3upgrade: Do not ever set a domain-wide maxPwdAge of 0Andrew Bartlett2012-04-191-1/+1
| | | | | | This means no-expiry in s3, and so we must treat it like -1. Andrew Bartlett
* s4-s3upgrade: Ignore (with warning) groups that are listed but we cannot ↵Andrew Bartlett2012-04-191-2/+14
| | | | list members for
* Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilitiesJeremy Allison2012-04-181-0/+37
| | | | | | | before doing POSIX calls like chmod. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 18 23:14:40 CEST 2012 on sn-devel-104
* Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison2012-04-183-0/+94
| | | | SMB_SET_CIFS_UNIX_INFO.
* s4-torture: Fix the raw.notify mask testVolker Lendecke2012-04-181-0/+4
| | | | | | | | | | When we do the notify triggers via a different client connection, adding the notify record becomes subject to a race. Add a dummy operation after the initial changenotify request was sent to make sure the notify record actually arrived. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 19:47:53 CEST 2012 on sn-devel-104
* s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke2012-04-181-19/+20
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke2012-04-181-3/+9
| | | | This makes the test more interesting in a cluster
* s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke2012-04-181-6/+13
| | | | This makes the test more interesting in a cluster
* s4:torture:smb2: add a session.reauth2 test.Michael Adam2012-04-181-0/+93
| | | | | | | | | | | * open a file, * reauth anonymously * try to access file via handle * reauth as user * try to access file again Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
* s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam2012-04-181-1/+1
| | | | The original name seems to have come in via copy and paste.
* s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam2012-04-181-2/+2
| | | | More tests reauth? will follow...
* s4-torture: notify all is empty nowVolker Lendecke2012-04-181-19/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
* s4-torture: Separate out the notify alignment subtestVolker Lendecke2012-04-181-4/+9
|
* s4-torture: Separate out the notify basedir subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify overflow subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tree subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify double subtestVolker Lendecke2012-04-181-2/+7
|
* s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify ulogoff subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify exit subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify tdis subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify file subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify mask_change subtestVolker Lendecke2012-04-181-2/+9
|
* s4-torture: Separate out the notify recursive subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify mask subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Separate out the notify dir subtestVolker Lendecke2012-04-181-3/+9
|
* s4-torture: Separate out the notify tcon subtestVolker Lendecke2012-04-181-2/+8
|
* s4-torture: Make notify a suiteVolker Lendecke2012-04-182-4/+13
|
* dbcheck: added fix for incorrect RMD_FLAGSAndrew Tridgell2012-04-181-0/+35
| | | | | | | | | | this fixes the case where a DN link has RMD_FLAGS=0 for a link inside a deleted object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 18 09:19:41 CEST 2012 on sn-devel-104
* dsdb: added SHOW_DELETED to samldb_member_check()Andrew Tridgell2012-04-181-1/+1
| | | | | | | when dbcheck is fixing DNs, it will sometimes operated on a deleted DN link Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:dbchecker.py - integrate the "objectClass" fixing codeMatthias Dieter Wallnöfer2012-04-181-0/+27
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:dsdb/pydsdb.c - call the "objectClass" normalisation code from PythonMatthias Dieter Wallnöfer2012-04-181-0/+14
| | | | | | | This allows the dbchecker to fix ordering/inconsistency problems with the mentioned attribute. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett2012-04-181-9/+16
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
* s4-python: Add python wrapper for xattr_tdb format xattr storageAndrew Bartlett2012-04-184-34/+208
| | | | | | | This uses the format used by the vfs_xattr_tdb module. The s4 posix:eadb format is kept, just in a new file and module. Andrew Bartlett
* s4:samdb:rootdse: implement the schemaUpgradeInProgress operation in ldap modifyMichael Adam2012-04-184-0/+37
| | | | | | | | | | | This is preliminary in that it is implemented as a no-op for a start just to be able to successfully answer the request, which seems to be sufficient in order to e.g. survive the exchange schema extensions. Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 02:48:28 CEST 2012 on sn-devel-104
* s4-schema: set subClassOf by default to top if not specifiedMatthieu Patou2012-04-181-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-schema: remove unused variableMatthieu Patou2012-04-181-4/+0
|
* s4-schema: Generate some schema related attribute as MS AD is doing if they ↵Matthieu Patou2012-04-181-0/+43
| | | | are not present in ldb requests