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

16441 Commits

Author SHA1 Message Date
Jim McDonough
2332bebd9f merge from 3.0...LDAP password lockout support
(This used to be commit b627cee3848d73e35181c9e6fdd9931452b28e48)
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 2a679cbc87a2a9111e9e6cdebbb62dec0ab3a0c0)
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 ad59b6fd9c822033bb8ab85ef9c51ec912fd9fd5)
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 f21182e24fe440b0cec57baf52cfbe6e07d6c7b7)
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 e8b68ef965ea2e3bed41cb397ef32df05c631e92)
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 05243a8de06b6589e2405a4a7be25cdf5d338c10)
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 bf89adbcb4c77792004e4ea9da248b71b72b7dbb)
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 3744d282badbe2fdc67e3ac309a0a0226d63173a)
2004-03-18 16:50:01 +00:00
Volker Lendecke
9b4a626342 Fix sambaUserWorkstations on a Samba DC
(This used to be commit b58b8b7d6ba607be40d789af023964798b405dcb)
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 a409dd55e857e692a90124bf46575752935cc78b)
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 d01cb00aad76f8be9767fdcfd92c88ea5d8c4f14)
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 1f2dd3a4559a6ba043fcfecb069d41f40656cc7d)
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 4191a434d48065a75f38752c4aa27219f36d602b)
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 74de9a61407e6c5a15fc7becca085a1d40199080)
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 9305cd4f2d8c2c18daaa197f1513da1c3d3ee7c1)
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 6339c4690aef7692571dd4c65dd0a12d56a7ffab)
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 5a2fd8e76587a572cdb97fa87a99cda3e450ce0e)
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 234800eeb61f4874e1d178aa0d901eeb360fea2f)
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 4d68d3d5ddeda9589f2e3387144fdac616bb791f)
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 77bf9fe0ce67b0a74dc5e6837c00e54884cc39ef)
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 c0a38844be8f1ec0bc254ab6c34688f9132a3f3d)
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 5a9324525acc02e6bf14528679816b35929a564e)
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 ca344a784da870965684e41c93ef8bfc5e86d28f)
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 5a804dbe0f3ddbd6f3fbdd6b2c5510e143607541)
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 d2b2a39fd2f2e06cc4aebf081876985f0b28b477)
2004-03-16 21:59:11 +00:00
Gerald Carter
2f8a18c093 merges from 3.0
(This used to be commit fed98658a5cc82e9fdc65aa73f74e118c1104178)
2004-03-16 20:32:14 +00:00
Gerald Carter
c340b2e5e4 fix overlapping memory bug when copying username
(This used to be commit a7cac639c2cf0e2606d9cfbdb08e961212ee3bfa)
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 e2361da91f58e123c900f989b0afe94e93387a5d)
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 a04573aeb0a137feb4be48b74627536e1f0d40b1)
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 8f9bedaeb1b3b102fa6b23da1f6b03eb0e015359)
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 760b63496ccc908c76ea5d3ed474cbbca268ad61)
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 d1848988d9ee9fdd870bcdd32c938b907419558b)
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 c8c66337494c63173a6aba4286a843875302da63)
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 2c404f6ba988d68c6f44df9409c0de319553de10)
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 b80e3553bf1b7f8d1435f3144082577f2e30c3a9)
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 17ecea4152fb0883acde675b01f19d3e19ff1d64)
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 ca971cf76e5fbb33d51b1fdfa92e4d13b2e150b6)
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 f2eaa14b1eb7e89c945b2b06a48e17998c75d620)
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 e522663717f6b6141580f34502ad8686d326f8c8)
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 7a62d6215d32e664345d10b87ab4e4ddeda5dc2e)
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 188e1daaffb3b21abc250ebb37d9a671ba51d054)
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 b9da3e941d4233c2d3931f32767f3e51b214033e)
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 834d816caf9cd6318da00febde50d9233469dac2)
2004-03-15 21:45:45 +00:00
Gerald Carter
b5805b04da removing extra comma in --with-fhs
(This used to be commit ad1bf59a795e90e0a3757f1dd33d92442928e80c)
2004-03-15 16:20:22 +00:00
Gerald Carter
96c66b7be7 removing extra comma in --with-fhs
(This used to be commit 12f3f0268c49c9393ff4cd97cfcd802e6b61bbea)
2004-03-15 16:20:03 +00:00
Gerald Carter
1054f6b107 more fixes from 3.0
(This used to be commit 211cead67ca2c8c017ee5eec1d6989d4928236bf)
2004-03-15 16:17:51 +00:00
Gerald Carter
56f2e80d58 include swatdir in 'make showlayout'
(This used to be commit b1115c0fc507e82d828ccbb5853734a964701cd2)
2004-03-15 16:14:04 +00:00
Gerald Carter
11f6251b77 sync small fixes from 3.0 and fix compiler warning in priv code
(This used to be commit c640594c9362dca625a8fa51b453dafe1f3e980d)
2004-03-15 16:12:52 +00:00
Gerald Carter
12fb2d7305 fix byte ordering problem when storing the updating pid for the lpq cache; was causing an abort in process_exists() on solaris
(This used to be commit ce49e4f2b904ab64ea98af4736147795669495df)
2004-03-15 15:16:29 +00:00
Gerald Carter
dbe9e8a4cb fix byte ordering problem when storing the updating pid for the lpq cache; was causing an abort in process_exists() on solaris
(This used to be commit 26681cd2a1567d90cc7d344e8aca6e6a686053f5)
2004-03-15 15:06:33 +00:00