summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Install (platform-independent) python scripts to the PYTHONDIR ↵Jelmer Vernooij2011-12-091-1/+1
| | | | | | | | | | | | | | rather than PYTHONARCHDIR." This reverts commit de4b8943bfb40e2f50c9e4e2ee5d39e986317d08. PYTHONDIR and PYTHONARCHDIR are both incorrect - they're the distribution's python locations, rather than the python locations for third party applications. For the moment, using PYTHONARCHDIR seems better though, because it works around an issue on Fedora/RedHat. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 9 01:58:50 CET 2011 on sn-devel-104
* Add 'make pep8' target.Jelmer Vernooij2011-12-092-0/+11
|
* Add test for PEP8 - currently all errors are ignored, but we warn about them ↵Jelmer Vernooij2011-12-081-0/+50
| | | | | | | - and can ratchet if we want to. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 23:44:10 CET 2011 on sn-devel-104
* Add pep8.Jelmer Vernooij2011-12-082-0/+1365
|
* testtools: Update to new upstream revision.Jelmer Vernooij2011-12-0811-46/+750
|
* pyldb: Add more docstrings.Jelmer Vernooij2011-12-081-7/+12
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 22:08:49 CET 2011 on sn-devel-104
* samba.drs_utils: Use new style classes and exceptions, fix formatting of ↵Jelmer Vernooij2011-12-081-13/+19
| | | | docstrings to make pydoctor happy.
* samba.kcc_utils: Fix formatting to match PEP8, make pydoctor happy.Jelmer Vernooij2011-12-081-246/+214
|
* s3-dbwrap: & is not required when taking a function pointerVolker Lendecke2011-12-081-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104
* s3-dbwrap: Make dbwrap_fallback_wipe privateVolker Lendecke2011-12-083-8/+4
|
* s3-dbwrap: Avoid an "else" by an early returnVolker Lendecke2011-12-081-4/+4
|
* s3-dbwrap: Make dbwrap_fallback_parse_record privateVolker Lendecke2011-12-083-14/+5
| | | | We have the private fallback in dbwrap_parse_record anyway
* s3-dbwrap: Make dbwrap_fallback_fetch privateVolker Lendecke2011-12-083-10/+6
|
* s3-dbwrap: use wrappers where appropriateVolker Lendecke2011-12-081-7/+7
|
* s3-dbwrap: Use simpler code for logging keysVolker Lendecke2011-12-081-18/+23
|
* s3: Fix some 64-bit warningsVolker Lendecke2011-12-081-8/+12
|
* s3: Fix some blank line endingsVolker Lendecke2011-12-083-11/+11
|
* s3: Fix typosVolker Lendecke2011-12-081-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 12:05:55 CET 2011 on sn-devel-104
* Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij2011-12-082-0/+70
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
* selftest: Some extra assertions.Jelmer Vernooij2011-12-081-0/+4
|
* dbcheck: cope with objects disappearing during checkingAndrew Tridgell2011-12-082-6/+16
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 8 03:23:49 CET 2011 on sn-devel-104
* samba_kcc NTDSConnection translationDave Craft2011-12-082-218/+1292
| | | | | | | | | | | | | | | This is an advancement of samba_kcc to compute and commit the modification of a repsFrom on an NC Replica. The repsFrom is computed according to the MS tech spec for implied replicas of NTDSConnections. Proper maintenance of (DRS options, schedules, etc) from a NTDSConnection are now all present. New classes for inter-site transports, sites, and repsFrom) are now present in kcc_utils.py. Substantively this gets intra-site topology generation functional by committing the repsFrom that were computed from the DSA graph implemented in prior drops of samba_kcc Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Invocation of samba_kcc from KCC taskDave Craft2011-12-083-21/+89
| | | | | | | | | Modification to periodic and explicit invocation paths of the KCC topology generation code. Managed via samba_runcmd_send() API. The samba_kcc script is invoked if (kccsrv:samba_kcc = true) appears in smb.conf Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add subreq and status to kcc_service structDave Craft2011-12-081-2/+9
| | | | | | | | The subreq and status fields in the kcc_service struct are added for execution management of the external samba_kcc python script. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add DRSUAPI_DRS_UPDATE_(x) flagsDave Craft2011-12-081-0/+7
| | | | | | | | | | | | DRSUAPI_DRS_UPDATE flags are used in DRS_MSG_REPMOD_V1 message structure when repsFrom is modified via RPC. The RPCs are currently uncoded but samba_kcc maintains the flags (and uses them to identify what repsFrom changes are to be executed). These are currently helpful to samba_kcc and are intended to ultimately be used in RPCs. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add NTDSConnection schedule attr blobDave Craft2011-12-081-0/+20
| | | | | | | Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add samba_kcc load parameterDave Craft2011-12-081-0/+11
| | | | | | | | Configures parameter to enumerate name of python KCC topology generator for subsequent use by samba_runcmd_send() invocation from kcc task Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add version attribute for pytevent.Jelmer Vernooij2011-12-073-1/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 7 15:07:49 CET 2011 on sn-devel-104
* selftest: samba4.samba-tool.domopen now passes, so do not skipAndrew Bartlett2011-12-071-1/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 7 04:42:02 CET 2011 on sn-devel-104
* s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett2011-12-073-2/+23
|
* s4-kdc: only build hdb plugin if we build against system HeimdalAndrew Bartlett2011-12-071-0/+1
| | | | | | | It is not safe to have a system kadmin use our plugin if we do not share the same libkrb5. Andrew Bartlett
* clarify Roadmap, as the shape of Samba 4.0 is much clearer nowAndrew Bartlett2011-12-071-9/+5
|
* Remove outdated information from the READMEAndrew Bartlett2011-12-071-27/+9
|
* s4-dnsupdate: Do not attempt to add the PDC names if we are not a PDCAndrew Bartlett2011-12-071-5/+11
|
* pydsdb: provide a am_pdc hook like am_rodc to python scriptsAndrew Bartlett2011-12-072-0/+26
|
* s4-dns Use match-by-key in GSSAPI server if principal is not specifiedAndrew Bartlett2011-12-072-25/+14
| | | | | | | | | This allows dlz_bind9 to match on exactly the same key as bind9 itself Andrew Bartlett Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Dec 7 02:20:10 CET 2011 on sn-devel-104
* auth: Allow a NULL principal to be obtained from the credentialsAndrew Bartlett2011-12-072-3/+14
| | | | | | This is important when trying to let GSSAPI search the keytab. Andrew Bartlett
* dlz_bind9: Add command line options for URL and debugAmitay Isaacs2011-12-072-9/+28
| | | | | | | | To specify debug level, use -d <level> in named.conf. To specify sam db, use -H <path/to/sam.ldb> in named.conf. The default log level is set to 0. The log level specified in smb.conf is not used. To set log level, use -d option.
* dlz_bind9: Set debugging output to stderrAmitay Isaacs2011-12-071-0/+3
|
* dlz_bind9: Use client supplied credentials for DNS record updateAmitay Isaacs2011-12-071-0/+79
| | | | This creates the DNS records with correct owner and group settings.
* dlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILDAmitay Isaacs2011-12-071-1/+1
| | | | | The member servers in AD do not have access to modify the parent, but do have access to create child DNS records.
* tevent: Install python tevent modules.Jelmer Vernooij2011-12-061-0/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 23:13:37 CET 2011 on sn-devel-104
* Install (platform-independent) python scripts to the PYTHONDIR rather than ↵Jelmer Vernooij2011-12-061-1/+1
| | | | PYTHONARCHDIR.
* Add stub python module for tevent.Jelmer Vernooij2011-12-061-0/+28
|
* lib/util/util_tdb: adhere to coding style for tdb_data_is_empty()Michael Adam2011-12-061-1/+2
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 15:22:08 CET 2011 on sn-devel-104
* s3:net registry check: replace rawmemchr by functionally equivalent portable ↵Michael Adam2011-12-061-2/+2
| | | | | | | | | strchr rawmemchr is glibc only - not portable. Remarked by Ira Cooper. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 12:20:48 CET 2011 on sn-devel-104
* Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam2011-12-061-4/+3
| | | | | | | | glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
* s3:registry: replace use of rawmemchr by portable equivalent use of strchr.Michael Adam2011-12-061-1/+1
|
* knownfail: Mark some ldap.acl search tests as no longer failing.Jelmer Vernooij2011-12-061-1/+7
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 00:43:40 CET 2011 on sn-devel-104
* knownfail: Remove working winbind tests.Jelmer Vernooij2011-12-051-4/+0
|