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

15540 Commits

Author SHA1 Message Date
Volker Lendecke
aa7a675025 Fix decoding of base64. We got the length wrong when the result was not
an exact multiple of 3.

I also wrote a torture test and it survived some minutes of random stuff
coded/decoded up to 16 MB data. But that would be a bit too embarassing to
commit... :-)

Volker
(This used to be commit 6d22f0d8c36bea618ad0adf4eefc2f5a37cb3fda)
2004-01-23 12:04:07 +00:00
Andrew Bartlett
8975dde004 Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
(This used to be commit aca07f33a2f3cca48b44ac92d3b1b35592ffadc7)
2004-01-22 10:12:26 +00:00
Stefan Metzmacher
fc33274a27 * Add SIGABRT to fault handling
so we now got a backtrace, if we crash
  in libldap with SIGABRT

metze
(This used to be commit b5e814294eb3ce44131084d89014cb8a8840fe74)
2004-01-22 01:50:58 +00:00
Volker Lendecke
f9e9acb07f Fix compiler warning
(This used to be commit 413ed77142377351a0ed1c6cf800a14809e56e9c)
2004-01-21 14:48:02 +00:00
Volker Lendecke
28cc456e08 Display some nicer error messages for login via 'net'. I don't
see a reason why we have so many special cases and not simply use
nt_errstr(nt_status).

Comments?

Volker
(This used to be commit ea1a5fb30357f4fe70139ff5583d09cef9fdaa62)
2004-01-21 14:36:56 +00:00
Gerald Carter
747b3633ce include tdbdump man page in file list
(This used to be commit 083d06cad58b8e6e6136d7630e59449b47a699da)
2004-01-17 01:48:36 +00:00
Jeremy Allison
bb1119acca Fix for a signing bug when the mid wraps.
Found by Fran Fabrizio <fran@cis.uab.edu>.
Add to the *start* of the list not the end of the list.
This ensures that the *last* send sequence with this mid
is returned by preference.
This can happen if the mid wraps and one of the early
mid numbers didn't get a reply and is still lurking on
the list.
Jeremy.
(This used to be commit 25d739978fe9081ba0946c36901492127248e3e0)
2004-01-17 00:30:35 +00:00
Gerald Carter
ad5817c3bf starting WHATSNEW for thepost 3.0.2rc1 release
(This used to be commit 4ef4004af06a022dbc4f6757238e77ccfe1b4481)
2004-01-16 22:48:59 +00:00
Gerald Carter
0cf45c96b4 fix another bug caused by cli_lsa_query_info_policy() changes
(This used to be commit faec928564529c7ffb2653943be9cafbfb9e4688)
2004-01-16 22:15:35 +00:00
Gerald Carter
a4258016d0 remove unneeded man pages from packages
(This used to be commit 0e0a1632358f27d45b10f315db90afdbb35ee5b2)
2004-01-16 19:01:20 +00:00
Gerald Carter
ab9c239419 BUG 891 & 949: Fedora Packaging Fixes
(This used to be commit a7d0aec2b7ef132b5c631cb26d0a93dd66d0fff3)
2004-01-16 17:46:38 +00:00
Jim McDonough
261fba09ef Fix another join problem. Don't use a TALLOC_CTX before it has been
initialized.

Also split out the oldstyle join into a new fn, allowing us to call it
with no failure message from net rpc join, but displaying a failure message
when used with net rpc oldjoin.
(This used to be commit 07d6ed4343d7a2575dc974bfbc498b14784b2dc1)
2004-01-16 15:07:28 +00:00
Volker Lendecke
4fd80158ab Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) to
smbclient -L to make the output usable in pipes.

Volker
(This used to be commit 4c904210705f2be16daad21c07a4fb5117a3360b)
2004-01-16 15:01:09 +00:00
Volker Lendecke
fadc012803 Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker
(This used to be commit da5944129fad39010544b82649dfe5531a504ecf)
2004-01-16 13:11:01 +00:00
Gerald Carter
4180525599 Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com>
(This used to be commit 2fd2c07df42df42103e81f5eb39bd1778de6ca0a)
2004-01-15 20:47:30 +00:00
Gerald Carter
1c3ade4108 setting version to 3.0.2rc2
(This used to be commit db1c6721bfe72323978b2d2b7fbd7ef29b914573)
2004-01-15 20:32:27 +00:00
Gerald Carter
77f75fcb5f adding changelog for 3.0.2rc1
(This used to be commit 533fcb5893643cb6136820567e58c4d26ecd9a35)
2004-01-15 20:14:02 +00:00
Jim McDonough
8083486dee Fix net rpc join (at least newstyle) after it was broken by changing
the parms to cli_lsa_query_info_policy without changing them here...
(This used to be commit a885df7635a9230bc6cca88e7e8fb1420c74c7fb)
2004-01-15 19:45:36 +00:00
Gerald Carter
b20f1a95a9 * BUG 446
- setup_logging() in smbclient to be interactive (remove the timestamps)
  - Fix bad return value in pull_ucs2( needs more testing to make sure this
    didn't break something else) that caused clistr_pull() to always read
    the same string from the buffer (pull_usc2() could return -1 if the original
    source length was given as -1)
  - increment some debugging messages to avoid printing them out so often
(This used to be commit 79fe75dcdf6cc38e18ca1231e4357893db4d4a08)
2004-01-15 19:03:18 +00:00
Gerald Carter
ad40c8a1f4 BUG 958; don't use the -N option when invoking smbclient from the smbtar script
(This used to be commit c51eaec4f09d9c191c6b24dadb1d12770b368da0)
2004-01-15 17:18:39 +00:00
Volker Lendecke
55d6877f0f reply_spnego_kerberos did not set the domain of the user handed to
register_vuid correctly. We ended up with the local netbios name in
substitutions for %D later.

Volker

P.S: Tridge, I can *really* see why you want to get rid of global variables
:-)
(This used to be commit 3d9931fe291559a907c3e172a66fbce1155497a3)
2004-01-15 17:17:58 +00:00
Volker Lendecke
3c3c7b329a Don't substitute stuff in lp_afs_username_map, this is explicitly
done later.

Volker
(This used to be commit c4a6151f469764444f4dab8bcae04e1a2bdb0b64)
2004-01-15 17:05:08 +00:00
Volker Lendecke
56c23c527b And another memory corruption in winbind. Arg 3 of safe_strcpy does not
include the terminating 0.

Volker
(This used to be commit 945c7807641e82500c84e833f03f381497f0a2d0)
2004-01-15 15:36:01 +00:00
Volker Lendecke
617d7c0bcd Fix a segfault in winbindd. Calling getusersids with a SID that results in 0
groups winbind ended up freeing an uninitialised pointer.

Volker
(This used to be commit cd89288e21ba13a9e97c548eccc15cef21a98d07)
2004-01-15 15:00:44 +00:00
Stefan Metzmacher
d5aecd1850 * Fix sys_chown() when no chown() is presend
metze
(This used to be commit b0c0d736919079afc4f9bf5a406000048d26fe71)
2004-01-15 09:08:06 +00:00
Stefan Metzmacher
9343c89cb4 * Fix XFS quotas: XFS_USER_QUOTA -> USRQUOTA
XFS_GROUP_QUOTA -> GRPQUOTA
* Fix disk_free calculation with group quotas.
* Add debug class 'quota' and a lot of DEBUG()'s
  to the quota code.

metze
(This used to be commit e9e5e2036f13ff847aa3ef52e8be657bef7d5774)
2004-01-15 08:49:30 +00:00
Gerald Carter
919c261a49 BUG 936: fix bind credentials for schannel binds in smbd (and add a comment to winbindd_cm about this
(This used to be commit 5134c6bcbc5180431e95a30559c453f3744fd427)
2004-01-15 06:55:10 +00:00
Tim Potter
c92a776bcf Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
(This used to be commit 67d25f3de803f7e599c51cacd51367f124151d6b)
2004-01-15 06:51:20 +00:00
Gerald Carter
1cb47a2cb7 BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a structure
(This used to be commit 1c15bfacb45d42873f3d7e7cb55ba2cbbbe33d26)
2004-01-15 05:16:29 +00:00
Herb Lewis
be1b3604ef source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
in prs_init now

testsuite/printing/psec.c	cannot do a prs_mem_free() when tdb_prs_fetch fails
				as the prs structure has not been initialized
(This used to be commit a363e5d8c549861329506bd87c11d82ace5520e5)
2004-01-14 22:53:50 +00:00
Gerald Carter
2624dd0313 Fix initgroups() call nss_winbind on solaris; patch from John Klinger <john.klinger@lmco.com>
(This used to be commit 40b7d863dc246ea23ff3d9cdc167f1fb96166e1d)
2004-01-14 21:22:30 +00:00
Gerald Carter
bb104f31d5 bug 770; correct fix this time; Make sure that we send the SMBjobid for unix jobs back to the client. Allows windows client to remove print jobs submitted from lpr
(This used to be commit 514561118860f982c458930c34763dac9ce0554e)
2004-01-14 20:56:26 +00:00
Gerald Carter
e7615b5776 bug 660; using byte order safe macros (or tdb_unpack) when reading 2 or 4 byte values from a tdb buffer
(This used to be commit be9f25bea94415af6b631a9c6e7af28d9d6e6565)
2004-01-14 19:12:06 +00:00
Gerald Carter
1dce4ebed8 revert the cracklib changes until post 3.0.2
(This used to be commit 6202e0fa727a4307f51bf42f5ced401a7c7b8214)
2004-01-14 17:34:41 +00:00
Gerald Carter
fe48d1c800 * Revert to using rpc for mixed mode AD domains.
The reason for this are:
  (a) the set_dc_type_and_flags() cannot tell the different
      between connecting to an NT4 domain and an NT4 BDC
      of a mixed mode domain.
  (b) the connection management for the rpc backend only
      provides on named pipe per cli_state.  So it is possible
      to connect to an NT4 BDC for netlogon and an AD mixed mode
      DC for lsarpc.  RPC is the lowest common demonimator here.
  (c) Issue with the sequence number value between the
      highestCommittedUSN LDAP attribute and the seq_num returned
      via RPC.


We will revisit this later, but the changes need to make this
work right now are too broad and risky.
(This used to be commit 1ed2e521536108229d153c2996f4757d89461166)
2004-01-14 16:25:39 +00:00
Jeremy Allison
9bf45a0393 Remove duplicate extern.
Jeremy.
(This used to be commit fb088b5679f1def054d8b433c5e6c5b855411488)
2004-01-14 06:44:20 +00:00
Jeremy Allison
438bfa6efb Remove references to 'jn' which gcc-3.4 with precompiled headers
doesn't like.
Jeremy.
(This used to be commit da51988cfac91e63f6e0213701aad652bc1bd55e)
2004-01-14 06:41:50 +00:00
Stefan Metzmacher
2c1f07b66a fix XFS quotas the macro changed from HAVE_XFS_QUOTA -> HAVE_XFS_QUOTAS
metze
(This used to be commit c73e845055163c1d814710fe4d9960c7f3587f12)
2004-01-14 02:51:41 +00:00
Andrew Bartlett
ade34c9ade Remove duplicate comment.
Andrew Bartlett
(This used to be commit b0b2010461d8554334b033c4f07d78c308e73e7f)
2004-01-14 01:17:21 +00:00
Andrew Bartlett
0c0dfe4da5 Finish adding cracklib support - this adds the configure test to enable
it, on machines that actually have a working cracklib, for which we have
the correct path to the dictionary.

Andrew Bartlett
(This used to be commit 17518018c0264d2a8e4afbc712a22ef4a1a00003)
2004-01-14 01:14:22 +00:00
Gerald Carter
b085f0f08e * allow dns lookups to be disabled for DOMAIN#1c (and #1b)
names
* fix some a mispelled variable name
(This used to be commit bca702c97620ad8f66015d6e4b41abd4adf22076)
2004-01-13 19:42:53 +00:00
Andrew Bartlett
f203358fdb On systems without a working cracklib, ensure we don't include the header
(the actual call to crack was already in this #ifdef)

Andrew Bartlett
(This used to be commit 4a01f3dbb4a2e744b48bdb86c4d91ee4692d38e5)
2004-01-12 21:12:47 +00:00
Gerald Carter
31a3842644 fixing compile problems due to my recent ads.h changes
(This used to be commit d7b6298b9e4e7f83deaa2c6f3d711c390ff9cefd)
2004-01-12 14:26:50 +00:00
Andrew Bartlett
b75b755a2b First stab at cracklib support (password quality checking) in Samba 3.0
This adds a configure test, that tries to find out if we have a working
cracklib installation, and tries to pick up the debian hints on where
the dictionary might be found.  Default is per my Fedora Core 1 system -
I'm not sure how much it changes.

Andrew Bartlett
(This used to be commit bc770edb788f0b6f719011cda683f045b76b7ba5)
2004-01-12 12:18:11 +00:00
Gerald Carter
432f3be62e fix formatting
(This used to be commit acc9022550b20b144f749411ecdadf18adb09350)
2004-01-11 14:15:12 +00:00
Stefan Metzmacher
86450924a0 update copyright to -2004
metze
(This used to be commit 12d6bc3bd0684646e990c2fc6485fe1a92ac98fb)
2004-01-11 13:23:50 +00:00
Jelmer Vernooij
56f4e9726c Fix swatdir location for --with-fhs
(This used to be commit d12b793d9ca10f966da3446982a5b1d987d51814)
2004-01-10 22:05:38 +00:00
Gerald Carter
279a6af03f starting new version of release notes -- post 3.0.2pre1
(This used to be commit 83150b5733033aed4b3556ea94782a5b6c7b9aeb)
2004-01-09 16:02:42 +00:00
Gerald Carter
500c28974d fix some warnings from the Sun compiler
(This used to be commit ebabf72a78f0165521268b73e0fcabe1ea7834fd)
2004-01-09 14:54:33 +00:00
Andrew Bartlett
f1f24c7c6f Romve debugging assertions (oops...)
Andrew Bartlett
(This used to be commit 7e75a6d681fc63cacc7e5caa7a04568c6019367f)
2004-01-09 02:47:35 +00:00