1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

6604 Commits

Author SHA1 Message Date
Andrew Bartlett
f0f315f315 Fix up pdbedit to initialise its structures with the standard functions,
therfore ensuring sensible defaults for some values, notably account expriries
which mean 'locked out' if == 0.

This NEEDS to be merged into 2.2.2 or people can get wrongly initilaised TDB
records.  (which will only fail on future versions of samba).

Andrew Bartlett
-
Andrew Bartlett
33e3591b2d Add a new interface pdb_set_plaintext_passwd() to the passdb. This simply
interfaces to the existing set NT and LM functions, but ensures we always do it
in the same way.

This also allows for the possibility for the unix password sync code to be
hidden behind the passdb interface as some stage.
-
Andrew Bartlett
f7ed0ecc14 More updates to prevent account-guessing.
This moves the check that ensures that the account being looked up is the same
account as the machine logged in as to the front, before we even start with
passdb.

Merge for 2.2.2?

Andrew Bartlett
-
Andrew Bartlett
e0e05cb5a5 We don't use a modified 'user' in any case, so don't modifiy it. -
Andrew Bartlett
3f10b04566 Update build_options.c in line with new configure options. -
Andrew Bartlett
0b9e13530d Finish Jeremy's passdb merge :-).
(fix up configure.in for default (smbpasswd) option)

Rerun autoconf.
-
Jeremy Allison
bca6419447 Added Elrond patch to make se_access_check use NT datastructures, not Samba.
Jeremy.
-
Jeremy Allison
611bf806d5 Fixup passdb stuff to add new nisplus and ldap backends.
Jeremy.
-
Motonobu Takahashi
322ba52f71 sorry to forget re-run autoconf again... -
Motonobu Takahashi
9ec2d5e96e now --with-i18n-swat works to install some international files
used by SWAT into $swatdir/$ln/{help,images,include}

we have still points which needs to discuss, that is how to archive
and install lots of HTML help files and Using Samba files.

-- monyo
-
Andrew Bartlett
29b7434293 Don't segfault when deleting accounts not in /etc/passwd. The RID we want is
the one in the sampass anyway.

Andrew Bartlett
-
Andrew Bartlett
cad971f4c3 Fix up the ./configure for the BSDs:
Subject:
         Re: bugs in installman.sh script
    Date:
         Tue, 25 Sep 2001 16:02:11 +0200 (CEST)
   From:
         Rafal Szczesniak <mimir@spin.ict.pwr.wroc.pl>
     To:
         Andrew Bartlett <abartlet@pcug.org.au>
     CC:
         <samba-technical@lists.samba.org>

On Tue, 25 Sep 2001, Andrew Bartlett wrote:

> Its broken for BSDs and was broken for many others.  You might want to
> re-checkout.  Any fixes appricatiated.

OK. Here's the patch for configure.in. Replaces illegal, under [t]csh,
substitution with more general sed construction. Apply it, please, and
I'll see if I can clean up the installman.sh further.
-
Simo Sorce
7f07004571 memory leak fixes .. -
Simo Sorce
4ade36446e - the inactive core of the new mangling code that use tdb
- some more utils for unicode string manipulation
-
Andrew Tridgell
fdc9952391 fixed the really awful performance problem with the stat cache when it
ran out of primes and used a power of two hash modulus. It ended up
sticking all the entries in just a few buckets. Yuck!
-
Andrew Tridgell
11a2808e10 fixed a typo -
Andrew Tridgell
eb668b54af added a little smbtorture test for dumping the unicode table of a
server. This is just a framework right now - I want this to eventually
replace the win32 test code from monyo

The interesting this about this test is that it shows up a really
horrible performance bug in our stat cache code. I'll see if I can fix
it.
-
Andrew Bartlett
23173125cd Change ./configure.developer to stay in effect across a
'./config.status --recheck' by making it a real configure option.

reran autoconf
-
Andrew Tridgell
e13e8b190c allow all ucs2 chars in utf8, rather than mapping some to a single
char like libiconv does
-
Andrew Tridgell
b2eb7feb7f added cli_qpathinfo_alt_name() for fetching the 8.3 name of a file -
Andrew Bartlett
a302bb20e2 Try to fix up manpage installation -
Jeremy Allison
dfb58f2276 Fixed enumeration of large numbers of groups from a Samba DC.
Tidied up debug messages in lib/messages.c
Jeremy.
-
Jeremy Allison
4a54a633c5 Log sys_acl_set_XX at level 2 not zero.
Jeremy.
-
Jeremy Allison
fa74d07207 Change log message to 2 from zero when failing to create directory.
Stops spurious profile creation messages.
Jeremy.
-
Jeremy Allison
b5f4a97bb0 Removed extra '()' s.
Jeremy.
-
Motonobu Takahashi
c2e256c18c fixed a typo in installman.sh
fixed a problem that source/install-sh is not executable
-
Motonobu Takahashi
87a945f13d fixed a typo -
Motonobu Takahashi
736b713c49 added files and directories to support gettext() feature
Also added some po files to support:
    English, Japanese, Polish, Turlish
-
Motonobu Takahashi
50a61b221b Update configure from configure.in -
Motonobu Takahashi
486b79a6fc Added SWAT i18n feature:
TO enable configure with --with-i18n-swat
  to support this gettext is integrated
  and a new directories name "po" and "intl" are created.

  now these languages are supported:

  en - English (default)
  ja - Japanese
  po - Polish
  tr - Turkish

  To add your language,
  to create ${your_language}.po by translating source/po/en.po
  into your language is needed.

  some of html and image files of various language version are not
  included yet, though message catalogue files are installed.
  you need to copy files manually under
  ${swatdir}/lang/$ln/{help,images,included,using_samba}


And also added a option to intall manual pages:
of various lang version
  To enable configure with --with-manlangs
  but manual pages themself are not included yet.
-
Motonobu Takahashi
1e77e87dcf added SWAT i18n support files for Japanese and Turkish -
Andrew Tridgell
e558ab6ac8 fixed a silly off by 1 bug -
Andrew Tridgell
73f10d3ef6 fixed bug in POST var handling -
Andrew Bartlett
3a2a967723 If we disable hostname lookups we can at least get a uniform answer for testing
the rhosts and hostsequiv stuff with.

Andrew Bartlett
-
Andrew Tridgell
b8d9d1fca3 tdbtorture updates from when I was trying to track down the hp tdb bug -
Andrew Tridgell
cd6478ad98 convert all POST variables from display to unix charset -
Andrew Bartlett
e12d757099 Add .headers.stamp -
Andrew Bartlett
b6048e28ab Lets call an NTSTATUS an nt_status, not an ecode. -
Andrew Bartlett
d417b6b5cb Zero out these pstrings before we start: makes for much easier debugging. -
Andrew Bartlett
67947bf6e3 Fix up NT_STATUS return for session setups, Win2k objects to anything other
than NT_STATUS_LOGON_FAILURE.  This also brings us (almost) back in line with
their implementation.

Kill off SMBENCRYPT() macro

Kill off 'nt smb support' paramater - tridge okayed this one.

Andrew Bartlett
-
Andrew Tridgell
e78d0a3615 fixed the Makefile so we don't rebuild libsmbclient and build_env.h
(and thus smbd) every time
-
Jeremy Allison
bc7963bd64 Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.
Jeremy.
-
Andrew Bartlett
d1bc778301 These are RIDs not Unix UIDs so make this clear in the feild names.
Andrew Bartlett
-
Jeremy Allison
59a4684201 Attempt to make quotas work with RH7.1, and with other Linuxen... This is
*HARD*, dammit !
Jeremy.
-
Andrew Tridgell
c82f7828c0 fixed the error code handling in can_delete() by converting it to
NTSTATUS. This gets the right error codes in SMBunlink
-
Volker Lendecke
9ecd9db4ef Added -s configfile to smbcontrol.c.
Volker
-
Andrew Tridgell
374f76fa2d fixed character set for user name pull -
Jeremy Allison
73ec939239 smbmount fixes from Urban.
Jeremy.
-
Andrew Bartlett
2c2317c56e Move pass_check.c over to NTSTATUS, allowing full NTSTATUS from PAM to wire!
Add the ability for swat to run in non-root-mode (ie non-root from inetd).
 - we still need some of the am_root() calls fixed however.
-
Andrew Bartlett
bf81f00213 We are not meant to touch the username, so use the pass->pw_name output rather
than Get_Pwnam(user, True).
-