summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2012-04-23Make krb5 wrapper library common so they can be used all overSimo Sorce3-5/+6
2012-04-23For now just disable this Heindal specific stuff in the MIT buildSimo Sorce5-3/+29
2012-04-23Make krb5 context initialization not heimdal specificSimo Sorce3-23/+55
Turn the logging data to an opaque pointer. Ifdef code and use MIT logging function when built against system MIT.
2012-04-23Make sure krb5_principal_get_num_comp is identified as present for Heimdal buildAlexander Bokovoy1-0/+1
Common wrappers for MIT / Heimdal use krb5_principal_get_num_comp() to replace krb5_princ_size but rely on krb5_principal_get_num_comp() identified by the build. As we know it exists in Heimdal, define it for waf build. Signed-off-by: Simo Sorce <idra@samba.org>
2012-04-23waf: rename SAMBA4_INTERNAL_HEIMDAL to SAMBA4_USES_HEIMDALAlexander Bokovoy1-1/+1
SAMBA4_INTERNAL_HEIMDAL is defined unconditionally regardless where Heimdal comes from, system-wide or embedded version. This define is not used anywhere. We'll use it to distinguish between Heimdal and MIT Krb5 builds. Signed-off-by: Simo Sorce <idra@samba.org>
2012-04-23s4-libnet Always return after composite_error()Andrew Bartlett4-1/+8
These instances should not cause a problem, but make it easier to audit for this kind of problem in the future with grep. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 14:29:45 CEST 2012 on sn-devel-104
2012-04-23s4-libnet Always return after composite_error()Andrew Bartlett3-0/+3
This can and does cause crashes as multiple conflicting sets of callbacks run on memory that may have been destroyed. Andrew Bartlett
2012-04-23s4-libnet: Fix continue_groupinfo_openuser to check correct state infoAndrew Bartlett1-2/+2
This meant that we would attempt to query the user that we could not open. This is a mirror of 4ba1647d5db59e5bb4911c399111e9286aac1a8e. Andrew Bartlett
2012-04-23s4:librpc/rpc: directly return after composite_error()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 23 12:17:08 CEST 2012 on sn-devel-104
2012-04-23s4:libnet_become_dc: add missing 'return' after composite_error()Stefan Metzmacher1-0/+2
metze
2012-04-23s4-libnet: Fix continue_groupinfo_opengroup to check correct state infoAndrew Bartlett1-2/+2
This meant that we would attempt to query the group that we could not open. Andrew Bartlett
2012-04-23s4-libnet: Fix segfault shown by wbinfo --group-info=administratorAndrew Bartlett1-0/+1
The issue was that after the LookupNames call indicated that this was not a group, the call paths diverged, with both sucess and failure paths running. Andrew Bartlett
2012-04-22dlz_bind9: Also produce and install binary plugin for bind 9.9Andrew Bartlett1-1/+1
Thanks to Alexander Bokovoy <ab@samba.org> for the fix! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Apr 22 10:51:57 CEST 2012 on sn-devel-104
2012-04-20Move kdc_get_policy helper in the lsa server where it belongs.Simo Sorce7-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
2012-04-19Use loadparm helper to find lifetime defaultsSimo Sorce1-6/+10
Implictly fixes buggy use of int for time_t
2012-04-19Move README file in the right place.Simo Sorce1-4/+0
Someone forgot to move the README when they moved the code ...
2012-04-19s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntaclAndrew Bartlett1-0/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 20:51:16 CEST 2012 on sn-devel-104
2012-04-19Added number of FSMO roles owned by the server we are trying to demote.Daniele Dario1-1/+1
2012-04-19s4-provision: Always give the warning if we are using eadb. It really ↵Andrew Bartlett1-3/+6
should be for testing only
2012-04-19waf: Fix mispellingSimo Sorce1-1/+1
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
2012-04-19Fix Error messagesSimo Sorce1-4/+2
2012-04-19s4-kcc: avoid a false alarm with rodcMatthieu Patou1-0/+7
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Apr 19 12:32:58 CEST 2012 on sn-devel-104
2012-04-19samba_spnupdate: don't try to register DNS related SPN if we are not ↵Matthieu Patou1-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.
2012-04-19dbcheck: Add a check that every FSMO role has a valid ownerAndrew Bartlett1-0/+41
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 07:49:54 CEST 2012 on sn-devel-104
2012-04-19s4-samba-tool: Fix samba-tool fsmo seizeAndrew Bartlett2-46/+51
This is currently untested, and a restructure broke it. Andrew Bartlett
2012-04-19s4-s3upgrade: Do not ever set a domain-wide maxPwdAge of 0Andrew Bartlett1-1/+1
This means no-expiry in s3, and so we must treat it like -1. Andrew Bartlett
2012-04-19s4-s3upgrade: Ignore (with warning) groups that are listed but we cannot ↵Andrew Bartlett1-2/+14
list members for
2012-04-18Fix samba3.raw.samba3hide test - ensure we set up POSIX capabilitiesJeremy Allison1-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
2012-04-18Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison3-0/+94
SMB_SET_CIFS_UNIX_INFO.
2012-04-18s4-torture: Fix the raw.notify mask testVolker Lendecke1-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
2012-04-18s4-torture: Use 2 client connections for raw.notify.maskVolker Lendecke1-19/+20
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.treeVolker Lendecke1-3/+9
This makes the test more interesting in a cluster
2012-04-18s4-torture: Use 2 client connections for raw.notify.recursiveVolker Lendecke1-6/+13
This makes the test more interesting in a cluster
2012-04-18s4:torture:smb2: add a session.reauth2 test.Michael Adam1-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
2012-04-18s4:torture:smb2: rename the file in the session-reauth1 test more systematicallyMichael Adam1-1/+1
The original name seems to have come in via copy and paste.
2012-04-18s4:torture:smb2: rename the session_reauth test to session_reauth1Michael Adam1-2/+2
More tests reauth? will follow...
2012-04-18s4-torture: notify all is empty nowVolker Lendecke1-19/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18s4-torture: Separate out the notify alignment subtestVolker Lendecke1-4/+9
2012-04-18s4-torture: Separate out the notify basedir subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify overflow subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tree subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify double subtestVolker Lendecke1-2/+7
2012-04-18s4-torture: Separate out the notify tcp_dis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify ulogoff subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify exit subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify tdis subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify file subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify mask_change subtestVolker Lendecke1-2/+9
2012-04-18s4-torture: Separate out the notify recursive subtestVolker Lendecke1-2/+8
2012-04-18s4-torture: Separate out the notify mask subtestVolker Lendecke1-2/+8