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

1380 Commits

Author SHA1 Message Date
Andrew Bartlett
7f115579d2 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
2007-10-10 14:49:24 -05:00
James Peach
7f56da2d1f r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
2007-10-10 14:49:16 -05:00
James Peach
73cea4e0c6 r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add
convenience API to create an anonymous credential. Don't clobber
cmdline_credentials in the UNIX-WHOAMI test.
2007-10-10 14:49:07 -05:00
Stefan Metzmacher
5534ba591d r21594: give the same error in all resolve backends
metze
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
49591d6996 r21593: give a more useful error, when we can't resolve a long name
via broadcast of wins

metze
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
fbc1e16331 r21592: compress_name() returns NULL for names longer than 15 chars
giving NO_MEMORY back is ugly, so give a useful error

metze
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
04da3db29d r21591: add new error code
metze
2007-10-10 14:49:02 -05:00
Andrew Tridgell
d8875c286d r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
using the pattern in the clilsa code, it didn't fill in the p->binding
structure. This affects nearly all users of dcerpc_pipe_open_smb(), so
the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises
the binding if its not already there.

- re-enable the RAW-ACLS test
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
d40465470f r21511: this seems to be the nicer fix for the problem with
the windows 2000 LDAP client

metze
2007-10-10 14:48:47 -05:00
Stefan Metzmacher
8e604107da r21510: make it possible to push tags with length > 0xFFFFFF
metze
2007-10-10 14:48:47 -05:00
Stefan Metzmacher
f17da75754 r21501: ugly but the windows 2000 mmc deturns decoding error without this
metze
2007-10-10 14:48:45 -05:00
Stefan Metzmacher
8c26e04900 r21316: if we got an unexpected nbt packet that most times mean
we got a 2nd answer to a broadcast message and have already remove
the packet id from out list while getting the first response

metze
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
1fdc71918a r21307: make it possible to pass in NULL for domain or rid,
if someone isn't interessted in one of it

metze
2007-10-10 14:48:08 -05:00
Jelmer Vernooij
07652f65ce r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
dd04c5dec5 r21291: add two more error codes
metze
2007-10-10 14:48:02 -05:00
Andrew Tridgell
fa3c9b29ae r21206: - a couple more nttrans places were a memcpy() should be used
- changed the setup array in nttrans to be a uint8 array, instead of a
  uint16 array. This makes it clearer that it is the job of the caller
  to do any byte swapping within that data
2007-10-10 14:44:45 -05:00
Volker Lendecke
f2d364ebe6 r21183: Commit the big/little endian fix for nttrans setup[] handling.
Please check!

For code symmetry reasons, trans2 might also see this fix, but this is left to
the interested reader :-)

Volker
2007-10-10 14:44:43 -05:00
Stefan Metzmacher
e788709835 r21072: fix compiler warning
metze
2007-10-10 14:44:28 -05:00
Jelmer Vernooij
0f34c67fff r20963: remove unused functions, run LOCAL-TDR by default 2007-10-10 14:44:04 -05:00
Stefan Metzmacher
18cc56be6a r20801: try to always fix up the acl revision when we add or remove
an ace

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

metze
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
532395a18d 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
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
75f5a88f22 r20765: add two more schema related error codes
metze
2007-10-10 14:40:48 -05:00
Andrew Tridgell
b3e2d49087 r20650: revert a bunch of code I didn't mean to commit yet 2007-10-10 14:37:26 -05:00
Andrew Tridgell
5870830b99 r20647: add cluster code 2007-10-10 14:37:24 -05:00
Andrew Tridgell
2365abaa99 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.
2007-10-10 14:37:23 -05:00
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