summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-11Reuse the lp_ctx and samdb returned by the python provision.Andrew Bartlett1-36/+2
Apply the same fix as in libnet_vampire in the old DRS test code. Andrew Bartlett (This used to be commit 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)
2008-04-11Don't specify the ntds_guid to the C -> python provision interfaceAndrew Bartlett3-4/+0
This paramter was not used anyway. Andrew Bartlett (This used to be commit 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)
2008-04-11Don't reopen the sam.ldb againAndrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
2008-04-11Use the python-provided ldb and lp_ctx pointers in libnet_vampire.cAndrew Bartlett1-29/+6
By using the already open smb.conf and sam.ldb, we not only avoid overhead, but also remove the risk we could touch a different database. Andrew Bartlett (This used to be commit 38634183a074556c8dfdcb6affc60f4bcc15a3f0)
2008-04-11Far less cryptic traceback when you have an existing smb.confAndrew Bartlett1-6/+21
When the user has an existing smb.conf, but no [netlogon] or [sysvol] share, the provision script would trigger a traceback. While we still need to abort in this situation, we do so now with a useful error. Andrew Bartlett (This used to be commit 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)
2008-04-11Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2-12/+8
(This used to be commit de5349cc7a5a97c0d2d7288436a4090dfd9bd093)
2008-04-11Fixed a crash bug in unixuid module on failed ID mappingAndrew Tridgell2-12/+8
We need to intialise *ids regardless of the status of the call, as the IDL specifies that the out[] array always exists. If we don't initialise out then we get a segv when a id mapping fails. This still doesn't explain why the idmapping is failing, but at least the client now gets NT_STATUS_NONE_MAPPED rather than a crashed server. (This used to be commit 4449ce381aca25e7f510a2f24b43c3a81e870032)
2008-04-11Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett11-45/+121
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet Conflicts: source/torture/local/torture.c (This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-11Set a netbios name into provision, and zero the rest.Andrew Bartlett1-2/+2
Remove dns_name initialisation. Andrew Bartlett (This used to be commit e77ab2fbd1836bc2f9c7b2a819b06ddccf1fa78f)
2008-04-11Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij5-34/+94
result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-04-10Fix extra argument to provision_bare().Jelmer Vernooij1-1/+2
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
2008-04-10Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovisionJelmer Vernooij1-1/+4
(This used to be commit 3522c7e2cf8c6d6129d941a08adcbe2ecbe0758d)
2008-04-10Add infrastructure for returning ProvisionResult in C provision code.Jelmer Vernooij4-7/+20
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-09Make sure we do not reference req after it has been freedSimo Sorce1-1/+4
(This used to be commit a13f64bf54afc22516d1f6a786dfec67389cb754)
2008-04-09No longer install unused smbscript binary.Jelmer Vernooij1-1/+0
(This used to be commit ca0e373e57eb225a1f5d96813e9ea9ccee971b96)
2008-04-09Fix so version of hostconfig library.Jelmer Vernooij1-1/+1
(This used to be commit 62322f302fc92703cce1142bad17349987341cb6)
2008-04-09Fix up provision to specify SERVERDN in more places.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)
2008-04-09Link the new vampire code togeather.Andrew Bartlett6-15/+113
This adds in the newly attached secrets handling, as well as an interface to the command line 'net' tool. Andrew Bartlett (This used to be commit 1282e3c39479aa580124206814b493370d10690a)
2008-04-09Don't fill in the secrets DB unless we make the entries.Andrew Bartlett1-7/+8
Leave filling in (we still initialise it) the secrets DB for the join or vampire code. Andrew Bartlett (This used to be commit c93208c13ce91b334eadf0ea02fa41354e761e97)
2008-04-09Factor out filling in the secrets database.Andrew Bartlett2-80/+133
This allows the vampire code to start with a join, but fill in the secrets only when the process is compleated. Andrew Bartlett (This used to be commit c90751040e941d10234131852815e1cec1a54efe)
2008-04-09Remove dns_name elementAndrew Bartlett3-4/+2
This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
2008-04-09Be consistant in using ${SEVERDN}.Andrew Bartlett5-7/+7
This ensures we don't fall out of sync with the provision scripts. Andrew Bartlett (This used to be commit 566c60b4649e2b94bf467993acd4bf72c7368e5a)
2008-04-09Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett22-5041/+376
(This used to be commit 58e00594d8c191f499225aa2755a06bac2937300)
2008-04-09Start implementation of real 'net vampire' code.Andrew Bartlett6-375/+1120
This will use DRS Replication (metze's thesis work) and possibly samsync, and will work outside the smbtorture process. Andrew Bartlett (This used to be commit 02a33165ca700f71cf09680ded35c87aa2e88552)
2008-04-09Merge branch 'openchange' into cprovisionJelmer Vernooij3-8/+1
(This used to be commit 596fc05785020cd7bd6d15d91b49172039f83bab)
2008-04-09Add docstring, PEP8.Jelmer Vernooij1-5/+15
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
2008-04-09Move provision C bindings to param/.Jelmer Vernooij7-27/+54
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
2008-04-08BASE-DELAYWRITE: be more friendly to filesystems without high resolution ↵Stefan Metzmacher1-1/+12
timestamps metze (This used to be commit 9c18cf670889c9eb8c12b505c3b9ce5f9a516839)
2008-04-08BASE-DELAYWRITE: use timeval_* and make it possible to spefic the writetime ↵Stefan Metzmacher1-101/+164
update delay metze (This used to be commit 751ab2992afd13548af6e67a03d3ced566cb136f)
2008-04-08Clearer names for singleton return types.Jelmer Vernooij1-3/+2
(This used to be commit 19d0560464304f79224a946278105edafb285453)
2008-04-08Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.Jelmer Vernooij2-3/+9
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
2008-04-08Fix bug handling size arguments in a direction without actual data.Jelmer Vernooij1-11/+22
(This used to be commit 169d505e9e2285aedc21547e44986b8b841b8e37)
2008-04-08Array lengths can be obtained from Python objects so remove them from the ↵Jelmer Vernooij1-1/+25
Python API. (This used to be commit 652810ff46c6db9034e930d0fb018a02ee385f15)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocsJelmer Vernooij14-96/+179
(This used to be commit c8dbf00b4490d804e1aac96a3fb66ff726bf9ef6)
2008-04-08Set VENDORPREFIX rather than PREFIX to try to fix installation on someJelmer Vernooij1-1/+1
buildfarm hosts. (This used to be commit 2d9bb0db6c9e1e9b68844f2eede00fd249466cbb)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett27-396/+553
(This used to be commit c0416a0b73f06ef57db1b83a75433e36b93a9981)
2008-04-08Re-add support for the --ldap-backend-port option to provision-backendAndrew Bartlett3-25/+37
This option allows Fedora DS multi-master replication to work. I've tried to update the wiki and scripts to the largely consistant with each other. Andrew Bartlett (This used to be commit 42393c830733b2cc99ebccdafe944fcf3d82734f)
2008-04-08Rework talloc hirarchy for C provision setup.Andrew Bartlett1-18/+19
This seems to fix (or sweep under the covers) a crash in this code. Andrew Bartlett (This used to be commit 2fcddfe583f9833cea80d02e08ac12dd1f91742c)
2008-04-08Add manually written Python binding for libnet_Join.Jelmer Vernooij6-4890/+81
(This used to be commit 374654b43d9f9e8381991cedc433ce410a914f7a)
2008-04-08Add trivial test for unixinfo interface.Jelmer Vernooij2-0/+31
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08Add python bindings for drsuapi.Jelmer Vernooij3-1/+6
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)
2008-04-08Add python bindings for unixinfo.Jelmer Vernooij2-0/+5
(This used to be commit 068c2f858a0c7e325cb8a1f2ca36e32b31fe1f77)
2008-04-08Add [todo] for functions that are obviously incomplete.Jelmer Vernooij20-303/+303
(This used to be commit b7b46ddd412bd106655c2a7b96a322d9f6ac3019)
2008-04-08Raise NotImplementedError from functions that don't have complete IDL.Jelmer Vernooij1-14/+29
(This used to be commit 685aab0c99c87386fee64c07d8b68c75652713c6)
2008-04-08Support [todo] attribute on functions.Jelmer Vernooij1-0/+1
(This used to be commit a3e22bbcea27580c31d44dfaae04c9eef83389d4)
2008-04-08Add Python bindings for DFS.Jelmer Vernooij2-0/+5
(This used to be commit 4319971ccb42618a3298a5f26f63fa4c9b255849)
2008-04-08Add signature of connect function to docstrings.Jelmer Vernooij1-7/+20
(This used to be commit 51441376d37de01f7f4bd795947fc2c46c38e3f1)
2008-04-08use builtin getset stuff rather than custom getattr/setattr implementation.Jelmer Vernooij1-28/+23
(This used to be commit bb59f3084ff8ff99e5bd72abfaadcbb68110f9fa)
2008-04-08Add function signature to docstrings in python.Jelmer Vernooij1-3/+31
(This used to be commit 61f331e9748bf5b3a1120ef19f93790facf9f64c)
2008-04-08Register types rather than constructors, display structs as classes.Jelmer Vernooij1-63/+96
(This used to be commit aad07f482544107dbeb4c3c468ce7dd78c151849)