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

22209 Commits

Author SHA1 Message Date
Steve French
c8aa60692b r22979: Revert previous checkin (which had some debug junk) and fix misc frees that
valgrind noticed
2007-10-10 12:22:13 -05:00
Gerald Carter
63cb25bad1 r22978: Don't use current_user to prep the security ctx in change_to_user
since any SID/uid/gid translation calls will reset the struct when
popping the security ctx.  This should fix the standalone server
configuration issues reported by David Rankin (thanks for the logs).
2007-10-10 12:22:12 -05:00
Gerald Carter
51aac0fcb4 r22977: Trim noise by removing redundant WARNING log message that
would flood at log level 2.  We know when we're using the legacy
mapping code anyways since it will log an informative msg.
2007-10-10 12:22:12 -05:00
Simo Sorce
2d4c3a7520 r22976: whoops typo 2007-10-10 12:22:12 -05:00
Gerald Carter
55ba4a04d0 r22975: BUG 4616: Don't return a dns or forest name when replying to the
DsDGetPrimaryRoleInfo() and configured for security = domain.
2007-10-10 12:22:12 -05:00
Simo Sorce
708a9cb08e r22974: enable relro with PIE if available, this gives extra protection to the ELF segment 2007-10-10 12:22:12 -05:00
Alexander Bokovoy
8f78b6ce3a r22973: Apparently, 3.0.25 broke smb4k badly ;-)
smb4k uses 'net rap server domain' to list servers in domain.
Previously we just ignored all arguments in net_rap_server() but now we don't
as 'net rap server name' has added an explicit check on arguments.

Allow 'net rap server domain' to aid smb4k. Any other arguments will cause help message.
2007-10-10 12:22:12 -05:00
Jeremy Allison
039fb906af r22956: Fix security=server (bug #4622). Volker's patch
(slightly truncated by me). Will be in 3.0.25a.
Jeremy.
2007-10-10 12:22:11 -05:00
James Peach
2dddd502c9 r22955: Disable dependency tracking by default. 2007-10-10 12:22:11 -05:00
Volker Lendecke
9b8df24107 r22954: More messaging_register 2007-10-10 12:22:11 -05:00
Volker Lendecke
f93b6353fe r22953: Well, this apparently has never been tested. But *this* code never saw a
release yet .... ;-))
2007-10-10 12:22:11 -05:00
Jeremy Allison
a398bdf08d r22950: Fix the issue Volker reported here :
"Attempt to fix some build farm failures: On port 139 the first
successful packet gives len==0 from the server, so the = in

        if (len <= 0) {

in line 136 of clientgen.c throws a failure."

The irritating thing is that I already had it correct in
SAMBA_3_0_26 and forgot to merge the change across.

len == 0 is a valid return - I messed that up when
converting client_receive_smb() to return a length
rather than a BOOL.

Doh !

Jeremy.
2007-10-10 12:22:11 -05:00
Volker Lendecke
caece8975b r22943: More message_register -> messaging_register 2007-10-10 12:22:10 -05:00
Volker Lendecke
65335a4206 r22942: Some message_register -> messaging_register conversions 2007-10-10 12:22:10 -05:00
Volker Lendecke
e3d985c581 r22934: Change smbcontrol to use messaging_register instead of message_register 2007-10-10 12:22:10 -05:00
Michael Adam
550498e68d r22932: Use the same symbol in sizeof and cast for talloc. 2007-10-10 12:22:10 -05:00
Michael Adam
2c72980a80 r22931: Fix logic in detection of the need to replace dlopen and friends.
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.

Michael
2007-10-10 12:22:10 -05:00
Volker Lendecke
0bdf4f1a59 r22930: Next attempt to get the build farm in line.
Jeremy, please check this and merge if appropriate.
2007-10-10 12:22:10 -05:00
Volker Lendecke
9c5111d8c5 r22929: Attempt to fix some build farm failures: On port 139 the first
successful packet gives len==0 from the server, so the = in

        if (len <= 0) {

in line 136 of clientgen.c throws a failure.

Jeremy, please fix this properly, I'm not merging this to 3_0_26 so that
you can filter it when you merge.

Volker
2007-10-10 12:22:10 -05:00
Günther Deschner
cdfcbb176a r22928: Use better success error code.
Guenther
2007-10-10 12:22:09 -05:00
Jeremy Allison
bf0313629e r22926: Don't use <=0, use < 0 to allow keepalives to propagate up.
Jeremy.
2007-10-10 12:22:09 -05:00
Jeremy Allison
e1052c0e3d r22925: Sync read_and_X with 3.0.26 code (use setup_readX_header()).
Jeremy.
2007-10-10 12:22:09 -05:00
Jeremy Allison
6fe2ee3bd7 r22924: Fix the build by correctly processing readX
errors in the direct read case.
Jeremy.
2007-10-10 12:22:08 -05:00
Jeremy Allison
9204f1741b r22923: Fix runaway smbd now receive_smb_raw() returns a ssize_t not a BOOL.
Jeremy.
2007-10-10 12:22:08 -05:00
Jeremy Allison
3c1ccc68f0 r22922: Move "normal_read:" label out of ifdef guard. Fix the build.
Jeremy.
2007-10-10 12:22:08 -05:00
Jeremy Allison
a53268fb20 r22920: Add in the UNIX capability for 24-bit readX, as discussed
with the Apple guys and Linux kernel guys. Still looking
at how to do writeX as there's no recvfile().
Jeremy.
2007-10-10 12:22:08 -05:00
Michael Adam
a7d992545b r22919: Fix build on Tru64. 2007-10-10 12:22:08 -05:00
Michael Adam
e55f952a13 r22918: Attempt to fix the build of the tru64acl module.
Where the heck did that smb_acl_permset_t come from?
I can't remember...

Michael
2007-10-10 12:22:07 -05:00
Derrell Lipman
7213b5ebec r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent
attempts to set attributes to fail.

- I also noticed that missing attributes were setting an invalid return string
  by getxattr(), e.g. if there was not group, the return string had "GROUP:;"
  instead of excluding the GROUP attribute entirely as it should.  The big
  problem with the way it was, is that the string could not then be passed to
  setxattr() and parsed.
2007-10-10 12:22:07 -05:00
Volker Lendecke
cc92ce665d r22911: Pass a messaging_context to message_send_all 2007-10-10 12:22:07 -05:00
Volker Lendecke
27224922cf r22910: Make message_send_pid static to messages.c 2007-10-10 12:22:07 -05:00
Volker Lendecke
330946ad23 r22908: All callers of message_init now also call messaging_init. Unify those. 2007-10-10 12:22:07 -05:00
Volker Lendecke
fd45e0ff73 r22907: Fix the build with --enable-profiling-data 2007-10-10 12:22:06 -05:00
Volker Lendecke
8abf9f3963 r22906: Some more message_send_pid 2007-10-10 12:22:06 -05:00
Volker Lendecke
3fdfb5b7cd r22905: cli_send_mailslot had a message_send_pid inside 2007-10-10 12:22:06 -05:00
Günther Deschner
dcf5375aa4 r22904: Fix indent.
Guenther
2007-10-10 12:22:06 -05:00
Günther Deschner
203391623b r22903: Now that we have the on-disc trustdomaincache with type flags we can better
decide whether it's worth to register a krb5 ticket gain handler while users
logon offline.

Guenther
2007-10-10 12:22:06 -05:00
Volker Lendecke
6d210fb8a1 r22902: Add an event_context and a messaging_context to nmbd. Not used yet. 2007-10-10 12:22:06 -05:00
Günther Deschner
ef8f0d3504 r22901: When an AD account has UF_DONT_REQUIRE_PREAUTH set we need to fallback to ntlm
in the kerberized PAM_AUTH.

Guenther
2007-10-10 12:22:05 -05:00
Volker Lendecke
edbeea5207 r22900: Convert profile/ to messaging_send_pid/messaging_register 2007-10-10 12:22:05 -05:00
Volker Lendecke
c8b9827340 r22895: Convert some more calls from message_send_buf to messaging_send_buf 2007-10-10 12:22:05 -05:00
Michael Adam
a43775ab36 r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s.
This fixes the build on solaris (host sun9).
And hopefully doesn't break any other builds... :-)
If it does, we need some configure magic.

Thanks to Björn Jacke <bj@sernet.de>.
2007-10-10 12:22:05 -05:00
James Peach
c16ad8d58c r22879: Tidy the build rules for targets that need the installation paths. 2007-10-10 12:22:05 -05:00
James Peach
947955a5e8 r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295. 2007-10-10 12:22:05 -05:00
Jeremy Allison
bd80db71e7 r22872: Add vfs_zfsacl module from Jiri Sasek <Jiri.Sasek@Sun.COM>.
Jeremy.
2007-10-10 12:22:04 -05:00
Lars Müller
1c06148010 r22870: Don't create shared objects of nss and tdb modules. 2007-10-10 12:22:04 -05:00
Lars Müller
6f19e5853d r22869: Add bin/{ldap,nss,tdb}.@SHLIBEXT@ rules.
Not tested for SAMBA_3_0 as I didn't get autogen.sh or autoreconf to
build a configure.
2007-10-10 12:22:04 -05:00
Volker Lendecke
74fa57ca5d r22868: Replace some message_send_pid calls with messaging_send_pid calls. More
tomorrow.
2007-10-10 12:22:04 -05:00
Alexander Bokovoy
c3f4fdd37e r22867: With Samba4's IDL, we now have two new flags for share types: STYPE_TEMPORARY and STYPE_HIDDEN
Strip them out when referencing share_type[] entries.

Apparently, some Windows XP installs create shares set to STYPE_HIDDEN by default, found by
Damir Shayhutdinov <damir@altlinux.org>. This also fixes smb4k crashes as it does call 'net share -l'.
2007-10-10 12:22:04 -05:00
Michael Adam
f0570dc3d9 r22855: fix the build
(#if inside DEBUG macro not allowed...)

Michael
2007-10-10 12:22:03 -05:00