1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

18373 Commits

Author SHA1 Message Date
Günther Deschner
2bc9ffa9fb s4-install: add new location of generated dcerpc headers to headermap file.
Guenther
2009-03-24 16:08:35 +01:00
Günther Deschner
8d901caf35 move dcerpc.idl to main directory.
Guenther
2009-03-24 11:14:06 +01:00
Andrew Tridgell
2a8f367b0f the start of a possibleInferiors test suite
we haven't implemented possibleInferiors yet. This test is meant to
help us understand how it works. It tries to construct
possibleInferiors via searches on other attributes, and compares it to
the servers constructed possibleInferiors attribute for each class in
the servers schema.

see [MS-ADTS] section 3.1.1.4.5.21
2009-03-24 16:28:39 +11:00
Andrew Tridgell
7f113904eb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-23 11:47:38 +11:00
Stefan Metzmacher
8a6f91c910 LDAP-CLDAP: remove temporary debug statements...
metze
2009-03-22 12:20:45 +01:00
Stefan Metzmacher
593ab6ac00 s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
metze
2009-03-21 10:44:40 +01:00
Stefan Metzmacher
6ef1442360 s4:smbd: the name of the binary is "samba" now
metze
2009-03-21 10:44:40 +01:00
Matthias Dieter Wallnoefer
62ab39dde3 s4/provision: Use existing serverrole variable.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-21 03:07:00 +01:00
Jelmer Vernooij
960b755315 pyldb: Let conversion to LDIF up to the user of the API rather than doing
it implicitly.
2009-03-21 02:19:25 +01:00
Jelmer Vernooij
de1e3e2cf0 Remove unnecessary duplication of string in memory. 2009-03-21 01:00:18 +01:00
Jelmer Vernooij
8f4e4d2e30 Adapt Zahari's test to the generic LDB Python tests. 2009-03-20 22:58:15 +01:00
zahari
4fff36f618 Setting nTSecurityDescriptor via LDAP fails
Fix for the problem was substitute talloc_strndup() with
talloc_memdup(), allocate 1 more character and put null character
('\0') in the extra place so data copied is null terminated.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 22:54:15 +01:00
Jelmer Vernooij
ee577ef0ee Add more comments. 2009-03-20 22:52:57 +01:00
Matthias Dieter Wallnoefer
2de464a765 Fix uninstallman.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 16:22:02 +01:00
Stefan Metzmacher
da46c37100 s4:build: include ../libcli/cldap/config.mk
This fixes commit 84a140f18722518eb0f40737085dd3b3958a3a02,
sorry!

metze
2009-03-20 10:16:00 +01:00
Andrew Bartlett
37f130fd89 s4:fullschema Use server-side sort to make the output deterministic 2009-03-20 16:47:34 +11:00
Andrew Bartlett
4a45b0da57 s4:ldb Allow paged_searches to be mixed with other controls
I want to mix this with the server-side sort in particular.

Andrew Bartlett
2009-03-20 16:45:52 +11:00
Andrew Bartlett
f696bb81f8 s4: Remove autogenerated attributes from minschema and fullschema output
These attributes will be generated by Samba on import, and do not need
to be in the schema file.

Andrew Bartlett
2009-03-20 16:28:42 +11:00
Andrew Bartlett
653dd024a6 Add minschema like tool to extract and dump the full schema from AD 2009-03-20 16:28:41 +11:00
Andrew Bartlett
5bfed623f5 s4:minschma Fix aggregate schema generation in minschema
The conversion from EJS to python I did with Jelmer this morning was
not quite complete, due mostly to the difference between print in EJS
and python (python implies a newline).

Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
6906c01cac s4:ldb Ensure to pass down options to LDB from python
This is needed for things such as to load modules, like the
paged_searches module.

Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
1dc5b90e86 s4:ldb Fix the paged_searches module
This simplifies the code, removes presumptions about being the only
control in the reply, and allows it to function against Windows 2008.

For searches which did not require a paged result, the module was
simply returning a failure when the compleated search did not include
a paged result control.

Andrew Bartlett
2009-03-20 16:28:40 +11:00
Jelmer Vernooij
5fe2b28f45 Merge branch 'master' of git://git.samba.org/samba into minschema 2009-03-20 01:30:36 +01:00
Jelmer Vernooij
ec9aeeab00 Fix up minschema after the conversion from JavaScript.
Pair programmed over the phone with Andrew :-)
2009-03-20 01:29:31 +01:00
Jelmer Vernooij
722dc9eed3 pyldb: Improve exception message when a list is expected. 2009-03-20 00:33:43 +01:00
Andrew Tridgell
9709ddcd3d Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-20 10:01:17 +11:00
Stefan Metzmacher
84a140f187 move source4/libcli/cldap => libcli/cldap
metze
2009-03-19 16:25:59 +01:00
Stefan Metzmacher
c600e8ef42 s4:cldap: rewrite the cldap library based on tsocket
metze
2009-03-19 16:25:59 +01:00
Stefan Metzmacher
2e0e416676 lib/tsocket: add generic socket abstraction layer
This will replace source4/lib/socket/.

metze
2009-03-19 15:01:12 +01:00
Andrew Tridgell
844a1b3cd2 flush after showing the prompt in smbclient 2009-03-19 16:07:07 +11:00
Andrew Tridgell
d380c49791 use the tevent nesting code to avoid the uid problem in the VFS
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-19 11:23:49 +11:00
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