1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

5710 Commits

Author SHA1 Message Date
Jeremy Allison
ed2fc96222 Fixed extra file_free calls - my fault :-(.
Jeremy.
(This used to be commit 2f8b84bda0)
2001-07-02 18:37:39 +00:00
Christopher R. Hertel
56b2a0c114 Very minor cleanup. I was looking for another problem and found some bits
of code that were unclear.

Chris -)-----
(This used to be commit c2977be340)
2001-07-02 16:25:00 +00:00
Andrew Bartlett
e682d6d54e This fix from Eelco Vriezekolk <eelco@nexus.com.na> is for a SIG11 bug where we
would always file_free(fsp) twice, once in close_file and once afterwoulds.

The bug was reported in SAMBA_2_2, but a code inspection shows it to be in HEAD
as well.  (Unfortunetly I don't have the facilites to actualy check this, but
the change is quite simple, makes sence and compiles).

Andrew Bartlett
(This used to be commit 5d3f622375)
2001-07-02 13:43:46 +00:00
Andrew Bartlett
b07605976a Fix the torture test, we had the wrong file-name in the tests
Andrew Bartlett
(This used to be commit d04ea88b5d)
2001-07-02 09:10:32 +00:00
Tim Potter
6daaa1d29e Re-ran configure.
(This used to be commit 33f668b137)
2001-07-02 09:10:15 +00:00
Tim Potter
e3284c5c12 Only build the pam_winbind module if --with-pam used.
Replaced extra shell variable with_pam_for_crypto with a check against
$with_pam
(This used to be commit 9db0332954)
2001-07-02 08:58:57 +00:00
Andrew Bartlett
61b1874105 We need strict locking to pass LOCK4
Andrew Bartlett
(This used to be commit 584a14a216)
2001-07-02 07:20:00 +00:00
Andrew Bartlett
e3d6627f05 Start of smbtorture based testing. Not all of smbtorture's facilites
are used, but these ones should pass.

Andrew Bartlett
(This used to be commit eee251f710)
2001-07-02 07:18:49 +00:00
Andrew Bartlett
d2af8d03ab Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett
(This used to be commit aa5708de69)
2001-07-02 04:47:55 +00:00
Andrew Bartlett
be242703e1 Make smbtorture return status values for use in the build_farm tests.
This should not have changed behaviour, and it has been tested.

Andrew Bartlett
(This used to be commit a73aefef09)
2001-07-02 03:21:17 +00:00
Jeremy Allison
5b69009b25 Fixed the nastiest locking bug to track down.... smb_pids are sent in the
lockingX calls - use that instead of smb_pid in the packet.
Jeremy.
(This used to be commit a3925cb9c6)
2001-07-02 02:42:41 +00:00
Jeremy Allison
82b76931cb Insure caught the fact that PTRDIFFs were being done between two unrelated
pointers.
Jeremy.
(This used to be commit 15c64199cb)
2001-07-02 00:33:15 +00:00
Simo Sorce
ef6c9d7425 "netbios aliases" and "interfaces" options change from P_STRING to P_LIST
(This used to be commit db36ed1d80)
2001-07-01 23:24:08 +00:00
Jeremy Allison
2e181c76c4 Fix for building --with-profile for new vfscalls.
Jeremy.
(This used to be commit 33dc250ebb)
2001-07-01 20:01:32 +00:00
Andrew Tridgell
4592d107fc cli_read() was reading too many bytes.
(This used to be commit ba79d2a030)
2001-07-01 13:18:35 +00:00
Simo Sorce
247acd5521 - fix bug in reply_nt- fix bug in reply_nt1
(This used to be commit 200110a3b4)
2001-07-01 10:39:37 +00:00
Richard Sharpe
9178d7591b Make sure we compile with gcc by default.
(This used to be commit 93c45024cd)
2001-06-30 11:08:06 +00:00
Richard Sharpe
89cf219717 Add a static linking target to the examples Makefile so I can test out static linking ...
(This used to be commit 9627bace72)
2001-06-30 04:01:51 +00:00
Jeremy Allison
064b4904f9 Ensure we return correct error on trying to unlock a region not locked.
Jeremy.
(This used to be commit 015a077acc)
2001-06-30 03:11:44 +00:00
Richard Sharpe
6db4e76120 Fix another small problem with Makefile.in ... not doing the correct
check for whether or not we should build a shared library.
(This used to be commit 09837044a2)
2001-06-30 03:01:09 +00:00
Andrew Bartlett
13bd0453ee This should return the build to normallity.
When you update an #ifdef'ed function, also update its matching null function
or all hell breaks loose on the build farm!

Andrew Bartlett
(This used to be commit 58b981a56f)
2001-06-30 02:45:16 +00:00
Jeremy Allison
d1f38ac531 Fixed the first locking error (test #8 found by locktest code from
Clarion locktest.
Jeremy.
(This used to be commit 5c42845b5b)
2001-06-30 01:59:48 +00:00
Richard Sharpe
51b83860a1 Modified Makefile.in to work properly. Define BLDSHARED as a variable in the makefile now.
(This used to be commit 332f646fdc)
2001-06-30 01:40:51 +00:00
Richard Sharpe
7e7c258e0b These changes cause the libsmbclient stuff to always build a non-shared library and to build a shared library only for the four OSes that we currently like.
I will probably add HP/UX and AIX support based on the CUPS stuff soon ...
(This used to be commit 9585529455)
2001-06-29 23:30:01 +00:00
Jeremy Allison
8d0b9cf534 Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.
Jeremy.
(This used to be commit 7079300da6)
2001-06-29 23:12:55 +00:00
Jeremy Allison
e2ced932db Ensured all the system calls in msdfs.c go through the vfs layer.
Added vfs calls to symlink() and readlink() with appropriate configure
checks.
Jeremy.
(This used to be commit c24e6b41ea)
2001-06-29 22:32:24 +00:00
Jeremy Allison
2cddd5fe8c From JF....
hi jeremy,

can you commit the following patch against HEAD. I can't do it right now

Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if
he didn't break the server code. And he did.

So on my way I cleaned info_1, 2, .. 5

it may break winbind. I leave to tim the pleasure to fix it ;-)

        jf.

I added some talloc changes and checks for alloc fails.

Jeremy.
(This used to be commit 001e9b7b54)
2001-06-29 18:41:31 +00:00
Tim Potter
d90f7ef5ea Experimental support for joining a domain without creating an account in
server manager first.  Just use the -U parameter to smbpasswd when joining
the domain:

	smbpasswd -r PDC -j DOMAIN -U administrator%password

Should also work with domain users with the 'add workstation to domain'
user right.
(This used to be commit 937b96feaa)
2001-06-29 08:04:12 +00:00
Tim Potter
00ecce9630 Removed another silly static array.
(This used to be commit 008628fb8a)
2001-06-29 07:55:41 +00:00
Tim Potter
f83f2cd4fa Win9x weirdness. When setting the named pipe handle state on a Unicode
server, Win9x only sends \PIPE instead of \PIPE\.  Looks suspiciously like
an off-by one bug in the Win9x dce/rpc pipe code.
(This used to be commit b4a9079833)
2001-06-29 01:58:48 +00:00
Tim Potter
b3443597e2 Replaced memcpy() with memmove() to make safe_strcpy() safe for overlapping
source and destination.
(This used to be commit 30411d4004)
2001-06-29 01:15:28 +00:00
Jeremy Allison
5fb9a869b7 Use a logical cli_read(), removed the cli_read_one() hack.
Jeremy.
(This used to be commit 2999eab5ab)
2001-06-29 00:22:22 +00:00
Jeremy Allison
95d1969e7e param/loadparm.c: Fix for bad volume label, found by TAKAHASHI Motonobu
Samba Users Group Japan. Ensure same as in 2.2.x codebase.
Jeremy.
(This used to be commit 5a5d33b946)
2001-06-28 23:21:43 +00:00
Christopher R. Hertel
9e7896144a Added info to some of the debug messages to get a better handle on a problem
people are reporting regarding multiple responses to queries on <1D> names.

There should only ever be one LMB but some users are seeing multiple replies
to queries for the LMB name.  This is probably due to nodes on the LAN that
have NetBIOS over NetBEUI and/or IPX enabled.  Previously, the debug message
did not include the IP address associated with the name.  It *did* include
the source address of the packet, but in the examples I've seen all of these
were the same, eg:

[2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93)
query_name_response: Multiple (2) responses received for a query on subnet
129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP
129.130.10.24
 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93)
query_name_response: Multiple (3) responses received for a query on subnet
129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP
129.130.10.24
 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93)
query_name_response: Multiple (4) responses received for a query on subnet
129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP
129.130.10.24
[2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93)
query_name_response: Multiple (5) responses received for a query on subnet
129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP
129.130.10.24

Note that all of the above are reported as having come from 129.130.10.24.
This should never happen.  If 129.130.10.24 is a WINS server it should
send a Negative Name Query Response for a <1D> name query (wierd but true).

So, are all of the above coming from different systems, all of which
think are the LMB?  Are they all coming from one system that is, for some
strange reason, replying five times to the same query?

Anyway, I needed more info so I've changed the debug messages.

Chris -)-----
(This used to be commit 8f2f09af0a)
2001-06-28 20:49:47 +00:00
Jeremy Allison
eb57553512 Properly instrument print_job_start()/print_job_end() so every fail case
logs a debug. We need this to track fail cases.
Jeremy
(This used to be commit fe5cac150d)
2001-06-28 19:23:43 +00:00
Andrew Tridgell
39117f1650 fixed guest account for build farm boxes
(This used to be commit 0d112d7960)
2001-06-28 05:57:56 +00:00
Andrew Tridgell
a2c81f1aed temporarily made smbclient a non-error target so that builds will succeed when it fails. This will give richard a chance to fix problems without breaking the tree
(This used to be commit 83d0dc4b53)
2001-06-28 03:03:11 +00:00
Jeremy Allison
8f91108faf Syncup between 2.2 and HEAD.
Jeremy.
(This used to be commit 39d4131a45)
2001-06-27 17:26:29 +00:00
Andrew Bartlett
dc346a5c6d Jigger around with the tests a bit more
We now test security=share, security=user, security=server for both the
positive and negitive case (good/bad pw) and check that guest shares work for
share level security.

The server level security stuff seems to test positive without actualy
contating a server (another LIBSMB_PROG based smbd) - I will need to look into that...

Andrew Bartlett
(This used to be commit 19fdc553d6)
2001-06-27 13:58:58 +00:00
Andrew Tridgell
5ac133bac7 on sco2 socketpair_tcp needs a bind
(This used to be commit d8e5409ebb)
2001-06-27 13:58:44 +00:00
Andrew Tridgell
c6f647dfd9 handle EISCONN in socketpair_tcp
this should get the auto-tests working on IRIX
(This used to be commit 87f90d48d8)
2001-06-27 10:44:14 +00:00
Andrew Bartlett
a0b75f7da7 Add the generic funcions file for the basicsmb tests
Andrew Bartlett
(This used to be commit b28baf71a7)
2001-06-27 07:59:09 +00:00
Tim Potter
39a265ae20 Added some missing entries to usage().
Added -d option to set debug level.
(This used to be commit 9874df0c22)
2001-06-27 04:43:55 +00:00
Richard Sharpe
d088d8e9d0 Added back the automatic build of libsmbclient.so in head.
This is so I can find out what platforms it fails on. I will pull it again tomorrow if there are too many problems, like > 2 platforms that it fails to build on, but will pop it back in again as I resolve platforms.
(This used to be commit cc72c44e53)
2001-06-27 04:41:01 +00:00
Tim Potter
c9c1e685fc Added doco for the -d parameter.
(This used to be commit d8598efb57)
2001-06-27 04:40:12 +00:00
Richard Sharpe
8831dcd59d Fix a stupid typo ...
(This used to be commit 8a873b5dfb)
2001-06-27 04:06:13 +00:00
Andrew Bartlett
d6ffe900c9 Changed some of the tests around, made failures for parts actualy count
Andrew Bartlett
(This used to be commit 56a881b2b4)
2001-06-27 00:32:52 +00:00
Herb Lewis
c2cfcb34e1 SGI compiler fixes.
Jeremy
(This used to be commit 45bf995bf6)
2001-06-26 20:23:45 +00:00
Martin Pool
21fd0a0f62 Add check for working AF_LOCAL sockets, which are borken
on RH7.0 with _LARGEFILE64_SOURCE, and probably not
present on non-Unix systems like VMS.
(This used to be commit 8b0a5bc436)
2001-06-26 07:44:02 +00:00
Andrew Bartlett
4c83248fcf Added the basic tests of smb functionality for HEAD
This works with the new build farm system

Andrew Bartlett
(This used to be commit 542977bc43)
2001-06-26 07:41:40 +00:00