1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

12797 Commits

Author SHA1 Message Date
Tim Potter
e2ab9e54cd Merge from 3.0:
>Fix for #480. Change the interface for init_unistr2 to not take a length
>but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
>This is not the case. Count it after conversion.
>Jeremy.
-
Tim Potter
e2da7c8a9d Merge from 3.0:
>Change AC_CHECK_LIB_EXT to prepend libraries instead of append.  This
>is the same way AC_CHECK_LIB works.  Fix for bug 508.
>
>This may have to go a few rounds on the build farm to ensure it works
>everywhere.
-
Tim Potter
0281c5b764 Apply some NULL pointer paranoia to previous wins hook fix. -
Tim Potter
92b37b3ef0 Fix broken wins hook functionality. A i18n fixe caused the name type
to be appended to the netbios name between angle brackets.  This interfered
the 'sh -c' used to implement smbrun().  Closes bug #528.
-
Jelmer Vernooij
034fe96f9c Testparm fixes:
- Also check global 'hosts allow'/'hosts deny' when checking access to share
 - Warn when user specifies 2 arguments instead of 1 or 3.

Patch from Jay Fenlason <fenlason@redhat.com>
-
Jelmer Vernooij
2690c185f0 Testparm fixes:
- Also check global 'hosts allow'/'hosts deny' when checking access to share
 - Warn when user specifies 2 arguments instead of 1 or 3.

Patch from Jay Fenlason <fenlason@redhat.com>
-
Tim Potter
afe8c708f1 Change AC_CHECK_LIB_EXT to prepend libraries instead of append. This
is the same way AC_CHECK_LIB works.  Fix for bug 508.

This may have to go a few rounds on the build farm to ensure it works
everywhere.
-
Jeremy Allison
238bb74c16 iconv isn't const safe. Neither should smb_iconv be.
Jeremy.
-
Jeremy Allison
7d7096fc3a Ensure %S gets expanded in read/write lists.
Jeremy.
-
Jeremy Allison
c7f4e56ad5 Fix for valid users = %S in homes share.
Jeremy.
-
Gerald Carter
b766fe78a7 don't write to static pointers; patch from Anthony -
Gerald Carter
5840cbe5f6 don't write to static pointers; patch from Anthony -
Jeremy Allison
e4c955c98e Fix to parse the level-2 strings. From Anthony Liguori aliguor@us.ibm.com.
Jeremy.
-
Tim Potter
0192f41003 More bug #413. Fix bad html table row termination in SWAT wizard code found by
Monyo.  Also remove debugging d_printf() which snuck in the last commit.
-
Tim Potter
02725d4a3c Change title of SWAT globals page from 'Global Variables' to 'Global
Parameters' to be more consistent with the other pages.
-
Tim Potter
8ce279e471 Allow d_printf() to handle strings with escaped quotation marks since the
msg file includes the escape character.

Fixes bug #489.
-
Jeremy Allison
f82c273a42 Fix for #480. Change the interface for init_unistr2 to not take a length
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
This is not the case. Count it after conversion.
Jeremy.
-
Gerald Carter
c6a61ffcbd * sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
-
Volker Lendecke
a6c54cbe20 Don't #ifdef an AFS option with WITH_ADS. Thanks, jerry!
Volker
-
Tim Potter
0105b72db8 Another round of merges from 3.0:
>Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
>Jeremy.

>Applied Monyo's patch for bug #412 which allows \n characters to
>appear in msg strings.

>Put in some DEBUGs for swat language selection.  Part of bug 456.
-
Tim Potter
cd91dd9cd8 Another round of merges from 3.0:
>Reformat - preparing to fix bug #480 (which will be ugly).
>Jeremy.
-
Tim Potter
4b73ba7df1 Another round of merges from 3.0:
>Change error message displayed when --without-libiconv is used as
>an argument to configure.  Closes bug 468.
-
Tim Potter
c326774905 Fix bug #456 for 3.0.0 release.
More work on SWAT i18n support to appear in later releases.
-
Gerald Carter
a1b6e28e9c fixing a bug in the retry loop for winbindd_pam_auth[_crap]() -
Gerald Carter
a83266a927 fixing a bug in the retry loop for winbindd_pam_auth[_crap]() -
Volker Lendecke
4a3f7a9356 This only touches the fake kaserver support. It adds two parameters:
afs share -- this is an AFS share, do AFS magic things
afs username map -- We need a way to specify the cell and possibly
		    weird username codings for several windows domains
		    in the afs cell

Volker
-
Volker Lendecke
1fed55aa78 Add a descriptive comment to our usage of setresuid. lib/afs.c needs
to be changed if we decide to set our real uid. Jeremy?

Volker
-
Jeremy Allison
605e257cab Reformat - preparing to fix bug #480 (which will be ugly).
Jeremy.
-
Gerald Carter
585764305a fix some warnings found by the Sun C compiler -
Gerald Carter
e1fac713e2 fix some warnings found by the Sun C compiler -
Jeremy Allison
95e33b1250 Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
Jeremy.
-
Tim Potter
53a2a38990 Applied Monyo's patch for bug #412 which allows \n characters to
appear in msg strings.
-
Jelmer Vernooij
ec32501cef Fix bug and do more error checking. Noticed by Wilco Baan Hofman <wilco@andoburg.nl> -
Jelmer Vernooij
68e044f60d Fix typo -
Jelmer Vernooij
37db75fc95 Fix typo -
Jelmer Vernooij
2c584efae6 Fix a bug and warn when configuration file values are incorrect. Thanks to
Wilco Baan Hofman <wilco@andoburg.nl>
-
Jeremy Allison
546b2271c0 Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
-
Jeremy Allison
28b315a750 Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
-
Alexander Bokovoy
b00a81b543 Fix pdb_mysql. Jelmer will look into details tonight. -
Tim Potter
bbe4ae8af2 Put in some DEBUGs for swat language selection. Part of bug 456. -
Tim Potter
a9f34d9fde Merge from 3.0:
>Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard
>Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to
>produce compatible tables.

>Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
-
Tim Potter
50ae61b674 Merge from 3.0:
>Applied Steve Langasek's patch for bug #450.
-
Jeremy Allison
71ecd10181 The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
-
Jeremy Allison
cd7bd8c2da The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
-
Jeremy Allison
e121a2ec0c Oops. Proper fix for #470.
Jeremy.
-
Jeremy Allison
82f98b066d Oops. Proper fix for #470.
Jeremy.
-
Jeremy Allison
56df89eff3 Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
-
Jeremy Allison
1b343f7105 Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
-
Tim Potter
6957ecd25f Change error message displayed when --without-libiconv is used as
an argument to configure.  Closes bug 468.
-
Jeremy Allison
b3b2b3d5e7 Unregister event fix from metze.
Jeremy.
-