1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

221 Commits

Author SHA1 Message Date
Günther Deschner
6282194fe5 r25668: Hopefully fix the build, sorry...
Guenther
(This used to be commit df94fbfe96)
2007-12-21 05:43:06 +01:00
Günther Deschner
4860557842 r25665: Add some more WERR codes.
Guenther
(This used to be commit 846d81c0ad)
2007-12-21 05:43:05 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Michael Adam
20480a7953 r25516: Sorry, I reverted too much of r25448 in r25515.
These two fixes should have remained! Thanks to
Metze for pointing this out.

Michael
(This used to be commit 294b2bf593)
2007-10-10 15:07:46 -05:00
Michael Adam
3b07f6aeb1 r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.

Michael
(This used to be commit 6d07e29de2)
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
a8f264eb2f r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
(This used to be commit d54a47ecdc)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f3)
2007-10-10 15:07:09 -05:00
Stefan Metzmacher
f353737094 r25212: merge some stuff from samba3
metze
(This used to be commit 502251451a)
2007-10-10 15:06:54 -05:00
Jeremy Allison
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcf)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
922101afbd r25010: Avoid uses of pstring
(This used to be commit cce7785474)
2007-10-10 15:05:33 -05:00
Jelmer Vernooij
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05:00
Stefan Metzmacher
0d7d5a6d49 r24560: rename some DCERPC_ prefixes into NDR_
metze
(This used to be commit f874eca5da)
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Andrew Bartlett
5f6b501f21 r24146: It is not an error for a Win2k3-only server not to support the NT4
replication call.

Andrew Bartlett
(This used to be commit 59cba32c09)
2007-10-10 15:01:28 -05:00
Andrew Tridgell
cd1217ff5f r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e)
2007-10-10 14:59:18 -05:00
Andrew Tridgell
b8d69a7ea2 r23795: more v2->v3 conversion
(This used to be commit 84b468b2f8)
2007-10-10 14:59:14 -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 fcf38a38ac)
2007-10-10 14:59:12 -05:00
Günther Deschner
eb9ae52981 r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a3)
2007-10-10 14:53:13 -05:00
Stefan Metzmacher
774d66c1e6 r23037: actually fix the asn1 memory leak :-)
metze
(This used to be commit 13bda1152d)
2007-10-10 14:52:43 -05:00
Andrew Tridgell
931f594cf1 r23036: error checking on asn1_init() failure
(This used to be commit 26cf849408)
2007-10-10 14:52:43 -05:00
Andrew Tridgell
7bb939b1cb r23030: finally fixed up our asn1 code to use better memory allocation. This
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9)
2007-10-10 14:52:42 -05:00
Ronnie Sahlberg
a777eb0cfa r22986: error 2312 is returned when NetSessDel() fails because a matching session (username/clientname)
could not be found
(This used to be commit e2b46d280d)
2007-10-10 14:52:36 -05:00
Ronnie Sahlberg
402218516a r22958: For SRVSVC/NetFileClose only Administrator is allowed to close open files.
If a normal user tries to close a file that exists, even that users own files   the server
responds with this error on w2k

if the file does not exist, the server instead responds with WERR_BADFILE
(This used to be commit c17df8bed6)
2007-10-10 14:52:31 -05:00
Andrew Bartlett
cb00a33c67 r22884: Be consistant with the case of these constants.
Andrew Bartlett
(This used to be commit 7b086eebd6)
2007-10-10 14:52:28 -05:00
Stefan Metzmacher
505fd4eb99 r21591: add new error code
metze
(This used to be commit 04da3db29d)
2007-10-10 14:49:02 -05:00
Andrew Tridgell
60fd088c48 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
(This used to be commit d8875c286d)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
7f9d949bd3 r21510: make it possible to push tags with length > 0xFFFFFF
metze
(This used to be commit 8e604107da)
2007-10-10 14:48:47 -05:00
Jelmer Vernooij
97416e6b01 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.
(This used to be commit 07652f65ce)
2007-10-10 14:48:04 -05:00
Stefan Metzmacher
10c928a94f r21291: add two more error codes
metze
(This used to be commit dd04c5dec5)
2007-10-10 14:48:02 -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
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
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
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
c7367e873e r19734: display LDAP error code nicer
metze
(This used to be commit a0a45c3326)
2007-10-10 14:28:16 -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
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
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