1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

12995 Commits

Author SHA1 Message Date
Michael Adam
57484f56c0 r23821: Extend the winreg test by a test for DeleteKey on a
key that has subkeys. This should return WERR_ACCESS_DENIED.

Michael
(This used to be commit 9b8789a4b5f444e643ed7ee3ff55dc0c41986d07)
2007-10-10 14:59:23 -05:00
Andrew Bartlett
a0fa5051bd r23816: A little more static, but leave the dead code testjoin.c as documentation.
Andrew Bartlett
(This used to be commit 6679003c0553804333f0090a91e1fe53837ceb47)
2007-10-10 14:59:23 -05:00
Andrew Bartlett
1cc770fc58 r23815: Thanks to Matthias Wallnoefer <mwallnoefer@yahoo.de> for pointing out
that we had the wrong objectClass for OU=Domain
Controllers,${DOMAINDN} (was CN=Domain Controllers,${DOMAINDN})

This fixes both the SAMR server and the LDIF templates.

Andrew Bartlett
(This used to be commit 625a9e6c041bedc93925bdebb3a60af1dbdde317)
2007-10-10 14:59:22 -05:00
Andrew Bartlett
8f9922863f r23812: Remove more code found as dead by the find_static script, and make
other functions just static.

Andrew Bartlett
(This used to be commit 64fcec1da613dc8f16f0fba02fb3de0ec840671f)
2007-10-10 14:59:22 -05:00
Andrew Bartlett
d57cb82663 r23811: Try to ensure struct nbt_name is always pre-declared. Might fix the
build on aico.

Andrew Bartlett
(This used to be commit 5609bd9d219f517c25dbc6e6d265eed3ed517883)
2007-10-10 14:59:21 -05:00
Andrew Bartlett
a87dea2a08 r23810: Make things static, and remove unsued code.
This includes some of the original ildap ldap client API.  ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.

Andrew Bartlett
(This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)
2007-10-10 14:59:21 -05:00
Andrew Bartlett
69c0923c5e r23809: Don't give users the fantasy that we can control choice of GENSEC
security mechanisms at the moment.  I'll put this back when I
implement the functionality.

Andrew Bartlett
(This used to be commit 9a38ddc86fe8c68520622678eae81e4e90f427cf)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
702372b343 r23807: added hex_encode_talloc()
(This used to be commit 1b105097e3f4a8475d3a2623205ecdea2aef91cf)
2007-10-10 14:59:20 -05:00
Andrew Tridgell
6504900f1f r23806: update Samba4 with the latest ctdb code.
This doesn't get the ctdb code fully working in Samba4, it just gets
it building and not breaking non-clustered use of Samba. It will take
a bit longer to update some of the calling ctdb_cluster.c code to make
it work correctly in Samba4.

Note also that Samba4 now only links to the client portion of
ctdb. For the moment I am leaving the ctdbd as a separate daemon,
which you install separately from http://ctdb.samba.org/.
(This used to be commit b196077cbb55cbecad87065133c2d67198e31066)
2007-10-10 14:59:20 -05:00
Andrew Tridgell
d4e2d157cb r23805: this directory is not used any more
(This used to be commit 3121f914938e896f9e6c547c108a216b4b026c69)
2007-10-10 14:59:19 -05:00
Andrew Tridgell
37363d45b7 r23802: fixed URL in XML
(This used to be commit c0111223e2201b2c62e25a4c88e1ee445fde5ab6)
2007-10-10 14:59:19 -05:00
Andrew Tridgell
cd1217ff5f r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
b8875bee5f r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
(This used to be commit 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10 14:59:17 -05:00
Andrew Tridgell
e1c15c74af r23799: updated old Franklin Street FSF addresses to new URL
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10 14:59:16 -05:00
Andrew Tridgell
6c973f4e8c r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
54b6c7517e r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
(This used to be commit 9f77c40a8ee137339877bb622332a901fec46e6d)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
4b71c210d5 r23796: main COPYING file for samba4, plus some formatting varients
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
b8d69a7ea2 r23795: more v2->v3 conversion
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
95f930d875 r23794: convert more code from LGPLv2+ to LGPLv3+
(This used to be commit 9d37f1ec070ddcfd49dfe351e76cc08fa0d9b41c)
2007-10-10 14:59:13 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Andrew Bartlett
2d2cde7d95 r23762: Fix DN renames over LDAP, and instrument the partition module. Add a
test to prove the behaviour of LDAP renames etc.

Fix LDB to return correct error code when failing to rename one DN
onto another.

Andrew Bartlett
(This used to be commit 3f3da9c4710b7752ed97f55c2fc3d32a63d352af)
2007-10-10 14:59:11 -05:00
Andrew Bartlett
b7b17c654d r23754: Make sure to check the status return before we de-reference the
returned elements.

Andrew Bartlett
(This used to be commit 3a8192c74288b98bc61af95aa5cd39b1584411c1)
2007-10-10 14:59:10 -05:00
Tim Potter
f6052143ad r23753: Fix bitrot afflicting the ldb Python swig bindings.
(This used to be commit 0141db0fc43fb55d4b6dd80c89b1a3aae689a873)
2007-10-10 14:59:10 -05:00
Andrew Bartlett
b0db52b63a r23737: Validate that we object to duplicate values in an add or replace.
We can't ever allow duplicates, even if the client sends them

Andrew Bartlett
(This used to be commit 10277f27246b9e16ed36fb72eb4c318b43cb9395)
2007-10-10 14:59:09 -05:00
Jeremy Allison
4f2fe8e947 r23734: Add a test to prove tridge's theory that the mask, once set
on an open directory handle, is never changed. (He's right btw :-).
Jeremy.
(This used to be commit bf9242ad4561239fbc6e05c6879726f0df202f56)
2007-10-10 14:59:09 -05:00
Ronnie Sahlberg
7bf94150da r23721: For unions, The TAG and the ARM are aligned independently.
Move emitting ALIGN_TO_x_BYTES to after the tag has been dissected so the
alignment only affects the ARM.
(This used to be commit 22945854d91c87cc17df681db5fd3c6871cdaadc)
2007-10-10 14:59:08 -05:00
Andrew Bartlett
967866f170 r23720: Allow the member server to work against an LDAP Backend. Another case
where LDB isn't as strict as OpenLDAP, the self join record contains
duplicate servicePrincipalNames once the DNS name and domain name are
made equal.  (Easier to just skip the useless self-join).

Andrew Bartlett
(This used to be commit 49ff929be6fcf57721532de13bdd7a7e1617af6f)
2007-10-10 14:59:08 -05:00
Andrew Bartlett
cc0756c302 r23719: ejs being case sensitive, while LDAP is not is a real pain when
dereferencing attributes.

Fix the case to match between the attributes searched for and the ejs
element.  (Fixes LDAP-backend selftest)

Andrew Bartlett
(This used to be commit 51cf66bb96e5a58693a40d920d78632ac442ca1c)
2007-10-10 14:59:08 -05:00
Andrew Bartlett
f5778d5f9e r23718: Make Samba4 work against the LDAP backend again.
When we set up the schema, we don't have a partitions container yet.
The LDAP error differs from that given by LDB, so I think we still
have some conformance work to do.

Andrew Bartlett
(This used to be commit 5ddbca73d4971a885c105c8d893e53598c5582b4)
2007-10-10 14:59:07 -05:00
Andrew Bartlett
90b49dc520 r23717: We need to remove the _ in LDAP_MANAGERPASS for the
--ldap-manager-pass= option to work.

Andrew Bartlett
(This used to be commit fbcb1ec14125a4ca57922ec75b01af9a99dcd954)
2007-10-10 14:59:07 -05:00
Andrew Bartlett
97172e1120 r23716: Clarify LDAP Manager DN and fix slapd startup syntax.
Andrew Bartlett
(This used to be commit 17dad5d8c345c2c3a7643bff7a43473339a22d40)
2007-10-10 14:59:06 -05:00
Andrew Bartlett
c37cfae81e r23715: Make the provision-backend script print out the exact commands to run,
to set up the LDAP backend.

Andrew Bartlett
(This used to be commit cc7900210a2e473060d5897ec729923ac6b2f18d)
2007-10-10 14:59:06 -05:00
Andrew Bartlett
3a78f7323a r23703: Start to get Samba4 to again work with LDAP backends, after I turned
on metze's schema work.

Andrew Bartlett
(This used to be commit 3111bbdf64f57bf8d2638fd9829c071dcfeb4af1)
2007-10-10 14:59:06 -05:00
Andrew Tridgell
4ace7950d4 r23702: fixed a "falling back to select" error in the standard process
model. It's much cleaner to get the event system to close the fd,
especially with the complexity of forks
(This used to be commit d1b710f09c95a8181d2b642081282d8c97b37811)
2007-10-10 14:59:05 -05:00
Andrew Tridgell
3381a5c3a4 r23701: when we create a new socket with socket_accept(), clear any flags that
were set in the old one. Otherwise SOCKET_FLAG_NOCLOSE causes a major
fd leak
(This used to be commit 4e31eda055781a710d285c509d0c51b42e351431)
2007-10-10 14:59:05 -05:00
Andrew Tridgell
2a8f9213a4 r23700: pre-open the sam in the parent smbd. This has the effect of loading
the schema. That stops us loading the schema for each new connection.

In future I would prefer to share a lot more of our ldb contexts with
children. That will require a larger piece of surgery.
(This used to be commit ff41bdc350cf05c70c63effe30fe69e63181f088)
2007-10-10 14:59:04 -05:00
Andrew Tridgell
b4d9778a80 r23699: when we create the global schema, remember to set the ldb opaque so we
can find it again
(This used to be commit 968e70b2aa478cfd49321e3386b505fd00a81527)
2007-10-10 14:59:04 -05:00
Andrew Tridgell
d1984d5cf3 r23698: fixed notify:backend so it actually works again
(This used to be commit d49ce1d752fdf6a6e1d6b9da12e7afb7d385ef8c)
2007-10-10 14:59:04 -05:00
Andrew Tridgell
879e1e0ec7 r23697: use the file perm options in the posix backend
(This used to be commit 701d06ac016c69fcd9ac92b5afefa2346c9bc26f)
2007-10-10 14:59:03 -05:00
Andrew Tridgell
b540bc85ff r23696: added the create mask and related share permissions options to Samba4,
using the new share_int_option() code from Simo

speaking of which, this is the first time I've looked closely at the
share_classic.c code. It is absolutely and completely braindead and
broken. Whatever drugs Simo was on at the time, he better not try to
cross a border with them on him!

Problems with it:

 - if you actually set a value, it gets ignored, and the defvalue gets
   used instead ('ret' is never returned). If you don't set a value,
   then defvalue gets returned too. Sound useful?

 - it means we now have to list parameters in source/param/ in lots
   and lots of places, all of which have to match exactly. code like
   this is supposed to reduce the likelyhood of errors, not increase
   it!

 - code which has a long line of if() statements with strcmp() should
   cause your fingers to burn on the keyboard when you type it
   in. That's what structure lists are for. Strangely enough, we have
   all the info in loadparm.c in a structure list, but instead it gets
   replicated in share_classic.c in this strange if() strcmp() form

expect some changes to this code shortly. I'll need a calming cup of
tea first though :-)
(This used to be commit 19a9fc2f444efc0894b06a249daf73ed555b61e2)
2007-10-10 14:59:03 -05:00
Andrew Bartlett
80ae1c2a2a r23695: By not using the NULL context for these large structures, we don't
falsely report them as leaked.

Andrew Bartlett
(This used to be commit e3eb6c2cf63edf50d93a87f656df3ae5aa6efc00)
2007-10-10 14:59:02 -05:00
Andrew Bartlett
31df9075c5 r23693: Give the process a chance to write out it's coverage data, before we
blast a kill -9 at it.

Andrew Bartlett
(This used to be commit 16692ae7d9ce269ca7d610319df20d894fe06a1c)
2007-10-10 14:59:02 -05:00
Stefan Metzmacher
5dd8496af6 r23687: not every compiler supports __typeof__()
metze
(This used to be commit d0f77f7bd7520f4cd61c0d0199b917895ea85a1c)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
ee1ca9a410 r23684: Only use the bzr and git information when there's
a .bzr or .git in the top branch directory

I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch

metze
(This used to be commit 7bb81c1fc335697b5136fd1f705c5dca8eebcd7a)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
91e68b1d90 r23681: merge 23670 from SAMBA_3_0:
metze
(This used to be commit 446312df745160a6ee1bca93143e10927dfb05ce)
2007-10-10 14:59:00 -05:00
Andrew Bartlett
222c6dd781 r23680: Make it easier to setup a domain member server - the 'server role'
will now control the auth methods, but an override is still available,
ex:

auth methods:domain controller = <methods>

Andrew Bartlett
(This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)
2007-10-10 14:59:00 -05:00
Andrew Bartlett
2f269ed954 r23679: invocationID is a GUID too.
Andrew Bartlett
(This used to be commit 645a8862a3d7c493020e432d76ad0e5da5ea77b5)
2007-10-10 14:58:59 -05:00
Andrew Bartlett
ec0035c9b8 r23678: Update to current lorikeet-heimdal (-r 767), which should fix the
panics on hosts without /dev/random.

Andrew Bartlett
(This used to be commit 14a4ddb131993fec72316f7e8e371638749e6f1f)
2007-10-10 14:58:59 -05:00
Andrew Bartlett
74b35321dc r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
Fix these to use the new data_blob_cmp()

Andrew Bartlett
(This used to be commit d2fba8faf03c18f4c79e83d5847e5420377d811b)
2007-10-10 14:58:58 -05:00
Kai Blin
1e1a60aa7b r23676: Added a .gitignore file to hide generated files from git status.
It's identical to .bzrignore
(This used to be commit 9987d30957893423e605fdfdd8bb27e20dd429d7)
2007-10-10 14:58:58 -05:00