summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-03-19use the tevent nesting code to avoid the uid problem in the VFSAndrew Tridgell1-0/+66
backend The vfs_unixuid module changes the uid of the process when executing operations on behalf of the user. Within the VFS backend we may rely on semi-async calls, such as winbind calls, which will call the event loop again. To cope with this we need to ensure that while inside those calls we revert the uid to root, then revert back to the connected user when we have finished with the semi-async calls.
2009-03-18s4 libcli: Add back Longhorn beta dialect as a constantZach Loafman2-4/+4
Also tweak how the dialect array and count is initialized.
2009-03-18s4-smbtorture: fix spoolss notify test after spoolss_Field changes.Günther Deschner1-4/+4
Guenther
2009-03-18s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.Günther Deschner1-23/+12
Kai, please check. Guenther
2009-03-18s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.Günther Deschner2-3/+4
sorry, I could swear this did compile... Guenther
2009-03-17s4 torture: Win7 has a slightly different allowed access maskZach Loafman1-1/+7
Still investigating.
2009-03-17s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGEZach Loafman2-10/+30
Also submitted a request to cifs-protocol for a real name for this thing. Use win7 target logic in smb2 lock test, SMB2-LOCK now passes against Win7.
2009-03-17s4 libcli: Add SMB2.1 dialect to libcliZach Loafman2-2/+5
Negotiate 2.1 if possible, leave negotiate results in transport->negotiate.dialect_revision.
2009-03-17s4:build: require tevent 0.9.5Stefan Metzmacher1-1/+1
metze
2009-03-17s4-smbtorture: fix spoolss notify test for notify type changes.Günther Deschner1-2/+2
Guenther
2009-03-17clean up lib64 linking paths the same way as libBjörn Jacke1-2/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17fix build on sles8 and other old popt installationsBjörn Jacke1-0/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner1-4/+4
Guenther
2009-03-17s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.Günther Deschner2-8/+9
Guenther
2009-03-17s4-spoolss: use winreg_Type for GetPrinterData implementation.Günther Deschner2-15/+15
Guenther
2009-03-17s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.Günther Deschner2-15/+21
Guenther
2009-03-17s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.Günther Deschner2-1/+5
Guenther
2009-03-17s4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSIONStefan Metzmacher1-2/+3
And also intialize the variable. This fixes ./autogen.sh in the merged build for me. metze
2009-03-17added support for parentGUIDAndrew Tridgell3-5/+129
This is made up of 4 parts: 1) change our schema to include the parentGUID attribute type 2) in the add hook in the objectclass module, get the objectGUID of the parent and add it to the message as parentGUID 3) in the rename hook in the objectclass module, get the objectGUID of the new parent, and insert an async modify request after the renmam is done 4) added a simple test suite
2009-03-16s4:password_hash Only store the LM hash if 'lanman auth = yes'Andrew Bartlett1-1/+2
The clients that do only lanman auth are on their way out, the passwords are case insensitive, it does not support unicode and we should not store such a poor hash of the password if we can avoid it. Andrew Bartlett
2009-03-15Fix installation of tdr.h.Jelmer Vernooij1-1/+1
2009-03-15configure: Add common file with minimum versions of external libraries.Jelmer Vernooij2-4/+12
2009-03-15Merge branch 'nodiscard' of /home/jelmer/samba4Jelmer Vernooij1-4/+0
2009-03-15Merge branch 'tdr' of /home/jelmer/samba4Jelmer Vernooij10-664/+7
2009-03-15Merge branch 'checktalloc' of /home/jelmer/samba4Jelmer Vernooij1-1/+1
2009-03-15Remove unused CONST_DISCARD macro.Jelmer Vernooij2-5/+1
2009-03-15Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij3-2/+5
2009-03-14s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.Günther Deschner1-1/+1
Guenther
2009-03-14Merge branch 'checktalloc' into tdrJelmer Vernooij1-1/+1
2009-03-14Depend on a newer talloc in Samba 4.Jelmer Vernooij1-1/+1
2009-03-14Move tdr to top-level.Jelmer Vernooij8-663/+3
2009-03-13s4:build: require tevent 0.9.4Stefan Metzmacher1-1/+1
metze
2009-03-12s4:build: try to fix the build with the ibm checker in the build-farmStefan Metzmacher1-1/+1
The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL" metze
2009-03-12s4:events: allow nested events until we fixed all code to avoid themStefan Metzmacher1-0/+2
metze
2009-03-12s4:ldb: allow nested events until the code is fixed to avoid themStefan Metzmacher1-1/+3
metze
2009-03-12s4:ldb: setup tevent debug functions on a selfcreated event contextStefan Metzmacher1-0/+35
metze
2009-03-12use a base64 encoded password when changing passwordsAndrew Tridgell1-2/+3
This avoids problems with embedded control characters in password changes
2009-03-12fixed more embedded spaces in LDIFAndrew Tridgell1-3/+3
This one added 3 spaces to the end of any new passwords
2009-03-12removed leading spaces from embedded ldifAndrew Tridgell1-10/+10
This fixes the problem with the setpassword command failing like this: Error: First line of ldif must be a dn not ' dn'
2009-03-11LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.Stefan Metzmacher1-6/+79
metze
2009-03-10Fix extended operation return path.Simo Sorce1-8/+12
Extended operations return was not going thorugh the same patch as others leaving the ctx around. Plus we were neutralizing the spy too early so that it didn't set the request_terminated flag as it should have. This should hopefully fix the failures in the build farm.
2009-03-10added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell1-0/+169
The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
2009-03-09Fix potential segfaults using freed memory.Simo Sorce4-10/+54
In some code paths ltdb_context was still referenced even after we were returned an error by one of the callbacks. Because the interface assumes that once an error is returned the ldb_request may be freed, and because the ltdb_context was allocated as a child of the request, this might cause access to freed memory. Allocate the ltdb_context on ldb, and keep track of what's going on with the request by adding a spy children on it. This way even if the request is freed before the ltdb_callback is called, we will safely free the ctx and just quietly return.
2009-03-07s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner2-2/+1
Guenther
2009-03-07don't rely on shebang's perl path, call our $PERL insteadBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner2-0/+53
Guenther
2009-03-06s4-spoolss: fix spoolss server enum calls after pointer changes.Günther Deschner2-14/+14
Guenther
2009-03-06s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix s3 flavor rpc spoolss test.Günther Deschner1-0/+2
Guenther
2009-03-06s4-smbtorture: fix RPC-SPOOLSS-WIN.Günther Deschner1-1/+7
Guenther