summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* packaging(RHEL-CTDB): fix installation of pam modulesMichael Adam2008-12-111-4/+2
| | | | | | | use configure parameter to specify the pam modules dir. Michael (cherry picked from commit 24282daa5e293ef9362a69f7f70a684587d6763a)
* s3-libnet: fix DEBUG statement in libnet_keytab.Günther Deschner2008-12-111-1/+1
| | | | Guenther
* Make the LookupRid access check match LookupName untilJeremy Allison2008-12-101-1/+1
| | | | | we know the correct bits to use here. Jeremy.
* Fix usrmgr opening a user object as non-root.Jeremy Allison2008-12-101-1/+1
| | | | Jeremy.
* Fix the buildVolker Lendecke2008-12-111-0/+3
| | | | | | Crap, too many trees and no instant, infinitely fast rebuild Signed-off-by: Michael Adam <obnox@samba.org>
* Also search for -lgpfs which is available as GPL in GPFS PTF8Volker Lendecke2008-12-101-0/+14
| | | | | | (cherry picked from commit 3c93c96fd0fe362c35fe8127058f94868abc9342) Signed-off-by: Michael Adam <obnox@samba.org>
* Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2008-12-102-0/+86
| | | | | | (cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org>
* Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke2008-12-101-55/+50
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke2008-12-101-2/+2
|
* packaging(RHEL-CTDB): explicitly build the gpfs moduleMichael Adam2008-12-102-2/+2
| | | | | | | | | | to prevent potetential problems on PTF8 systems where there is no valid autodetecting configure check yet. Michael (cherry picked from commit 37039d345e9a25654bef038f2b8bb4b891cfa6f0) Signed-off-by: Michael Adam <obnox@samba.org>
* packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec fileMichael Adam2008-12-101-22/+44
| | | | | | | Michael (cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d) Signed-off-by: Michael Adam <obnox@samba.org>
* Move the doxygen comments of wbclient to the header file.Andreas Schneider2008-12-108-455/+524
| | | | | | | | So that a developer who wants to use the wbclient api can read the documentation in the header file. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Michael Adam <obnox@samba.org>
* Revert "Fix some merge omissions for GPFS"Volker Lendecke2008-12-103-60/+30
| | | | | | | | This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f. This one should have been done with careful cherry-picks, sorry. Volker
* Revert "Fix nonempty blank lines in vfs_gpfs.c"Volker Lendecke2008-12-101-50/+55
| | | | This reverts commit a4b52118d44906882677ed1234428d8025134036.
* Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"Volker Lendecke2008-12-102-86/+0
| | | | This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
* Revert "Also search for -lgpfs which is available as GPL in GPFS PTF8"Volker Lendecke2008-12-101-14/+0
| | | | This reverts commit 3c93c96fd0fe362c35fe8127058f94868abc9342.
* Revert "Fix the build"Volker Lendecke2008-12-102-4/+9
| | | | This reverts commit c044b09572631cbdd686e5dbbdfbcc731145533a.
* Fix the buildVolker Lendecke2008-12-102-9/+4
| | | | Crap, too many trees and no instant, infinitely fast rebuild
* Also search for -lgpfs which is available as GPL in GPFS PTF8Volker Lendecke2008-12-101-0/+14
|
* Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke2008-12-102-0/+86
|
* Fix nonempty blank lines in vfs_gpfs.cVolker Lendecke2008-12-101-55/+50
|
* Fix some merge omissions for GPFSVolker Lendecke2008-12-103-30/+60
|
* Pass the get_real_filename operation through the VFSVolker Lendecke2008-12-104-4/+24
| | | | | | | | | | | | | | This is done to help file systems that can tell us about the real upper/lower case combination given a case-insensitive file name. The sample I will soon push is the gpfs module (recent gpfs has a get_real_filename function), others might have a similar function to help alleviate the 1million files in a single directory problem. Jeremy, please comment! Thanks, Volker
* Change get_real_filename() to unix syscall conventions, make it non-staticVolker Lendecke2008-12-101-13/+14
| | | | It sets errno, so it might as well return 0/-1.
* Apply some constVolker Lendecke2008-12-101-2/+2
|
* Rename "scan_directory" to "get_real_filename"Volker Lendecke2008-12-101-12/+12
|
* s4-smbtorture: skip ServerGetTrustInfo for samba4.Günther Deschner2008-12-101-0/+1
| | | | Guenther
* s3-netlogon: fix netlogon server build.Günther Deschner2008-12-102-4/+4
| | | | Guenther
* s3-build: re-run make samba3-idl.Günther Deschner2008-12-107-33/+427
| | | | Guenther
* s4-smbtorture: add simple netr_ServerGetTrustInfo test.Günther Deschner2008-12-101-0/+42
| | | | Guenther
* s4-netlogon: fix the build of netlogon server.Günther Deschner2008-12-101-4/+4
| | | | Guenther
* netlogon: fill in netr_ServerGetTrustInfo IDL.Günther Deschner2008-12-101-1/+19
| | | | Guenther
* Add AD schema from Microsoft's WSPP documentation.Andrew Bartlett2008-12-103-0/+19124
| | | | | | | | | This schema is *NOT* licenced under a standard Free Software licence, but does provide us the freedoms we need to use the schema, and the requirement to distribute as 'part of an implemenation' is similar to common Free font licences that are accepted by major linux distributions. Andrew Bartlett
* s3: [3/3]: Fix a delete on close divergence from windows and the associated ↵Tim Prouty2008-12-096-57/+6
| | | | | | | torture test This third patch cleans up by removing all of the code that is made obsolete by the first patch. It should cause no functional changes.
* s4: [2/3] Fix a delete on close divergence from windows and the associated ↵Tim Prouty2008-12-091-5/+18
| | | | | | | torture test This second patch fixes the deltest17 BASE-DELETE torture test to pass against win2k3/win2k8/winXPsp2
* s3: [1/3] Fix a delete on close divergence from windows and the associated ↵Tim Prouty2008-12-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | torture test smbtorture4's BASE-DELETE:deltest17 was failing against win2k8, win2k3, and winXPsp2 but passing against samba. deltest17 does the following: 1. open file -> file is created 2. closes file 3. open file with DOC -> fnum1 4. check that DOC is not reported as being set from fnum1 5. opens file again Read Only -> fnum2 6. check that DOC is not reported as being set from either file handle 7. close fnum1 (the file handle that requested DOC to be set) 8. check if DOC is reported as being set from fnum2 * This is where windows and samba begin to diverge. Windows reports that the DOC bit is set, while samba reports that it is not set. 9. close fnum2 (the last remaining open handle for the file) 10.See if the file has been deleted. * On samba the file still exists. On windows the file was deleted. The way open_file_ntcreate is written now, if an open has the DOC bit set on the wire, DOC (fsp->initial_delete_on_close) is not set unless: a. the open creates the file, or b. there is an open file handle with a share_entry in the struct lck that has the SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE bit set (let's call it SM_AIDOC). My understanding of SM_AIDOC is that it was added to differentiate between DOC being set on an open that creates a file vs an open that opens an existing. As described in step 8/10 above, it appears that windows does not make this differentiation. To resolve this issue there are three patches. This first patch is a simple proof of concept change that is sufficient to fix the bug. It removes the differentiation in open_file_ntcreate, and updates deltest17 to allow it to pass against win2k3/xp. This makes open_file_ntcreate more closely match the semantics in open_directory and rename_internals_fsp. This change also does not break any other tests in BASE-DELETE or "make test". Specifically test deltest20b which verifies the CIFSFS rename DOC semantics still passes :).
* s4-samr: Fix Bug #5946. userparameters handling in torture test.Matthias Dieter Wallnöfer2008-12-101-1/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-samr: Fix Bug #5946. userparameters handling in samr server.Matthias Dieter Wallnöfer2008-12-101-4/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty2008-12-096-711/+1162
| | | | | | | | | | | | | | | | | | | This is the first pass at extending the onefs vfs module to support the CIFS-specific enhancements available on OneFS. Most of this patch is massaging the sama open path to work with ifs_createfile. ifs_createfile is a CIFS-specific syscall for opening/files and directories. It adds support for: - Full in-kernel access checks using a windows access_mask - Cluster-coherent share mode locks - Cluster-coherent oplocks - Streams - Setting security descriptors at create time - Setting dos_attributes at create time This patch does not implement the samba side of the streams support or oplocks support. Tests that expect oplocks to be granted or streams to be supported will fail. This will be remedied in upcoming patches.
* s3: Add onefs_open.c with code copied verbatim from smbd/open.cTim Prouty2008-12-091-0/+2028
| | | | | | | This is an intermediate step that makes it much easier to see how the OneFS SMB_VFS_CREATE_FILE implementation diverges from stock samba. The goal is that more common code can be refactored into utility functions.
* s3: Call fd_close from close_directoryTim Prouty2008-12-091-0/+7
| | | | | | | | | Some implementations of SMB_VFS_CREATE_FILE implementations actually keep an fd open for directories just as files. In this case it is necessary to call fd_close when closing directories. This is safe because fd_close is a no-op when fd == -1, which is true for directory opens originating from open.c (the default SMB_VFS_CREATE_FILE implementation).
* s3: Refactor calculating path from relative_fid into a separate functionTim Prouty2008-12-092-78/+100
|
* s3: Refactor getting sec_info from a security_descriptor into separate functionTim Prouty2008-12-093-13/+30
|
* s3: Make a few open utility functions non-staticTim Prouty2008-12-093-17/+49
| | | | | This allows vfs modules that implement SMB_VFS_CREATE_FILE to access some of the useful utility functions.
* Fix bug #5688 LPQ process is orphaned if socket address parameter is invalidSATOH Fumiyasu2008-12-091-6/+33
|
* s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script.Günther Deschner2008-12-091-1/+1
| | | | | | Guenther (cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450) (cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)
* s4:rpc_server: don't keep half finished dcesrv_connection_contextsStefan Metzmacher2008-12-091-41/+42
| | | | metze
* s3-libnet: fix build warning (missing prototype).Günther Deschner2008-12-091-2/+2
| | | | Guenther
* s4:rpc_server: initialize rpc server module also for the named pipe caseStefan Metzmacher2008-12-093-33/+49
| | | | | | This fixes bug #5878. metze
* s3-samr: a level 18 password set needs to set the pwdlastset as well.Günther Deschner2008-12-091-0/+4
| | | | Guenther