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

15806 Commits

Author SHA1 Message Date
Gerald Carter
f21182e24f BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using pam_smbpass -
Jeremy Allison
e8b68ef965 Correctness patch from fumiya@miraclelinux.com to count characters correctly,
doesn't affect what got put on the wire.
Jeremy.
-
Gerald Carter
3744d282ba updating release notes in preparation fro 3.0.3pre1 -
Volker Lendecke
b58b8b7d6b Fix sambaUserWorkstations on a Samba DC -
Volker Lendecke
d01cb00aad Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker
-
Volker Lendecke
4191a434d4 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
-
Jeremy Allison
74de9a6140 Added a varient of Volker's patch to fix the "self-referrals as anonymous user"
problem.
Jeremy.
-
Jeremy Allison
6339c4690a Remove excess logging when probing for the length of the next mb char.
Jeremy.
-
Gerald Carter
4d68d3d5dd asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it -
Gerald Carter
c0a38844be BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build -
Jeremy Allison
5a9324525a 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.
-
Jeremy Allison
d2b2a39fd2 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.
-
Gerald Carter
a7cac639c2 fix overlapping memory bug when copying username -
Gerald Carter
e2361da91f BUG 748 - patch from jpeach@sgi.com (James Peach); relax arg parsing to sambalp script -
Gerald Carter
a04573aeb0 BUG 768 - patch from jpeach@sgi.com (James Peach); accept profileing arg to init script -
Gerald Carter
760b63496c BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinrich Mislik) -
Gerald Carter
d1848988d9 BUG 1182: patch from john.klinger@lmco.com (John Klinger) to reanable the -n 'no cache' option for winbindd -
Alexander Bokovoy
2c404f6ba9 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.'
'
-
Gerald Carter
17ecea4152 merging print change notify fix from HP appliance. Also might address some one the issues in BUG 1007 -
Gerald Carter
f2eaa14b1e BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes -
Jeremy Allison
188e1daaff Avoid mb conversion overflow when sending an announcement.
Jeremy.
-
Jeremy Allison
834d816caf 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.
-
Gerald Carter
12f3f0268c removing extra comma in --with-fhs -
Gerald Carter
b1115c0fc5 include swatdir in 'make showlayout' -
Gerald Carter
26681cd2a1 fix byte ordering problem when storing the updating pid for the lpq cache; was causing an abort in process_exists() on solaris -
Volker Lendecke
9fa2c40452 When trying to remove a user from a group, winbind should be informed
about the user and group...

Volker
-
Tim Potter
cc9765ce97 Use possessive in message asking for user's password. -
Jeremy Allison
d7cf64b1e4 Ensure we don't truncate strcmps to nstring anymore...
Jeremy.
-
Jeremy Allison
b4ea493599 Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAMA Masayuki).
Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios
and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name
when represented in dos charset (ie. cp932). So go back to using fstrings for these but
translate into nstrings (ie. 16 byte length values) for transport on the wire.
Jeremy.
-
Jeremy Allison
966e49a48c First part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) to
fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c
so it's readable.
Jeremy.
-
Herb Lewis
0375dace24 if we are truncating to the . we need to start at the beginning in case
there are multiple "."'s in the name.

This code is protected with an #ifdef TRUNCATE_NETBIOS_NAME and this
is #define'd to 1 directly above. Should we also get rid of the #ifdef?
-
Jeremy Allison
29909ce26a Fix from Robert.Dahlem@gmx.net (Robert Dahlem) for bugid #1048
when mangled names are turned off.
Jeremy.
-
Alexander Bokovoy
83dac6571f Fix problems with very long filenames in both smbd and smbclient.
It appears that we pass filename through resolve_wildcards() as pstring and use fstring temporary buffer there.
As result, a long filename in unix charset (UTF-8 by default) can easily expand over 255 bytes while
Windows is able to send to us such names (e.g. Japanese name of ~190 mb chars) which we unable to process through
this small fstring buffer. Tested with W2K and smbclient, Japanese and Cyrillics.
-
Alexander Bokovoy
9acd46ab46 Fix build after Jeremy -- yet another place where convert_string() wasn't updated -
Alexander Bokovoy
e1d0b8fc7b Fix string overflow due to wrong size calculation -
Jeremy Allison
2979c3e388 Allow msdfs symlink syntax to be more forgiving (it took me ages to remember
what it was :-). Allow msdfs links to now look like UNC paths : eg.
sym_link -> msdfs://server/share/path/in/share
or :
sym_link -> msdfs:\\server\share\path\in\share
Jeremy.
-
Jeremy Allison
7b96765c23 Restore the contract on all convert_stringXX() interfaces. Add a "allow_bad_conv"
boolean parameter that allows broken iconv conversions to work. Gets rid of the
nasty errno checks in mangle_hash2 and check_path_syntax and allows correct
return code checking.
Jeremy.
-
Jim McDonough
d275c0e384 Get MungedDial actually working with full TS strings in it for pdb_ldap.
I know this isn't pretty, but neither was our assumption that all strings
from the directory fit inside a pstring.  There was no way this worked
before will all versions of usrmgr (for example, the only version of
mine that has the TS Confic button).
-
Herb Lewis
9ea0560b0b add missing #ifdef HAVE_BICONV stuff -
Gerald Carter
bc6992c4bf BUG 1088: patch from SATOH Fumiyasu <fumiya@miraclinux.com> -- use strchr_m() for query_host (smbclient -L) -
Jeremy Allison
28f1e21c58 Ensure we use check_path_syntax() to pull out DFS paths.
Jeremy
-
Jeremy Allison
74722f2865 Fix processing of pathnames with embedded '\\' characters (0x5c) in CP932
character set. Because of the allowing of "broken conversions" for people
who have broken iconv libraries we can't rely on the return from convert_string()
to be valid - we must check errno instead. This is ripe for revisiting at
some stage. I prefer adding a bool parameter to all convert_string_XX varients
to specify if we will allow broken conversions or not. With "allow_broken_conversions"
set to false we could then rely on the return from convert_string rather than
checking errno.
Jeremy.
-
Herb Lewis
e6c2d9a3f7 another typo -
Jeremy Allison
e2709f99fc Moving towards getting msdfs working again (this looks like it was broken
in 3.0.2a actually). We now send a correct referral back, but the client
refuses to follow it... Not sure why. Will do more tests.. Maybe unicode
character count is wrong (it looks it).
Jeremy.
-
Jeremy Allison
80fde09fc4 Formatting reformat before I start to change anything here.
Jeremy.
-
Herb Lewis
2367d988ae fix typo for tag in proto file -
Jeremy Allison
42175b4518 Fix dfs referrals - don't use check_path_syntax. Also use mb char calls in
dfs code.
Jeremy.
-
Rafal Szczesniak
3e57c2c685 Yet another '\n' termination of debug message.
rafal
-
Rafal Szczesniak
2a7dd46943 Fix to debug message lacking termination with '\n'.
rafal
-
Gerald Carter
11fc4da07f fix build with gcc 2.96 and --with-developer -