1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

14125 Commits

Author SHA1 Message Date
Gerald Carter
6ec2213bdb domain in schannel bind credentials must be the dest domain, not ours
(This used to be commit e12f6a8c13f27c3caea96b467cc4294e20dad341)
2003-07-25 18:00:57 +00:00
Gerald Carter
c916e5e390 fix case where no realm or workgroup means to use our own
(This used to be commit 6edc7e0a744a5d8c6332758b800a2646ef16dd77)
2003-07-25 16:42:34 +00:00
Gerald Carter
5a6661100b fix user_in_list to work with winbind groups again; my bug
(This used to be commit 850f4fafdbaf19ea13273a8bf82433ba50a11868)
2003-07-25 16:03:46 +00:00
Gerald Carter
6bf70229ae fix some error returns and strings; patch from metze
(This used to be commit 948b1b138cf1fce18c93645fbdf948e589b19dc5)
2003-07-25 14:35:17 +00:00
Tim Potter
7d833de662 More printf portability fixes. Got caught out by some gcc'isms last
time.  )-:
(This used to be commit 59dae1da66a5eb7e128263bd578f167d8746e9f0)
2003-07-25 04:24:40 +00:00
Gerald Carter
5a90305464 new swat icons from Marc Jacobsen @ HP
(This used to be commit 01919208c658c79fdd2251ec460be5dc5853bf0e)
2003-07-25 03:48:56 +00:00
Gerald Carter
8e35bb5950 call chkconfig --del winbind on removal (bug #238)
(This used to be commit 942c3ae6e0dc69c1ed4bbc6b765bec0c98582e7f)
2003-07-25 03:26:03 +00:00
Gerald Carter
02d74a925a fix libsmbclientr symlink (patch by Alex Duggan for bug #247)
(This used to be commit 67f3a26c26c3e88f3764bb1c34e94c1f6cbc58c0)
2003-07-25 02:38:23 +00:00
Gerald Carter
5373c58212 fix bug config file path in winbind init script (bug #237)
(This used to be commit 92b59848ca9cfab52b9434e364bcaa1dad2afbaf)
2003-07-25 02:24:47 +00:00
Andrew Bartlett
c9305f1c64 Schannel, once setup, may be used on *ANY* TCP/IP connection until the
connection that set it up has been shut down.

(Also, pipes still connected, and reconnections to the same pipe (eg SAMR)
may continue to use that session key until their TCP/IP connection is shut
down)

Allow further testing by printing out the session key, and allowing it's input
into rpcclient.

Next step is automatic storage in a TDB.

Andrew Bartlett
(This used to be commit fa4d7be1619b51aacec37ddf995c940b8100aef9)
2003-07-25 01:26:19 +00:00
Tim Potter
ff5f4d66a5 Make wbinfo -p work again. Fixes bug 251.
(This used to be commit ad4dd4909ffa29dbfbbd9a4f234e976fd253846b)
2003-07-25 01:18:10 +00:00
Tim Potter
2a7f874c4a Jean-Baptiste Marchand on the ethereal list used some auditing tricks to
discover names for the SAMR specific permissions that were previously unknown.

The existing constant names differ from what win2k calls them but since they
aren't heavily used in Samba at the moment I'll leave them as they are.

Jean-Baptiste's data is at:

http://ethereal.ntop.org/lists/ethereal-dev/200307/msg00314.html
(This used to be commit ae77e9e55438a9807da3696fd0d31fba6d0f7370)
2003-07-25 00:39:06 +00:00
Tim Potter
77373f1f8e More printf fixes - size_t is long on some architectures.
(This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
2003-07-24 23:46:27 +00:00
Jeremy Allison
60097e0d8d Fix from matt.zinkevicius@hp.com to stop files being created on read-only
shares in some circumstances.
Jeremy.
(This used to be commit b826e8c8980d26e932da55384f109f0fe6a124c7)
2003-07-24 19:10:52 +00:00
Jeremy Allison
ceb68ee051 Fix packet signing with asynchronous oplock breaks. Removed bad error message
due to w2k bug. I think this code is now working.... Need more testing of course
but works on all the obvious cases I can think of.
Jeremy.
(This used to be commit a6e537f6611cc1357fffea0b69901fba7c9ad6ea)
2003-07-24 19:05:32 +00:00
Alexander Bokovoy
27db257734 Add a macro to check whether module-specific data set already or not. Returns True or False. Should support further encapsulation of VFS-specific structs
(This used to be commit 180e617f54021ced270c7c8cb86dd478d809d041)
2003-07-24 14:23:54 +00:00
Alexander Bokovoy
ae6a63fa46 Rise debug level to 5 for not-found-nt-quota message (quota setting for user wasn't found)
(This used to be commit 422dffdc40742091df027fcffbc074eb2b1396dc)
2003-07-24 11:37:11 +00:00
Jeremy Allison
a9c0fcfa37 Some fclose -> x_fclose found by Tony Jago.
Jeremy.
(This used to be commit 919078cf397155ede0169ce95a726d0fdbef696a)
2003-07-24 07:02:55 +00:00
Jeremy Allison
0c9433c031 Ensure everywhere we defer an incoming SMB request (blocking lock queue,
in oplock break state, change notify queue) we also push the MID onto
the deferred signing queue. Tomorrow I will test this with valgrind and
oplock tests.
Jeremy.
(This used to be commit 33a377f3726c85379ba5b962dd7c8ead337b892f)
2003-07-24 06:56:56 +00:00
Jeremy Allison
08634e26e4 SMB signing is now working with change notify. Need to fix the disconnect
when bad signature received, plus check the oplock breaks....
Jermey.
(This used to be commit dd83931a00ec0a2c4b78b939c54bc101ec82312f)
2003-07-24 06:19:37 +00:00
Jeremy Allison
79e2d7c24e Server side NTLM signing works - until the first async packet. Working on this
next....
Jeremy.
(This used to be commit eff74a1fcc597497a4c70589a44c1b70e93ab549)
2003-07-24 04:25:37 +00:00
Tim Potter
9832cd8617 Some more [ug]id_t printf fixes.
(This used to be commit 165d1ae55622ca1e89c94fc5e40bdf5cddbcab45)
2003-07-24 00:01:10 +00:00
Tim Potter
b32da5a1c7 Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187.
(This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb)
2003-07-23 23:30:46 +00:00
Gerald Carter
3a00cedc01 connect to the right realm or domain for trusted AD domains
(This used to be commit 83376671c511be4bb10d3fca8e49e5f6ef792b9c)
2003-07-23 19:58:01 +00:00
Gerald Carter
27d86b0245 fix typo
(This used to be commit 9de53f309ca686abbe970d8d452bb75398214a6d)
2003-07-23 12:42:48 +00:00
Gerald Carter
3a5dc7c2ec convert snprintf() calls using pstrings & fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using
len.  At least this helps to be consistent.
(This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-23 12:33:59 +00:00
Andrew Tridgell
490fcdd199 fixed segv in calls to pstrcpy() in cliprint.c
(This used to be commit 36bc2b99b4fec2c14f8471d89381b2d6c2f9d339)
2003-07-23 10:09:29 +00:00
Tim Potter
3f3e2a8f49 Fix out of date comment.
(This used to be commit 2e5bd1665430768b06da99beba5ac11a59c9bf07)
2003-07-23 07:14:33 +00:00
Tim Potter
80b46fd6cf Move a function to avoid a warning.
(This used to be commit a3b4c57503e0966145b0adab247297e4c8e0f165)
2003-07-23 06:37:51 +00:00
Tim Potter
c085ace063 Typo in comment.
(This used to be commit 6a9bfcd3b8996a0322f733689fd5e8bf24f224c8)
2003-07-23 06:11:38 +00:00
Jeremy Allison
e79e26eb00 Don't check in two places for signing turned off...
Jeremy.
(This used to be commit f4b02e52e25556e5b101d493e2e6404563bf96dd)
2003-07-23 06:04:20 +00:00
Tim Potter
8991cecd54 A fix for bug 174. I'm pushing this to the tree to test it on one of
the build farm machines that I don't have direct access to (hpntc9I).
(This used to be commit b01965823341bbabb74dcbc09d379b43db2ec680)
2003-07-23 03:59:57 +00:00
Tim Potter
0c72828e3d Fix two memory leaks in the smb module:
- free talloc context when cli_query_secdesc() fails

 - dispose of cli_state when python cli_state_object is garbage collected
(This used to be commit 36052f95ffad4f227596e8038d3f056312d0ad82)
2003-07-23 01:26:46 +00:00
Gerald Carter
c51ffbbdaa removing unused function
(This used to be commit b8394a107d3448434f1a34076eaab8e6dd9a8a9d)
2003-07-22 15:08:34 +00:00
Gerald Carter
d22a90c64f bumping version string
(This used to be commit e4cd21222dbd1a7a7f79618762799373230d4905)
2003-07-22 15:02:39 +00:00
Alexander Bokovoy
dca325f4f2 Fix comment
(This used to be commit 04f1577a39b926317911f59714de5c5ca87f02bd)
2003-07-22 14:43:05 +00:00
Gerald Carter
95fb5f95e5 sync from bea3 release
(This used to be commit e42cc1e920601883cd404e9b2292ca58554ccf63)
2003-07-22 13:10:57 +00:00
Tim Potter
c9bc4b27b7 Another round of uid/gid/pid format string changes I missed the
first time.
(This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c)
2003-07-22 06:52:39 +00:00
Tim Potter
80c1f1d865 Fixup a bunch of printf-style functions and debugs to use unsigned long when
displaying pid_t, uid_t and gid_t values.  This removes a whole lot of warnings
on some of the 64-bit build farm machines as well as help us out when 64-bit
uid/gid/pid values come along.
(This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
2003-07-22 04:31:20 +00:00
Tim Potter
06345b8116 Use %p for a pointer type in a printf-style format string. Also casting
a pointer to a uint32 value is incorrect on a 64-bit architecture.
(This used to be commit afed2cbbcc07de9e453156972250f5f9d22e8e83)
2003-07-22 01:18:24 +00:00
Tim Potter
274f1f8806 Replace the eight (!) copies of dummy become/unbecome root with a single one.
(This used to be commit 8b818ce381595cdcb36631a2440d6aa0038805f1)
2003-07-22 00:20:53 +00:00
Tim Potter
63537d0add Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
(This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
2003-07-22 00:16:39 +00:00
Tim Potter
71a93a1551 Metze's AD/LDAP detection patches mainly to do with library detection.
Tested on a large combination of operating systems and versions.
Hopefully the build farm will find any remaining nasties if they
exist.
(This used to be commit 2e42fa3d7217615d90ad64261513bd1e8a65f535)
2003-07-21 23:42:45 +00:00
Richard Sharpe
f746a68030 Clarify a debug log a little. The path might not exist, so say so.
(This used to be commit 8409cf3e470df79f219f9a21c0cb780e9257186c)
2003-07-21 20:20:09 +00:00
Rafal Szczesniak
b3064ac5d6 This creates passdb backend files automatically when adding first account.
An extra message notifying that needed file didn't exist is displayed.
There's still a little catch with tdb backend, but it's better than it was,
from end-user's point of view.

This fixes #198


rafal
(This used to be commit b0be700605c289ce8e9dd3abe49d78ac77256911)
2003-07-20 21:43:41 +00:00
Rafal Szczesniak
bbd4c98b06 Typo fixes.
(This used to be commit 85df8213fc67a9c8e8712cb64f27e5559dc11af9)
2003-07-20 14:50:38 +00:00
Jelmer Vernooij
602db7904e Fix typo
(This used to be commit ee4b69c539000b17db31ea3d41d0c7145f0ca25c)
2003-07-20 00:34:24 +00:00
Volker Lendecke
7756b4088d Fix memleak
(This used to be commit defc71d4cb9bb1efcb39157bad2806f73b3cc3f5)
2003-07-19 11:28:15 +00:00
Andrew Bartlett
e45b66ba8a Fix StrCaseCmp() to avoid calling smb_panic() on invalid multibyte strings.
This fix results in
 - we no longer use fixed-size buffers in StrCaseCmp (previously limited to
   a pstring)
 - we return strcmp(s, t) if either of the strings is invalid
 - for non-ascii cases, we call iconv twice, not 4 times.

The basic idea with this fix is that if a string is not valid in the currnet
charset, then (unless it is byte-equivilant) it cannot be case-equivilant
to any other string.

This should address the majority of our smb_panic() cases on this matter.  It
will not fix them all - we still call unix_strupper(), aka strupper_m()
elsewhere, but this was being called on every file in the directory when
we performed unix_convert().

Tested with the stf unit tests for this routine.

Andrew Bartlett
(This used to be commit 9918fa73145a22b1d7adf001f0a9cf0e1bda4136)
2003-07-19 00:36:43 +00:00
Rafal Szczesniak
fb56f58fbc According to the result of voting, net has default debug level with
ability to change it by command line instead of turn-off cmdline switch
for debug messages.
It's a bit more comfortable to use now.
(This used to be commit b65fe75bec8170ad48d1ad0a9017ccc4de651eba)
2003-07-19 00:23:08 +00:00