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

12317 Commits

Author SHA1 Message Date
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