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

14363 Commits

Author SHA1 Message Date
Herb Lewis
aa39cc37da get rid of more compiler warnings
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
2003-08-15 04:42:05 +00:00
Jelmer Vernooij
48ceb1b068 Add idmap diagrams from Chris and John
(This used to be commit 1f126306c211be26e69be056fb1015762dd4802b)
2003-08-15 04:37:02 +00:00
Volker Lendecke
4ad85bf48e Add the gss-spnego kerberos server side to ntml_auth. This uses the
same ads_verify_ticket routine that smbd uses, so in the current state
we have to be have the host password in secrets.tdb instead of the
keytab. This means we have to be an ADS member, but it's a start.

Volker
(This used to be commit dc2d2ad467927affbd1461df75f77f07ddfbc3b1)
2003-08-15 02:57:59 +00:00
Herb Lewis
4fab137d10 make sure idb file is properly sorted.
(This used to be commit 864d63a82dcd2ddea415d51a68a48aebe89c4bc6)
2003-08-15 02:28:59 +00:00
Herb Lewis
937041e3fd get rid of compiler warnings
(This used to be commit ae25e7746e87409aae554d390753c7a3e3717052)
2003-08-15 02:28:13 +00:00
Herb Lewis
0fc41a8962 get rid of const as these things really are not const
(This used to be commit 61bea183a229cc11f25c4a7cb5341faad9833d7b)
2003-08-15 02:25:41 +00:00
Jelmer Vernooij
7753ed9acf Fix some memory issues. It is now possible to convert extract packet data
from a samba log file and view it in ethereal, including the DCE/RPC, RAP, etc
calls that are contained in a packet, just like you would with a real
network sniff!
(This used to be commit 6a76750dc4d8b539b7571ac4939c003b6ffa86a9)
2003-08-15 02:18:20 +00:00
Herb Lewis
d294d4b98f get rid of warning on IRIX
(This used to be commit 6ec683e24e220a40b02b203b918a0008d90264f0)
2003-08-15 02:01:56 +00:00
Volker Lendecke
db5355cb3a Don't ask, it's too embarrassing :-)
Actually let the user explicitly specify a rid...

Volker
(This used to be commit 3aed9c8a4ac97ef55772ddae1e1cb0a5a1a15767)
2003-08-15 01:55:06 +00:00
Volker Lendecke
c9aa836204 Fix memleaks.
Currently I'm compiling against MIT Kerberos 1.2.8.

Anthony, you said you have a heimdal installation available. Could you
please compile this stuff with krb and check it with valgrind?

Thanks,

Volker
(This used to be commit d8ab44685994b302bb46eed9001c72c194d13dc8)
2003-08-15 01:46:09 +00:00
Herb Lewis
062f89bc28 get rid of some sompiler warnings on IRIX
(This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
2003-08-15 01:42:30 +00:00
Herb Lewis
cc865e1edc get rid of unused call
(This used to be commit 244c61b1dd52121109e6fd7c3514d1a73d1fa303)
2003-08-15 01:36:35 +00:00
Herb Lewis
fc05b0f4c7 return actual results instead of always OK
(This used to be commit 71469f3220e54959af13a395918c80273538b6ed)
2003-08-15 01:33:57 +00:00
Herb Lewis
4d108e264d fix type
(This used to be commit 327d26253ed21988d95303c4f8c85901199d8f40)
2003-08-15 01:30:26 +00:00
Jelmer Vernooij
c8061de1ed Get packet contents correct as well.
(This used to be commit b4499c8aab44e25cb4406498018bde0bc4ed4ca9)
2003-08-15 01:30:10 +00:00
Herb Lewis
23c314bb58 add IRIX EA support
(This used to be commit 589e94f4ffa325acfd6562a84906639e19fd5d33)
2003-08-15 01:29:08 +00:00
Jeremy Allison
87a672067d Fix attribute set using setfileinfo - Samba4 found.
Jeremy.
(This used to be commit 309835deacea9e49a8867cc981e78e6ae3efe42b)
2003-08-15 01:22:01 +00:00
Jeremy Allison
8ceb628d5c Ignore silently set disposition information when set on a path.
Samba4 tester.
Jeremy.
(This used to be commit e9cef615550fc2dc4a8a84ca080f13dc39d5b292)
2003-08-15 00:42:16 +00:00
Jelmer Vernooij
6c396ea577 Add utility that takes a samba log file (at least level 5 for headers and
10 for data contents as well) and creates a packet trace readable by
ethereal.

What does not work yet:
 - SMB data contents (log level 5)
 - SMB data contents beyond the 512 byte range (log level 99 or something?)
(This used to be commit 95b1d4933b0de63613fe041c273d413d86909b4b)
2003-08-15 00:04:20 +00:00
Jelmer Vernooij
273c37d1c1 Makefile.in
(This used to be commit e8dc799ffbc4e622eb6adf374bbafc34724c24ce)
2003-08-15 00:00:22 +00:00
Jeremy Allison
5a8c2f5a44 nlink field should decrement when delete pending is set.
Found by Samba4.
Jeremy.
(This used to be commit fbdf276e36b66e9ae65cb3f127ed80cfe9a43cac)
2003-08-14 23:47:12 +00:00
Jeremy Allison
6a0c1d0baf Fix setfileinfo level 1 - it only takes 12 bytes. Found by Samba4
torture tester.
Jeremy.
(This used to be commit 273ebfceb3142f485c2874f84114600d4a58c523)
2003-08-14 23:40:45 +00:00
Jeremy Allison
1699fadcdb Fix changing of attributes via setattr. Samba4 test fixes.
Jeremy.
(This used to be commit 97e1d5c9573513c9c9be9a709341bda54fbe44be)
2003-08-14 23:15:02 +00:00
Herb Lewis
b679661d27 get rid of IRIX test as it is wrong.
(This used to be commit a93fa23c17c9f69de224cdd5471916eda3cd4fec)
2003-08-14 22:46:25 +00:00
Gerald Carter
b09eb5aa93 jeremy foo
(This used to be commit 0b31f592df9aca952f978fd6f28c362a0bf02a53)
2003-08-14 22:17:07 +00:00
Gerald Carter
8f75104da1 fix build
(This used to be commit dd9cb6f820c2acf658eb081fb6ffc7e9b6b3c8d6)
2003-08-14 22:14:03 +00:00
Volker Lendecke
13a7870e42 Don't ask twice for the password
(This used to be commit 8ebd92da01a72b26df769125f51934796e9e3d4f)
2003-08-14 21:57:11 +00:00
Jeremy Allison
4e8b36a574 Fix SMBseek and get/set position information SMBs. Works against
Samba4 tester. You will need a make clean; make all after this !
Jeremy.
(This used to be commit 10d90171ed58bee3e5ab6476341059b585034134)
2003-08-14 21:16:06 +00:00
Gerald Carter
11777e6a30 Attempt at fixing bug #283. There however is no solution.
There is a workaround documented in the bug report.

This patch does:

  * add server support for the LSA_DS UUID on the lsarpc pipe
  * store a list of context_ids/api_structs in the pipe_struct
    so that we don't have to lookup the function table for a pipe.
    We just match the context_id.  Note that a dce/rpc alter_context
    does not destroy the previous context so it is possible to
    have multiple bindings active on the same pipe. Observed from
    standalone win2k sp4 client.
  * added server code for DsROleGetPrimaryDOmainInfo() but disabled it
    since it causes problems enumerating users and groups from a 2ksp4
    domain member in a Samba domain.
(This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
2003-08-14 21:14:28 +00:00
Volker Lendecke
bb6dff2cb1 In ads_verify_realm, all we use in the ADS_STRUCT is the
auth.realm. So directly pass that instead of setting up and tearing
down the ADS_STRUCT.

Volker
(This used to be commit ce5b8d2ec20fe1f4d3d1956020d88272fb84124a)
2003-08-14 21:07:49 +00:00
Richard Sharpe
4e4558998e Small fix to include existing CPPFLAGS when looking for iconv.
(This used to be commit 772bb41a9d321c7f7377af01d1583c73fccb1e08)
2003-08-14 21:07:30 +00:00
Alexander Bokovoy
8d670d117c Try to honor predefined CPPFLAGS when finding correct iconv flags
(This used to be commit ee362ce47596a90f60b0dd3b414503547863e01b)
2003-08-14 20:56:04 +00:00
Gerald Carter
9b80349a2f fix bug 294; win9x driver lookups should always use version 0
(This used to be commit 8cc1a49c13b24e8fe501caa0d7d695d34a58d08d)
2003-08-14 20:51:41 +00:00
Jelmer Vernooij
38f09f326f Fix overflow in vfs_recycle module (and hopefully also bug #291)
(This used to be commit 8625f0e015481a79b0a7dedb77c60ce7b2cb7b84)
2003-08-14 19:57:23 +00:00
Volker Lendecke
fbf072599b Fix the build for non-kerberos environments.
Volker
(This used to be commit c8f4d7952ffbe0438e33c37ae1365e5dd4f1734a)
2003-08-14 17:21:22 +00:00
Alexander Bokovoy
f90a83812c ntlm_auth should be installed as well. It is now of use by Squid and Midgard and is stable enough so it make sense to provide it in a Samba Team's binary packages
(This used to be commit 6615b06cd186d58b25e0af9ef4174868f99d9be3)
2003-08-14 04:53:38 +00:00
Rafal Szczesniak
810627ded2 Removed -l parameter description to avoid duplication
with common.samba section.

Also found while testing domain trusts (so far it works) :-)

rafal
(This used to be commit 75fa4a17bd95a3761749c8885f8aee8615e4f6aa)
2003-08-14 01:32:00 +00:00
Jelmer Vernooij
134e7f948d Put 'wins hook' example back in. Fixes bug #268)
(This used to be commit a1e1421d1ef70088e1cf2308e8cfbf139e25ddaa)
2003-08-14 01:15:42 +00:00
Richard Sharpe
3b9f84290a Small tweaks to configure.in to support Irix and to remove the changing
of LIBS where we don't need to change them, and to ensure that if
--with-iconv was specified we only search the list of locations specified.
(This used to be commit c2274274a6cec7aed5ba5fee72e529ff3e0c71e0)
2003-08-14 01:12:12 +00:00
Andrew Bartlett
172766eea7 Change Samba to always use extended security for it's guest logins, (ie,
NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to
all of Samba's clients.

When connecting to an Active Directory DC, you must initiate the CIFS level
session setup with Kerberos, not a guest login.  If you don't, your machine
account is demoted to NT4.

Andrew Bartlett
(This used to be commit 3547cb3def45a90f99f67829a533eac1ccba5e77)
2003-08-14 01:08:00 +00:00
Richard Sharpe
1eb7fe8eaf A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be
much the same as 8859.
(This used to be commit 02e3d779f150f99e777007a50b58861c8921925b)
2003-08-14 00:08:42 +00:00
Jelmer Vernooij
5ac23a96a2 This file has been in the HOWTO for ages
(This used to be commit e97ff92a27eee81c5a6f648e3a898fed66c6a63f)
2003-08-14 00:07:42 +00:00
Richard Sharpe
609ffe06d9 Test for CP850 and reorder the tests, looking for ASCII, then CP850,
then IBM850 and lastly ISO-8859-1.
(This used to be commit df8ff3f6b54aca4e43459d4275c88b90508c961a)
2003-08-13 23:08:53 +00:00
Richard Sharpe
7a56a78964 This is an intermediate commit ... we check for three different charsets
in an iconv_open to be more robust.

However, what we really want to do is find the name for something like CP850,
which can be IBM850 on Solaris, and we might want to also check for
ISO-8859-1.

So, this commit adds a macro to aclocal.m4 that can check for a specific
charset.
(This used to be commit 81dc28ca82b94d1bc42f96273f6cefac6ca1848c)
2003-08-13 21:29:59 +00:00
Rafal Szczesniak
1a43ca5ace Small typo fix found while testing domain trusts.
rafal
(This used to be commit 033ee6e68708f687ccd053eab4a7dac16937354b)
2003-08-13 20:53:48 +00:00
Volker Lendecke
d7ec3205e9 Don't wrap up anything that is not there. Otherwise upper layers
can not figure that we got no ticket.

Volker
(This used to be commit 2a724a7a873c08f14644427766bfd48908ddb501)
2003-08-13 20:27:18 +00:00
Volker Lendecke
ea40385507 Only close anything that is not fid 0. Was very confusing in ethereal...
Volker
(This used to be commit 9f453f27be7eeb792b57d5c60284bb5efc84b408)
2003-08-13 20:26:24 +00:00
Richard Sharpe
7c0b572085 Hoist the code for checking whether or not iconv actually works up into the
loop that looks for iconv, because we might have more than one version
of iconv available and the first version might not work like we want, so
we have to keep looking.

We have yet to look for other character conversions as well, but for now,
let's see what the build farm makes of the changes.
(This used to be commit 13be2ca51a6125a6de22fa7afb88ba0688f23ab8)
2003-08-13 19:35:37 +00:00
Jelmer Vernooij
e6a0622787 Fix typo
(This used to be commit d14253752f6e5eca217831da22f3d0d00d536b04)
2003-08-13 06:16:06 +00:00
Jelmer Vernooij
88ab623130 Remove last document in the text docs - it's replaced by Monyo's japanese
samb3 article
(This used to be commit 242ccbf35fd1f1456ede475c2851fd5e21f120a3)
2003-08-13 06:09:36 +00:00