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

16861 Commits

Author SHA1 Message Date
Jeremy Allison
0465e2d23d r2578: Pick up optimisation from Samba4 - thanks tridge !
- I recently found out that charaters below 0x3F are guaranteed not to
  occur as secondary bytes in any multi-byte character set. This
  allows for a very simple optimisation in strchr_m() and
  strrchr_m(). It might be a good idea to pick this up for Samba3.
Jeremy.
2007-10-10 10:52:47 -05:00
Jeremy Allison
fc51c97ea8 r2575: Return correct error codes on old SEARCH call (from Samba4 torture tester).
Jeremy.
2007-10-10 10:52:47 -05:00
Gerald Carter
b26e4dbd7f r2570: minor fix with Rob's patch. use dos_errstr() instead of W_ERROR_V() when using %s in the format string 2007-10-10 10:52:46 -05:00
Gerald Carter
50a5a3dbd0 r2569: Patch from Rob Foehl <rwf@loonybin.net>:
- fix typo in libads/ldap_printer.c:39, ads_find_printer_on_server()
  (originally libads-typo.patch)
- fix leak in printing/nt_printing.c, is_printer_published()
  (originally is_printer_published-leak.patch)
- fix double print_backend_init() calls, now only called from main()
- restructuring in printing/nt_printing.c
  - replaced (un)publish_it() with ads-specific functions
  - moved common code to nt_printer_publish()
  - improved error handling in several places
- added check_published_printers() in printing/nt_printing.c, to verify
  that each published printer is actually in the directory at startup
- changed calling semantics of mod_a_printer, dump_a_printer, and
  update_driver_init to be more consistent with the rest of the api and
  reduce some copying
2007-10-10 10:52:46 -05:00
Gerald Carter
80d591f8cc r2567: Patches from Lars Mueller <lmuelle at suse dot de>:
trivial fix for autoconf and autoheader versions with a
letter in the version string.  This happens in our current beta named
distribution tree.

trivial patch to fix the build with the upcoming libtool
version.  It will be mandatory to use --mode while using libtool.
2007-10-10 10:52:46 -05:00
Volker Lendecke
d3b2921a8f r2566: Fix creation of aliases via usrmgr. Winbind was too strict checking the type
of sids.

Volker
2007-10-10 10:52:46 -05:00
Gerald Carter
e61986a11e r2564: resurrecting smbd/tdbutil.c 2007-10-10 10:52:46 -05:00
Jeremy Allison
9cbe685d02 r2548: Fix for bug reported by Edward Spragins <spragins@gmail.com> - don't try to
set security descriptors on shares where this has been turned off.
Jeremy.
2007-10-10 10:52:46 -05:00
Jeremy Allison
45707b5700 r2540: Fix it the way Henrik Nordstrom (the patch author) wants :-).
Jeremy.
2007-10-10 10:52:46 -05:00
Jeremy Allison
b5edad8b60 r2528: Ensure MIN is defined as a macro so it's not undefined in the .so.
Fix from Andreas <andreas@conectiva.com.br>.
Jeremy.
2007-10-10 10:52:45 -05:00
Jeremy Allison
a278dca1b2 r2482: Fix from Arthur van Dongen <avdongen@xs4all.nl> to fix acces -> access typos.
Jeremy.
2007-10-10 10:52:45 -05:00
Jeremy Allison
2815b31e01 r2481: Patch from Igor Belyi <sambauser@katehok.ac93.org>. Ensure pdb
user is deleted first before deleting UNIX user (LDAP backend
needs this ordering).
Jeremy.
2007-10-10 10:52:45 -05:00
Jeremy Allison
0351bf8b03 r2479: Stop attribute "modifyTimestamp" from being deleted.
Jeremy.
2007-10-10 10:52:45 -05:00
Günther Deschner
4aa670385f r2477: Document "--destination" for "net rpc [printer|share] migrate".
Guenther
2007-10-10 10:52:45 -05:00
Günther Deschner
224920738f r2476: now that PRINTER_ATTRIBUTE_PUBLISHED does not get reset anymore, migrate
the publishing-state for migrated printers as well.

Therefor added client-side-support for setprinter level 7.

Next will be a "net rpc printer publish"-command (just for completeness).

Guenther
2007-10-10 10:52:45 -05:00
Günther Deschner
486bcff17f r2475: A more helpful debug-message when a connection to a dfs-proxy-share is
failing.

Guenther
2007-10-10 10:52:44 -05:00
Günther Deschner
6239a5bec9 r2474: (re-)fix memleak (initially found by jra).
heimdal 0.6.1rc3 had a bug causing winbindd to die, heimdal version
0.6.1 and higher have that fixed (thanks to Love from Heimdal).

SuSE has been informed about this possible pitfall, any other vendors
that ship with heimdal-0.6.1rc3 to be notified ?

Guenther
2007-10-10 10:52:44 -05:00
Jelmer Vernooij
8be3fa5bfa r2473: Convert internal data to UTF-8 before calling libxml2 2007-10-10 10:52:44 -05:00
Günther Deschner
4bd9d8240b r2472: Fixed krb5_krbhost_get_addrinfo()-parameters and make failure
of this call non-critical.

Thanks to Love for the patch and explaining the inner workings of
heimdal.

Guenther
2007-10-10 10:52:44 -05:00
Volker Lendecke
8a28475a0b r2470: Fix bug 1797: winbind and nmbd ignored "-l" option.
Thanks to Igor Zhbanov bsg@uniyar.ac.ru.

Volker
2007-10-10 10:52:44 -05:00
Volker Lendecke
587d863ae8 r2466: Fix memleak found by sean.chandler@verizon.net.
Thanks!

Volker
2007-10-10 10:52:44 -05:00
Tim Potter
9481f2a79e r2453: I think this is the last lot of fixes to get shared libraries working on
HPUX.  This is Richard Allen's suggestion to get HPUX to use cc instead of
ld.

Also he added some missing $(DYNEXP) on link lines and removed the definition
of $(LINK) as it is no longer used in the Makefile.
2007-10-10 10:52:44 -05:00
Jeremy Allison
bcc769de4d r2451: Fix from Henrik Nordstrom <hno@squid-cache.org> to allow
winbindd to return the correct number of groups when the
groups array must be enlarged.
Jeremy.
2007-10-10 10:52:43 -05:00
Gerald Carter
4ba98cb469 r2450: don't limit the number of groups returned by winbindd_getgroups() 2007-10-10 10:52:43 -05:00
Volker Lendecke
6957d6a892 r2444: Based on jmcd's patch, implement special lists for the ldap user attributes to
delete.

Richard, IMHO this is the better solution to the problem you currently
have. Please review.

Thanks,

Volker
2007-10-10 10:52:43 -05:00
Volker Lendecke
410d2c3ebb r2440: Use sys_fork instead of fork for the dual daemon so that we get the
correct debug pid in the logfiles.

Volker
2007-10-10 10:52:43 -05:00
Christopher R. Hertel
b3997aeaf4 r2420: Way back at the 1st SambaXP, Simo pointed out a subtle bug related to the
interaction between the splay tree code and the code used to find a leaf
node.  The problem is rare, and with most sites using the newer hashing
algorithm it's probably not important to fix it.  I have fixed it,
however.
2007-10-10 10:52:43 -05:00
Jeremy Allison
e1bf108ae9 r2413: Arggg. Stupid, stupid, stupid me ! I added a paranoia test
case when I was developing the deferred open case and made it
too tight. It will fire (incorrectly) and panic when a client
does a second open for a file with a different mid (multiplex-id)
request. Doh ! This is a perfectly valid thing for a client to
do (have two pending opens with different mids outstanding on
the same file) and currently when the first pending open expires
with a share violation the paranoia code will panic smbd.

It's a rare condition, but obvious now I've looked at the
code.

Fix for bug #1743.

Jeremy.
2007-10-10 10:52:42 -05:00
Jeremy Allison
cd910ffc51 r2396: Fix bug found by Cornelio Bondad Jr <Corny.Bondad@hp.com>.
To correct “net rpc vampire” core dump.
Jeremy.
2007-10-10 10:52:42 -05:00
Jeremy Allison
9a6e331639 r2395: Patch from "Stefan (metze) Metzmacher" <metze@samba.org> to fix
opening of quota file.
Jeremy.
2007-10-10 10:52:42 -05:00
Jeremy Allison
afa88868b7 r2392: Steal the nicer error message from Samba4 :-).
Jeremy.
2007-10-10 10:52:42 -05:00
Jelmer Vernooij
4e29698467 r2390: Update some URLs and locations in README 2007-10-10 10:52:42 -05:00
Stefan Metzmacher
54fd28f5e7 r2388: fix client quota support
for the client we need the windows path and for server we need unix path

metze
2007-10-10 10:52:42 -05:00
Volker Lendecke
639cb4ced6 r2378: Remove two confusing #defines 2007-10-10 10:52:41 -05:00
Jeremy Allison
727fc341b5 r2374: Fix from Vince Brimhall vbrimhall@novell.com for
ldapsam_compat. Be robust against NULL attributes.
Jeremy.
2007-10-10 10:52:41 -05:00
Jeremy Allison
b1033fc77c r2373: Fix typo.
Jeremy.
2007-10-10 10:52:41 -05:00
Jeremy Allison
330025d1a6 r2371: Fix for talking to OS/2 clients (max_mux ignored) by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>.
Bugid #1590.
Jeremy.
2007-10-10 10:52:41 -05:00
Jeremy Allison
b910e53002 r2369: Fix from Richard Renard <rrenard@idealx.com> to fix usermgr and trust relationships.
Jeremy.
2007-10-10 10:52:41 -05:00
Tim Potter
0f1ffe0f30 r2364: Include yp_prot.h before ypclnt.h as AIX 5.2 spits the dummy otherwise.
Bugzilla #1778.
2007-10-10 10:52:41 -05:00
Jeremy Allison
b2b6d6e890 r2363: Fix to make find_workgroup use the same truncation as
create_workgroup (refactor to a common function).
Patch from Paul Szabo - psz@maths.usyd.edu.au.
Jeremy.
2007-10-10 10:52:40 -05:00
Jeremy Allison
d434d8e2b4 r2361: Fix the appalling toktocliplist() fn. Bug found by Luis Benvenutto.
Jeremy.
2007-10-10 10:52:40 -05:00
Jeremy Allison
d6b26f9db7 r2355: Now we've shipped 3.0.7, add in the DOS fix.
Jeremy.
2007-10-10 10:52:40 -05:00
Volker Lendecke
11f617eafd r2351: Fix use of an uninitialized variable. valgrind is sooo useful.
Volker
2007-10-10 10:52:40 -05:00
Stefan Metzmacher
39f3f76ea2 r2348: fix segmention faults
in smbcquotas and smbcacls caused by setup_logging() (-r 1425)

metze
2007-10-10 10:52:40 -05:00
Volker Lendecke
75e5c13d5d r2340: Solve the problem of user sids ending up with gid's and vice versa: This
belongs into winbind itself, not into wbinfo.

Volker
2007-10-10 10:52:40 -05:00
Tim Potter
8d00f7310c r2338: Remove lonely looking definition of DYNEXP for HPUX in the configure
"CPPFLAG settings for strange OS's section".  DYNEXP should only be
set in the shared library configure section.
2007-10-10 10:52:40 -05:00
Tim Potter
9f241a8f2a r2334: Update LDSHFLAGS for HPUX as -Wl is not necessary as we are invoking LD
directly.  Should fix #1731.
2007-10-10 10:52:39 -05:00
Simo Sorce
05a80c3737 r2333: check the script is not a 0 lenght string 2007-10-10 10:52:39 -05:00
Simo Sorce
f836be323a r2331: check password script code and example from trunk 2007-10-10 10:52:39 -05:00
Jeremy Allison
8ae10c74ec r2317: Fixup error messages and reformat.
Jeremy.
2007-10-10 10:52:39 -05:00