1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

7624 Commits

Author SHA1 Message Date
Jelmer Vernooij
b052ab8ad4 r12198: Some more Debian updates. Thanks to Steinar H. Gunderson
(This used to be commit 049100bb9b)
2007-10-10 13:47:17 -05:00
Jelmer Vernooij
e15fbf28e8 r12197: Some improvements to the Debian package. Thanks to Steinar Gunderson
(This used to be commit 538afb479d)
2007-10-10 13:47:17 -05:00
Jelmer Vernooij
9e00afdcbe r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Harris. Fixes #3313
(This used to be commit daff0cba2c)
2007-10-10 13:47:17 -05:00
Andrew Bartlett
172a8b477e r12179: Allow our KDC to use LDAP to get to the backend database.
To avoid a circular depenency, it is not allowed to use Krb5 as an
authentication mechanism, so this must be removed from the list.  An
extension to the credentials system allows this function.

Also remove proto.h use for any of the KDC, and use NTSTATUS returns
in more places.

Andrew Bartlett
(This used to be commit 5f9dddd02c)
2007-10-10 13:47:16 -05:00
Andrew Bartlett
f4f1d37b48 r12178: Make ldb_ildap work against localhost again, by setting the event
context into the ldb opaque.  I'm sure this was done before, and must
have been lost by some other change.

Andrew Bartlett
(This used to be commit dddedf1371)
2007-10-10 13:47:16 -05:00
Rafal Szczesniak
737d59abc9 r12162: More comments.
rafal
(This used to be commit 2d69e4b13e)
2007-10-10 13:47:16 -05:00
Volker Lendecke
078ae0f897 r12161: Fix a memleak and do the -O1 janitor :-)
(This used to be commit 82d87d6261)
2007-10-10 13:47:16 -05:00
Andrew Tridgell
d811ea17bb r12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.

This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
(This used to be commit 8185731c18)
2007-10-10 13:47:16 -05:00
Andrew Tridgell
7b090b06bf r12157: ldb_dump_results() is useful to call from within gdb, so you can see a
set of results
(This used to be commit 2be62eb2dd)
2007-10-10 13:47:15 -05:00
Andrew Tridgell
7e6a90d6b8 r12156: added samdb_domain_sid(), a routine to get the domain sid by looking
up the rootDomainNamingContext in the rootdse, then getting the
objectsid from the root of the domain
(This used to be commit 152590101e)
2007-10-10 13:47:15 -05:00
Volker Lendecke
1027577449 r12154: Torture test for bug # 3303.
Jeremy, to run this against Samba3 at all you need to insert a "goto line 957"
in line 548. Without this we fail some tests before # 16 and bail out.

While looking at it, you wanted to fix the directory-based ones a while
ago.... :-))

Volker
(This used to be commit 45cd224102)
2007-10-10 13:47:15 -05:00
Stefan Metzmacher
126f8b8b6a r12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even if
you don't ask for.

with this patch the epoll mode behaves like the select mode

metze
(This used to be commit f26c28a3ae)
2007-10-10 13:47:15 -05:00
Stefan Metzmacher
f600f1c68e r12151: match the select mode of the standard events system and the liboop system,
and report errors as read events

metze
(This used to be commit 5bbd54e96c)
2007-10-10 13:47:15 -05:00
Volker Lendecke
cdfdb73280 r12150: Reformatting
(This used to be commit aaa21b7132)
2007-10-10 13:47:14 -05:00
Simo Sorce
f2c3c28a7c r12148: add the docs for the paged results control
(This used to be commit 9fab4ab272)
2007-10-10 13:47:14 -05:00
Stefan Metzmacher
2b589a7691 r12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,
let our code make it explicit, to make it clear

metze
(This used to be commit cf733e2684)
2007-10-10 13:47:14 -05:00
Stefan Metzmacher
040fc5aef5 r12141: - move epoll related code into one big #ifdef, and use dummy #define's
for the case where, epoll isn't available at compile time
- only pass the private std_event_context, to the local function,
  to get rid of the talloc_get_type() calls
- use the private pointer to std_event_context_init() to decide if we want to
  disable epoll at runtime

metze
(This used to be commit de322ea8b7)
2007-10-10 13:47:14 -05:00
Stefan Metzmacher
96180f2cac r12140: - add an additional_flags field to the fd_event struct, so that
the events backend can store private flags
- add function to access the gtk event loop ops struct

metze
(This used to be commit a5cc0758a3)
2007-10-10 13:47:13 -05:00
Andrew Tridgell
2e4d4a9e28 r12139: - fixed up the ace object flags checking
- allow for arbitrary access masks in sddl_encode_ace()
(This used to be commit 5e2b1bd6af)
2007-10-10 13:47:13 -05:00
Andrew Tridgell
781ed1f5ef r12138: added use of 2 letter SID codes in sddl_encode_sid()
(This used to be commit a0662ae9d3)
2007-10-10 13:47:13 -05:00
Andrew Tridgell
79eae8ffff r12137: added sddl_encode(), the reverse of the sddl_decode() function added a
couple of days ago. Doesn't yet encode using the shorthand for well
known SIDs.
(This used to be commit 655a4ebe8e)
2007-10-10 13:47:13 -05:00
Andrew Tridgell
499e51b5a9 r12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
(This used to be commit 5ce6a62f2e)
2007-10-10 13:47:13 -05:00
Rafal Szczesniak
38b0dde114 r12135: Move named pipe connect on smb2 function to async implementation.
Completely untested, it's a bit difficult without having vista
around (yet), so - Andrew, please test it and let me know what's
wrong.

rafal
(This used to be commit b9e7522bd4)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
6f33cdbc2a r12128: add --enable-socket-wrapper
metze
(This used to be commit 8d40b2f4d0)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
92c23ce9d3 r12127: add --option=rpc_login:samr_auth=yes, to work against w2k3
metze
(This used to be commit d8902e3513)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
e246a06751 r12126: get rid of the local ->terminate hacks, we do that genericly now
metze
(This used to be commit a7baf165c1)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
7eb3fc533d r12125: make the deferred connection termination the default,
so that I can remove all the other versions of it

metze
(This used to be commit 82de98b8e9)
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
91cf3943d3 r12124: we don't need this comment twice
metze
(This used to be commit 62c4ae8dde)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
91abd131e6 r12123: handle fde == NULL at the correct level
metze
(This used to be commit 1dd5bb60a5)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
35cb1931ed r12122: add forward declaration for packet_context
metze
(This used to be commit 2ea8e61f23)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
3ef038b267 r12121: remove some dublicate code
metze
(This used to be commit 2fe8a643d3)
2007-10-10 13:47:11 -05:00
Andrew Tridgell
111a920fdb r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback

this removes one of the common mistakes in writing a composite function
(This used to be commit f9413ce792)
2007-10-10 13:47:11 -05:00
Stefan Metzmacher
344703bfc0 r12115: bring SMB sesssetup_spnego in sync with SMB2 sesssetup
metze
(This used to be commit 99cf7dbb17)
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
89f5d66dfe r12114: - smb2_keepalive() acts on the smb2_transport
- smb2_logoff() acts on the smb2_session

metze
(This used to be commit ae1ca2bb4a)
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
3edfa552a2 r12113: in SMB2 we should only allocate a new session
when the client sends UID = 0, otherwise we return
NT_STATUS_USER_SESSION_DELETED

metze
(This used to be commit 15973be48e)
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
25f82c19f6 r12105: Formatting.
rafal
(This used to be commit 13d7b8fa43)
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
17280956c3 r12104: Move to (sync) smb_composite_connect from smbcli_tree_full_connection()
This is one of the last places using the latter function.

rafal
(This used to be commit c95d30d38c)
2007-10-10 13:47:09 -05:00
Rafal Szczesniak
3b85d04025 r12103: Comments and a bit of formatting.
rafal
(This used to be commit 4a12711c31)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
273f340376 r12102: for SMB2 we need to allocate tcons per session
metze
(This used to be commit 4d527ac005)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
2184ad5af7 r12101: revert my last commit, I breaks the build and I don't know why...
metze
(This used to be commit dc664df873)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
6b1ee03c53 r12095: the most SMB2 opcodes need a valid session and tcon,
metze
(This used to be commit 40b301c6bd)
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
05bfa9ad86 r12094: - implement dummy smb2srv_tcon()
- implement smb2srv_tdis()

metze
(This used to be commit cb9ddf7997)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
41c575729f r12093: add missing file
metze
(This used to be commit 1506be37db)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
2634f22bfc r12092: - add dummy functions for the missing SMB2 opcodes
- implement keepalive and logoff

metze
(This used to be commit 859ab627f4)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
e5adca67f2 r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings)

metze
(This used to be commit 436c5127ef)
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
3adb3013b1 r12090: use the _trigger_error() function in the function
that allocated the composite_context

metze
(This used to be commit 998a7f8572)
2007-10-10 13:47:08 -05:00
Rafal Szczesniak
b38783f40a r12089: Couple of fixes in cases of memory outage before we sort
out how and when to use composite_error() and composite_trigger_error().
Spotted by Metze.

rafal
(This used to be commit 218db3ebc0)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
d1c41cb83f r12088: Use a structure to pass arguments to dcerpc connection functions
and move migrated (async) code to a new file.

rafal
(This used to be commit 79b231bc53)
2007-10-10 13:47:07 -05:00
Rafal Szczesniak
18cfac7c71 r12087: Split dcerpc pipe connection functions into separate file.
It's going to contain async functions and ncacn_np is the
first.

rafal
(This used to be commit 3fe2df5fe3)
2007-10-10 13:47:07 -05:00
Andrew Tridgell
5245679015 r12086: reverted the utf8string change in xattr.idl. See the discussion on
samba-technical on why this should stay as a simple null terminated
string (basically to make hand-written parsers easier)
(This used to be commit 0f1de4b1db)
2007-10-10 13:47:07 -05:00