1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

11182 Commits

Author SHA1 Message Date
Simo Sorce
a9e31b33b5 r19832: better prototypes for the linearization functions:
- ldb_dn_get_linearized
  returns a const string

- ldb_dn_alloc_linearized
  allocs astring with the linearized dn
(This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10 14:28:22 -05:00
Simo Sorce
4889eb9f7a r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
(This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10 14:28:22 -05:00
Jelmer Vernooij
ce0c2236b9 r19830: Warn about non-ref top-level pointers.
(This used to be commit 78153200ac45ce7333c91c48ded549b5eed5e077)
2007-10-10 14:28:21 -05:00
Jelmer Vernooij
de2ab46ad8 r19829: Update documentation.
(This used to be commit 9d3c3ce540d6d9fbead201f4793339a1600c453e)
2007-10-10 14:28:21 -05:00
Andrew Bartlett
84c5acc615 r19805: Add the (harmless, but apparently default)
NTLMSSP_NEGOTIATE_ALWAYS_SIGN flags into the default set.

Andrew Bartlett
(This used to be commit 04709c75afda0234c7236fba674bf53a265f8dbb)
2007-10-10 14:28:21 -05:00
Volker Lendecke
f4c4e0cf7f r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)

Nevertheless, Jelmer & Jerry, please take a look!

Thanks,

Volker
(This used to be commit 10dcaf89ed07b9d5d1c89da33b50fcaadead32b2)
2007-10-10 14:28:20 -05:00
Andrew Bartlett
08452bd738 r19761: This may need work, but here is an initial implementation of
DsWriteAccountSpn().

It passes the client toture test.

Andrew Bartlett
(This used to be commit a1e80eeb9561a856ac5aa1f5a991dcd648b152ff)
2007-10-10 14:28:20 -05:00
Andrew Bartlett
ce2d92c878 r19760: Create a DC account for the drsuapi tests to work on, rather than
choosing an existing DC.

Allow to skip some tests under Samba4.

Andrew Bartlett
(This used to be commit 705fbae325267fd0ed11f463f954f8e45802d6d5)
2007-10-10 14:28:20 -05:00
Andrew Bartlett
2ddd807979 r19759: Allow a join to occour against ncacn_ip_tcp again (useful for torture
tests).  The issue is that Win2k3 SP1 will not answer many LSA
requests on that port (I think this is as a security measure).

In this case, we need to skip ahead in the composite functions.

We were also checking the wrong variable to determine sucess/failure
of the LsaOpenPolicy2.

Andrew Bartlett
(This used to be commit 67c191305fa97470017e7e8a5b55fc0949d432ad)
2007-10-10 14:28:19 -05:00
Andrew Bartlett
c9035c6633 r19757: Don't do the strrchr twice. Pointed out by Martin Kuhl.
Andrew Bartlett
(This used to be commit c4bf9cc09b36d8dcc465608b55bbf5dc07aed9e4)
2007-10-10 14:28:19 -05:00
Rafal Szczesniak
e8f77306dd r19753: verify result of received request before sending the next one.
I don't know why I forgot this...

rafal
(This used to be commit d5f7141a6c76d80d564500d59fd07cc8edb8127d)
2007-10-10 14:28:19 -05:00
Jelmer Vernooij
5b05f5f5f1 r19752: Remove support for the `depends' attribute (use "import") instead.
(This used to be commit 324395afc725e90f44f286fd776b38a64bdc8e3b)
2007-10-10 14:28:19 -05:00
Jelmer Vernooij
e3ea863a3c r19751: Add some tests for parsing the "include", "import" and "importlib" statements.
(This used to be commit 3a850bda962da9ce58227ea6d74e974f7654d734)
2007-10-10 14:28:18 -05:00
Stefan Metzmacher
a7127ad79e r19743: merge from samba3:
remove old unused schema module

metze
(This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
2007-10-10 14:28:18 -05:00
Stefan Metzmacher
982f7f9b44 r19742: fix compiler warnings
metze
(This used to be commit 4edeef56dcd185869812bf622c5b496360eb6223)
2007-10-10 14:28:18 -05:00
Stefan Metzmacher
ab7411714b r19740: fix compiler warning
metze
(This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)
2007-10-10 14:28:17 -05:00
Stefan Metzmacher
2fd3942ca5 r19738: tp3 is already released, so we have tp4-svn now
metze
(This used to be commit e5671b75f2deab2d7979e5c394a942a511082f67)
2007-10-10 14:28:17 -05:00
Stefan Metzmacher
5d7b85184d r19737: - add some more CLDAP rootdse tests
- don't ignore CLDAP rootdse errors anymore

metze
(This used to be commit 712577d9e284445e9257b691aefb719511d6a57c)
2007-10-10 14:28:17 -05:00
Stefan Metzmacher
b471ed1a0c r19736: handle rootdse call via CLDAP
metze
(This used to be commit 39dc94b219355ba774b309e26f1d93070d9d080b)
2007-10-10 14:28:17 -05:00
Stefan Metzmacher
3826a6027f r19735: report the LDAP error code in the CLDAP replies to the caller
metze
(This used to be commit f4a6fade3a3113732ef66433c5739657f0bfdbee)
2007-10-10 14:28:16 -05:00
Stefan Metzmacher
c7367e873e r19734: display LDAP error code nicer
metze
(This used to be commit a0a45c3326560b9b31d0e17f1439d2638e91aee0)
2007-10-10 14:28:16 -05:00
Andrew Bartlett
e4955030bc r19733: More work to fix ldb_map. With the wildcard present,
map_attr_find_local() always returns, which is exactly what we don't
want.  Instead, rely on the overwrite behaviour.

Andrew Bartlett
(This used to be commit 9b9b7bae16a635d9a9ba72d21a4a4718d294c9b0)
2007-10-10 14:28:16 -05:00
Andrew Bartlett
84138215ca r19732: The 'res' from ldb_search is only valid if the call returns LDB_SUCCESS.
This seems to show up (as an abort() from talloc) particularly under
ldb_ildap.

Andrew Bartlett
(This used to be commit 9890af534d845d471d2a98268c408a907b29e016)
2007-10-10 14:28:15 -05:00
Andrew Bartlett
adae413042 r19731: Modify the ldb_map infrustructure to always map from requested
attributes to backend (remote) attributes.

We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes.  (We end up with the wrong
attributes returned).

In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.

I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.

I've also re-formatted many of the function headers, to fit into
standard editor widths.

Andrew Bartlett
(This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
2007-10-10 14:28:15 -05:00
Stefan Metzmacher
72ce2ab2ee r19729: - split basedn related tests to a new function
- and add some 'netlogon' attriubte related tests

metze
(This used to be commit d643c3cc5cd4547dbb7cead768993a9abee4e2eb)
2007-10-10 14:28:15 -05:00
Stefan Metzmacher
b7f7e8d4fd r19727: make it possible to run the ldap.js tests against non global catalog servers
metze
(This used to be commit 463ed4c0040f52ef2b06337e122aac325ec01026)
2007-10-10 14:28:15 -05:00
Stefan Metzmacher
76d0193bf3 r19726: when a client explicit asks for the 'netlogon' attriubute on LDAP
the result entry is skipped!

metze
(This used to be commit 62aa73f3d56596780fc82fecbc99c688ecbf5b08)
2007-10-10 14:28:14 -05:00
Stefan Metzmacher
146a4ff13a r19724: add a helper functions to return an CLDAP error
metze
(This used to be commit 0a1ecb911656f8170708ce13e1183557fe118794)
2007-10-10 14:28:14 -05:00
Stefan Metzmacher
a4957315d8 r19723: don't use [,],(,) in test names to make the build-farm output happy
metze
(This used to be commit 8a0a92e2dc107797055421196f430269699510fe)
2007-10-10 14:28:14 -05:00
Stefan Metzmacher
3c6b9db18f r19722: fix memory leaks and hierachie bugs
metze
(This used to be commit fddcbf5d4cce77705be43956ea93895432b64aa1)
2007-10-10 14:28:14 -05:00
Stefan Metzmacher
132b046ec8 r19721: ldapsrv_SearchCallback isn't needed any more
ldb_search_default_callback does the same...

metze
(This used to be commit 0edac60ec6f1e67de8e08f4e71e56b674915ad6e)
2007-10-10 14:28:13 -05:00
Stefan Metzmacher
c046f2e7a3 r19720: - don't pass a pointer reference to ldb_search_default_callback()
as it's ugly when it free's the callers memory on failure!

- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
  and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
  have not way to return them in a ldb_result (we should fix this!)

metze
(This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)
2007-10-10 14:28:13 -05:00
Stefan Metzmacher
a39db63030 r19719: don't use 'new' as var name samba3 doesn't like it...
metze
(This used to be commit 7a4f46c1c9ec8119db46ffc57d77fcf13ca0c5a8)
2007-10-10 14:28:13 -05:00
Stefan Metzmacher
38272577f1 r19714: - add an explicit default target (needs to be the first target in the Makefile)
- let 'make nss' work alone

metze
(This used to be commit 5685b6c8a267251bb21f2cc0e768b00f615e0f1b)
2007-10-10 14:28:12 -05:00
Rafal Szczesniak
52f53078bf r19708: add a script for running net tests separately
rafal
(This used to be commit 0f913ef240dd3117197df1272e88ac195cd8e399)
2007-10-10 14:28:12 -05:00
Stefan Metzmacher
65a50f46c8 r19699: - use better names for the site strings
- use the client_site when creating the server object

metze
(This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10 14:28:12 -05:00
Stefan Metzmacher
31f9ec1233 r19698: fix whitespaces...
metze
(This used to be commit fa439f5655654b044eabb4657989d476aa9f5ea9)
2007-10-10 14:28:12 -05:00
Stefan Metzmacher
f612da2848 r19697: use the same mailslot name as windows does,
this also let wireshark match the responses

metze
(This used to be commit 9e52b0b9b59e2c8ee7b1242a191cc37e462842c1)
2007-10-10 14:28:11 -05:00
Volker Lendecke
57b482c04f r19684: Talloc_guide text on multithreading by Remi Turboult
(This used to be commit 7b9b2e5358030aed5cb69dbc93d3175c9cac4455)
2007-10-10 14:25:32 -05:00
Andrew Bartlett
9d39abf947 r19683: Guard GUID_from_string from walking off the end.
Andrew Bartlett
(This used to be commit 1c3e9b27a793971b096192204c54338b5e571521)
2007-10-10 14:25:31 -05:00
Andrew Bartlett
8539fb3aaa r19682: Fix comments.
Andrew Bartlett
(This used to be commit 4c349f44f8a018e1ad6ed8e92c5083abc4979324)
2007-10-10 14:25:31 -05:00
Andrew Bartlett
5a6288f458 r19681: Update to current lorikeet-heimdal. I'm looking at using the realm
lookup plugin, the new PAC validation code as well as Heimdal's SPNEGO
implementation.

Andrew Bartlett
(This used to be commit 05421f45ed7811697ea491e26c9d991a7faa1a64)
2007-10-10 14:25:31 -05:00
Jelmer Vernooij
9d7856122e r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
(This used to be commit f111feb1d2b82a9ec3a8b6fbcdbe297bf11edc42)
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
cbbe5be832 r19679: Fix shared library build as well.
(This used to be commit ff9e1b4f0634847d0db178b2c283865c4fb39c9b)
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
95caeb1046 r19678: Fix the build for now (ugly hack because of circular dependencies)
(This used to be commit 0953bb7d5f2f2a81688f5421e1fbfa3bc38aa810)
2007-10-10 14:25:30 -05:00
Jelmer Vernooij
66494b1fc9 r19677: Fix more dependencies.
(This used to be commit 17c2557834aad8c85fb640054c942f99bbce1d94)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
fff74b4bca r19675: the process model don't depend on heimdal anymore
and only have private depdendencies

metze
(This used to be commit f37c9f4d920c1a2dc160ce1c26cf70fbb45c653f)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
f0d975fd69 r19674: auth didn't depdend on process_model!
metze
(This used to be commit 30963753fcd9d8db17ca5c8476cc85b7084b7e87)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
d7949f8a70 r19673: Build shared libs against shared libs.
(This used to be commit dad9156db9d53c51d7785139576dddcde7e34c56)
2007-10-10 14:25:28 -05:00