1
0
mirror of https://github.com/samba-team/samba.git synced 2025-05-22 22:50:19 +03:00

8388 Commits

Author SHA1 Message Date
Stefan Metzmacher
307e43bb56 r14173: change smb interface structures to always use
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2

the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2

metze
(This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10 13:56:57 -05:00
Stefan Metzmacher
2b3767b1fe r14172: composite_is_ok(c) destroys c, when the status isn't ok.
so we need to return directly.

metze
(This used to be commit fba4229e56dce867a7c9daf9a3523a4dc3e454ba)
2007-10-10 13:56:57 -05:00
Rafal Szczesniak
3452e89999 r14165: More comments and my copyright.
rafal
(This used to be commit 6b94e81e5a31bb413149d9328746b1fed65c7f3d)
2007-10-10 13:56:57 -05:00
Rafal Szczesniak
91b30e8cd3 r14164: More comments.
rafal
(This used to be commit 8582d6dfc5c8ad59a2eb64cb81a703c13b7eeed4)
2007-10-10 13:56:57 -05:00
Simo Sorce
6e74d83565 r14163: Remove LDB_WAIT_ONCE, we can hardly guarante we
get anything if not waiting for all, keeping this
value may just lead to false expectations.

You either make blocking call waiting for ALL results
transforming this in a sync call, or either you loop
expecting from 0 to all results being returned at any
time on any of these loops.

It should be clear also that when you may receive results
at any time as soon as you call ldb_request.
Your callback may have received all results even before
calling ldb_async_wait the first time.

Simo.
(This used to be commit 6f041068b50caf919cd971812bdb8e3e810565fb)
2007-10-10 13:56:56 -05:00
Simo Sorce
54f26ea2cf r14162: Minor fixes on sort
Initial work on async paged_results
(This used to be commit 72523eae7f8925a2c23d3260875345adcf1661bb)
2007-10-10 13:56:56 -05:00
Simo Sorce
3baf060604 r14161: return early if we know the job is already finished
(This used to be commit 09f6f552d73f782dc8d62cefad9c5f584b7b07d2)
2007-10-10 13:56:56 -05:00
Stefan Metzmacher
3d9fc634ef r14160: don't write behind the buffer
metze
(This used to be commit bce4db8d1c293d05546dfd1b0229252babdb64b2)
2007-10-10 13:56:56 -05:00
Stefan Metzmacher
86497db611 r14157: - pass a struct ntvfs_request to the ntvfs layer
(for now we just do #define ntvfs_request smbsrv_request,
   but it's the first step...)
- rename ntvfs_openfile() -> ntvfs_open()
- fix the talloc hierachie in some places in the ntvfs_map_*() code

metze
(This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
b86c1b744b r14154: Add summary line for extended attribute library
(This used to be commit 0665a465ba86bf2867ed360f8017ce8de8118882)
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
1a49b255af r14151: Add simple script that writes a summary to show what libraries the user
(might) be missing.
(This used to be commit ee90b8067915915af8ffbc0e04d1f4f5aae567cb)
2007-10-10 13:56:55 -05:00
Jelmer Vernooij
701343865c r14149: Add BUGS.txt (fixes #3523)
(This used to be commit fc991c61b3394fe66efb813458228b3c8044b85a)
2007-10-10 13:56:55 -05:00
Rafal Szczesniak
f3fc42eb7e r14143: Replace old function with equivalent based on new async code.
rafal
(This used to be commit 036d35ff175b26dc1f55e6813f9a014a444d9af4)
2007-10-10 13:56:55 -05:00
Andrew Tridgell
9259790df7 r14142: fixed ascii padding of nttrans create in server too
(This used to be commit 2cd4cd1674b7491abf796f625ee098bb2c03e631)
2007-10-10 13:56:54 -05:00
Andrew Tridgell
2d7353dea4 r14141: fixed bugzilla 2921, forcing correct alignment when in ascii mode
(This used to be commit f432d23b044355ae5214812e3794ab319b01268f)
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
e6023d44bc r14140: block SIGPIPE in smbtorture
hopefully this fixed the problems with BASE-NEGNOWAIT

metze
(This used to be commit 45441954d02a3032782477f9dd6d0bc6305aa030)
2007-10-10 13:56:54 -05:00
Jelmer Vernooij
983d5afead r14139: Fix issue with undefined variables.
(This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703)
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
966cf4aece r14138: this isn't needed
metze
(This used to be commit bc905952eba6d98abcbae50fbc4d15b179d3cdcb)
2007-10-10 13:56:53 -05:00
Stefan Metzmacher
53bbace785 r14137: move **p2 to the _recv function for setup the second pipe
metze
(This used to be commit 8b8d92beedd8848aa2c7f1443fa8e66e09c2e0bf)
2007-10-10 13:56:53 -05:00
Rafal Szczesniak
5e5953a4af r14136: Fix bug causing segfaults in certain circumstances (gcc3.x among
others, probably). Funny thing, it didn't segfault on my laptop
and gcc4...

rafal
(This used to be commit 9e3321130e57daccd9649afc3af581a03655090e)
2007-10-10 13:56:53 -05:00
Volker Lendecke
640509e6a7 r14131: Fix Coverity bug # 127
(This used to be commit 4d0aa6f525c4756ca6942439468b484e3ca4b2fa)
2007-10-10 13:56:53 -05:00
Rafal Szczesniak
716798c06f r14125: Fix incorrect declaration caught on build farm.
rafal
(This used to be commit 93358e7d9e08bb77641c1b9a47448eb0a4dac587)
2007-10-10 13:56:53 -05:00
Rafal Szczesniak
7f2491a54b r14124: One more thing needed for async dcerpc connect code.
rafal
(This used to be commit b4c48a6107b28bb529e535f04586d930e8ba636a)
2007-10-10 13:56:52 -05:00
Rafal Szczesniak
a1f08df37c r14123: Huge lump of code making all of our dcerpc connect code
asynchronous. Build is ok, and so are the tests.
More comments to follow.

rafal
(This used to be commit a74fb6c5a2f968c56aff8ce39ce2ce9375d19b81)
2007-10-10 13:56:52 -05:00
Stefan Metzmacher
dabc0b4116 r14120: make the rpc client code also libraries
metze
(This used to be commit 7f32fd0881b946b405892031b0ee8144e4aa9a96)
2007-10-10 13:56:52 -05:00
Stefan Metzmacher
686c10afa2 r14117: fix a perl warning
jelmer: is there a better place to catch this?

metze
(This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe)
2007-10-10 13:56:52 -05:00
Stefan Metzmacher
429a23c48d r14110: make ndr interface parsing code libraries,
so it will not included in multiple modules or binaries

metze
(This used to be commit 13c105974744c510a62a7c8db2230b60c11b2315)
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
c6519ad9c0 r14109: Modulify the smbcalls subsystem.
(This used to be commit d538eac9dbfdd786b533cb5fbbd35ab2fd7358ba)
2007-10-10 13:56:51 -05:00
Jelmer Vernooij
3ccea395aa r14108: Make the Doxyfiles a bit shorter...
(This used to be commit 1004e1521a379ba6afb47e0fd3872d43363bc606)
2007-10-10 13:56:51 -05:00
Stefan Metzmacher
f07143c35c r14105: fix whitespaces
metze
(This used to be commit 1b4c9f7fc203908d9cdd331f26b983fb445f05e2)
2007-10-10 13:56:51 -05:00
Stefan Metzmacher
93c3f14fd6 r14104: version.h has changed the location
metze
(This used to be commit dfaa1fe107c3ea80da8ec5ddaabe0eece96da73a)
2007-10-10 13:56:51 -05:00
Stefan Metzmacher
f829ca548b r14100: print out the title with the thread specific debug messages
metze
(This used to be commit defc9438d10d51f5f59a8ee69e6baf40b8d9278e)
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
f710a30dc4 r14097: Remove subsystem names when installing modules (they're already installed
in a subsystem-specific directory)
No longer install smb.h as it only contains (internal) constants.
(This used to be commit b76126628c21755bb8d30e72e3044bd1785a2447)
2007-10-10 13:56:50 -05:00
Stefan Metzmacher
bfcaa4000e r14096: setup a service task for smbsrv and dcesrv
metze
(This used to be commit 7ad522c7acfe276d08bf59e851697fe93fa622db)
2007-10-10 13:56:50 -05:00
Stefan Metzmacher
2239cb4ec4 r14095: disable setproctitle support by default
--with-setproctitle enables it

metze
(This used to be commit fb9e7d176a3379d451bdbfad567426ddfb91a8bf)
2007-10-10 13:56:50 -05:00
Jelmer Vernooij
306b12ad49 r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
906d3fd22a r14082: fix the build of process model thread
metze
(This used to be commit 63778a76be8212baad8f4668b0ffcc3b6732857e)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
651ca6553e r14079: I just found the setproctitle library from alt linux:-)
- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections

metze
(This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
60823d1878 r14078: move ldb_global_init() to the main smbd code,
to fix the process_model standard

metze
(This used to be commit a465126e15490c5605064eb2387fb589d312db7b)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
6500444a2d r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose
- get rid of the '#define libfoo_module_init init_module'
  and genereated a wrapper function in bin/libfoo_module_init_module.c
- change the standard visibility for modules to hidden
- a few make clean fixes

metze
(This used to be commit 89b5667ab0f761e679fdee0f5c3d94942e67e28e)
2007-10-10 13:54:02 -05:00
Stefan Metzmacher
5ead79baff r14071: fix the build
metze
(This used to be commit af63ed9eb3a5af3e4eeb84c66397255ea90ea764)
2007-10-10 13:54:01 -05:00
Stefan Metzmacher
363f04484f r14070: this functions need to be exported,
it's ugly, but they're used in torture tests

I hope to find a better solution for this later...

metze
(This used to be commit be8874e9d3f1a022a42ccd1262dc5ce7bd5d1a91)
2007-10-10 13:54:01 -05:00
Stefan Metzmacher
2ec69980c8 r14067: give more usefull errors
metze
(This used to be commit bc5281a95f2c79f88895282e8e38add116eef789)
2007-10-10 13:52:40 -05:00
Stefan Metzmacher
2170981c24 r14066: fix whitespaces
metze
(This used to be commit 29a1c0bb69f0d52ead7268de4b024d5a91e135cf)
2007-10-10 13:52:39 -05:00
Stefan Metzmacher
afa2910abe r14065: build gensec_schannel always static as libnet needs functions from it
metze
(This used to be commit 91a3a0b795ebe73d29b69bb40ae9e67b40f90212)
2007-10-10 13:52:39 -05:00
Stefan Metzmacher
7d8424ede2 r14064: - split out MSRPC_PARSE into a speperate subsystem
- build gensec_ntlmssp always static for now, because torture/auth/ntlmssp.c
  needs to access functions from it

metze
(This used to be commit 43733c9556c1c92336780206e3f71bdee6e43eee)
2007-10-10 13:52:39 -05:00
Stefan Metzmacher
da7c2d3a66 r14063: libnet depends on dcerpc
metze
(This used to be commit 7fc2d08269a93dc3c38b08296dce41a0ae80ef82)
2007-10-10 13:52:39 -05:00
Andrew Tridgell
2b051070cb r14059: change notify is quite a bit more complex than we thought. These tests
show that w2k3 buffers notifies on directories where you have used
notify previously, thus giving you notifications on events that happen
even when you do not have a current notify call outstanding. This
makes it much easier for clients to avoid race conditions, which is
probably why it is done. It also means that associating change
notifies in Samba with outstanding change notify requests won't work -
instead we have to associate them with buffers on open directories.
(This used to be commit 8c5c8846f58c3f4b852c27dcecea8dfe21da58b6)
2007-10-10 13:52:39 -05:00
Andrew Bartlett
91b1815fa9 r14058: Try to make the continuation on the list of password set mechs clearer.
Andrew Bartlett
(This used to be commit 0aa7160a66ee6951311fd7076faa2d27e25d620d)
2007-10-10 13:52:38 -05:00
Günther Deschner
2fe65142c2 r14055: merge from samba3. add ACB_NO_AUTH_DATA_REQD, this has been verified
although not automatically tested in smbtorture right now.

Guenther
(This used to be commit 46e191cfa5cc45175b23815017f70d6271e35e23)
2007-10-10 13:52:38 -05:00