summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher2009-03-1912-606/+1002
| | | | metze
* lib/tsocket: add generic socket abstraction layerStefan Metzmacher2009-03-192-0/+3
| | | | | | This will replace source4/lib/socket/. metze
* use the tevent nesting code to avoid the uid problem in the VFSAndrew Tridgell2009-03-191-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.
* s4 libcli: Add back Longhorn beta dialect as a constantZach Loafman2009-03-182-4/+4
| | | | Also tweak how the dialect array and count is initialized.
* s4-smbtorture: fix spoolss notify test after spoolss_Field changes.Günther Deschner2009-03-181-4/+4
| | | | Guenther
* s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.Günther Deschner2009-03-181-23/+12
| | | | | | Kai, please check. Guenther
* s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.Günther Deschner2009-03-182-3/+4
| | | | | | sorry, I could swear this did compile... Guenther
* s4 torture: Win7 has a slightly different allowed access maskZach Loafman2009-03-171-1/+7
| | | | Still investigating.
* s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGEZach Loafman2009-03-172-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.
* s4 libcli: Add SMB2.1 dialect to libcliZach Loafman2009-03-172-2/+5
| | | | | Negotiate 2.1 if possible, leave negotiate results in transport->negotiate.dialect_revision.
* s4:build: require tevent 0.9.5Stefan Metzmacher2009-03-171-1/+1
| | | | metze
* s4-smbtorture: fix spoolss notify test for notify type changes.Günther Deschner2009-03-171-2/+2
| | | | Guenther
* clean up lib64 linking paths the same way as libBjörn Jacke2009-03-171-2/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* fix build on sles8 and other old popt installationsBjörn Jacke2009-03-171-0/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner2009-03-171-4/+4
| | | | Guenther
* s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.Günther Deschner2009-03-172-8/+9
| | | | Guenther
* s4-spoolss: use winreg_Type for GetPrinterData implementation.Günther Deschner2009-03-172-15/+15
| | | | Guenther
* s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.Günther Deschner2009-03-172-15/+21
| | | | Guenther
* s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.Günther Deschner2009-03-172-1/+5
| | | | Guenther
* s4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSIONStefan Metzmacher2009-03-171-2/+3
| | | | | | | And also intialize the variable. This fixes ./autogen.sh in the merged build for me. metze
* added support for parentGUIDAndrew Tridgell2009-03-173-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
* s4:password_hash Only store the LM hash if 'lanman auth = yes'Andrew Bartlett2009-03-161-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
* Fix installation of tdr.h.Jelmer Vernooij2009-03-151-1/+1
|
* configure: Add common file with minimum versions of external libraries.Jelmer Vernooij2009-03-152-4/+12
|
* Merge branch 'nodiscard' of /home/jelmer/samba4Jelmer Vernooij2009-03-151-4/+0
|\
| * Remove unused CONST_DISCARD macro.Jelmer Vernooij2009-03-152-5/+1
| |
* | Merge branch 'tdr' of /home/jelmer/samba4Jelmer Vernooij2009-03-1510-664/+7
|\ \
| * | Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij2009-03-153-2/+5
| | |
| * | Merge branch 'checktalloc' into tdrJelmer Vernooij2009-03-141-1/+1
| |\ \
| * | | Move tdr to top-level.Jelmer Vernooij2009-03-148-663/+3
| | |/ | |/|
* | | Merge branch 'checktalloc' of /home/jelmer/samba4Jelmer Vernooij2009-03-151-1/+1
|\ \ \ | | |/ | |/|
| * | Depend on a newer talloc in Samba 4.Jelmer Vernooij2009-03-141-1/+1
| |/
* | s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.Günther Deschner2009-03-141-1/+1
| | | | | | | | Guenther
* | s4:build: require tevent 0.9.4Stefan Metzmacher2009-03-131-1/+1
| | | | | | | | metze
* | s4:build: try to fix the build with the ibm checker in the build-farmStefan Metzmacher2009-03-121-1/+1
| | | | | | | | | | | | The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL" metze
* | s4:events: allow nested events until we fixed all code to avoid themStefan Metzmacher2009-03-121-0/+2
| | | | | | | | metze
* | s4:ldb: allow nested events until the code is fixed to avoid themStefan Metzmacher2009-03-121-1/+3
| | | | | | | | metze
* | s4:ldb: setup tevent debug functions on a selfcreated event contextStefan Metzmacher2009-03-121-0/+35
| | | | | | | | metze
* | use a base64 encoded password when changing passwordsAndrew Tridgell2009-03-121-2/+3
| | | | | | | | | | This avoids problems with embedded control characters in password changes
* | fixed more embedded spaces in LDIFAndrew Tridgell2009-03-121-3/+3
| | | | | | | | This one added 3 spaces to the end of any new passwords
* | removed leading spaces from embedded ldifAndrew Tridgell2009-03-121-10/+10
| | | | | | | | | | This fixes the problem with the setpassword command failing like this: Error: First line of ldif must be a dn not ' dn'
* | LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.Stefan Metzmacher2009-03-111-6/+79
|/ | | | metze
* Fix extended operation return path.Simo Sorce2009-03-101-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.
* added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell2009-03-101-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.
* Fix potential segfaults using freed memory.Simo Sorce2009-03-094-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.
* s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner2009-03-072-2/+1
| | | | Guenther
* don't rely on shebang's perl path, call our $PERL insteadBjörn Jacke2009-03-071-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.Günther Deschner2009-03-072-0/+53
| | | | Guenther
* s4-spoolss: fix spoolss server enum calls after pointer changes.Günther Deschner2009-03-062-14/+14
| | | | Guenther
* s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.Günther Deschner2009-03-061-0/+2
| | | | Guenther