1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

3566 Commits

Author SHA1 Message Date
Stefan Metzmacher
7facd9bf3f r24533: merge from SAMBA_4_0:
rename dcerpc_syntax_id -> ndr_syntax_id

metze
2007-10-10 12:29:54 -05:00
Jeremy Allison
9256ec0a20 r24464: Now Volker removed the readbmpx we don't need cached errors any more.
Jeremy.
2007-10-10 12:29:50 -05:00
Günther Deschner
42abe8450b r24419: Hm, I think this protoype is not required here.
Guenther
2007-10-10 12:29:44 -05:00
Günther Deschner
5dc791f4cf r24413: Minor edits for libgpo.
Guenther
2007-10-10 12:29:42 -05:00
Volker Lendecke
4e819aea0b r24321: Attempt to fix the "hape" cc build 2007-10-10 12:29:28 -05:00
Stefan Metzmacher
b9ae00f498 r24311: add a reply_force_nterror() macro
metze
2007-10-10 12:29:27 -05:00
Stefan Metzmacher
81e5afc363 r24304: patch from Bjoern JAcke <bj@SerNet.DE>:
attached patches add EA support for Solaris. If no one disagrees, can
someone check this in please?

metze
2007-10-10 12:29:25 -05:00
Günther Deschner
054084a235 r24250: Merge W_ERROR_HAVE_NO_MEMORY macro from Samba 4.
Guenther
2007-10-10 12:29:21 -05:00
Gerald Carter
b0b66b2e7a r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
domain local group.

Fix a typo in the PAC debugging routine
2007-10-10 12:29:15 -05:00
Volker Lendecke
824eb26738 r24133: Explicitly pass flags2 down to push_string_fn
This needs a bit closer review, it also touches the client libs
2007-10-10 12:29:10 -05:00
Stefan Metzmacher
d0ec732387 r24131: - make it more clear what the different min and max fields mean
- with the "GSSAPI" sasl mech the plain, sign or seal negotiation
  is independed from the req_flags and ret_flags
- verify the server supports the wrapping type we want
- better handling on negotiated buffer sizes

metze
2007-10-10 12:29:09 -05:00
Volker Lendecke
5fd7e6a382 r24130: Explicitly pass flags2 to srvstr_push
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
cdaa24e804 r24120: add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.

metze
2007-10-10 12:29:08 -05:00
Volker Lendecke
10ac991750 r24078: Add reply_unixerror 2007-10-10 12:29:02 -05:00
Stefan Metzmacher
05fce8815f r24039: remove unused global variable...
metze
2007-10-10 12:28:58 -05:00
Stefan Metzmacher
9d4104b8d5 r24021: use MSG_BROADCAST_PID_STR as value for broadcast messages
to fix the cluster case

vl: please check, if this works with clustering = no

metze
2007-10-10 12:28:56 -05:00
Volker Lendecke
5594af2b20 r23997: Check in the infrastructure for getting rid of the global InBuffer/OutBuffer
The complete history of this patch can be found under
http://www.samba.org/~vlendec/inbuf-checkin/.

Jeremy, Jerry: If possible I would like to see this in 3.2.0. I'm only
checking into 3_2 at the moment, as it currently will slow down operations for
all non-converted (i.e. all at this moment) operations, as it will copy the
talloc'ed inbuf over the global InBuffer. It will need quite a bit of effort
to convert everything necessary for the normal operations an XP box does.

I have patches for negprot, session setup, tcon_and_X, open_and_X, close. More
to come, but I would appreciate some help here.

Volker
2007-10-10 12:28:53 -05:00
Volker Lendecke
dc6f4bdb7f r23986: Some const 2007-10-10 12:28:52 -05:00
Günther Deschner
f959a0f152 r23971: Prevent build failures.
Guenther
2007-10-10 12:28:50 -05:00
Stefan Metzmacher
408bb2e6e2 r23946: add support for NTLMSSP sign and seal
NOTE: windows servers are broken with sign only...

metze
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
2075c05b3d r23945: add infrastructure to select plain, sign or seal LDAP connection
metze
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
65ce6fa21a r23926: implement output buffer handling for the SASL write wrapper
metze
2007-10-10 12:28:45 -05:00
Stefan Metzmacher
7d8518ebd9 r23922: implement input buffer handling for the SASL read wrapper
metze
2007-10-10 12:28:42 -05:00
Günther Deschner
83c734690a r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that already has
S-1-5-11 in the token.

Guenther
2007-10-10 12:28:42 -05:00
Stefan Metzmacher
873eaff8fe r23898: rename HAVE_ADS_SASL_WRAPPING -> HAVE_LDAP_SASL_WRAPPING
metze
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
d5512da62a r23896: hopefully fix the build on most systems
metze
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
a3b97cdce7 r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet...

metze
2007-10-10 12:28:39 -05:00
Stefan Metzmacher
00909194a6 r23888: move elements belonging to the current ldap connection to a
substructure.

metze
2007-10-10 12:28:38 -05:00
Günther Deschner
f60ad2ccff r23870: Use GPO_LINK_TYPE in GROUP_POLICY_OBJECT struct.
Guenther
2007-10-10 12:28:36 -05:00
Jeremy Allison
b4eff3f680 r23858: Added srvstr_pull_buf_talloc() and srvstr_pull_talloc()
calls and converted reply_tcon and reply_tconX to use
them - to show the boilerplate usage (valgrind tested).
In conjunction with Volker's srvstr_get_path_talloc()
work this should allow us to start eliminating all
pstrings/fstrings out of the main path processing
code.
I'll watch the build farm tonight...
Jeremy.
2007-10-10 12:28:35 -05:00
Günther Deschner
1d5b08326f r23838: Allow to store schema and config path in ADS_STRUCT config.
Guenther
2007-10-10 12:28:33 -05:00
Günther Deschner
311bbbafa6 r23834: Allow to pass an ADS_STRUCT pointer down to the dump function callback in
libads.

Guenther
2007-10-10 12:28:32 -05:00
Günther Deschner
d832014a6f r23826: Fix gpo security filtering by matching the security descriptor ace's for the
extended apply group policy right.

Guenther
2007-10-10 12:28:31 -05:00
Volker Lendecke
84b8a56fe9 r23808: Make us a bit more C++ friendly. Thanks to Constantine Vetoshev
<gepardcv@yahoo.com> for checking.
2007-10-10 12:28:29 -05:00
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Andrew Tridgell
727a6cf2cb r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
2007-10-10 12:28:26 -05:00
Andrew Tridgell
c676a97114 r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 12:28:26 -05:00
Andrew Tridgell
c14aba93c0 r23795: more v2->v3 conversion 2007-10-10 12:28:26 -05:00
Andrew Tridgell
f3df6cd87e r23794: convert more code from LGPLv2+ to LGPLv3+ 2007-10-10 12:28:25 -05:00
Andrew Tridgell
1b78cace50 r23790: LGPLv3+ conversion for our LGPLv2+ library code 2007-10-10 12:28:25 -05:00
Andrew Tridgell
cb435543f8 r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in the
Samba3 tree.

This is neater, plus it avoids the need to get legal approval from SGI
to use their GPLv2-only code under GPLv3.

If/when SGI legal sort things out, we could consider adding back this
header for very old systems where linux/dqblk_xfs.h is not available.
2007-10-10 12:28:24 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
31d689b248 r23771: Merge useful W_ERROR_NOT_OK_RETURN macro from samba4.
Guenther
2007-10-10 12:23:55 -05:00
Günther Deschner
964acb2716 r23766: Add GTYPE_SECURITY_UNIVERSAL_GROUP define.
Guenther
2007-10-10 12:23:54 -05:00
Herb Lewis
4c04059f7d r23732: removed reference to non-existent structure 2007-10-10 12:23:50 -05:00
Volker Lendecke
836782b07b r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The next
checkin will pull this up to srvstr_get_path. At that point we can get more
independent of the inbuf, the base_ptr in pull_string will only be used
to satisfy UCS2 alignment constraints.
2007-10-10 12:23:49 -05:00
Volker Lendecke
ca988f4e79 r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_request
that contains some of the fields from the SMB header, removing the need
to access inbuf directly. This right now is used only in the open file
code & friends, and creating that header is only done when needed. This
needs more work, but it is a start.

Jeremy, I'm only checking this into 3_0, please review before I merge it
to _26.

Volker
2007-10-10 12:23:48 -05:00
Volker Lendecke
25f3bfdb1f r23671: Remove unused code -- 16416 bytes of bss space... 2007-10-10 12:23:44 -05:00
Günther Deschner
7ca002f4cc r23646: Generalize our internal keytab handling to support a broader range of default
keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also
fixes keytab support with Heimdal (which supports the WRFILE pragma as well
now).

Guenther
2007-10-10 12:23:40 -05:00