summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-12-09Add 'make pep8' target.Jelmer Vernooij2-0/+11
2011-12-08Add test for PEP8 - currently all errors are ignored, but we warn about them ↵Jelmer Vernooij1-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
2011-12-08Add pep8.Jelmer Vernooij2-0/+1365
2011-12-08testtools: Update to new upstream revision.Jelmer Vernooij11-46/+750
2011-12-08pyldb: Add more docstrings.Jelmer Vernooij1-7/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 22:08:49 CET 2011 on sn-devel-104
2011-12-08samba.drs_utils: Use new style classes and exceptions, fix formatting of ↵Jelmer Vernooij1-13/+19
docstrings to make pydoctor happy.
2011-12-08samba.kcc_utils: Fix formatting to match PEP8, make pydoctor happy.Jelmer Vernooij1-246/+214
2011-12-08s3-dbwrap: & is not required when taking a function pointerVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104
2011-12-08s3-dbwrap: Make dbwrap_fallback_wipe privateVolker Lendecke3-8/+4
2011-12-08s3-dbwrap: Avoid an "else" by an early returnVolker Lendecke1-4/+4
2011-12-08s3-dbwrap: Make dbwrap_fallback_parse_record privateVolker Lendecke3-14/+5
We have the private fallback in dbwrap_parse_record anyway
2011-12-08s3-dbwrap: Make dbwrap_fallback_fetch privateVolker Lendecke3-10/+6
2011-12-08s3-dbwrap: use wrappers where appropriateVolker Lendecke1-7/+7
2011-12-08s3-dbwrap: Use simpler code for logging keysVolker Lendecke1-18/+23
2011-12-08s3: Fix some 64-bit warningsVolker Lendecke1-8/+12
2011-12-08s3: Fix some blank line endingsVolker Lendecke3-11/+11
2011-12-08s3: Fix typosVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 12:05:55 CET 2011 on sn-devel-104
2011-12-08Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij2-0/+70
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-12-08selftest: Some extra assertions.Jelmer Vernooij1-0/+4
2011-12-08dbcheck: cope with objects disappearing during checkingAndrew Tridgell2-6/+16
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 8 03:23:49 CET 2011 on sn-devel-104
2011-12-08samba_kcc NTDSConnection translationDave Craft2-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>
2011-12-08Invocation of samba_kcc from KCC taskDave Craft3-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>
2011-12-08Add subreq and status to kcc_service structDave Craft1-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>
2011-12-08Add DRSUAPI_DRS_UPDATE_(x) flagsDave Craft1-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>
2011-12-08Add NTDSConnection schedule attr blobDave Craft1-0/+20
Add schedule blob to drsblobs to allow NDR unpacking into a python class. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-12-08Add samba_kcc load parameterDave Craft1-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>
2011-12-07Add version attribute for pytevent.Jelmer Vernooij3-1/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 7 15:07:49 CET 2011 on sn-devel-104
2011-12-07selftest: samba4.samba-tool.domopen now passes, so do not skipAndrew Bartlett1-1/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 7 04:42:02 CET 2011 on sn-devel-104
2011-12-07s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett3-2/+23
2011-12-07s4-kdc: only build hdb plugin if we build against system HeimdalAndrew Bartlett1-0/+1
It is not safe to have a system kadmin use our plugin if we do not share the same libkrb5. Andrew Bartlett
2011-12-07clarify Roadmap, as the shape of Samba 4.0 is much clearer nowAndrew Bartlett1-9/+5
2011-12-07Remove outdated information from the READMEAndrew Bartlett1-27/+9
2011-12-07s4-dnsupdate: Do not attempt to add the PDC names if we are not a PDCAndrew Bartlett1-5/+11
2011-12-07pydsdb: provide a am_pdc hook like am_rodc to python scriptsAndrew Bartlett2-0/+26
2011-12-07s4-dns Use match-by-key in GSSAPI server if principal is not specifiedAndrew Bartlett2-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
2011-12-07auth: Allow a NULL principal to be obtained from the credentialsAndrew Bartlett2-3/+14
This is important when trying to let GSSAPI search the keytab. Andrew Bartlett
2011-12-07dlz_bind9: Add command line options for URL and debugAmitay Isaacs2-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.
2011-12-07dlz_bind9: Set debugging output to stderrAmitay Isaacs1-0/+3
2011-12-07dlz_bind9: Use client supplied credentials for DNS record updateAmitay Isaacs1-0/+79
This creates the DNS records with correct owner and group settings.
2011-12-07dlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILDAmitay Isaacs1-1/+1
The member servers in AD do not have access to modify the parent, but do have access to create child DNS records.
2011-12-06tevent: Install python tevent modules.Jelmer Vernooij1-0/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 23:13:37 CET 2011 on sn-devel-104
2011-12-06Install (platform-independent) python scripts to the PYTHONDIR rather than ↵Jelmer Vernooij1-1/+1
PYTHONARCHDIR.
2011-12-06Add stub python module for tevent.Jelmer Vernooij1-0/+28
2011-12-06lib/util/util_tdb: adhere to coding style for tdb_data_is_empty()Michael Adam1-1/+2
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 6 15:22:08 CET 2011 on sn-devel-104
2011-12-06s3:net registry check: replace rawmemchr by functionally equivalent portable ↵Michael Adam1-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
2011-12-06Revert "Remove rawmemchr calls - found by Ira Cooper. These are ↵Michael Adam1-4/+3
glibc-specific calls, makes us completely non-portable." This reverts commit 82b1702284ba2bb61b23e1f14ce9145d896c36c0. This is not functionally equivalent, needs to be done differently.
2011-12-06s3:registry: replace use of rawmemchr by portable equivalent use of strchr.Michael Adam1-1/+1
2011-12-06knownfail: Mark some ldap.acl search tests as no longer failing.Jelmer Vernooij1-1/+7
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 6 00:43:40 CET 2011 on sn-devel-104
2011-12-05knownfail: Remove working winbind tests.Jelmer Vernooij1-4/+0
2011-12-05knownfail: The resolve async tests work now.Jelmer Vernooij1-1/+0