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

16344 Commits

Author SHA1 Message Date
Jeremy Allison
a79b205d92 Fix gcc warnings. Fix mkproto with new type.
Jeremy.
(This used to be commit 00fa66df3e)
2004-03-19 01:29:14 +00:00
Jeremy Allison
7942c2826b Merge from HEAD for Amanda group.
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Jeremy.
(This used to be commit 0272fac8ca)
2004-03-18 23:45:15 +00:00
Richard Sharpe
00e8b6d5ce Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Much of this was applied by hand because of the changes in the code. However,
it builds and smbclient seems to work still. The Amanda folks are testing
and it seems to work there as well.
(This used to be commit 10d05b57c5)
2004-03-18 22:29:54 +00:00
Jim McDonough
2332bebd9f merge from 3.0...LDAP password lockout support
(This used to be commit b627cee384)
2004-03-18 20:05:00 +00:00
Jim McDonough
357998ddbd Password lockout for LDAP backend. Caches autolock flag, bad count, and
bad time locally, updating the directory only for hitting the policy limit
or resetting.

This needed to be done at the passdb level rather than auth, because some
of the functions need to be supported from tools such as pdbedit.  It was
done at the LDAP backend level instead of generically after discussion,
because of the complexity of inserting it at a higher level.

The login cache read/write/delete is outside of the ldap backend, so it could
easily be called by other backends.  tdbsam won't call it for obvious
reasons, and authors of other backends need to decide if they want to
implement it.
(This used to be commit 2a679cbc87)
2004-03-18 19:22:51 +00:00
Gerald Carter
4b9423fc22 BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using pam_smbpass
(This used to be commit ad59b6fd9c)
2004-03-18 18:10:30 +00:00
Gerald Carter
5d40499b9f BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using pam_smbpass
(This used to be commit f21182e24f)
2004-03-18 18:09:59 +00:00
Jeremy Allison
c66f52a5ac Correctness patch from fumiya@miraclelinux.com to count characters correctly,
doesn't affect what got put on the wire.
Jeremy.
(This used to be commit e8b68ef965)
2004-03-18 17:58:50 +00:00
Jeremy Allison
351eb26617 Correctness patch from fumiya@miraclelinux.com to count characters correctly,
doesn't affect what got put on the wire.
Jeremy.
(This used to be commit 05243a8de0)
2004-03-18 17:58:47 +00:00
Richard Sharpe
a650789626 Commit Derrell Lipman's changes and fixes to libsmbclient. The build but
I have not tested them beyond building. I did fix the two instances of
safe_strxxx that were introduced.
(This used to be commit bf89adbcb4)
2004-03-18 17:11:52 +00:00
Gerald Carter
6069395ed1 updating release notes in preparation fro 3.0.3pre1
(This used to be commit 3744d282ba)
2004-03-18 16:50:01 +00:00
Volker Lendecke
9b4a626342 Fix sambaUserWorkstations on a Samba DC
(This used to be commit b58b8b7d6b)
2004-03-18 07:38:56 +00:00
Volker Lendecke
ef8eae0688 Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker
(This used to be commit a409dd55e8)
2004-03-18 07:37:39 +00:00
Volker Lendecke
60a237b0b5 Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker
(This used to be commit d01cb00aad)
2004-03-18 07:36:36 +00:00
Volker Lendecke
38cbf8f61c Two little annoyances:
net rpc did not inform you if no smbd is running.

I never liked the error message (!) Success! when we established a trust.

Volker
(This used to be commit 1f2dd3a455)
2004-03-18 07:33:26 +00:00
Volker Lendecke
ef4a7b3c40 Two little annoyances:
net rpc did not inform you if no smbd is running.

I never liked the error message (!) Success! when we established a trust.

Volker
(This used to be commit 4191a434d4)
2004-03-18 07:32:15 +00:00
Jeremy Allison
7e799b3036 Added a varient of Volker's patch to fix the "self-referrals as anonymous user"
problem.
Jeremy.
(This used to be commit 74de9a6140)
2004-03-18 02:17:23 +00:00
Jeremy Allison
0eccc18d0c Added a varient of Volker's patch to fix the "self-referrals as anonymous user"
problem.
Jeremy.
(This used to be commit 9305cd4f2d)
2004-03-18 02:17:20 +00:00
Jeremy Allison
41ea0d35ae Remove excess logging when probing for the length of the next mb char.
Jeremy.
(This used to be commit 6339c4690a)
2004-03-17 19:23:48 +00:00
Jeremy Allison
8868cf6a83 Remove excess logging when probing for the length of the next mb char.
Jeremy.
(This used to be commit 5a2fd8e765)
2004-03-17 19:23:44 +00:00
Gerald Carter
f6984bd073 asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it
(This used to be commit 234800eeb6)
2004-03-17 17:39:00 +00:00
Gerald Carter
aad3d8aeb0 asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it
(This used to be commit 4d68d3d5dd)
2004-03-17 17:38:38 +00:00
Gerald Carter
2b7f6b1f83 BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
(This used to be commit 77bf9fe0ce)
2004-03-17 17:13:36 +00:00
Gerald Carter
ad49346e1a BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
(This used to be commit c0a38844be)
2004-03-17 17:13:26 +00:00
Jeremy Allison
aa2e306a01 Change check_path_syntax() to use the new next_mb_char_size() function
to make it generic. Remove the mb-codepage "blacklist". Alexander, please
check this fix as it reverts your blacklist changes, but I'm hoping it
fixes the problem in a more generic way for all charsets. I'm not trying
to trample on your (excellent!) work here, just make things more generic
without special cases.
Jeremy.
(This used to be commit 5a9324525a)
2004-03-17 02:08:31 +00:00
Jeremy Allison
9a86aa2c3e Change check_path_syntax() to use the new next_mb_char_size() function
to make it generic. Remove the mb-codepage "blacklist". Alexander, please
check this fix as it reverts your blacklist changes, but I'm hoping it
fixes the problem in a more generic way for all charsets. I'm not trying
to trample on your (excellent!) work here, just make things more generic
without special cases.
Jeremy.
(This used to be commit ca344a784d)
2004-03-17 02:08:27 +00:00
Jeremy Allison
3e326c48c9 Add function next_mb_char_size() that returns a size_t of the number of
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax()
to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've
been adding code to the file for over 10 years and I recognise many of the
fuctions as mine ! :-).
Jeremy.
(This used to be commit 5a804dbe0f)
2004-03-16 21:59:20 +00:00
Jeremy Allison
acad182a3f Add function next_mb_char_size() that returns a size_t of the number of
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax()
to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've
been adding code to the file for over 10 years and I recognise many of the
fuctions as mine ! :-).
Jeremy.
(This used to be commit d2b2a39fd2)
2004-03-16 21:59:11 +00:00
Gerald Carter
2f8a18c093 merges from 3.0
(This used to be commit fed98658a5)
2004-03-16 20:32:14 +00:00
Gerald Carter
c340b2e5e4 fix overlapping memory bug when copying username
(This used to be commit a7cac639c2)
2004-03-16 20:28:47 +00:00
Gerald Carter
107ddbdc6e BUG 748 - patch from jpeach@sgi.com (James Peach); relax arg parsing to sambalp script
(This used to be commit e2361da91f)
2004-03-16 19:44:40 +00:00
Gerald Carter
0e7efbe371 BUG 768 - patch from jpeach@sgi.com (James Peach); accept profileing arg to init script
(This used to be commit a04573aeb0)
2004-03-16 19:43:04 +00:00
Gerald Carter
4b27ffd821 BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinrich Mislik)
(This used to be commit 8f9bedaeb1)
2004-03-16 19:06:30 +00:00
Gerald Carter
9073c95b97 BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinrich Mislik)
(This used to be commit 760b63496c)
2004-03-16 19:06:03 +00:00
Gerald Carter
8ef645c8a9 BUG 1182: patch from john.klinger@lmco.com (John Klinger) to reanable the -n 'no cache' option for winbindd
(This used to be commit d1848988d9)
2004-03-16 18:54:09 +00:00
Alexander Bokovoy
ba042a96cd Fix check_path_syntax() for multibyte encodings which have no '\' as second byte.
This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all
ambiguity is resolved. Please add other encodings into charcnv.c with such property.
(This used to be commit c8c6633749)
2004-03-16 17:21:06 +00:00
Alexander Bokovoy
e2fd98af57 Fix check_path_syntax() for multibyte encodings which have no '\' as second byte.
This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all
ambiguity is resolved. Please add other encodings into charcnv.c with such property.'
'
(This used to be commit 2c404f6ba9)
2004-03-16 17:18:57 +00:00
Gerald Carter
b1d5261bde merging print change notify fix from HP appliance. Also might address some one the issues in BUG 1007
(This used to be commit b80e3553bf)
2004-03-16 17:07:18 +00:00
Gerald Carter
dbb38cc6b5 merging print change notify fix from HP appliance. Also might address some one the issues in BUG 1007
(This used to be commit 17ecea4152)
2004-03-16 17:06:11 +00:00
Gerald Carter
1df61db072 BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes
(This used to be commit ca971cf76e)
2004-03-16 16:44:54 +00:00
Gerald Carter
d24b8a2032 BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes
(This used to be commit f2eaa14b1e)
2004-03-16 16:41:54 +00:00
Richard Sharpe
76e86e88c3 Make sure we don't clobber the stack when response consists of the empty
string.
(This used to be commit e522663717)
2004-03-16 06:56:20 +00:00
Jeremy Allison
c377ae98b1 Avoid mb conversion overflow when sending an announcement.
Jeremy.
(This used to be commit 7a62d6215d)
2004-03-16 00:10:34 +00:00
Jeremy Allison
96c5a010bb Avoid mb conversion overflow when sending an announcement.
Jeremy.
(This used to be commit 188e1daaff)
2004-03-16 00:10:30 +00:00
Jeremy Allison
8613940ce6 Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to
expand to utf8 size on read.
Jeremy.
(This used to be commit b9da3e941d)
2004-03-15 21:53:59 +00:00
Jeremy Allison
ce0c99312c Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to
expand to utf8 size on read.
Jeremy.
(This used to be commit 834d816caf)
2004-03-15 21:45:45 +00:00
Gerald Carter
b5805b04da removing extra comma in --with-fhs
(This used to be commit ad1bf59a79)
2004-03-15 16:20:22 +00:00
Gerald Carter
96c66b7be7 removing extra comma in --with-fhs
(This used to be commit 12f3f0268c)
2004-03-15 16:20:03 +00:00
Gerald Carter
1054f6b107 more fixes from 3.0
(This used to be commit 211cead67c)
2004-03-15 16:17:51 +00:00
Gerald Carter
56f2e80d58 include swatdir in 'make showlayout'
(This used to be commit b1115c0fc5)
2004-03-15 16:14:04 +00:00