1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

18342 Commits

Author SHA1 Message Date
Zach Loafman
8595f260eb s4 libcli: Add back Longhorn beta dialect as a constant
Also tweak how the dialect array and count is initialized.
2009-03-18 11:03:33 -07:00
Günther Deschner
9744a7058c s4-smbtorture: fix spoolss notify test after spoolss_Field changes.
Guenther
2009-03-18 16:46:33 +01:00
Günther Deschner
342b436691 s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.
Kai, please check.

Guenther
2009-03-18 10:35:22 +01:00
Günther Deschner
6e52c232c7 s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.
sorry, I could swear this did compile...

Guenther
2009-03-18 01:42:56 +01:00
Zach Loafman
211e255569 s4 torture: Win7 has a slightly different allowed access mask
Still investigating.
2009-03-17 13:43:28 -07:00
Zach Loafman
7bf2a213cd s4 torture: Add a string version for NT_STATUS_WIN7_INVALID_RANGE
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-17 13:43:27 -07:00
Zach Loafman
6c08e329fa s4 libcli: Add SMB2.1 dialect to libcli
Negotiate 2.1 if possible, leave negotiate results in
transport->negotiate.dialect_revision.
2009-03-17 13:43:27 -07:00
Stefan Metzmacher
e95d0b548e s4:build: require tevent 0.9.5
metze
2009-03-17 20:19:11 +01:00
Günther Deschner
fac7208273 s4-smbtorture: fix spoolss notify test for notify type changes.
Guenther
2009-03-17 19:07:37 +01:00
Björn Jacke
066cbb5835 clean up lib64 linking paths the same way as lib
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 16:11:14 +01:00
Björn Jacke
a23719babb fix build on sles8 and other old popt installations
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 15:47:20 +01:00
Günther Deschner
87d97ad042 s4-smbtorture: fix test_EnumPrinterKey.
Guenther
2009-03-17 12:15:33 +01:00
Günther Deschner
0e2139c693 s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.
Guenther
2009-03-17 11:14:54 +01:00
Günther Deschner
4727e3fa97 s4-spoolss: use winreg_Type for GetPrinterData implementation.
Guenther
2009-03-17 11:14:54 +01:00
Günther Deschner
be9a34e75d s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.
Guenther
2009-03-17 10:58:28 +01:00
Günther Deschner
c6e3e5eabc s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.
Guenther
2009-03-17 10:58:22 +01:00
Stefan Metzmacher
937a058cf2 s4:build: use SAMBA_PKG_CONFIG_MIN_VERSION instead of PKG_CONFIG_MIN_VERSION
And also intialize the variable. This fixes ./autogen.sh
in the merged build for me.

metze
2009-03-17 09:00:14 +01:00
Andrew Tridgell
a1ebb85020 added support for parentGUID
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-17 14:18:53 +11:00
Andrew Bartlett
1a06b31b59 s4:password_hash Only store the LM hash if 'lanman auth = yes'
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-16 11:28:11 +11:00
Jelmer Vernooij
693221cfdf Fix installation of tdr.h. 2009-03-15 16:49:12 +01:00
Jelmer Vernooij
0ea702efae configure: Add common file with minimum versions of external libraries. 2009-03-15 16:35:13 +01:00
Jelmer Vernooij
8edd73759d Merge branch 'nodiscard' of /home/jelmer/samba4 2009-03-15 15:39:15 +01:00
Jelmer Vernooij
c223beee2a Merge branch 'tdr' of /home/jelmer/samba4 2009-03-15 14:57:58 +01:00
Jelmer Vernooij
251bf8aab5 Merge branch 'checktalloc' of /home/jelmer/samba4 2009-03-15 13:52:01 +01:00
Jelmer Vernooij
75783473d1 Remove unused CONST_DISCARD macro. 2009-03-15 03:05:46 +01:00
Jelmer Vernooij
7972d82436 Remove -L/usr/lib from a couple more make variables. 2009-03-15 00:54:55 +01:00
Günther Deschner
ec0c6e1617 s4-smbtorture: fix build warning in test_EnumPrintProcDataTypes.
Guenther
2009-03-14 23:25:29 +01:00
Jelmer Vernooij
1b19cd1360 Merge branch 'checktalloc' into tdr 2009-03-14 22:09:03 +01:00
Jelmer Vernooij
4ceaec6725 Depend on a newer talloc in Samba 4. 2009-03-14 22:07:15 +01:00
Jelmer Vernooij
4638633308 Move tdr to top-level. 2009-03-14 21:57:44 +01:00
Stefan Metzmacher
1355dc2fd3 s4:build: require tevent 0.9.4
metze
2009-03-13 15:50:23 +01:00
Stefan Metzmacher
2f579200fb s4:build: try to fix the build with the ibm checker in the build-farm
The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL"

metze
2009-03-12 14:33:26 +01:00
Stefan Metzmacher
a3d5d8378c s4:events: allow nested events until we fixed all code to avoid them
metze
2009-03-12 14:21:25 +01:00
Stefan Metzmacher
6802394212 s4:ldb: allow nested events until the code is fixed to avoid them
metze
2009-03-12 14:21:20 +01:00
Stefan Metzmacher
1e4f78cc41 s4:ldb: setup tevent debug functions on a selfcreated event context
metze
2009-03-12 12:04:30 +01:00
Andrew Tridgell
483525f73c use a base64 encoded password when changing passwords
This avoids problems with embedded control characters in password
changes
2009-03-12 15:20:25 +11:00
Andrew Tridgell
0770028cbe fixed more embedded spaces in LDIF
This one added 3 spaces to the end of any new passwords
2009-03-12 15:13:23 +11:00
Andrew Tridgell
917905aea0 removed leading spaces from embedded ldif
This fixes the problem with the setpassword command failing like this:
   Error: First line of ldif must be a dn not '    dn'
2009-03-12 13:13:14 +11:00
Stefan Metzmacher
41c5d70c8d LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.
metze
2009-03-11 17:33:30 +01:00
Simo Sorce
97cccb2219 Fix extended operation return path.
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-10 11:08:53 -04:00
Andrew Tridgell
a67bc41d6b added a test that triggers a bug in the Samba3 notify code
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-10 15:12:48 +11:00
Simo Sorce
f088353d37 Fix potential segfaults using freed memory.
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-09 20:12:11 -04:00
Günther Deschner
ca9d67bf18 s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
Guenther
2009-03-07 09:59:12 +01:00
Björn Jacke
be479b6adf don't rely on shebang's perl path, call our $PERL instead
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-07 08:18:46 +01:00
Günther Deschner
a93fbf8b26 s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
Guenther
2009-03-07 00:25:44 +01:00
Günther Deschner
007f3f2319 s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
2009-03-06 14:28:28 +01:00
Günther Deschner
8bc7bb77be s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
2009-03-06 14:28:22 +01:00
Günther Deschner
2fcc921237 s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
2009-03-06 14:28:17 +01:00
Günther Deschner
8e68eb2cc3 s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
2009-03-06 14:28:10 +01:00
Günther Deschner
47adaea11e s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.
Guenther
2009-03-06 14:28:04 +01:00