1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

15415 Commits

Author SHA1 Message Date
Jeremy Allison
c4167baca1 Get a little paranoid about memfree use in convert_string_allocate..
Looking at crash bugs #809 and others.
Jeremy.
(This used to be commit cd2075580b0f35c8a414c995f03834c01efaa9be)
2003-12-01 22:46:46 +00:00
Gerald Carter
70e2f0944a another strequal() == 0 fix
(This used to be commit 464b410734c46bc55f2427e99ecf61bad7e3b244)
2003-12-01 19:59:25 +00:00
Gerald Carter
951e1aa851 fix inverted logic caused by s/strcmp/strequal/; host allow/deny works again; bug 846
(This used to be commit c816b44a9c1278d756f63044bb3a3bce3afec9b3)
2003-12-01 19:25:41 +00:00
Gerald Carter
716484265d add Replicator and RAS Servers to list of builtin SIDs we resolve; bug 608
(This used to be commit 4bc58129e073973620aed1bfb161ee83c1863f81)
2003-12-01 18:37:47 +00:00
Gerald Carter
038784aa80 don't mistake pre-existing UNIX jobs for smb jobs; patch from SATOH Fumiyasu bug 770
(This used to be commit 3a55788dca537248d0aea9973a84075e142b7736)
2003-12-01 18:02:05 +00:00
Volker Lendecke
748b268a4f In the brief 'net rpc group' listing, don't cut off group names at 21 chars.
Volker
(This used to be commit 5d0b8280f6c4990ee3a26c310efebfa859ee21be)
2003-12-01 14:12:26 +00:00
Volker Lendecke
d9bf130c51 Beautify the net status help message a bit
Volker
(This used to be commit e9391e206a8cdbcc08597a33b557b86f9a5d73ce)
2003-12-01 14:07:22 +00:00
Volker Lendecke
000b39a682 I needed a decently parseable format of smbstatus. Looking at smbstatus code
tells me that this should not be expanded, so I implemented

net status [sessions|shares] [parseable]

Volker
(This used to be commit 63d877c6b4786dcddf5f389842f798857be282c0)
2003-12-01 13:58:43 +00:00
Jeremy Allison
f7dfa789c1 Fix spurious error msg. when seq=0.
Jeremy
(This used to be commit 4912ad8f18041c9c3abe2cfa67dd26a324c9c31e)
2003-12-01 06:59:54 +00:00
Jeremy Allison
570f2b73b4 Ensure the server can cope with multiple secondary trans
requests when signing is turned on.
Jeremy.
(This used to be commit 206464a748a59b1d485d4d3d0cb4d257d60fbd00)
2003-12-01 06:53:10 +00:00
Jeremy Allison
27891bdef1 Subtract NT_STATUS from common flag, don't add it...
Jeremy.
(This used to be commit 4e73faa7b4af7f73bdce9fcc2ee1825249dc7da7)
2003-12-01 06:19:17 +00:00
Jeremy Allison
b4fa65d0ad Ensure we use the same mid for the secondary trans requests, W2K3
does this.
Jeremy.
(This used to be commit 8adf0cd27a23b1bc6e0da08789a8b1e9eefb54a7)
2003-12-01 03:24:50 +00:00
Jeremy Allison
6bb8f54e01 Don't automatically set nt status code flag unless client tells us it can
cope.
Jeremy.
(This used to be commit 0d82ac57a59276adb403f8e023578c2d6d5136e4)
2003-12-01 02:25:56 +00:00
Jeremy Allison
12d3246a6c Better fix for client signing bug. Ensure we don't malloc/free trans signing
state info each packet.
Jeremy.
(This used to be commit 818cf32d6330f7e7855ce662326003e75d4a1d46)
2003-12-01 01:04:04 +00:00
Jeremy Allison
2ad1159990 Fix signing bug with secondary client trans requests. Turns out the last
packet is the one that matters for checking the signing replies. Need to
check the server code does this correctly too....
Bug #832 reported by Volker.
Jeremy.
(This used to be commit 6750dc33b46c422582176b704592d9b2f1fb04d7)
2003-11-30 19:40:57 +00:00
Volker Lendecke
3dda7cf2ca Implement 'net rpc group list [global|local|builtin]*' for a select listing of
the respective user databases.

Volker
(This used to be commit 39e4ee0c5be9f8d5a26b03ae17865b8e576b0b62)
2003-11-28 15:10:00 +00:00
Jeremy Allison
521104359e Fix for pdbedit error code returns (sorry, forgot who sent in the patch).
Jeremy.
(This used to be commit 685097bc50a8ef387c5082401858d482329c37bc)
2003-11-27 18:34:42 +00:00
Volker Lendecke
dd51a9be94 Only ask for 512 names at a time.
Volker
(This used to be commit d5775b7106dc5d6326db89f7369d2ffd61646426)
2003-11-27 17:31:18 +00:00
Tim Potter
20d03cc862 Correct freebsd 5.1 support for winbind contributed by Aaron Collins.
Let the build farm chew on it for a bit.
(This used to be commit 41e4b036dff0af7be69bf95ea3d64dfccd3a4b8e)
2003-11-27 05:11:14 +00:00
Gerald Carter
2c482d6111 use samr_dispinfo(level == 1) for enumerating domain users so we can include the full name in gecos field; bug 587
(This used to be commit 329065d7cddb52c52667c93e0a0218c0e89938be)
2003-11-27 04:39:53 +00:00
Jeremy Allison
44d9ea4840 Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
(This used to be commit c51d974b18e31a38608a3837d3fee04a209f91c8)
2003-11-26 20:58:53 +00:00
cvs2svn Import User
130b38a372 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9ccf8c530def31ccf6aca4f56b53676512131e66) 2003-11-26 20:58:52 +00:00
Jeremy Allison
b1b4d67f65 Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
(This used to be commit a5711943428e4b586fb7f064739c78fa0a3ebd52)
2003-11-26 20:58:51 +00:00
Richard Sharpe
e83fc388b3 Clean up a comment noticed by Jonathan Shao@Panasas.com and remove an
obsolete comment by Luke Leighton.
(This used to be commit 316f83add76b56fe102f5dc4c9ce3a0413d9a1f4)
2003-11-26 19:15:22 +00:00
John Terpstra
ee8fc93414 Fixing barfed idmap entries and adding not on use of FLAG_HIDE.
(This used to be commit 25aa5df5c79070d0f1273a71617e64fba7831742)
2003-11-26 18:43:26 +00:00
Volker Lendecke
63d44a5c2d Implement "net rpc group members": Get members of a domain group in
human-readable format.

Volker
(This used to be commit e5770a9433099f86a1f828a35bbecbe5691c000c)
2003-11-26 10:09:59 +00:00
Volker Lendecke
5efc777a0f Implement "net rpc group members": Get members of a domain group in
human-readable format.

Volker
(This used to be commit 4e3a2eb8e04c3a669d94e38d81e994606fa6ef9d)
2003-11-26 10:07:07 +00:00
Volker Lendecke
449b2e4267 Get rid of a const warning
Volker
(This used to be commit ab1096d58e2447bc91370e0a7f913d9375658c4c)
2003-11-26 10:01:31 +00:00
Volker Lendecke
203710ea6d Get rid of a const warning
Volker
(This used to be commit 94860687c535ace0c962ca3fe7da59df05325c62)
2003-11-26 09:58:41 +00:00
Andrew Bartlett
52c1e60e68 Merge from 3.0:
- NTLM2 fixes, don't force NTLM2
 - Don't use NTLM2 for RPC, it doesn't work yet
 - Add comments to winbindd_pam.c
 - Merge 64 bit fixes and better debug messages in winbindd.c

Andrew Bartlett
(This used to be commit ba94e4a1ab6dc3335bbb29686ca6795d0ffad5b0)
2003-11-26 00:07:55 +00:00
Jeremy Allison
09a7088156 Patch from Jim McDonough for bug #802. Retrieve the correct ACL group bits
if the file has an ACL.
Jeremy.
(This used to be commit 7bf5ed30ce74ba658ca35059955748c1d8cbd6d2)
2003-11-25 23:25:42 +00:00
Jeremy Allison
e88d4705c1 Patch from Jim McDonough for bug #802. Retrieve the correct ACL group bits
if the file has an ACL.
Jeremy.
(This used to be commit a51d9e947ef012fabf5a13250df6232d23722f68)
2003-11-25 23:25:15 +00:00
Andrew Bartlett
3f0d0002ae Add a comment, and a useful debug message.
(This used to be commit df14b0af31863680218b06ae9de2f010a38fba6e)
2003-11-25 23:24:14 +00:00
Jelmer Vernooij
8beace344c Fix build of winbindd with static pdb modules
(This used to be commit 92a138f027cf2f1c2b13c6f3d59493fb21885d5e)
2003-11-25 19:41:47 +00:00
Gerald Carter
82ef4774d2 allow users to delete jobs with cups printing backend
The changes the name of the job passed off to cups
from "Test Page" to "smbprn.00000033 Test Page" so that
we can get the smb jobid back from lpq.  Working on bug
770.
(This used to be commit 3a84daf24f80cf44605841c844a0ba516354420b)
2003-11-25 19:17:20 +00:00
Gerald Carter
055750f090 allow users to delete jobs with cups printing backend
The changes the name of the job passed off to cups
from "Test Page" to "smbprn.00000033 Test Page" so that
we can get the smb jobid back from lpq.  Working on bug
770.
(This used to be commit 5979f4d645e84fb22223e6cbf0043f2fa21acb2f)
2003-11-25 19:16:35 +00:00
Jeremy Allison
6ce882ef29 If signing starts successfully, don't just turn it off automatically if
it fails later. Only turn it off automatically if it fails at the start.
Jeremy.
(This used to be commit 4a145531c2b6353291cd25f14f5572aa31e86594)
2003-11-25 18:15:52 +00:00
Jeremy Allison
c8d0bce19f If signing starts successfully, don't just turn it off automatically if
it fails later. Only turn it off automatically if it fails at the start.
Jeremy.
(This used to be commit 2a00d538da61253455db1734b74ef1debaea24ea)
2003-11-25 18:15:49 +00:00
Andrew Bartlett
1b6e6c98ba Do not add NTLM2 to the NTLMSSP flags unconditionally - allow the
defaults specified by the caller to prevail.

Don't use NTLM2 for RPC pipes, until we know how it works in signing or sealing.

Call ntlmssp_sign_init() unconditionally in the client - we setup the
session key, why not setup the rest of the data.

Andrew Bartlett
(This used to be commit 48123f7e42c3fde85887de23c80ceee04c2f6281)
2003-11-25 11:25:38 +00:00
Jeremy Allison
90d4b84636 Patch for #263 from jpjanosi@us.ibm.com.
Jeremy.
(This used to be commit 6543bca0cbf6030d2400e30bb7491237d9c818f8)
2003-11-25 02:04:10 +00:00
Jeremy Allison
b4feed1e50 Patch for #263 from jpjanosi@us.ibm.com.
Jeremy.
(This used to be commit 0f2a50316d8245ea9c441f0ea08e1a0fd9a92583)
2003-11-25 02:04:03 +00:00
Jeremy Allison
efdd1ea572 When server signing is set to "auto", if the client doesn't sign just
ignore it. Only fail if signing is set to "required".
Jeremy.
(This used to be commit 8916ddfc39c3e70265188926f24034152f0e7b6b)
2003-11-25 00:32:51 +00:00
Jeremy Allison
b7937e569c When server signing is set to "auto", if the client doesn't sign just
ignore it. Only fail if signing is set to "required".
Jeremy.
(This used to be commit ab5db8873e2882900baa1c74706bb907baaff7fd)
2003-11-25 00:32:48 +00:00
Gerald Carter
f7bf71a34c strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_response()
(This used to be commit 84f0e97e5882375b765b818e89a6d96736cd5932)
2003-11-24 20:22:41 +00:00
Gerald Carter
4e61fcbef1 strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_response()
(This used to be commit 5e062f72baad6f7a70f1a3c8cf190535ccacc89e)
2003-11-24 20:22:12 +00:00
Jeremy Allison
73034f9116 Added "passwd chat timeout" parameter. Docs to follow.
Jeremy.
(This used to be commit 16097f2072085432f4c669d9e008023f36f7afbb)
2003-11-24 20:18:47 +00:00
Jeremy Allison
9ce8270a86 Added "passwd chat timeout" parameter. Docs to follow.
Jeremy.
(This used to be commit 4d49fb806db6868f97069a603a28a85dc31cfe21)
2003-11-24 20:18:44 +00:00
Gerald Carter
3500dfdcdc patch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating client name when using CUPS
(This used to be commit eae48cda0f7f1346cd66d5a581c1273880f214d4)
2003-11-24 18:38:15 +00:00
Gerald Carter
c26aa9fd2d patch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating client name when using CUPS
(This used to be commit 71333299a6e6bc6d74d2172f71e3fe21ef75aa3c)
2003-11-24 18:37:19 +00:00
Gerald Carter
f5ee9c7b02 more access fixes for group enumeration in LDAP; bug 281
(This used to be commit c4ce92e80688fe7fd4b2fde2c31e94baf3e4dca0)
2003-11-24 17:33:15 +00:00