Volker Lendecke
ba0bce2c6f
r23173: Convert sessionid.tdb to ctdb. The 3.0.26 patch is a bit larger because
...
it brings across the tdb-based list_sessions
(This used to be commit 0153386c1a
)
2007-10-10 12:22:52 -05:00
Volker Lendecke
fff51a9af2
r23172: Change shutdown_other_smbds to use connections_traverse instead of
...
session_traverse.
(This used to be commit ccb5eb245e
)
2007-10-10 12:22:52 -05:00
Volker Lendecke
054bf2fc8b
r23171: Convert connections.tdb to dbwrap
...
(This used to be commit 80a1f43825
)
2007-10-10 12:22:52 -05:00
Volker Lendecke
7e27c984c4
r23170: Add map_nt_error_from_tdb()
...
(This used to be commit 02beae81c8
)
2007-10-10 12:22:51 -05:00
Volker Lendecke
8c57860cc7
r23169: Merge 535 of Tridge's bzr tree:
...
store the right data after cleaning lock records. This fixes
RAW-BENCH-LOCK after a recovery on a cluster
(This used to be commit 3da3086dbf
)
2007-10-10 12:22:51 -05:00
Volker Lendecke
14e25f10d6
r23168: Move the lp_max_connections() into service.c.
...
(This used to be commit 4afe37d431
)
2007-10-10 12:22:51 -05:00
Volker Lendecke
f3c477c631
r23167: Remove an unused parameter
...
(This used to be commit 3452a870d5
)
2007-10-10 12:22:51 -05:00
Lars Müller
e5e33247ff
r23166: Bring samba.org's iniparser copy in sync with the upstream version 2.17.
...
(This used to be commit 3fa98245d9
)
2007-10-10 12:22:51 -05:00
Volker Lendecke
40a3b796ce
r23165: Convert brlock.tdb to dbwrap
...
(This used to be commit 84f9885cf8
)
2007-10-10 12:22:50 -05:00
Volker Lendecke
1e6af7084b
r23164: Minor cosmetic checkin
...
(This used to be commit 8de1ac9fad
)
2007-10-10 12:22:50 -05:00
Volker Lendecke
6e5c23728c
r23163: Convert locking.tdb to dbwrap
...
(This used to be commit afe90224bf
)
2007-10-10 12:22:50 -05:00
Volker Lendecke
4db33293ab
r23162: Make use of messaging_send_buf
...
(This used to be commit 3f8186fe85
)
2007-10-10 12:22:50 -05:00
Volker Lendecke
d5daef32b2
r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record
...
optimization.
(This used to be commit 945f73fa39
)
2007-10-10 12:22:50 -05:00
Lars Müller
a32d8a3909
r23156: Install the smb_share_modes.h header file.
...
(This used to be commit e03a67ebc6
)
2007-10-10 12:22:50 -05:00
Lars Müller
7ee1937dad
r23155: Rename INSTALLPERMS to INSTALLPERMS_BIN to differenciate clearer from
...
INSTALLPERMS_DATA.
(This used to be commit 7a9ea106ff
)
2007-10-10 12:22:50 -05:00
Lars Müller
15caaaa8c2
r23154: Add INSTALLPERMS_DATA set to 0644 to install the header files with this
...
permission set instead of 0755.
(This used to be commit 1db52993ed
)
2007-10-10 12:22:49 -05:00
Jeremy Allison
f3de07503a
r23151: Re-arrange the logic so it looks identical to the
...
"file existed" case above. This has no functional
change but is easier to see that it's doing the
same thing.
Jeremy.
(This used to be commit 0a7d8362be
)
2007-10-10 12:22:49 -05:00
Jeremy Allison
4c795b293d
r23150: Fix Samba3 in the build farm again. In the case where the
...
file was being created and we go into the race condition check,
we were testing for compatible open modes, but were not breaking
oplocks in the same way as if the file existed. This meant that
we weren't going into the code path that sets fsp->oplock = FAKE_LEVEL_II_OPLOCK
if the client didn't ask for an oplock on file create. We need
to do this as internally it's what Windows does.
Jeremy.
(This used to be commit 9b9513856e
)
2007-10-10 12:22:49 -05:00
Jeremy Allison
4d6caa09e2
r23148: Fix old old bug in cli_smbwrite() (not incrementing
...
data being sent). Patch from mnix@wanm.com.au .
Jeremy.
(This used to be commit 2524d85465
)
2007-10-10 12:22:48 -05:00
Jeremy Allison
ad5ff1b809
r23147: Patch #4566 from jacob berkman <jberkman@novell.com>. Pass password data to krb5_prompter.
...
Jeremy.
(This used to be commit 232fc5d69d
)
2007-10-10 12:22:48 -05:00
Günther Deschner
cab1200b43
r23128: Fix typo.
...
Guenther
(This used to be commit 52fdbbda53
)
2007-10-10 12:22:48 -05:00
Günther Deschner
94e4a468f0
r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,
...
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some
more WERROR codes.
Guenther
(This used to be commit 37ae7f4197
)
2007-10-10 12:22:48 -05:00
Jeremy Allison
08be930169
r23122: Fix bug #4655 . We marshall the enumdataex correctly,
...
but W2K3 doesn't follow our rules when sending data to
us. Ensure we look for the data at the correct offsets
when reading the data.
Too late for 3.0.25a - don't merge.
Jeremy.
(This used to be commit a871191395
)
2007-10-10 12:22:48 -05:00
Günther Deschner
825c4ceffe
r23121: Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly again.
...
Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>.
Guenther
(This used to be commit ba956ab8e4
)
2007-10-10 12:22:47 -05:00
Volker Lendecke
f260b45d64
r23117: Factor out local messaging.
...
This removes message_block / message_unblock. I've talked to Jeremy and
Günther, giving them my reasons why I believe they have no effect.
Neither could come up with a counter-argument, so they go :-)
(This used to be commit a925e0991f
)
2007-10-10 12:22:47 -05:00
Volker Lendecke
509d90f1cc
r23116: Fix typo, found by Karolin Seeger
...
(This used to be commit a7b9581a5c
)
2007-10-10 12:22:47 -05:00
Volker Lendecke
ff0ac5b0e7
r23112: Trim down the message.c API slightly: The messages_pending_for_pid is now
...
replaced by MSG_FLAG_LOWPRIORITY or'ed into the msg_type. To enable this,
changed the msg_type definitions to hexadecimal.
This way we could theoretically add the MSG_FLAG_NODUPLICATES again, but I
would rather not do this, because that one is racy and can't be guaranteed at
all.
(This used to be commit 3f5eb8a960
)
2007-10-10 12:22:47 -05:00
Michael Adam
c3c7e1b423
r23109: Redo the change from r22772 I accidentially undid in r23108.
...
Michael
(This used to be commit 18a7e739ea
)
2007-10-10 12:22:47 -05:00
Michael Adam
5aec9e21bd
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
...
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 5a06726e68
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
4aa857d875
r23107: Fix renames on file descriptors that are supposed to overwrite the
...
target. Needs merging for 3.0.25a (sorry).
Jeremy.
(This used to be commit a56bce3d44
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
f5038178a9
r23106: Use lchown for symlinks.
...
Jeremy.
(This used to be commit b98175440b
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
57d6318a0b
r23105: Add lchown to the vfs layer. We need this in the POSIX code.
...
Jeremy.
(This used to be commit 932523cbb5
)
2007-10-10 12:22:46 -05:00
Jeremy Allison
dbfd6bf8c8
r23100: Implement the delete on close semantics I've just tested for
...
in Samba4 smbtorture. Fix rename on an open file handle.
Needed for 3.0.25a.
Jeremy.
(This used to be commit a301467d5f
)
2007-10-10 12:22:46 -05:00
James Peach
e85613f915
r23098: Fix the case of the #include statements so this module can be built on a
...
case-sensitive filesystem.
(This used to be commit 0fd0b57107
)
2007-10-10 12:22:45 -05:00
James Peach
4b04b843af
r23097: Add a new configure option to disable building SWAT (it is still built by
...
default).
(This used to be commit 910d498a0e
)
2007-10-10 12:22:45 -05:00
James Peach
38daf36d12
r23096: Make the lock failure message prettier.
...
(This used to be commit 853f41edb8
)
2007-10-10 12:22:45 -05:00
James Peach
f4ae285763
r23095: Support systems that have their PAM headers in /usr/include/pam.
...
(This used to be commit f1e8de4b57
)
2007-10-10 12:22:45 -05:00
James Peach
b683f8137b
r23094: Update the iconv detection to handle cross-compiles better. If we are
...
cross-compiling, we accept the first iconv library that we find (with a
warning).
(This used to be commit 9417832155
)
2007-10-10 12:22:45 -05:00
James Peach
af720295fd
r23093: Allow modules with the same name but different types.
...
(This used to be commit 190a69b1f9
)
2007-10-10 12:22:44 -05:00
Volker Lendecke
2945490a0f
r23091: Add rpccli_netlogon_sam_network_logon_ex, fix its parsing. This does not
...
use the credential chain and only works over netlogon, but it would
allow multiple outstanding auth requests for a single workstation
account.
(This used to be commit 123290d094
)
2007-10-10 12:22:44 -05:00
Jeremy Allison
918b6ea082
r23088: Fix rename for cifsfs client. This may be needed for
...
3.0.25a.
Jeremy.
(This used to be commit 02e4f6b0f1
)
2007-10-10 12:22:44 -05:00
Jeremy Allison
828cb24004
r23087: Fix POSIX setfilepathinfo to use lstat, not stat.
...
Still missing lchown (will add this for 3.0.26).
Don't merge for 3.0.25a - possibly 3.0.25b (if it
exists).
Jeremy.
(This used to be commit f546750176
)
2007-10-10 12:22:44 -05:00
Michael Adam
cda3cf211b
r23082: Ooops - that portion of the last checkin was by accident.
...
Before comitting that, I have to verify that it does not
break anything...
Michael
(This used to be commit 55ea93d47e
)
2007-10-10 12:22:43 -05:00
Michael Adam
5d1755710a
r23081: Reorder the lsa_lookup_sids functions so that the order makes more sense...
...
(This used to be commit 374dea8c6f
)
2007-10-10 12:22:43 -05:00
Jeremy Allison
71ee55f98d
r23080: Fix bug #4637 - we hads missed some cases where
...
we were calling PRS_ALLOC_MEM with zero count.
Jeremy.
(This used to be commit 9a10736e6f
)
2007-10-10 12:22:43 -05:00
Michael Adam
725e90f157
r23078: Don't handle return code NT_STATUS_NONE_MAPPED from lookup sids
...
as an error. (This is purely cosmetic here, issuing a success
message at the end.)
(This used to be commit 4d9e8c91dc
)
2007-10-10 12:22:43 -05:00
Volker Lendecke
2991d3416b
r23077: Minor cleanup
...
(This used to be commit 72ed838825
)
2007-10-10 12:22:43 -05:00
Gerald Carter
9ccec437b8
r23075: more duplicate code blocks from bad merge
...
(This used to be commit 86b6a41d57
)
2007-10-10 12:22:18 -05:00
Gerald Carter
f884d761dd
r23074: Remove duplicate code blocks from bad merge
...
(This used to be commit 2c64638934
)
2007-10-10 12:22:18 -05:00
Michael Adam
9d6fd22e27
r23073: In the internal rpccli_lsa_lookup_sids_noalloc(), use a temporary
...
talloc context for use with the actual rpc query and response.
So the the parent context does not get flooded by the posslibly
large amount of response data (when looking up a lot of sids).
Note: It not possible, to simply use the names and domains arrays
as talloc contexts for the talloc_strdup calls, because from
rpccli_lsa_lookup_sids_all, this is called with names + offset
and domains + offset where names and domains are talloced
arraye for the complete response.
(This used to be commit 8e60900c5c
)
2007-10-10 12:22:18 -05:00