1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

409 Commits

Author SHA1 Message Date
Jelmer Vernooij
3286636dbb r14661: Install symlinks for shared libraries 2007-10-10 13:59:06 -05:00
Jelmer Vernooij
06403ea2be r14607: Update mkproto.pl to only write out new header files if the contents changed. 2007-10-10 13:59:00 -05:00
Jelmer Vernooij
4354147f6b r14549: Use make-compatible syntax in extra_cflags.txt so we can avoid
cflags.pl when using GNU make
2007-10-10 13:58:43 -05:00
Jelmer Vernooij
0944dca958 r14534: Update doco 2007-10-10 13:58:40 -05:00
Jelmer Vernooij
c3d975f4dc r14481: Change paths in headers on the fly when installing. Adds a simple text
file that contains the paths where headers need to be installed.
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
9bfc3c2537 r14479: Cope with _PUBLIC_ not being defined. Needed for when external projects
include this header.
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
c6a478a1af r14471: Convert installheader script to perl 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
2c7b62a861 r14281: Pull apart LIBDIR and MODULESDIR
Move architecture-independent data to DATADIR (was LIBDIR)
2007-10-10 13:57:07 -05:00
Jelmer Vernooij
d3a21b58d4 r13982: Add support for prototypes spread across multiple lines. Try to keep line
empty after inserting new prototypes.
2007-10-10 13:52:33 -05:00
Jelmer Vernooij
265cfb39c3 r13976: Add simple script for updating existing prototypes in a header file 2007-10-10 13:52:33 -05:00
Stefan Metzmacher
2db081fd70 r13964: make lp_* functions public
metze
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
ea9988dfda r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be
available to users of the library can be explicitly exported by
prepending them with _PUBLIC_ in the C source.
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
fd6135aa85 r13896: Get rid of 'use warnings' as it isn't very portable.. 2007-10-10 13:52:20 -05:00
Jelmer Vernooij
d512b147e8 r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.
2007-10-10 13:52:18 -05:00
Andrew Tridgell
d55db268ca r13854: we now pass BASE-NEGNOWAIT 2007-10-10 13:52:16 -05:00
Andrew Bartlett
085ba80cc8 r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
The switch to turn off SPNEGO in the client is a bit messy, but it works.

Andrew Bartlett
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
fb620c2706 r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs 2007-10-10 13:52:09 -05:00
Andrew Tridgell
b6c2d1e0b9 r13740: the BASE-DELETE test now passes, and is a quick test 2007-10-10 13:52:08 -05:00
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00
Stefan Metzmacher
fbd78b6272 r13629: export env-vars
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
7f1de54c84 r13628: fix the logic:-)
metze
2007-10-10 13:52:02 -05:00
Stefan Metzmacher
ae559920e1 r13627: split the NBT-WINSREPLICATION tests into multiple tests
metze
2007-10-10 13:52:02 -05:00
Andrew Bartlett
b0e7a58cc9 r13605: Use $BASEDN to ensure this works outside of the 'make test' rig.
Andrew Bartlett
2007-10-10 13:51:58 -05:00
Andrew Bartlett
990da31b5f r13472: After Volker's advise, try every combination of parameters. This
isn't every parameter on NTLMSSP, but it is most of the important
ones.

This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.

Andrew Bartlett
2007-10-10 13:51:54 -05:00
Andrew Bartlett
39ddba0d0d r13380: Drop the socket, then try SAMR operations secured with netlogon on the new socket.
We should also test netlogon operations, but there are issues with
what state is expected to be stored (far more than we currently do).

Andrew Bartlett
2007-10-10 13:51:51 -05:00
Simo Sorce
07fa55db32 r13355: check controls are correctly exported 2007-10-10 13:51:48 -05:00
Simo Sorce
933a80397d r13354: Add tests to check that controls work properly
Fix asq module, add a second_stage_init to register with rootdse
Fix asq control ldap parsing routines (this was nasty to find out)
2007-10-10 13:51:48 -05:00
James Peach
cd2f94a658 r13255: New CIFS dd client for use in performance testing. The guts of this is
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.

There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.

Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.

smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
2007-10-10 13:51:39 -05:00
Andrew Bartlett
8866aa06ff r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
2007-10-10 13:51:37 -05:00
Andrew Bartlett
ea0a53d679 r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).
Andrew Bartlett
2007-10-10 13:51:36 -05:00
Jelmer Vernooij
e3d0676aee r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
also 'make test'
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd r13208: Clearly separate named pipes from the IPC$ NTVFS type.
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.

Simple tests for a custom named pipe included.
2007-10-10 13:51:34 -05:00
Jelmer Vernooij
765991ab48 r13160: Fix some of the smbclient testsuite (after failures on the buildfarm) 2007-10-10 13:51:30 -05:00
Jelmer Vernooij
2384dec6f2 r13157: Fix installation of js files 2007-10-10 13:51:30 -05:00
Jelmer Vernooij
861d45beda r13156: Add some tests for smbclient 2007-10-10 13:51:30 -05:00
Andrew Bartlett
2c02a45d5a r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett
2007-10-10 13:51:29 -05:00
Stefan Metzmacher
7cb4e1bd04 r13112: merge over some stuff from samba3
metze
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
780870293b r13079: add SAMBA_VERSION_RELEASE_NICKNAME
if it's set in source/VERSION

smbd --version will print
4.0.0tp1 (Nickname)

metze
2007-10-10 13:51:23 -05:00
Jelmer Vernooij
2636e6c948 r13077: Allow the mkversion script to be used for technology preview releases 2007-10-10 13:51:22 -05:00
Andrew Bartlett
a88933668f r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
2007-10-10 13:51:17 -05:00
Andrew Bartlett
c2eca05074 r12902: Fix 'make quicktest'.
Andrew Bartlett
2007-10-10 13:51:00 -05:00
Andrew Bartlett
a5e7c17c34 r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.

This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'.  This should prevent it
being broken again.

Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.

The js credentials interface now handles the 'set machine account' flag.

New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).

Andrew Bartlett
2007-10-10 13:50:59 -05:00
Andrew Bartlett
6e17864c5d r12874: Try to give the startup a few more seconds, so that hosts with
gnutls-devel installed do not miss the first test.

Andrew Bartlett
2007-10-10 13:50:57 -05:00
Andrew Bartlett
7ccddfd351 r12858: This moves the libnet_LookupPdc code to use a GetDC request to find
the remote server's name, or in the absence of a local nbt_server to
communicate with (or without root access), a node status request.

The result is that we are in a better position to use kerberos, as well
as to remove the 'password server' mandatory parameter for the samsync
and samdump commands.  (I need this to put these into SWAT).

The only problem I have is that I must create a messaging context, which
requires a server ID.  As a client process, I don't expect to get
messages, but it is currently required for replies, so I generate a
random() number.  We probably need the servers to accept connections on
streamed sockets too, for client-only tasks that want IRPC.

Because I wanted to test this code, I have put the NET-API-* tests into
our test scripts, to ensure they pass and keep passing.  They are good
frontends onto the libnet system, and I see no reason not to test them.

In doing so the NET-API-RPCCONNECT test was simplified to take a
binding string on the command line, removing duplicate code, and
testing the combinations in the scripts instead.

(I have done a bit of work on the list shares code in libnet_share.c
to make it pass 'make test')

In the future, I would like to extend the libcli/findds.c code (based
off volker's winbind/wb_async_helpers.c, which is why it shows up a bit
odd in the patch) to handle getting multiple name replies, sending a
getdc request to each in turn.

(posted to samba-technical for review, and I'll happily update with
any comments)

Andrew Bartlett
2007-10-10 13:50:54 -05:00
Stefan Metzmacher
d4d2f011e2 r12831: add 'extern' to public prototypes
metze
2007-10-10 13:50:03 -05:00
Andrew Tridgell
b2030d527a r12812: speed up RPC-ECHO with validate some more, and re-enable it under
valgrind in 'make valgrindtest'
2007-10-10 13:49:59 -05:00
Stefan Metzmacher
2482bf969d r12806: tridge: in revision 12634 you introduced to validate the ndr_print output
and RPC-ECHO doesn't pass under valgrind anymore with this

metze
2007-10-10 13:49:58 -05:00
Stefan Metzmacher
beea805a61 r12778: export TEST_DATA_PREFIX in make test
metze
2007-10-10 13:49:54 -05:00
Jelmer Vernooij
6391761601 r12696: Reduce the size of include/structs.h 2007-10-10 13:49:40 -05:00
Jelmer Vernooij
e71cd4778b r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
2007-10-10 13:48:59 -05:00