summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd: add a smbd_server_connection pointer to connection_structStefan Metzmacher2009-08-077-35/+38
| | | | | | | This can be NULL for faked connection structs used in the rpc server or printing code. metze
* Fix some nonempty blank linesVolker Lendecke2009-08-076-37/+36
|
* pidl: parse idl 'pipe' typedefs, but print out a not supported message for nowStefan Metzmacher2009-08-073-871/+950
| | | | metze
* pidl: fix formatting in expr.ypStefan Metzmacher2009-08-072-132/+186
| | | | metze
* pidl: fix formatting in idl.ypStefan Metzmacher2009-08-072-698/+890
| | | | metze
* librpc: fix callers after epmapper.idl changesStefan Metzmacher2009-08-071-9/+9
| | | | metze
* librpc: rerun 'make idl' after epmapper.idl changesStefan Metzmacher2009-08-073-18/+18
| | | | metze
* epmapper.idl: avoid usage of 'pipe', this is a reserved word in IDLStefan Metzmacher2009-08-071-4/+4
| | | | | | We now use 'named_pipe' instead. metze
* s3:smbd: don't ignore check_descend in get_dir_entry()Stefan Metzmacher2009-08-071-0/+6
| | | | metze
* s3-wkssvcs: fix check for BUILTIN\Administrators membership in ↵Günther Deschner2009-08-071-2/+2
| | | | | | wkssvc_Netr{Join,Unjoin}Domain2. Guenther
* s3 net: i18n support for net rpc auditKai Blin2009-08-072-57/+61
|
* s3 net: net i18n in it's own moduleKai Blin2009-08-072-0/+4880
|
* Revert "s3: Update i18n files"Kai Blin2009-08-079-28698/+1170
| | | | | | | | This reverts commit 57b5269038624b70e117025af9b977e0addcdc8e, 6e044a22cf232798efbd40a2b55fd9556483d403 and c9803ee26ad1b2f92f2ce7653ce16ac84d0b3eb6. The correct location for net .po files is in locale/net/
* s3 net: i18n support for net rpcKai Blin2009-08-072-561/+618
|
* s3 net: i18n support for net registryKai Blin2009-08-073-77/+82
|
* s3 net: i18n support for net rapKai Blin2009-08-072-226/+229
|
* fixed another ambiguous talloc callAndrew Tridgell2009-08-071-3/+3
| | | | | | | | | During the creation of the 3 RPC pipes in winbind we try to steal the RPC binding structure to be a child of the pipe once the pipe is established. This fails with a talloc warning as the rpc connection code already holds a reference to the binding. The fix is to use talloc_reparent() instead.
* ensure that child tasks die when the parent diesAndrew Tridgell2009-08-071-0/+24
| | | | | | | | | | | | | Previously we relied on process groups and SIGTERM to ensure that child tasks died in the standard process model when the parent task died. This doesn't work when the server is run in interactive mode, as in that case we don't call become_daemon() and don't get a separate process group. The fix is to have a pipe held open by the parent server process, and inherited by child tasks. If the parent exits then the write side of the pipe is implicitly closed, which causes an event in the child tasks that causes them to exit
* prime the sam ldb schema in the parent samba processAndrew Tridgell2009-08-071-0/+18
| | | | | | | | | | | | | | | While testing the use of the standard process model with 'make test' I found that testing was much slower (by several times) with the standard model than with the single model. The primary problem was that each SMB connection would open a new sam ldb context, and all of those would reload the full AD schema. The fix is to pre-open the SAM during server startup, before any child processes are forked. This sets up the global schema context which is inherited by all connections. The standard model is still slower at make test than the single model, but not by nearly as much. I am working on further reducing the gap.
* use talloc with the global schema consistentlyAndrew Tridgell2009-08-071-1/+2
| | | | | | | | | | Before this change, the first opener of the sam ldb context would become the owner of the global schema, then the autofree context got a reference to the schema. Any subsequent opens of the sam ldb also got a reference. This meant that the talloc hierarchy was inconsistent between the first sam ldb open and subsequent opens. With this change the autofree context becomes the owner of the global schema, and all ldb contexts get a reference.
* fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell2009-08-079-20/+11
| | | | | | | | | | | | | | | These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
* s3: add a test to test libsmbclientBo Yang2009-08-082-2/+98
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Fix nss info substitutionBo Yang2009-08-081-3/+3
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* make sure we never look past the end of either string in ldb_comparison_fold()Andrew Tridgell2009-08-071-26/+44
| | | | | This fixes a bug in the samba3sam test with the python libraries as noticed by abartlet
* s4:ldb Make error message in rnd_name more usefulAndrew Bartlett2009-08-071-3/+9
|
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2009-08-072-6/+69
|\
| * s3: Fix a bug in renames of directoriesTim Prouty2009-08-061-6/+19
| | | | | | | | | | | | | | | | | | Recently code was added to match windows semantics of denying the rename of a directory if there are open files underneath it. This does partly match windows semantics, but it turns out the rename should be allowed if the open file handle is for the directory being renamed, or for a stream on the directory being renamed. This patch refines the check to better follow these rename semantics.
| * s4 torture: Extend the RAW-RENAME test to more fully test directory renames.Tim Prouty2009-08-061-0/+50
| | | | | | | | | | | | | | | | | | The existing test was only covering files opened underneath the directory that was being renamed. It is not uncommon for windows clients to actually hold a read-only handle to a directory open across the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED. Additionally, holding a handle open to a stream on the directory is also allowed.
* | s4:setup Remove extra newlines that break OpenLDAP backendOliver Liebel2009-08-071-2/+0
|/
* Remove a const warning.Jeremy Allison2009-08-062-2/+3
| | | | Jeremy.
* Fix bug #5714 - NetBSD, ENODATA undefined, at least some releases.Jeremy Allison2009-08-061-0/+4
| | | | Jeremy.
* Put SMB_INFO_STANDARD back into setfileinfo, but do it rightJeremy Allison2009-08-061-0/+45
| | | | | this time :-). Jeremy.
* Add define guards around otherwise unused variable.Jeremy Allison2009-08-061-0/+3
| | | | Jeremy.
* s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner2009-08-061-1/+6
| | | | | | Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther
* Unable to browse DFS when using kerberosBo Yang2009-08-071-8/+14
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s4: Simplify two lines in the "samdb.py" file (cosmetic)Matthias Dieter Wallnöfer2009-08-061-2/+1
|
* s4:enableaccount script: Remove a redundant lineMatthias Dieter Wallnöfer2009-08-061-1/+0
|
* s3/smbldap: Fix typo in debug message.Karolin Seeger2009-08-061-1/+1
| | | | Karolin
* There is one signedness issue in tdb which prevents traverses of TDB recordsRusty Russell2009-08-061-9/+21
| | | | | | | | | | | over the 2G offset on systems which support 64 bit file offsets. This fixes that case. On systems with 32 bit offsets, expansion and fcntl locking on these records will fail anyway. SAMBA already does '#define _FILE_OFFSET_BITS 64' in config.h (on my 32-bit x86 Linux system at least) to get 64 bit file offsets. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Revert "deliberately break the build"Andrew Tridgell2009-08-061-1/+1
| | | | | | This reverts commit 57da47c1bd76157a6a403154551645c16ad64a75. The build emails do work :-)
* deliberately break the buildAndrew Tridgell2009-08-061-1/+1
| | | | | I want to make sure that the build breakage emails are now working correctly
* s4:heimdal: import lorikeet-heimdal-200908052208 (commit ↵Andrew Bartlett2009-08-0633-117/+31
| | | | | | | | | | | | | 370a73a74199a5a55188340906e15fd795f67a74) This removes some of the portability changes made to code under heimdal/ If these are still required, then we will re-add them with code under heimdal_build/ (so that we can simply 'drop in' future heimdal releases). Andrew Bartlett
* set uidwrappersrcdirAndrew Tridgell2009-08-061-0/+1
| | | | this is needed for the combined build
* define uwrap_enabled() on Samba3Andrew Tridgell2009-08-061-0/+3
| | | | | s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so needs a dummy version of the uwrap_enabled() macro
* s4:ldb Cosmetic corrections in "rdn_name" moduleMatthias Dieter Wallnöfer2009-08-051-4/+4
|
* changed BCC handling for SMBwriteX to handle broken MacOSX clientAndrew Tridgell2009-08-051-13/+8
| | | | | | | | | | | | | see bug #6610 The MacOSX SMB client sets the BCC value in SMBwriteX calls to zero instead of the correct size. Checking against WindowsXP, I've found that Windows uses the maximum of the computed buffer size and the given BCC value. I've changed Samba4 to do the same to allow MacOSX to work. I've limited this change to non-chained packets to ensure we don't get the possibility of exploits based on overlapping chained requests
* on buffer overflow windows gives SMBSRV:ERRerror hereAndrew Tridgell2009-08-051-1/+1
|
* s4:torture The test logic for the target was wrong. This should correct it.Matthias Dieter Wallnöfer2009-08-051-4/+4
|
* s4:heimdal_build: define HEIMDAL_LOCALEDIRStefan Metzmacher2009-08-051-0/+1
| | | | metze
* s4:ldap_server: make sure we shutdown the tls socket before ↵Stefan Metzmacher2009-08-051-0/+1
| | | | | | | | stream_terminate_connection() removes the fd event This fixes a crash bug where tls_destructor() relies on the fd event still being there. metze