summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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-15Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij2-1/+5
the system tevent if it's too old.
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-11s4:schema Don't rely on objectCategory 'magic' when loading the schemaAndrew Bartlett1-2/+2
The short-to-long name canonicalisation rules use the schema, so clearly they won't work when loading it. Andrew Bartlett
2009-03-11s4:provision load_schema in provision.py no longer takes a hostnameAndrew Bartlett1-2/+1
This was missed in the earlier work to use this in provision-backend Andrew Bartlett
2009-03-11Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett5-11/+228
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-08Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett7-35/+113
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
2009-03-06s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.Günther Deschner1-18/+30
Guenther
2009-03-06s4:errormap: map ECANCELED to NT_STATUS_CANCELLEDStefan Metzmacher1-0/+4
metze
2009-03-06Load the schema with a more efficient single searchAndrew Bartlett1-93/+15
This search uses the index, and is not recursive, so should avoid the major performance problem with the current sorted schema load. The ad2oLschema code (recently moved to provision-backend) no longer needs the schema to be sorted. Andrew Bartlett
2009-03-06Load the schema for provision-backend in a transactionAndrew Bartlett1-18/+24
Loading data in a transaction is faster than without. Andrew Bartlett
2009-03-06Sort output of schema for OpenLDAP during conversionAndrew Bartlett1-98/+132
This avoids the need to assume that the schema is sorted on load, which happens more often and is a major performace issue in the Samba4's use of ldb. Andrew Bartlett
2009-03-05Allow ms_schema.py to produce output much like minschema_wsppSreepathi Pai1-0/+15
I've patched the new ms_schema.py (which was intended to be used as a library) to function as minschema_wspp if invoked standalone. Although this is less robust than minschema_wspp on incorrect data, having two programs doing the same thing might not be good idea. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-03-05Remove ad2oLschema, insted call it directly from provision-backendAndrew Bartlett7-225/+113
This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett
2009-03-05Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schemaAndrew Bartlett58-292/+718
2009-03-05Remove parse_control from header, long after the function was removedAndrew Bartlett1-1/+0
Simo reminded me that when (long ago) I moved parse_controls away from this place, I forgot to update the manually maintained header file. Andrew Bartlett
2009-03-05Update talloc version so we don't fail on system talloc 1.2.0Andrew Bartlett1-1/+1
The problem is that talloc in the Samba tree now includes talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's talloc 1.2.0. Andrew Bartlett