summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-20s3: Fix msg_channel in the cluster caseVolker Lendecke1-3/+6
2012-04-20s3: Remove an unused variableVolker Lendecke1-1/+0
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 12:44:20 CEST 2012 on sn-devel-104
2012-04-20selftest: Add extra info on what is failing in wbclient testsAndrew Bartlett1-65/+71
This may help me chase down the failure in my idmap rework. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 09:51:35 CEST 2012 on sn-devel-104
2012-04-20wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett3-0/+12
This will help installations where the Samba4 libraries must be used but the main system is not using the system libs that would normally be installed. This in particular impacts on libwbclient, which is a core dep, but is different to that used by the rest of a Samba 3.x based system. Use eg: ./configure --private-libraries=wbclient Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 03:27:22 CEST 2012 on sn-devel-104
2012-04-20libwbclient: bump version to 0.9, and add this version to .pc fileAndrew Bartlett2-3/+7
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-19loadparm: Add helper function to fetch default lifetime policiesSimo Sorce2-0/+24
This use long to fetch time_t quantities, because there are architectures were time_t is a signed long but long != int, So long is the proper way to deal with it.
2012-04-19loadparm: Add convenience function to return long integersSimo Sorce1-0/+25
2012-04-19loadparm: Fix broken lp_ulong utility functionSimo Sorce1-2/+2
2012-04-19Move README file in the right place.Simo Sorce1-0/+0
Someone forgot to move the README when they moved the code ...
2012-04-20Fix bug #8877 - Syslog broken owing to mistyping of debug_settings.syslog.Joseph Tam1-1/+1
Setting "syslog only = yes" did not divert log messages to syslog. The test in lib/util/debug.c:Debug1():747 if( syslog_level < state.settings.syslog ) produces wrong results since .syslog is typed "bool" rather than "int". The attached patch fixes this by typing this field correctly as "int". Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 20 00:06:12 CEST 2012 on sn-devel-104
2012-04-19s3: Fix Coverity ID 2682 -- NULL_RETURNSVolker Lendecke1-3/+10
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 22:28:34 CEST 2012 on sn-devel-104
2012-04-19s3: Fix Coverity ID 2727 to 2740 -- UNINITVolker Lendecke2-9/+14
2012-04-19s3: Fix Coverity ID 2686 -- RESOURCE_LEAKVolker Lendecke1-0/+1
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-19s3: Fix the build on FreeBSDVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104
2012-04-19s3: Fix Coverity ID 2682: NULL_RETURNSVolker Lendecke1-0/+4
2012-04-19librpc: Make finding newest pidl file more portableVolker Lendecke1-9/+1
FreeBSD find does not support the -printf argument. David, please check if this still work for you!
2012-04-19s3: Fix Coverity ID 2743: CHECKED_RETURNVolker Lendecke1-3/+6
2012-04-19s3: Fix Coverity ID 2744: CHECKED_RETURNVolker Lendecke1-1/+6
2012-04-19s3: Fix Coverity ID 2745 and 2746: FORWARD_NULLVolker Lendecke1-11/+15
We can assume that the rbt dbs are around
2012-04-19s3: Fix Coverity ID 2747: FORWARD_NULLVolker Lendecke1-1/+1
For the notify cleanup process we have a notify context without a messaging entry. We will never call notify_add/remove for this, but the code should protect against this.
2012-04-19s3: Attempt to fix Coverity ID 2748: INTEGER_OVERFLOWVolker Lendecke1-1/+1
Not sure this will actually please Coverity, but it fixes a severe bug
2012-04-19s3: Fix Coverity ID 2749: REVERSE_INULLVolker Lendecke1-1/+3
2012-04-19waf: Fix mispellingSimo Sorce4-11/+11
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-19s3/ldap: remove outdated netscape ds 5 schema fileBjörn Jacke2-79/+2
remove outdated netscape ds 5 schema file and put a README there pointing to the FDS schema file instead. This fixes bug #8869 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Apr 19 15:54:56 CEST 2012 on sn-devel-104
2012-04-19s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett2-20/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104
2012-04-19s3-dbwrap: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett1-10/+1
2012-04-19s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett7-45/+3
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett
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-19s3: Fix a "ISO C90 forbids mixed declarations and code"Volker Lendecke1-3/+7
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 10:32:27 CEST 2012 on sn-devel-104
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-18Ensure we have 12 bytes of data for a SMB_SET_CIFS_UNIX_INFO call. Add debug.Jeremy Allison1-1/+4
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-18s3-dbwrap: Fix an unused var warningVolker Lendecke1-0/+2
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.