1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1262 Commits

Author SHA1 Message Date
Jelmer Vernooij
c471abbcfe r20963: remove unused functions, run LOCAL-TDR by default
(This used to be commit 0f34c67fff)
2007-10-10 14:44:04 -05:00
Stefan Metzmacher
d363192d64 r20801: try to always fix up the acl revision when we add or remove
an ace

metze
(This used to be commit 18cc56be6a)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
d6fafdb237 r20800: fix compiler warnings
metze
(This used to be commit 6ce994720c)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
e754ec1d8a r20799: if any ace has the optional sub object, the acl revision needs
to be SECURITY_ACL_REVISION_ADS (4)

metze
(This used to be commit a67bb43659)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
2246d32e70 r20795: dom_sid_parse_talloc() gets an null terminated string as input,
the SDDL string has the sid strings embedded, so we need to create
a null terminated string...

metze
(This used to be commit 532395a18d)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
15f6cf2449 r20765: add two more schema related error codes
metze
(This used to be commit 75f5a88f22)
2007-10-10 14:40:48 -05:00
Andrew Tridgell
1c211a2e43 r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d49087)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99)
2007-10-10 14:37:24 -05:00
Andrew Tridgell
1cd4339b9a r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa99)
2007-10-10 14:37:23 -05:00
Stefan Metzmacher
a2f568f000 r20404: add error code for missing attribute syntax
metze
(This used to be commit 769ce9799b)
2007-10-10 14:30:23 -05:00
Stefan Metzmacher
11018b0e13 r20378: add new error code that says the schema mismatches between DC's
metze
(This used to be commit e769029f42)
2007-10-10 14:30:19 -05:00
Volker Lendecke
84e7faf6cd r20308: ContextSimple can be zero length -- seen in a multi-step gssapi ldap bind. Did
not find that in Samba3 code, so there's nothing to port.

Volker
(This used to be commit 9bdc19b6d5)
2007-10-10 14:29:37 -05:00
Simo Sorce
52455cb922 r20284: Simplify OID primitive BER parsing.
Do not require an artificial ASN.1 context to be setup.

Simo.
(This used to be commit 14b3b9861a)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
06c58a3dbb r20277: make sure the asn1 structure has a welldefined state after a asn1_free()
metze
(This used to be commit 7e7d1a1da2)
2007-10-10 14:29:30 -05:00
Stefan Metzmacher
bfa5a5a441 r20276: remove unneeded talloc_strdup()
metze
(This used to be commit c4733b20c7)
2007-10-10 14:29:29 -05:00
Stefan Metzmacher
3853f820e6 r20259: add function to start a fake tag so that asn1_read_OID_String()
can work alone

metze
(This used to be commit ea70f6ff07)
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
b55a68b368 r20258: add functions to read and write asn1 encoded OID strings without leading tag
metze
(This used to be commit 576d4c54cc)
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
f37b7b8582 r20213: add 2 error codes related to the msDs-IntId attribute
metze
(This used to be commit dd5df84ccc)
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
b236d54c42 r20141: use the gensec_features of the cli_credentials for ildap connections,
instead of hardcoded GENSEC_FEATURE_SEAL.

That means plain LDAP is now the default.

metze
(This used to be commit b69471866c)
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
f9609d779d r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze
(This used to be commit cb5c2e9dc6)
2007-10-10 14:29:01 -05:00
Andrew Tridgell
c72c3e9834 r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
(This used to be commit e5dbbe177c)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
be69066736 r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
(This used to be commit 417f64184e)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
3826a6027f r19735: report the LDAP error code in the CLDAP replies to the caller
metze
(This used to be commit f4a6fade3a)
2007-10-10 14:28:16 -05:00
Stefan Metzmacher
c7367e873e r19734: display LDAP error code nicer
metze
(This used to be commit a0a45c3326)
2007-10-10 14:28:16 -05:00
Stefan Metzmacher
146a4ff13a r19724: add a helper functions to return an CLDAP error
metze
(This used to be commit 0a1ecb9116)
2007-10-10 14:28:14 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f)
2007-10-10 14:25:29 -05:00
Stefan Metzmacher
fe2a5a8abf r19645: don't pass NULL as mem_ctx...
metze
(This used to be commit 643a38bc30)
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
c71152180c r19642: convert host.c to new composite api
metze
(This used to be commit a5d36a6dde)
2007-10-10 14:25:24 -05:00
Stefan Metzmacher
3bc459f813 r19639: convert nbtlist.c to new composite api
metze
(This used to be commit 800999733e)
2007-10-10 14:25:23 -05:00
Stefan Metzmacher
d5314b9f3f r19638: convert resolve.c to the new composite api
metze
(This used to be commit 617f9c70c1)
2007-10-10 14:25:23 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0)
2007-10-10 14:25:00 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067)
2007-10-10 14:24:41 -05:00
Stefan Metzmacher
827d142e9d r19481: - reset the vuid before trying a new session setup
- only touch session->vuid when needed
- it make no sense to set an .spnego.out.vuid

metze
(This used to be commit 1940fbed15)
2007-10-10 14:21:41 -05:00
Stefan Metzmacher
9b97c4d02e r19480: - clear the whole session struct (only let the pid untouched)
- zero state struct

metze
(This used to be commit 97fb407a4c)
2007-10-10 14:21:41 -05:00
Andrew Bartlett
9542481727 r19464: Reject passwords that cannot be converted into UCS2.
Andrew Bartlett
(This used to be commit c843fce7a0)
2007-10-10 14:21:37 -05:00
Volker Lendecke
5c46265048 r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
(This used to be commit 03eaf0edf9)
2007-10-10 14:20:52 -05:00
Günther Deschner
7c793e1bb7 r19162: Merge WERR code from Samba 3.
Guenther
(This used to be commit d9562e0f83)
2007-10-10 14:20:46 -05:00
Andrew Bartlett
31454d2e8b r18989: Fixes found by these two LDAP testsuites:
- http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/
- http://gleg.net/protover_ldap_sample.shtml

Also fixes found by a subsequent audit of the code for similar issues.
(This used to be commit 441a4f6262)
2007-10-10 14:20:26 -05:00
Andrew Tridgell
318682b003 r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.
(This used to be commit 6cce709d08)
2007-10-10 14:20:25 -05:00
Andrew Tridgell
bbe3cffb4b r18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIES
(This used to be commit 27114fe175)
2007-10-10 14:20:25 -05:00
Andrew Tridgell
f3d684a48c r18965: fixed the bug with RPC-NETLOGON and solaris sparc machines. This bug
took a _LONG_ time to find.

The problem was that when encoding/decoding password buffers we use
the pull/push string functions, which by default align unicode
strings. But on solaris sparc the buffer is not aligned always (its a
stack variable, an array of uint8_t). That perfectly OK in C, so we
just tell the pull/push functions not to auto-align.
(This used to be commit bb7835eced)
2007-10-10 14:20:24 -05:00
Andrew Tridgell
a0c614ede2 r18916: fixed the messaging layer on *BSD systems. When a socket was full we
were getting ENOBUFS, which mapped to NT_STATUS_NO_MEMORY, which in
turn caused the messaging code to loop trying until it gave up.

Now it correctly falls back to select. Messaging speed goes from 3
messages per second to over 7000 on my test vmware box. Not bad for a
one line change :)
(This used to be commit 6568f30adf)
2007-10-10 14:20:21 -05:00
Günther Deschner
333557e28f r18847: Add WERR_NO_SYSTEM_RESOURCES showing up in dfs torture testing.
Guenther
(This used to be commit 692746ff8d)
2007-10-10 14:20:15 -05:00
Andrew Tridgell
921f73c7e5 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
(This used to be commit 1e34e4d5a1)
2007-10-10 14:19:16 -05:00
Andrew Tridgell
19f9b91d28 r18715: 0x8 style status returns should also fail here (thanks metze)
(This used to be commit f55de25ab3)
2007-10-10 14:19:03 -05:00
Günther Deschner
f3fd73ed52 r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther
(This used to be commit e2879f6fc2)
2007-10-10 14:18:58 -05:00
Andrew Tridgell
e91cee468e r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.

We really need to use a completely different namespace in libcli/ldap/
(This used to be commit c440e0eed9)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84eff)
2007-10-10 14:18:04 -05:00
Andrew Tridgell
c2387587cb r18280: more portability tidyups, ensuring we use libreplace everywhere
(This used to be commit 4860d02565)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
d7534e0cc7 r18256: use the right status variable
(This used to be commit f4b4bd945f)
2007-10-10 14:17:57 -05:00