1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00
Commit Graph

1253 Commits

Author SHA1 Message Date
Stefan Metzmacher
769ce9799b r20404: add error code for missing attribute syntax
metze
2007-10-10 14:30:23 -05:00
Stefan Metzmacher
e769029f42 r20378: add new error code that says the schema mismatches between DC's
metze
2007-10-10 14:30:19 -05:00
Volker Lendecke
9bdc19b6d5 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
2007-10-10 14:29:37 -05:00
Simo Sorce
14b3b9861a r20284: Simplify OID primitive BER parsing.
Do not require an artificial ASN.1 context to be setup.

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

metze
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
576d4c54cc r20258: add functions to read and write asn1 encoded OID strings without leading tag
metze
2007-10-10 14:29:28 -05:00
Stefan Metzmacher
dd5df84ccc r20213: add 2 error codes related to the msDs-IntId attribute
metze
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
b69471866c 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
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
cb5c2e9dc6 r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze
2007-10-10 14:29:01 -05:00
Andrew Tridgell
e5dbbe177c r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
417f64184e r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
f4a6fade3a r19735: report the LDAP error code in the CLDAP replies to the caller
metze
2007-10-10 14:28:16 -05:00
Stefan Metzmacher
a0a45c3326 r19734: display LDAP error code nicer
metze
2007-10-10 14:28:16 -05:00
Stefan Metzmacher
0a1ecb9116 r19724: add a helper functions to return an CLDAP error
metze
2007-10-10 14:28:14 -05:00
Jelmer Vernooij
8768bec81f r19676: Fix some more dependencies. 2007-10-10 14:25:29 -05:00
Stefan Metzmacher
643a38bc30 r19645: don't pass NULL as mem_ctx...
metze
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
a5d36a6dde r19642: convert host.c to new composite api
metze
2007-10-10 14:25:24 -05:00
Stefan Metzmacher
800999733e r19639: convert nbtlist.c to new composite api
metze
2007-10-10 14:25:23 -05:00
Stefan Metzmacher
617f9c70c1 r19638: convert resolve.c to the new composite api
metze
2007-10-10 14:25:23 -05:00
Andrew Bartlett
2b569c42e0 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
2007-10-10 14:25:00 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Stefan Metzmacher
1940fbed15 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
2007-10-10 14:21:41 -05:00
Stefan Metzmacher
97fb407a4c r19480: - clear the whole session struct (only let the pid untouched)
- zero state struct

metze
2007-10-10 14:21:41 -05:00
Andrew Bartlett
c843fce7a0 r19464: Reject passwords that cannot be converted into UCS2.
Andrew Bartlett
2007-10-10 14:21:37 -05:00
Volker Lendecke
03eaf0edf9 r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
2007-10-10 14:20:52 -05:00
Günther Deschner
d9562e0f83 r19162: Merge WERR code from Samba 3.
Guenther
2007-10-10 14:20:46 -05:00
Andrew Bartlett
441a4f6262 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.
2007-10-10 14:20:26 -05:00
Andrew Tridgell
6cce709d08 r18971: avoid strndup is a few places. Fixes a minor memory leak, and should
fix RPC-LSA on AIX.
2007-10-10 14:20:25 -05:00
Andrew Tridgell
27114fe175 r18968: EWOULDBLOCK should also be mapped to STATUS_MORE_ENTRIES 2007-10-10 14:20:25 -05:00
Andrew Tridgell
bb7835eced 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.
2007-10-10 14:20:24 -05:00
Andrew Tridgell
6568f30adf 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 :)
2007-10-10 14:20:21 -05:00
Günther Deschner
692746ff8d r18847: Add WERR_NO_SYSTEM_RESOURCES showing up in dfs torture testing.
Guenther
2007-10-10 14:20:15 -05:00
Andrew Tridgell
1e34e4d5a1 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs. 2007-10-10 14:19:16 -05:00
Andrew Tridgell
f55de25ab3 r18715: 0x8 style status returns should also fail here (thanks metze) 2007-10-10 14:19:03 -05:00
Günther Deschner
e2879f6fc2 r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther
2007-10-10 14:18:58 -05:00
Andrew Tridgell
c440e0eed9 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/
2007-10-10 14:18:06 -05:00
Andrew Tridgell
eba6c84eff 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.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
4860d02565 r18280: more portability tidyups, ensuring we use libreplace everywhere 2007-10-10 14:18:00 -05:00
Andrew Tridgell
f4b4bd945f r18256: use the right status variable 2007-10-10 14:17:57 -05:00
Andrew Tridgell
dbf935d38b r18243: when setting up a composite continuation, if the context has already
finished when we need to trigger the continuation immediately.

Via a fairly complex path, this fixes the problem where all hosts in
the build farm that do not have ipv6 failed a lot of the RPC
tests. This happened because the dcerpc_connect() async code used a
composite_continue() on a context which was already in an error state,
due to the socket backend saying that ipv6 was unavailable
2007-10-10 14:17:54 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
fe209e360e r18211: wct is not a size, so don't use size_t
this should fix a pile of printf format warnings
2007-10-10 14:17:50 -05:00
Andrew Tridgell
18542f184f r18130: the move to system/ in libreplace broke some things ... should be
happier now
2007-10-10 14:17:37 -05:00
Andrew Bartlett
556a21faee r18025: Don't try to set a target host if there isn't one (such as with ldapi://).
Andrew Bartlett
2007-10-10 14:17:04 -05:00
Andrew Bartlett
1920cb8b39 r18024: The %c sscanf format I'm using doesn't null terminate.
Andrew Bartlett
2007-10-10 14:17:04 -05:00
Andrew Bartlett
da66b53e6a r18021: Add ldapi support to our LDAP client. To be used for testing an
OpenLDAP backend.

Andrew Bartlett
2007-10-10 14:17:03 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Volker Lendecke
bb39360370 r17848: Ok, this did not do it. Still got the same problem. 2007-10-10 14:16:48 -05:00