1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

6967 Commits

Author SHA1 Message Date
Tim Potter
d9df00e2b1 Fixed a bunch of crash bugs for enumprinters at various info levels. -
Jeremy Allison
25dd73be29 Fixed delete on close semantics - preparing for share mode rewrite.
Jeremy.
-
Jeremy Allison
bda1c31da6 Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
Jeremy.
-
Tim Potter
5b195f8bf1 argc == 0 is an impossible condition. -
Jeremy Allison
5ba4ba3633 Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on.
Jeremy.
-
Jeremy Allison
2b3609a7dd Merge in the change to do per-handle access checks on setdata/setform etc.
Should allow the buggy spoolss code on NT to work against us.
Jeremy.
-
Tim Potter
d4d2f3bd89 Compile fixes for the pdb nisplus module. -
Tim Potter
252da94ebb Removed duplicate \n from debug message.
Small tidyups.
-
Herb Lewis
d3c593b120 fixed NBENCH test on IRIX (tridge) -
Herb Lewis
e5d80779a3 fixed the upper/lower case table generation on big-endian machines
(tridge, using Herbs console)
-
Andrew Tridgell
233e8b7d44 nicer message for --sequence when the server is disconnected -
Jim McDonough
2fdd601f2e Fix SIGSEGV on error message when trying to add a user to smbpasswd file without a unix account. -
Herb Lewis
c644ca6a66 make error codes match W2k advanced server sp2 -
Jeremy Allison
b56df25d48 Reformat preparing for changes to come...
Jeremy.
-
Jeremy Allison
439839be99 Added Herb's fix to override log level from command line.
Jeremy.
-
Andrew Tridgell
8f7bf38de1 accept the 0/0 lock but don't treat it in any sort of special way -
Andrew Tridgell
c2c8c4e713 show a progress bar during the deny tests -
Andrew Tridgell
6acd98cbb9 added -M option for minimum lock size -
Andrew Tridgell
b71a729e14 fixed NBENCH code for NT4 server ntcreatex semantics -
Jeremy Allison
509ac24525 Found the mp3 problem - it's a generic class bug w.r.t. renaming.
Added a rename torture test to illustrate the problem.
Jeremy.
-
Jeremy Allison
3bec83cbe9 Fix error return.
Jeremy.
-
Jeremy Allison
2b85d3570c Fix the NTSTATUS -> WERROR for srvsvc pipe.
Jeremy.
-
Jeremy Allison
d9cb1bf20a Mask off the aDIR on setfileinfo.
Jeremy.
-
Tim Potter
a7fa0733ba Spelling fixes. -
Tim Potter
472acd89b2 Removed unused static function. -
Tim Potter
7bb0dda8ee Fixed compiler warning about unused variables. -
Jeremy Allison
4aaa4f52b8 Canonicalise pathnames returned to Windows directory separators.
Found by Andrew at connectathon with some new tests
Jeremy.
-
Jeremy Allison
d2af6382b4 dos2unix not used in HEAD anymore.
Jeremy.
-
Herb Lewis
2d620909f9 fix for IRIX compile error -
Andrew Tridgell
97993630ad allow setting of lock range and base in locktest -
Andrew Tridgell
46b89bc997 added -k options for kerberos to smbtorture and locktest -
Tim Potter
fd172ec603 Fixed typo for winbind on solaris and hpux.
I have to say that having to link in winbind_nss_solaris.o for hpux is
slightly dodgy...
-
Andrew Tridgell
54a3f37449 make default unix charset UTF8
this means that we at least support all unicode chars by default
-
Andrew Tridgell
64c0a5c4a0 handle clock skew in getatr test -
Andrew Tridgell
f9e3b91f58 fixed -c option to NBENCH test -
Andrew Bartlett
ffa6c61f0b Some more fixes to enusre we execute the same code pathes as before this
change, just in different packets.
-
Andrew Bartlett
a9edcc1cb7 Matching header files for the last netlogon cleanup.
Andrew Bartlett
-
Andrew Bartlett
542673fcd6 This patch allows NT4 domains to trust Samba.
Simply add an account (smbpasswd -a -i REMOTEDOM) and join with 'user manager'
on the remote domain.

The only issue (at the auth level at least) that prevented NT4 domains from
trusting Samba was that our netlogon code was based on what appear to be
invalid assumptions.

The netlogon code appears to assume that the 'client name' specified
corrosponds to an account of the same form.  This doesn't apply in trusted
domains, becouse the account is in the form domain$

Now that we use the supplied account name, and no longer make our access
control checks at the challange stage (where this info is unavailable) we
match the Win2k behaviour for invalid machine logins, and don't need to know
the names of PDCs/BDCs in trusting domains.

We also kill off the 'you logged on with a machine account, use your user
account' error message, becouse the previous NT_STATUS return was compleatly
bogus.  (The ACCESS_DENIED we now return matches Win2k, and gives snane error
messages on the client).

TNG doesn't use this and has to do magic password syncs between the various
accounts for domain/pdc/bdc.  This patch feels like the much more natural way
of doing things, and has been mildly tested.

Andrew Bartlett
-
Simo Sorce
b6d62b8b2e compile fix from vance -
Andrew Bartlett
75f72f0b6a Move these inside the #ifdef to fix the compile on non-LDAPsam systems. -
Andrew Bartlett
6c5052a1a9 This is now unused -
Andrew Bartlett
cd5234d7dd This patch merges my private LDAP tree into HEAD.
The main change here is to move ldap into the new pluggable passdb subsystem
and to take the LDAP location as a 'location' paramter on the 'passdb backend'
line in the smb.conf.  This is an LDAP URL, parsed by OpenLDAP where supported,
and by hand where it isn't.

It also adds the ldap user suffix and ldap machine suffix smb.conf options,
so that machines added to the LDAP dir don't get mixed in with people.

Non-unix account support is also added.  This means that machines don't need to
be in /etc/passwd or in nss_ldap's scope.

This code has stood up well under my production environment, so it relitivly
well tested.

I'm commiting this now becouse others have shown interest in using it, and
there is no point 'hording' the code :-).

Andrew Bartlett
-
Andrew Bartlett
f0b16b7b51 more const -
Andrew Bartlett
ac8c24a9a8 Allow Samba to trust NT4 Domains.
This commit builds on the auth subsystem to give Samba support for trusting NT4
domains.  It is off by default, but is enabled by adding 'trustdomain' to the
'auth methods' smb.conf paramater.

Tested against NT4 only - there are still some issues with the join code for
Win2k servers (spnego stuff).

The main work TODO involves enumerating the trusted domains (including the RPC
calls to match), and getting winbind to run on the PDC correctly.

Similarly, work remains on getting NT4 to trust Samba domains.

Andrew Bartlett
-
Andrew Bartlett
9d25e30232 Remove util_list.h, as its matching .c file has already gone, and nobody is
using it anymore.  This also removes an early #include of smb.h, making it
slightly easier to track whats being included where.

Andrew Bartlett
-
Andrew Bartlett
e3585e3c2c Missing include file update for the secrets.c trustdom changes -
Andrew Bartlett
4ecc170dcb Fix up the trusted domains secrets code so as to have a slight chance of
working.
-
Andrew Bartlett
044391b597 And a little more const. -
Andrew Bartlett
413a46292b Add a dash of const here and there... -
Jeremy Allison
ebef2e7bc8 Fix lseek-on-pipe problem in VFS (where it belongs IMHO).
Jeremy.
-