summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-libnet: Fix continue_groupinfo_openuser to check correct state infoAndrew Bartlett2012-04-231-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
* build: Remove support for a system libsmbclientAndrew Bartlett2012-04-232-10/+0
| | | | | | | | | | | | | | | With the new --private-libraries option, there is no longer the need to have this support, which was aimed at avoiding the duplication between two different libsmbclient binaries in a packaged distribution. By using --private-libraries instead, we do not introduce a dependency between Samba 4.0 packages and whatever other packages are on the system. This effectivly reverts part of e3ffb31554927a24df35576bd753ee4eb2dc2a3c while kpeeing the improved SAMBA_LIBRARY declaration. Andrew Bartlett
* build: Remove support for system libwbclientAndrew Bartlett2012-04-232-9/+19
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* s4:librpc/rpc: directly return after composite_error()Stefan Metzmacher2012-04-231-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 23 12:17:08 CEST 2012 on sn-devel-104
* s4:libnet_become_dc: add missing 'return' after composite_error()Stefan Metzmacher2012-04-231-0/+2
| | | | metze
* selftest: Add test for bug #8884: wbinfo --group-info=administrator ↵Andrew Bartlett2012-04-231-0/+2
| | | | | | | segfaults s4-winbindd Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 07:44:50 CEST 2012 on sn-devel-104
* s4-libnet: Fix continue_groupinfo_opengroup to check correct state infoAndrew Bartlett2012-04-231-2/+2
| | | | | | This meant that we would attempt to query the group that we could not open. Andrew Bartlett
* s4-libnet: Fix segfault shown by wbinfo --group-info=administratorAndrew Bartlett2012-04-231-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
* s3-dbwrap: A void function can not return a valueAndrew Bartlett2012-04-231-1/+1
| | | | | | | | | Only non-gcc compilers seem to notice this as an error. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104
* dlz_bind9: Also produce and install binary plugin for bind 9.9Andrew Bartlett2012-04-221-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
* idl: fix the charset for the source_dsa_address in DsReplicaDel callMatthieu Patou2012-04-221-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 22 03:00:06 CEST 2012 on sn-devel-104
* s3: Implement db_id for dbwrap_cacheVolker Lendecke2012-04-211-0/+9
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 21 13:46:00 CEST 2012 on sn-devel-104
* s3: Initialize "stored_callback" in dbwrap_cacheVolker Lendecke2012-04-211-0/+1
| | | | This should fix one of the recent flaky tests
* s3: Remove two unused variablesVolker Lendecke2012-04-211-2/+0
|
* s3:smbcontrol: remove an unused variableMichael Adam2012-04-211-4/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 21 00:55:13 CEST 2012 on sn-devel-104
* s3:memcache: remove the idmap-part from memcacheMichael Adam2012-04-201-4/+0
| | | | | | This was useful before the idmap cache was moved to gencache. Nowadays it is available to smbd through gencache, so we can remove the extra caching layer.
* s3:id_cache: do not use the in-memory idmap cache (it is going to be removed)Michael Adam2012-04-204-110/+4
| | | | This also removes the ID_CACHE_FLUSH message.
* 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.