summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-10-09Merge from 3.0:Tim Potter3-76/+86
>Moving towards better i18n support in SWAT. This commit contains a >bunch of updates to bug 413 from Monyo: > >1) pick up proper strings to call msg strings for example to add > strings in wizard menu in web/swat.c, web/statuspage.c and > param/loadparm.c. > >2) define N_() macro in include/intl.h to pick up some strings > in param/loadparm.c > >3) quote all name and value tag with '"' > For example in swat.c:720 the "Edit Parameter Values" string is > displayd only as "Edit" because value tag is not quoted like: > value=Edit Parameter Values > These tags should be quoted though it sometimes works well > without quotation. > >4) modify the msg strings not to contain HTML tags or other > non-message strings. For example > dprintf(_("test\n")); is modified to dprintf("%s\n", _("test")); (This used to be commit 17efb306aa32d1e5b2546cfb2f3404ad3cf0fb68)
2003-10-09Merge from 3.0:Tim Potter1-1/+3
>Explicitly initialise the value of AR for vendor makes that don't do >this (HPUX 11). Currently it's initialised to 'ar' but this may have >to be changed if any systems pop up that have archivers that aren't >named 'ar'. Closes bug #552. >Fallback to our defaults (CP850/ASCII/UTF8) if there is no native >iconv on the platform. This allows to compile and complain about it >at runtime (This used to be commit 442cfcce0d8dcd7b653a6260c5efcb72b84ce74f)
2003-10-09Merge from 3.0:Tim Potter1-2/+3
>Explicitly initialise the value of AR for vendor makes that don't do >this (HPUX 11). Currently it's initialised to 'ar' but this may have >to be changed if any systems pop up that have archivers that aren't >named 'ar'. Closes bug #552. >fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525 (This used to be commit fd18356fe2c59877860383219b6e71f182aec1fe)
2003-10-09Merge from 3.0:Tim Potter9-10149/+2789
- Updated *.msg files from running genmsg - Add genmsg program - Add Jelmer's Dutch translation (This used to be commit c72cceaccfee303d465c78d31aca639476a21212)
2003-10-09Changes to allow Samba3 to pass the Samba4 RAW-READ tests.Jeremy Allison4-20/+61
Jeremy. (This used to be commit e4df46732021be4eeb5693ebe7ec0df77f4bb5df)
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison3-40/+170
validated the same way. Jeremy. (This used to be commit 960e2b4a5f09d3ef80a926894ee7a28549b8de45)
2003-10-07Max warnings with gcc.Jeremy Allison1-1/+3
Jeremy. (This used to be commit cdba166e31b3c611652783a2ab63e59f57f41fde)
2003-10-07make sure to call get_user_groups() with the full winbindd name for a user ↵Gerald Carter2-11/+22
if he;she has one; bug 406 (This used to be commit 19925e3a04f421f4dcc469b701f3cc51ef98ac2c)
2003-10-07Version of patch from nick@isilon.com (Nicholas Kirsch) for bug #564.Jeremy Allison1-6/+23
Canonicalise SMB_INFO_ALLOCATION in the same was as SMB_FS_FULL_SIZE_INFORMATION. Jeremy. (This used to be commit 76fe5ffb4d757922651e41c3fa7e8bc411214cc7)
2003-10-06Fix for bug #562 (incorrect mode sum) by h-yamasaki@pd.jp.nec.com.Jeremy Allison1-3/+3
Jeremy. (This used to be commit e2f4c3d113fb77b68858c67deff6b92deb311e16)
2003-10-06cosmetic fix when DESTDIR=/ (default)Gerald Carter11-18/+20
(This used to be commit cf6ac7995adc8ac116fd8f678ab06d0f91b4fe94)
2003-10-06default DESTDIR=/Gerald Carter1-0/+1
(This used to be commit 759990833ef192ffddec58039db1a41a0fafa399)
2003-10-06split some security related functions in their own files.Simo Sorce20-945/+1376
(no need to include all of smbd files to use some basic sec functions) also minor compile fixes (This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
2003-10-03don't call ads_destroy() twice; fixes segfault in winbindd when DC goes ↵Gerald Carter3-6/+19
down; bug 437 (This used to be commit 9da4d1f7dbb289dd1db5e57a4fd78004bbfbd26b)
2003-10-03cleaning out patch list; patch from Steve L. to change the cwd before the ↵Gerald Carter1-3/+3
postexec script (This used to be commit bbc403ec6ee119f1bbb636deb40563dfdf258a74)
2003-10-03abstract UUID parsing code to an individual function; patch from AnthonyGerald Carter1-7/+26
(This used to be commit 6cbdbdf9e1e76837c8ef03e795db11caa74ccf18)
2003-10-02Portability fixes from schmitz@hp.com (Joachim Schmitz). Bug #549.Jeremy Allison3-1/+30
Jeremy. (This used to be commit 6defe43e6d48619cee31b6c7fc602973e8eeef3f)
2003-10-02Portability fix from schmitz@hp.com (Joachim Schmitz). Bug #547.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 9519ffc7cbdb37a4279c8804230596978679220e)
2003-10-02Portability fix from schmitz@hp.com (Joachim Schmitz) for bug #548.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a0828a2a1ce04075f0a7cb4a201cea0781998237)
2003-10-02Correct fix for excel read-only bug. Add panic for logic error in developer ↵Jeremy Allison2-6/+7
mode. Jeremy. (This used to be commit 0857932c1c1960fd68a10f3d1f8c300b7a28b6d7)
2003-10-02Fix for not opening Excel 2000 files that are read-only. Needs tidyingJeremy Allison1-3/+4
up but works for now. Jeremy. (This used to be commit d9b9113a0815aeeddb8fdcccb64e7692fe02a9c2)
2003-10-01commit sign only patch from Andrew; bug 167; tested using 2k & XP ↵Gerald Carter6-114/+159
clientspreviously joined to the Samba domain (This used to be commit 9d2e585e5e6f9066c6901aa8d8308734f8667296)
2003-10-01Fixed silly typo checking for signal_handler not signal.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 202d4e46527993d359df7cd04fb611c22cc920c3)
2003-10-01Allow ^C to interrupt smbpasswd if using our getpass.Jeremy Allison1-62/+86
Jeremy. (This used to be commit 8a284463458cfaaff9986bbc459dfc113f921c6c)
2003-10-01save and restore CFLAGS before/after AC_PROG_CC; this macro seems to ↵Gerald Carter1-0/+9
overwrite the CFLAGS variable (This used to be commit aa7fccf6ad81da8a4a14abd699d1f765e18cd10c)
2003-10-01merge of parameter changes from 3.0 and fix for bug 550Gerald Carter3-8/+7
(This used to be commit b6433f5db77a1d62309946c6f23c18c6c299d0c5)
2003-09-29Take care of condition where DOS and NT error codes must differ. Found byJeremy Allison1-1/+1
DOS program test by Amir Hardon <hardon@actcom.co.il>. Jeremy. (This used to be commit 294f376aa908a9c56b73b9bfe48d56012a8f557b)
2003-09-29Merge from 3.0:Tim Potter1-1/+1
>iconv isn't const safe. Neither should smb_iconv be. >Jeremy. (This used to be commit 7bd450f8b678e835ba4f9cfdc3d096b04da6f8f7)
2003-09-29Merge from 3.0:Tim Potter1-2/+8
>Apply some NULL pointer paranoia to previous wins hook fix. >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. (This used to be commit 12659ae74965f8a088361cb4fbf8730cdad84af1)
2003-09-29Merge from 3.0:Tim Potter1-2/+33
>Allow d_printf() to handle strings with escaped quotation marks since the >msg file includes the escape character. > >Fixes bug #489. (This used to be commit 0871be2bfad8bfa5d4f0ff78e732c1073055da2e)
2003-09-29Merge from 3.0:Tim Potter1-16/+4
>Fix to parse the level-2 strings. From Anthony Liguori aliguor@us.ibm.com. >Jeremy. (This used to be commit 3420320714798427bf9b760ed89fa4ce9346ad19)
2003-09-29Merge from 3.0:Tim Potter1-3/+4
>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. >Change title of SWAT globals page from 'Global Variables' to 'Global >Parameters' to be more consistent with the other pages. (This used to be commit 1ab70b41a9eba59272c0af5a8036c32366734177)
2003-09-29Merge from 3.0:Tim Potter1-6/+13
>Ensure %S gets expanded in read/write lists. >Jeremy. (This used to be commit 424acd6ee92c46c565886c3305c3492737538d3d)
2003-09-29Merge from 3.0:Tim Potter1-3/+7
>Fix for valid users = %S in homes share. >Jeremy. (This used to be commit 799da7092c5b56914512f843789adbedec5ac8f5)
2003-09-29Merge from 3.0:Tim Potter22-650/+467
>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. (This used to be commit e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)
2003-09-29Merge from 3.0:Tim Potter1-1/+1
>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. (This used to be commit e2da7c8a9dc0e4c698c330422682feccae879bbd)
2003-09-29Testparm fixes:Jelmer Vernooij1-3/+9
- 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> (This used to be commit 034fe96f9c3d3328bc69ef328f10690336dc35b0)
2003-09-26don't write to static pointers; patch from AnthonyGerald Carter1-1/+1
(This used to be commit b766fe78a7d8e4095d42e123f2b21369113c1f14)
2003-09-24* sync more files from 3.0Gerald Carter9-35/+86
* set version string to "CVS 3.1.0alpha1" (This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
2003-09-24Another round of merges from 3.0:Tim Potter1-13/+25
>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. (This used to be commit 0105b72db85141da30746c06ad7f5cec15bf9640)
2003-09-24Another round of merges from 3.0:Tim Potter1-81/+59
>Reformat - preparing to fix bug #480 (which will be ugly). >Jeremy. (This used to be commit cd91dd9cd8392d1b9cfcbd8ef42237b813dc89b5)
2003-09-24Another round of merges from 3.0:Tim Potter1-1/+1
>Change error message displayed when --without-libiconv is used as >an argument to configure. Closes bug 468. (This used to be commit 4b73ba7df1764b47aae8b22980efdb05d1639e57)
2003-09-24fixing a bug in the retry loop for winbindd_pam_auth[_crap]()Gerald Carter1-15/+25
(This used to be commit a1b6e28e9c1742dd5debe46b18fa474f11b31dd1)
2003-09-22fix some warnings found by the Sun C compilerGerald Carter7-10/+8
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
2003-09-21Fix bug and do more error checking. Noticed by Wilco Baan Hofman ↵Jelmer Vernooij1-13/+33
<wilco@andoburg.nl> (This used to be commit ec32501cefe1ea27bcf08b5be9d53cdce8cbbbdc)
2003-09-21Fix typoJelmer Vernooij1-1/+1
(This used to be commit 68e044f60ddb6dc7d894f95eff8a866e713df253)
2003-09-19Ensure that dup_sec_desc copies the 'type' field correctly. This causedJeremy Allison8-24/+26
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. (This used to be commit 546b2271c08735ac1049a453abac996d794aa364)
2003-09-19Merge from 3.0:Tim Potter2-79/+79
>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 (This used to be commit a9f34d9fde4ea5e043444803aeda70d5e64c3870)
2003-09-19Merge from 3.0:Tim Potter1-3/+4
>Applied Steve Langasek's patch for bug #450. (This used to be commit 50ae61b674550082e30f7156f2a9129b7abebb14)
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison11-52/+129
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. (This used to be commit 71ecd10181cd35313b79f618c2928c2f45424812)