summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:passdb: do not use the in-memory idmap cache (it will be removed)Michael Adam2012-04-203-156/+0
|
* s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok...Stefan Metzmacher2012-04-201-0/+3
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104
* s3-g_lock: Use dbwrap_record_watch_send/recvVolker Lendecke2012-04-193-454/+172
| | | | | | | | | | This simplifies the g_lock implementation. The new implementation tries to acquire a lock. If that fails due to a lock conflict, wait for the g_lock record to change. Upon change, just try again. The old logic had to cope with pending records and an ugly hack into ctdb itself. As a bonus, we now get a really clean async g_lock_lock_send/recv that can asynchronously wait for a global lock. This would have been almost impossible to do without the dbwrap_record_watch infrastructure.
* s3-dbwrap: Add "listwatchers" to dbwrap_toolVolker Lendecke2012-04-191-9/+62
|
* s3-dbwrap: Add dbwrap_record_watch_send/recvVolker Lendecke2012-04-198-1/+633
| | | | With this API you can asynchronously wait for a record to be modified
* s3-dbwrap: Add dbwrap_set_stored_callbackVolker Lendecke2012-04-206-2/+47
| | | | This is a per-db function that is called whenever some record is modified
* s3-dbwrap: Add "db_context" to "db_record"Volker Lendecke2012-04-204-0/+10
|
* s3-dbwrap: Add dbwrap_db_idVolker Lendecke2012-04-206-0/+50
| | | | This returns a blob uniquely identifying the database
* s3: Fix msg_channel in the cluster caseVolker Lendecke2012-04-201-3/+6
|
* s3: Remove an unused variableVolker Lendecke2012-04-201-1/+0
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 12:44:20 CEST 2012 on sn-devel-104
* selftest: Add extra info on what is failing in wbclient testsAndrew Bartlett2012-04-201-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
* wafsamba: allow certain public libraries to be forced to be privateAndrew Bartlett2012-04-203-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
* libwbclient: bump version to 0.9, and add this version to .pc fileAndrew Bartlett2012-04-202-3/+7
|
* 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
* loadparm: Add helper function to fetch default lifetime policiesSimo Sorce2012-04-192-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.
* loadparm: Add convenience function to return long integersSimo Sorce2012-04-191-0/+25
|
* loadparm: Fix broken lp_ulong utility functionSimo Sorce2012-04-191-2/+2
|
* Move README file in the right place.Simo Sorce2012-04-191-0/+0
| | | | Someone forgot to move the README when they moved the code ...
* Fix bug #8877 - Syslog broken owing to mistyping of debug_settings.syslog.Joseph Tam2012-04-201-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
* s3: Fix Coverity ID 2682 -- NULL_RETURNSVolker Lendecke2012-04-191-3/+10
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 22:28:34 CEST 2012 on sn-devel-104
* s3: Fix Coverity ID 2727 to 2740 -- UNINITVolker Lendecke2012-04-192-9/+14
|
* s3: Fix Coverity ID 2686 -- RESOURCE_LEAKVolker Lendecke2012-04-191-0/+1
|
* 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
* s3: Fix the build on FreeBSDVolker Lendecke2012-04-191-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104
* s3: Fix Coverity ID 2682: NULL_RETURNSVolker Lendecke2012-04-191-0/+4
|
* librpc: Make finding newest pidl file more portableVolker Lendecke2012-04-191-9/+1
| | | | | | FreeBSD find does not support the -printf argument. David, please check if this still work for you!
* s3: Fix Coverity ID 2743: CHECKED_RETURNVolker Lendecke2012-04-191-3/+6
|
* s3: Fix Coverity ID 2744: CHECKED_RETURNVolker Lendecke2012-04-191-1/+6
|
* s3: Fix Coverity ID 2745 and 2746: FORWARD_NULLVolker Lendecke2012-04-191-11/+15
| | | | We can assume that the rbt dbs are around
* s3: Fix Coverity ID 2747: FORWARD_NULLVolker Lendecke2012-04-191-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.
* s3: Attempt to fix Coverity ID 2748: INTEGER_OVERFLOWVolker Lendecke2012-04-191-1/+1
| | | | Not sure this will actually please Coverity, but it fixes a severe bug
* s3: Fix Coverity ID 2749: REVERSE_INULLVolker Lendecke2012-04-191-1/+3
|
* waf: Fix mispellingSimo Sorce2012-04-194-11/+11
| | | | | 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
|
* s3/ldap: remove outdated netscape ds 5 schema fileBjörn Jacke2012-04-192-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
* s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett2012-04-192-20/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104
* s3-dbwrap: Remove dead code: talloc_stackframe() cannot failAndrew Bartlett2012-04-191-10/+1
|
* s3-passdb: Remove unused sampass->pass_must_change_timeAndrew Bartlett2012-04-197-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
* 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.
* s3: Fix a "ISO C90 forbids mixed declarations and code"Volker Lendecke2012-04-191-3/+7
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 10:32:27 CEST 2012 on sn-devel-104
* 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.