summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3586: Fix some of the issues with the module init functions.Jelmer Vernooij49-154/+186
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions (This used to be commit 7a8244761bfdfdfb48f8264d76951ebdfbf7bd8a)
2007-10-10r3585: check sscanf return codeStefan Metzmacher1-1/+5
metze (This used to be commit 9701abfa3a5f6351c8c7bced6adb751be9f5ff31)
2007-10-10r3584: fix referral handlingStefan Metzmacher2-5/+13
metze (This used to be commit 4868f1ea857e94f60dbde83bfb54def8a5ee728f)
2007-10-10r3583: - seperate the ldap client code and the ldap parsing codeStefan Metzmacher6-665/+707
(vl: we should only sync the parsing code with trunk) - use hierachical talloc in the ldap client code metze (This used to be commit 1e9c0b68ca9ddb28877d45fc1b47653b13a7446d)
2007-10-10r3582: more gcc-4.0 signedness fixesStefan Metzmacher1-5/+5
metze (This used to be commit 07405f1c67e9df8a972e17f5bdaf312977960474)
2007-10-10r3581: fix some signedness warnings with gcc-4.0Stefan Metzmacher1-2/+1
(there some callers to be fixed later) metze (This used to be commit dfb062c63c5445023055045ba40979eb58f1740e)
2007-10-10r3580: - on file overwrite in ntcreatex we need to replace the file permissions.Andrew Tridgell3-10/+26
- pvfs now passes BASE-OPENATTR - pvfs also passes the BASE-DEFER_OPEN test, but it is not a well formed test for regular running so I am removing it from the list of tests to run in test_posix.sh (the test is covered better by RAW-MUX anyway) (This used to be commit cb76bd218ed4194ea151264d495aa902ddf03b3c)
2007-10-10r3579: with the gcc warning flag from abartlet we don't need sys_strftime()Andrew Tridgell2-12/+2
(This used to be commit 041f77b6a19c98599fe18d2eb4e86db00b40014e)
2007-10-10r3578: a couple of include changes that should help with FreeBSDAndrew Tridgell2-5/+5
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)
2007-10-10r3577: add a torture_join_domain_ads_dc() function,Stefan Metzmacher1-0/+94
which will join as a w2k dc joins a ads domain (this is currently not fully implmented, I just have listed the steps we need to do) metze (This used to be commit 29cd3d20e39766455e488c6e240228d8815bd36b)
2007-10-10r3576: don't consider short share delay timeouts to be an error, so we canAndrew Tridgell1-2/+0
run test_posix.sh in a reaonable time by using posix:sharedelay=100000 this still tests correct multiplex behaviour (This used to be commit 64a6db5b029343f41fc9c3582e0fb051d6c18d39)
2007-10-10r3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again.Andrew Tridgell2-1/+19
(This used to be commit 66bdc6e78c2c7ce4e215919959f0d0623ef06723)
2007-10-10r3574: the RAW-OPEN test changes broke a couple of the other tests. ThisAndrew Tridgell9-71/+158
fixes most of them, although RAW-SEARCH still fails (due to an interaction with the new xattr code) (This used to be commit 09b4652b40c4cfca027765178bd5a0adbaa666c2)
2007-10-10r3573: added trans2open support to smbd and pvfs, and fine-tuned the ↵Andrew Tridgell7-58/+176
open->generic ntvfs mapping code. (This used to be commit ed844192d7f7ed487290f719df65f256a5b0b9bc)
2007-10-10r3572: Thanks to tridge for his patience with my build breakage.Andrew Bartlett3-6/+9
This concludes the proper fixes. Andrew Bartlett (This used to be commit c1d025793f2994c8f1cab304c3394ab186654071)
2007-10-10r3571: rough guesses at what abartlet really wanted to do in his last commitAndrew Tridgell4-0/+16
(which I suspect was missing some pieces) this at least fixes the build so i can keep going on pvfs. Please review/fix Andrew. (This used to be commit bffd18d09df04c1e492ef12f744ff4b6c561d53c)
2007-10-10r3570: Export the user's group list from ntlm_auth, via a new command 'UG'Andrew Bartlett1-2/+30
(user groups). The form of this is not final, but is this should be a discussion point with the squid team. Andrew Bartlett (This used to be commit cbb0c67d06f75c2d8841a95ba8837124160ffd49)
2007-10-10r3565: Move PAC parsing into the session_info generation, and out of theAndrew Bartlett1-16/+41
basic krb5 request path. The idea is that we should not do the extra work, if we are not going to use the results. Andrew Bartlett (This used to be commit 13a2a9e326c027d76d27ecd08fb9863fe881bf30)
2007-10-10r3558: We don't seem to need these as [public] any more.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit f1d0bb409a481aeb094c586458f2b05576d2bef8)
2007-10-10r3557: Use a switch, not a series of if/else if statements.Andrew Bartlett1-8/+11
Andrew Bartlett (This used to be commit fb7bc73f581c8b13041a91a115b4932f76b00ca7)
2007-10-10r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the newAndrew Bartlett1-17/+1
modular headers confine the warnings, and everwhere else we need them. Use the gcc option to suppress the silly strftime warning. Andrew Bartlett (This used to be commit 0bf3c245902da7e2e1a6b03c410d49c79f43edc7)
2007-10-10r3555: Fix auth_winbind to work with the new auth_util conversion code.Andrew Bartlett1-8/+10
Andrew Bartlett (This used to be commit 3215f1c6ce9ec27affa8a7a6f440ef26ad878eae)
2007-10-10r3554: Use the new talloc_reference changes to simply the conversion ofAndrew Bartlett1-61/+80
returned validation information into the server_info struct. Also allow for easier expansion to different variations on validation levels. Andrew Bartlett (This used to be commit 316b74029cf3e10cf14cffe8ce326a97ef3aec35)
2007-10-10r3553: Allow talloc_reference to take a NULL pointer for the "ptr" argument.Andrew Bartlett2-2/+20
This allows potentially NULL pointers to be referenced, without an if () for every use. (previously, it would segfault). Update doco, and allow talloc_unlink to match. Andrew Bartlett (This used to be commit 59757c7f9d0e08e3acacfb3116f6205057d5b119)
2007-10-10r3552: fixed sense of ACL testAndrew Tridgell3-3/+3
(This used to be commit 630af28a0f812b5bafce3ffeb72ebd069b66adac)
2007-10-10r3551: these utils need system/filesys.hAndrew Tridgell3-0/+3
(This used to be commit 1b945f9f4bcbb6afb3e531e92cd2e904c92c334e)
2007-10-10r3550: fixed initial attribute on file create (inlusion of ↵Andrew Tridgell1-2/+4
FILE_ATTRIBUTE_ARCHIVE) (This used to be commit b07feaafd16e42e84ba51004a6a9d4a3cb8f9a37)
2007-10-10r3549: added support for DOS extended attribute lists (name/value pairs)Andrew Tridgell13-86/+254
stored in posix xattrs (This used to be commit bad6a88371264cffce2bf5d6ce904b7b357081de)
2007-10-10r3548: removed extra net/if.h includeAndrew Tridgell1-1/+0
(This used to be commit 1551f211d983398a4f27eaeebdd4bf05f8beb330)
2007-10-10r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out)Andrew Tridgell1-1/+1
(This used to be commit 864a142409dcf3339343fdff407332629ad07633)
2007-10-10r3546: including includes.h twice causes gcc 3.4 to crash with pchAndrew Tridgell1-2/+0
(This used to be commit 51c1c2af687ed351d12e6d933659d94f5925728c)
2007-10-10r3545: initial support for using extended attributes to hold extended dos ↵Andrew Tridgell15-126/+403
attributes of files. I decided to use IDL/NDR to encode the attribute, as it gives us a simple way to describe and extend the saved attributes. The xattr code needs to hook into quite a few more places in the pvfs code, but this at least gets the basics done. I will start encoding alternate data streams streams, DOS EAs etc soon using the same basic mechanism. I'll probably stick to "version 1" for the xattr.idl for quite a while even though it will be changing, as I don't expect anyone to be deploying this in production just yet. Once we have production users we will need to keep compatibility by supporting all the old version numbers in xattr.idl. (This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
2007-10-10r3544: fixed some #include lines to make them more consistentAndrew Tridgell14-17/+14
(This used to be commit a1a0118bd3f1cae034a1c564d05c3aa8019ff932)
2007-10-10r3543: fixed some #include lines to make them more consistent, and fixedAndrew Tridgell5-5/+5
conditional compilation of xattr client code (This used to be commit 321fb06a627f4deae649ab014bc881721d37b3dd)
2007-10-10r3542: Re-indent, and fix a use-after-free by doing the talloc_destroy just aAndrew Bartlett1-4/+4
little later. Andrew Bartlett (This used to be commit b7c2a4fc34ef09b177508dcf475055523b84587c)
2007-10-10r3541: Add support (to be verified with the squid team) for the Squid 3.0Andrew Bartlett1-62/+135
multiplexed helper system. This system prefixes every request with a number, and we maintian a state machine for each of these integers. This means that we can have multiple outstanding challenges, without the overhead of a whole ntlm_auth process. In future, the actual password check will also be async. Andrew Bartlett (This used to be commit 9ea34abce384214e35b1b2c5f405c5f91f27d195)
2007-10-10r3540: added testing of SMBntcancel in the open/open/close muxAndrew Tridgell5-26/+69
testing. Interestingly, w2k3 does not allow the cancel of an outstanding async open request, whereas it does allow the cancel of an outstanding async lock request. To support this I have changed the pvfs_wait interface to provide a enum on why the event is happening, so the callback can decide what to do. (This used to be commit f23d6a28008a13588cde24b5012ec21e488ac47a)
2007-10-10r3539: much nicer async open delay code.Andrew Tridgell4-108/+107
The previous code didn't handle the case where the file got renamed or deleted while waiting for the sharing violation delay. To handle this we need to make the 2nd open a full open call, including the name resolve call etc. Luckily this simplifies the logic. I also expanded the RAW-MUX test to include the case where we do open/open/open/close/close, with the 3rd open async, and that open gets retried after both the first close and the 2nd close, with the first retry failing and the 2nd retry working. The tests the "async reply after a async reply" logic in pvfs_open(). (This used to be commit eded2ad9c91f5ba587ef4f7f5f5a6dceb4b51ff3)
2007-10-10r3536: Some minor IDL updates/fixes/additionsJelmer Vernooij2-14/+17
(This used to be commit 6fab01df000a126d2d01c41ead952d027f755309)
2007-10-10r3532: make sharing violation delay in pvfs configurable with ↵Andrew Tridgell3-3/+11
"posix:sharedelay = usecs" (This used to be commit c4758776491e5ed9f5b8c387226d1e75bc70eb2e)
2007-10-10r3531: add support for RAW_OPEN_MKNEW, RAW_OPEN_CREATE and RAW_OPEN_CTEMP in ↵Andrew Tridgell2-19/+96
pvfs (This used to be commit 1d2f0a55c1de01cbbf6552371584847223841bc3)
2007-10-10r3530: make sure we match ntvfs_async_state_pop() with ntvfs_async_state_push()Andrew Tridgell1-7/+16
(This used to be commit 730ae0600e6c75a7048f7aaf3995604e8cdbba39)
2007-10-10r3529: fixed signing support for SMBntcancel requests (no reply means seqAndrew Tridgell2-2/+11
number rises by 1, not 2) (This used to be commit 201ff734d47cb0c335820f11e2629cb3bd18162f)
2007-10-10r3528: added support for the SMBntcancel() operation, which cancels anyAndrew Tridgell16-11/+151
outstanding async operation (triggering an immediate timeout). pvfs now passes the RAW-MUX test (This used to be commit 3423e2f41461d054067ef168b9b986f62cc8f77c)
2007-10-10r3527: I hate compiler warnings...Stefan Metzmacher1-0/+2
metze (This used to be commit d264aacfd5b96c1fdb57fd1b6206835a7526eb3c)
2007-10-10r3524: Remove unused variable.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit a9f57319b8016d7ec379160132f7ea07cb7d5123)
2007-10-10r3523: removed a useless level 0 DEBUG()Andrew Tridgell1-1/+1
(This used to be commit b36967466fea6a67cc35ceaedaf82050705b1a88)
2007-10-10r3522: added async support to most of the ntvfs_map_*() functions, allowing ↵Andrew Tridgell2-277/+430
functions like SMBopenx, SMBread and SMBwrite to be performed async (This used to be commit 9e80eb18ae8c4a4a8cdf2f32f0c869fbbc3832b4)
2007-10-10r3521: Collect printer driver names in EnumPrinterDrivers.Tim Potter1-4/+5
(This used to be commit 86f54db1ef96fbffc6f1c7948d8bc849009a536d)
2007-10-10r3520: minor portability fix (for struct timeval)Andrew Tridgell1-0/+1
(This used to be commit ea1ad5897d7023f00931a3102edf9d3393cc216e)