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

12510 Commits

Author SHA1 Message Date
Jim McDonough
7d378e9a11 Disable rc4-hmac on broken heimdal setups. Pre-0.7 heimdal (or at least up
to a very recent snapshot) has arcfour-hmac code that doesn't work with
windows.  Love suggested detecting it via the existence of KEYTYPE_ARCFOUR_56
which only exists in working versions.
(This used to be commit e039a61e51)
2003-09-02 18:31:41 +00:00
Jim McDonough
409c6d1407 Check for support for in-memory keytabs, which are needed to make heimdal
work properly.  MIT does not support them, so this check will be used to
decide whether to use them.  First part of fixing bug #372.
(This used to be commit 85737fc937)
2003-09-02 17:02:09 +00:00
Tim Potter
ea7b4b6c32 Fix for bug 261. Create a configure #define for FreeBSD and a check in
nsswitch/pam_winbind.h so we can compile properly on this platform.
(This used to be commit 75411005fc)
2003-09-02 00:09:31 +00:00
Jeremy Allison
9b276fc77f Fix comment strings to 43 bytes as per spec.
Jeremy.
(This used to be commit f1ec43fae4)
2003-09-01 18:28:09 +00:00
Alexander Bokovoy
39abb5cacc Proper fix for #380 -- use different algorithm to generate codepages
source code which allows to take gaps into account thus making unneccessary
extended [index] = value, syntax in to_ucs2 array
(This used to be commit 4ab08a4bb8)
2003-09-01 11:33:42 +00:00
Alexander Bokovoy
bce1fcd76b Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
(This used to be commit 61c671bd69)
2003-09-01 11:26:57 +00:00
Tim Potter
0869073b7b Fix bug 342. Short version of --add now -a instead of -A.
(This used to be commit 233568dd6b)
2003-09-01 10:43:21 +00:00
Tim Potter
0548123153 We don't need to #include memory.h here. It's a BSD'ism and just includes
string.h anyways.
(This used to be commit 71034cede8)
2003-08-31 23:58:55 +00:00
Alexander Bokovoy
01e9f9788c Remove cap_set_quota as it is the same as default one
(This used to be commit e123f1a8c8)
2003-08-29 09:24:24 +00:00
Steve French
78e75d4f6c Update mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
(This used to be commit 89a0e97094)
2003-08-29 07:31:39 +00:00
Gerald Carter
f13957824d bumping version
(This used to be commit e5f091e795)
2003-08-29 04:15:59 +00:00
Tim Potter
48cb8f8d5f Fix some compiler warnings.
(This used to be commit f566de0541)
2003-08-29 01:33:00 +00:00
Tim Potter
d425729fd9 Add log2pcap to everything target.
(This used to be commit fb446ba811)
2003-08-29 01:25:17 +00:00
Jeremy Allison
fcdebdae6f Fix bug found by tridge in 2.2.x. Ensure that %U substitution is
restored on next valid packet if a logon fails. This has relevence
if people are using su.exe within logon scripts !
Jeremy.
(This used to be commit d405a93a9d)
2003-08-28 23:57:34 +00:00
Jeremy Allison
afe845235a Fixed warnings in secret code.
Jeremy.
(This used to be commit 86ebf99043)
2003-08-28 23:38:13 +00:00
Gerald Carter
9809c98f24 make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd1)
2003-08-28 21:23:04 +00:00
Gerald Carter
019349339e getting rid of copmpiler warning
(This used to be commit d3f5c5c220)
2003-08-28 20:48:04 +00:00
Gerald Carter
494bb81bb0 fixing typos pointed out by Vance in WHATSNEW
Include patch to manually set the machine trust account
password (on request from jht) to mimic 2.2. behavior.

last changes before RC2 (not counting syncing the docs).
(This used to be commit ce09037144)
2003-08-28 20:24:25 +00:00
Jeremy Allison
569c2827fa Add length warning on register name.
Jeremy.
(This used to be commit 68d02ebbcd)
2003-08-28 18:23:05 +00:00
Jeremy Allison
6872f392f1 Fixed off-by-one bugs in workgroup name comparisons. Complain when a
workgroup name is >15 characters.
Jeremy.
(This used to be commit 35a0b3c035)
2003-08-28 18:12:59 +00:00
Jeremy Allison
76bcb93c66 Fix rename of struct gap. ab - LOOK AT THIS. You changed one module
but not the other. This now compiles but I need verification.
Jeremy.
(This used to be commit 787c9764b3)
2003-08-28 18:11:11 +00:00
Alexander Bokovoy
e83031c84d Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0)
2003-08-28 17:16:27 +00:00
Gerald Carter
3d393502e7 revert a change to r1.397.2.91 because to operate like the docs; browseable for new home directories should be inheritied from the global defaults, not [homes]
(This used to be commit ea54bfc211)
2003-08-28 16:13:16 +00:00
Jim McDonough
53a2778363 Fix email address in copyright statement
(This used to be commit ffc82460f2)
2003-08-28 14:57:23 +00:00
Alexander Bokovoy
811bd3b3ba skel_ -> cap_
(This used to be commit 8bb033273a)
2003-08-28 12:30:35 +00:00
Jeremy Allison
ce236ad65d Remove what looks like gcc-isms.
Jeremy.
(This used to be commit ed72e0a1d5)
2003-08-27 23:23:17 +00:00
Rafal Szczesniak
06fb721d7f Typo fix.
(This used to be commit 934fb418a3)
2003-08-27 22:05:52 +00:00
Gerald Carter
7f3e60d837 remove 'ldap trust ids' since there was no way for it to work now
(This used to be commit 3724063f15)
2003-08-27 21:17:10 +00:00
Gerald Carter
c2983f9323 Fix bug 327 (again and I think for the last time). Make sure that
pam_smbpass.so will load ok.  Had to move some functions around to work
around dependency problems (hence the new passdb/lookup_sid.c)

Also make sure that libsmbclient.a is built and installed when
we support shared libraries.
(This used to be commit 780055f442)
2003-08-27 20:52:56 +00:00
Gerald Carter
2f70d0d9a7 renaming some functions for consistency
(This used to be commit f4ca4aae8a)
2003-08-27 20:50:24 +00:00
Jim McDonough
270a59f7d3 Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, but
in heimdal it is an enum.  Thanks to Guenther Deschner (gd@suse.de).

With this join will work, but without a keytab, cifs connections will still
fail with heimdal.  Fix to come later.
(This used to be commit d30bef4c37)
2003-08-27 20:22:12 +00:00
Alexander Bokovoy
da0397bd2f Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV
(This used to be commit e8a5a962ed)
2003-08-27 20:04:23 +00:00
Jeremy Allison
46765d97fa Check for embedded mb chars when testing for illegal characters like /.
Should fix mangling for Japanese language.
Jeremy.
(This used to be commit a238bcc440)
2003-08-27 19:01:55 +00:00
Jeremy Allison
9511c987df Fix initial debug.
Jeremy.
(This used to be commit bd40da0635)
2003-08-27 18:21:26 +00:00
Alexander Bokovoy
6008bd4aeb Ignore smbiconv binary as well
(This used to be commit eea27b9a9c)
2003-08-27 18:19:52 +00:00
Jeremy Allison
8df07f37a2 Remove completely unneeded malloc/free out of this codepath.
Jeremy.
(This used to be commit fda2541697)
2003-08-27 18:17:33 +00:00
Jeremy Allison
8dc1a4f300 Ensure we use correct length nstrings for workgroup and browser names.
Jeremy.
(This used to be commit be534c8adf)
2003-08-27 18:00:09 +00:00
Gerald Carter
4561b811df fix segfault on empty wins server name registration reply
(This used to be commit 743560284c)
2003-08-27 15:07:46 +00:00
Paul Green
cd8c082b79 Be consistent about using capital letters in the function names. (The only
one that really matters is the init entrypoint, but I changed the others
to remain consistent).
(This used to be commit ce0469ad1c)
2003-08-27 15:05:05 +00:00
Gerald Carter
35a42eebed fix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks for shared library support (move the IRIX define as well)
(This used to be commit 42d9b75d8c)
2003-08-27 14:37:24 +00:00
Alexander Bokovoy
bc0f3c1792 Fix typo in configure.in for libsmbclient
(This used to be commit 302da352a2)
2003-08-27 10:42:16 +00:00
Tim Potter
64ca334696 Print an error instead of crashing if no argument is specified for
smbclient -T

Fixes bug 345.
(This used to be commit a46e58e2b6)
2003-08-27 07:39:26 +00:00
Tim Potter
c60f385691 Update last scan time in rescan_trusted_domains().
Fix from Ken Cross.
(This used to be commit 45775b48a0)
2003-08-27 07:26:02 +00:00
Tim Potter
a5cddd08c8 Undo SYSV define for Solaris. Things are more complicated than they
appear.  (-:

I've closed bug 355 as a duplicate of bug 230 which is still a going
concern.
(This used to be commit dfb5050b77)
2003-08-27 06:32:22 +00:00
Tim Potter
92484cab4e Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fix
vendor supplied lp printing (bug #355).

For some reason this is not being set in Samba 3.  In Samba 2.2 the
SYSV define was only set from include/includes.h in a haphazard
fashion.  It's probably better to explicitly define it on a per-operating
system basis anyway.
(This used to be commit e653e13f45)
2003-08-27 05:07:25 +00:00
Jeremy Allison
9fdc1363be Fix the character set handling properly in nmbd. Also fix bug where
iconv wasn't re-initialised on reading of "charset" parameters. This
caused workgroup name to be set incorrectly if it contained an
extended character.
Jeremy.
(This used to be commit 84ae44678a)
2003-08-27 01:25:01 +00:00
Alexander Bokovoy
7e27147422 Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
(This used to be commit e855dc8c91)
2003-08-26 19:48:16 +00:00
Gerald Carter
399ac9a703 adding some debugs while tracking down a bug
(This used to be commit 627ff57861)
2003-08-26 03:13:39 +00:00
Gerald Carter
6e090f1d7d make sure we keep the trusted domain cache up to date
(This used to be commit 3324adcace)
2003-08-25 21:45:57 +00:00
Gerald Carter
93ccb7b817 update python libraries for new cli_spoolss_getprinterdriver() call
(This used to be commit 331a69919c)
2003-08-25 21:16:17 +00:00
Gerald Carter
23d4796ed4 ignore generated smbadduser
(This used to be commit bef5ad0dea)
2003-08-25 21:08:06 +00:00
Gerald Carter
6153bc0f5b fix bug 289; make sure to reset the offset into a string when reallocating space
(This used to be commit 66dd20c7ea)
2003-08-25 20:42:24 +00:00
Gerald Carter
a1d6ba950b fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary files & libs
(This used to be commit e52f95d681)
2003-08-25 19:09:24 +00:00
Gerald Carter
658ccccdde fix bug #39; save the -W value and restore it after lp_load()
(This used to be commit 79efe7d72b)
2003-08-25 17:55:33 +00:00
Gerald Carter
14eb5f108e make sure the printer data value exists before saying you deleted it
(This used to be commit 017133ea0c)
2003-08-25 13:05:48 +00:00
Volker Lendecke
f474b7fb4e Fix memleak.
(This used to be commit afbf15f941)
2003-08-25 09:13:54 +00:00
Volker Lendecke
51dfb55b8a Fix segfault. krb5_free_ticket does not check if it got a NULL ticket.
(This used to be commit 97e4778103)
2003-08-25 09:13:20 +00:00
Gerald Carter
983b4e7011 it never amazes me when some new things crawls out of the windows
spooler. :-(

When installing the Adobe PS driver onto a Samba printer via cupsaddsmb,
I noticed a WIN2k client sending DeletePrinterData("DependentFiles")
pver and over.  I also noticed that we never checked to see if the
value was valid.  No now we do and return WERR_BADFILE which I think
is correct.

Next, I noticed that we never wrote the updated printer out to disk
after a succesfully DeletePrinterData[Ex]().

Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers
and foomatic PPD file) that was destroying the device name string
in the devmode.  So now get_a_printer_2() always writes out the
device name in \\server\share form.

I think these changes might fix bug 294.
(This used to be commit deb2578087)
2003-08-23 03:34:24 +00:00
Jeremy Allison
dac11b890b Half-way though the big conversion of all nmbd access to wire elements being
converted to pull/push_ascii. This will not work right at the moment for non
English codepages, but compiles - I will finish the work over the weekend.
Then nmbd should be completely codepage correct.
Jeremy.
(This used to be commit 236d6adadf)
2003-08-23 01:59:14 +00:00
Jeremy Allison
e745d4e602 struct nmb_name should have 16 byte namestrings, not 17.
Jeremy.
(This used to be commit daf7b5fbd9)
2003-08-22 22:45:34 +00:00
Jeremy Allison
5dfeda0002 Use correct size (17 not 16) when doing a push_ascii(). Ensure that
wins hook is called with unix charset.
Jeremy.
(This used to be commit ecb8057387)
2003-08-22 21:41:50 +00:00
Gerald Carter
eff91556a3 * Fix for bug 290:
smbadduser must obeys the paths from configure options

* Try to get libsmbclient files installed during 'make install'
  Still one outstanding problem with static lib.  INSTALLCLIENTCMD_A
  is not getting set correctly.
(This used to be commit 50ab28bd25)
2003-08-22 18:00:17 +00:00
Gerald Carter
a1be0fbbb4 don't complain if the using_samba book is not in the tree
(This used to be commit 20603faf2c)
2003-08-22 16:23:56 +00:00
Gerald Carter
ac5665f204 revert abartet's change that removed the check for CAP_EXTENDED_SECURITY when decidiing whether or not use ntlmv2 in client connections
(This used to be commit 6e82c9fdf9)
2003-08-22 14:24:38 +00:00
Gerald Carter
0c42b6deea fix compile problem (stray character)
(This used to be commit 9554a661c2)
2003-08-22 13:39:49 +00:00
Gerald Carter
ed08721016 ensure that 'available = no' works for [homes]; reported by Walter Haidinger
(This used to be commit 1278d24961)
2003-08-22 12:50:53 +00:00
Jeremy Allison
647a048ad0 Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.
Jeremy.
(This used to be commit eb79272743)
2003-08-22 00:26:37 +00:00
Jeremy Allison
e88593f1c0 Ensure nmblookup correctly converts from CH_DOS to CH_UNIX when displaying
a printable name on node status.
Jeremy.
(This used to be commit 6585446afd)
2003-08-22 00:13:42 +00:00
Jeremy Allison
a8eda05d75 Shut conversion errors up when initialising tables.
Jeremy.
(This used to be commit 94d0f888c9)
2003-08-21 23:55:29 +00:00
Herb Lewis
409dd6454e define SYSV for IRIX
(This used to be commit f4e47012ff)
2003-08-21 22:48:58 +00:00
Gerald Carter
5600804bfa fix bug 327; make sure to link SMBLDAP_OBJ with PAM_SMBPASS_OBJ
(This used to be commit b7ccfb1592)
2003-08-21 21:09:29 +00:00
Gerald Carter
49f7298ae0 fix for BUG 245; make sure we set the sid type when falling back to the rid algorithm stuff
(This used to be commit f6363aa31a)
2003-08-21 21:05:01 +00:00
Jelmer Vernooij
eb052f397b Keep list of ignored and shared modules
(This used to be commit d0f394dac3)
2003-08-21 18:49:01 +00:00
Gerald Carter
f8c3883996 remove unneedced script
(This used to be commit 9c9cc30093)
2003-08-21 13:05:09 +00:00
Gerald Carter
35063a3cc3 actually check in the fix for make torture
(This used to be commit 4d49ebf713)
2003-08-21 13:04:42 +00:00
Alexander Bokovoy
6cdfb4aa63 Ignore only getdate.* in modules/, not the whole directory. Fixes static builds of modules
(This used to be commit df6eeca5f6)
2003-08-21 08:46:48 +00:00
Jeremy Allison
d422025f42 Turn UNIX extensions on by default. Yes I will change the docs :-).
Jeremy.
(This used to be commit 17b09eed96)
2003-08-21 01:38:48 +00:00
Jeremy Allison
ecddae8bf0 Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed
conversion simply copy as is. Also fixed the horrid malloc-twice-copy code
in the convert alloc path.
Jeremy.
(This used to be commit cfde7477fd)
2003-08-20 22:06:19 +00:00
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b0)
2003-08-20 17:13:38 +00:00
Gerald Carter
65409a49fe Fix bug #252. Implement missing SAMR_REMOVE_USER_FOREIGN_DOMAIN
call.
(This used to be commit dd2cf4897e)
2003-08-20 16:07:19 +00:00
Jelmer Vernooij
1ca0974768 Add log2pcap to ignorefile
(This used to be commit 9c3afa1c85)
2003-08-20 14:33:08 +00:00
Jelmer Vernooij
1579089d91 Make compiling vfs_readonly static possible
(This used to be commit b8ef536b9e)
2003-08-20 08:20:14 +00:00
Gerald Carter
d30499c550 fix small logic error in cm_open_connection() to work with non-krb5 connections
(This used to be commit 2d85612752)
2003-08-20 04:25:09 +00:00
Gerald Carter
caa5b47390 missing backtic
(This used to be commit bf271aadcf)
2003-08-19 22:59:45 +00:00
Andrew Bartlett
f1be3a5c5d - Make 'net' use a single funciton for setting the 'use machine account' code.
- Make winbindd try to use kerberos for connections to DCs, so that it can
   access RA=2 servers, particularly for netlogon.
 - Make rpcclient follow the new flags for the NETLOGON pipe
 - Make all the code that uses schannel use the centralised functions for doing so.

Andrew Bartlett
(This used to be commit 96b4187963)
2003-08-19 22:47:10 +00:00
Alexander Bokovoy
ec8b32df56 Ignore modules/*.c in make proto
(This used to be commit eaf883abc0)
2003-08-19 21:52:33 +00:00
Andrew Bartlett
f0cd6b35e5 - Fix the kerberos downgrade problem:
- When connecting to the NETOGON pipe, we make a call to auth2, in order
   to verify our identity.  This call was being made with negotiation flags
   of 0x1ff.  This caused our account to be downgraded.  If we instead make
   the call with flags > 1ff (such as 0x701ff), then this does not occour.

 - This is *not* related to the use of kerberos for the CIFS-level connection

My theory is that Win2k has a test to see if we are sending *exactly* what
NT4 sent - setting any other flags seems to cause us to remain intact.

Also ensure that we only have 'setup schannel' code in a few places, not
scattered around cmd_netlogon too.

Andrew Bartlett
(This used to be commit e10f0529fe)
2003-08-19 20:39:32 +00:00
Andrew Bartlett
83e576c09f Break up 'cli_full_connection' to allow for the session setups to be done
elsewhere in the code.  This will allow us to try kerberos, then another user
then guest in the winbindd code.

Also, re-introduce the seperate, NT1 'guest' session setup code, as I found
some problems with doing guest under NTLMSSP.

Andrew Bartlett
(This used to be commit 33109fefe7)
2003-08-19 17:47:44 +00:00
Gerald Carter
5ba60c5608 working on fix for BUG #294. Not done yet, but this at least clears
up some of the false positives in "rpcclient -c getdriver".
Also make sure that we ask for version2 and 3 drivers on x86.
(This used to be commit 5be5151568)
2003-08-19 16:56:53 +00:00
Jelmer Vernooij
f3404f3e4a - Update 'preload modules' documention (bug #304)
- Fix WINS Server List in SWAT (bug #197)
- Don't segfault SWAT when adding shares (bug #254)
(This used to be commit dd43a29504)
2003-08-19 15:18:27 +00:00
Gerald Carter
49e66508f2 Fix BUG #314: api_netUserGetGRoups() was failing prematurely
(also fixed the call to return the real groups and not a mocked
  up list)

Fixed simple compiler warning in srv_lsa_ds.c
(This used to be commit 6b0e38e01a)
2003-08-19 04:17:21 +00:00
Jeremy Allison
6d6401a67a Implement SMBexit properly. Found by Samba4 tester. You must do a make
clean proto all; after this commit.
Jeremy.
(This used to be commit 27af1f9fea)
2003-08-19 01:53:45 +00:00
Jeremy Allison
c0236e8ae3 Fix flush of 0xFFFF - found by Samba4 tester.
Jeremy.
(This used to be commit 8a5c97fa07)
2003-08-19 01:26:43 +00:00
Jeremy Allison
e83a8a40c8 Don't return DOS error on SMBsearch return if using NT error codes (NT1
protocol level). Fix for Samba4 tester.
Jeremy.
(This used to be commit 74486ab9ef)
2003-08-19 01:02:41 +00:00
Andrew Bartlett
c236ac83c8 Win2k never returns 'no such user' here, so when we do it, the clients freak
out.  Return the standard 'logon failure' instead.

Andrew Bartlett
(This used to be commit a83506802f)
2003-08-18 23:48:03 +00:00
Jeremy Allison
1f438cbfbf Added level 262. Found by Samba4 torture tester.
Jeremy.
(This used to be commit 12d8863be3)
2003-08-18 21:54:42 +00:00
Jeremy Allison
fdf78a4997 Add level 261 to search. Found using Samba4 tester.
Jeremy.
(This used to be commit 4ee99d1c41)
2003-08-18 21:38:33 +00:00
Steve French
fac0ae1481 Fixes to all mount.cifs to run more safely setuid
(This used to be commit bdb65b9a6e)
2003-08-16 03:32:45 +00:00
Jeremy Allison
3a052c9e0a Implemented the level 1010 NT rename level. Many fixes for Samba4 test
correctness.
Jeremy.
(This used to be commit f57429befa)
2003-08-16 02:34:03 +00:00
Gerald Carter
bd886acab8 stupid...stupid...stupid....fix bug 294 by looking at the right arch string
(This used to be commit 584df6b8d6)
2003-08-16 01:40:38 +00:00
Rafal Szczesniak
b1993600e6 In case of 'net rpc trustdom add' without domain name we were silently
asking for password without a piece of error message or explanation.


rafal
(This used to be commit d46793b335)
2003-08-15 21:57:59 +00:00
Tim Potter
45b9fd9fb9 Don't print out error in ads_do_search_retry() when it suceeds.
(This used to be commit 617feab422)
2003-08-15 21:23:25 +00:00
Gerald Carter
c904740e95 s/OM_uint32//uint32/g
(This used to be commit f8a092e7b4)
2003-08-15 21:19:34 +00:00
Alexander Bokovoy
6895dad0bd Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on the platform. This allows to compile and complain about it at runtime
(This used to be commit b6fa581955)
2003-08-15 21:14:35 +00:00
Alexander Bokovoy
b7a8561ea1 Do not cache iconv checks because we are looking for it now in different places and negative result does not mean we don't have iconv unless we checked everything
(This used to be commit d46f8325f2)
2003-08-15 20:30:52 +00:00
Gerald Carter
4e88fd330e possible fix for bug 288 to repcent using an uninitialized cli_state struct
(This used to be commit d09dc91c02)
2003-08-15 20:12:40 +00:00
Alexander Bokovoy
7ddf760bea Fix charset detection code in configure.
Now we are:
1. Try to find correct name for default character sets for the platform
2. Use DEFAULT_{DOS|DISPLAY|UNIX}_CHARSET defines set during configure phase as defaults

This should fix CP850 problem on Solaris (at least) because it actually has IBM850 which
is the same but under different name
(This used to be commit 836b9fffa0)
2003-08-15 20:09:12 +00:00
Rafal Szczesniak
bb6fb2880b Give a temporary hint on how to delete trust account.
rafal
(This used to be commit 836746beab)
2003-08-15 19:47:10 +00:00
Volker Lendecke
852ffbda33 Latest heimdal snapshot has a krb5_set_real_time with a slightly
different (but by implicit conversion hopefully compatible... ;-)
prototype. Fix the build for that.
(This used to be commit 497b190edc)
2003-08-15 19:29:08 +00:00
Tim Potter
22ecf22068 Fix syntax error!
(This used to be commit cd0b6f74ba)
2003-08-15 17:38:11 +00:00
Gerald Carter
dff37bed45 fix compile warnings on IRIX
(This used to be commit b9779ba590)
2003-08-15 17:01:49 +00:00
Jelmer Vernooij
c574bf0ced Print more than 1 packet in hex mode
(This used to be commit 28f1d7b201)
2003-08-15 16:13:59 +00:00
Jelmer Vernooij
ba59b3ca7e Remove accidently added SMB_MODULE_PROVIDES() lines
(This used to be commit 071850f87a)
2003-08-15 06:23:32 +00:00
Jelmer Vernooij
f4dcc68e58 Remove nasty hack in modules system. We don't recompile files anymore
after the Makefile changes.
(This used to be commit 104f62272d)
2003-08-15 06:07:36 +00:00
Jelmer Vernooij
22535011e2 Add ability to output native pcap files without the requirement for text2pcap.
IP and TCP checksums are not calculated, but that should not matter.
(This used to be commit aa96f78001)
2003-08-15 05:31:46 +00:00
Herb Lewis
aa39cc37da get rid of more compiler warnings
(This used to be commit 398bd14fc6)
2003-08-15 04:42:05 +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 dc2d2ad467)
2003-08-15 02:57:59 +00:00
Herb Lewis
937041e3fd get rid of compiler warnings
(This used to be commit ae25e7746e)
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 61bea183a2)
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 6a76750dc4)
2003-08-15 02:18:20 +00:00
Herb Lewis
d294d4b98f get rid of warning on IRIX
(This used to be commit 6ec683e24e)
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 3aed9c8a4a)
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 d8ab446859)
2003-08-15 01:46:09 +00:00
Herb Lewis
062f89bc28 get rid of some sompiler warnings on IRIX
(This used to be commit a6a39c61e8)
2003-08-15 01:42:30 +00:00
Herb Lewis
cc865e1edc get rid of unused call
(This used to be commit 244c61b1dd)
2003-08-15 01:36:35 +00:00
Herb Lewis
fc05b0f4c7 return actual results instead of always OK
(This used to be commit 71469f3220)
2003-08-15 01:33:57 +00:00
Herb Lewis
4d108e264d fix type
(This used to be commit 327d26253e)
2003-08-15 01:30:26 +00:00
Jelmer Vernooij
c8061de1ed Get packet contents correct as well.
(This used to be commit b4499c8aab)
2003-08-15 01:30:10 +00:00
Herb Lewis
23c314bb58 add IRIX EA support
(This used to be commit 589e94f4ff)
2003-08-15 01:29:08 +00:00
Jeremy Allison
87a672067d Fix attribute set using setfileinfo - Samba4 found.
Jeremy.
(This used to be commit 309835deac)
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 e9cef61555)
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 95b1d4933b)
2003-08-15 00:04:20 +00:00
Jelmer Vernooij
273c37d1c1 Makefile.in
(This used to be commit e8dc799ffb)
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 fbdf276e36)
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 273ebfceb3)
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 97e1d5c957)
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 a93fa23c17)
2003-08-14 22:46:25 +00:00
Gerald Carter
b09eb5aa93 jeremy foo
(This used to be commit 0b31f592df)
2003-08-14 22:17:07 +00:00
Gerald Carter
8f75104da1 fix build
(This used to be commit dd9cb6f820)
2003-08-14 22:14:03 +00:00
Volker Lendecke
13a7870e42 Don't ask twice for the password
(This used to be commit 8ebd92da01)
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 10d90171ed)
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 96bc2abfcb)
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 ce5b8d2ec2)
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 772bb41a9d)
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 ee362ce475)
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 8cc1a49c13)
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 8625f0e015)
2003-08-14 19:57:23 +00:00
Volker Lendecke
fbf072599b Fix the build for non-kerberos environments.
Volker
(This used to be commit c8f4d7952f)
2003-08-14 17:21:22 +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 c2274274a6)
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 3547cb3def)
2003-08-14 01:08:00 +00:00