1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

17109 Commits

Author SHA1 Message Date
Herb Lewis
1feda3649f r4103: lock timeout is in milliseconds (as in reply.c) 2007-10-10 10:53:34 -05:00
Gerald Carter
56b1110c71 r4094: BUG 2107: fix memory bloating caused by large numbers of print_queue_updates() requests sent via messages.tdb 2007-10-10 10:53:34 -05:00
Jeremy Allison
2ed86ac584 r4092: Bring into line with new *alloc rules.
Jeremy.
2007-10-10 10:53:33 -05:00
Gerald Carter
e3decbc441 r4089: fix logic error in add_a_form() that only compared N characters instead of the entire form name 2007-10-10 10:53:32 -05:00
Jeremy Allison
620f2e608f r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Gerald Carter
12440744ba r4083: consolidate printer searches to use find_service rather than for loops 2007-10-10 10:53:31 -05:00
Gerald Carter
c24a3c49ce r4043: BUG 2091: don't remove statically defined printers in remove_stale_printers() 2007-10-10 10:53:31 -05:00
Jeremy Allison
a1e5a2a6ab r4032: Fix bug #2110 - ensure we convert to ucs2 correctly.
Jeremy.
2007-10-10 10:53:30 -05:00
Gerald Carter
26bbad62b9 r4030: patch from Rob -- don't force the cups printer-make-and-model tag as the comment for autoloaded printers 2007-10-10 10:53:29 -05:00
Gerald Carter
18915f59e4 r4029: solaris packaging fixes from Rob 2007-10-10 10:53:29 -05:00
Gerald Carter
a64505d52f r4028: * prevent the background LPQ daemon from updating
the print queue cache just because multiple smbd
  processes sent a message that it was out of date.

* add some extra debug messages while trying to track down
  down jobs being left in the queue after printing has
  completed.
2007-10-10 10:53:28 -05:00
Jeremy Allison
ebaf21e3e2 r4023: Code tidyup to fix bug #2098.
Jeremy.
2007-10-10 10:53:28 -05:00
Jeremy Allison
6f6b4c61e0 r4020: Fix for crash reported by Bård Kalbakk <baard@inett.biz>.
Don't go fishing for the authorisation data unless we
know it's there.
Jeremy.
2007-10-10 10:53:28 -05:00
Gerald Carter
5fc0f838e7 r4019: better error logging in register_message_flags() from Rob 2007-10-10 10:53:28 -05:00
Gerald Carter
88747a7da3 r4018: * move claim_connection from the netbios session request
reply code to the negprot reply code to cope with
  client connections on port 445.  Fixes the spurious
  "register_message_flags: tdb fetch failed" errors.

* don't run the backgroup LPQ daemon when we are running
  in interactive mode.
2007-10-10 10:53:27 -05:00
Jeremy Allison
7e78059948 r4016: Fix for bug found by Steve French client code (cifsfs) on
POSIX ACL set. You need to *get* a permset_t pointer from the entry before
any of the permset code will accept it as a valid value
Jeremy.
2007-10-10 10:53:27 -05:00
Jeremy Allison
6711cb8b02 r4009: Fix from Timur Bakeyev <timur@com.bat.ru> for bugid #2100,
change the way we check for errors after a dlopen (which
may set internal warnings which get picked up by mistake
in dlsym).
Jeremy
2007-10-10 10:53:27 -05:00
Jeremy Allison
fbbdb72cf1 r4007: Fix bug #2088 - ensure inherit permissions is only applied on a new file,
not an existing one.
Jeremy.
2007-10-10 10:53:27 -05:00
Jeremy Allison
b926480d05 r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
Use correct enum type for comparisons.
Jeremy.
2007-10-10 10:53:27 -05:00
Jelmer Vernooij
7751f46cc7 r3987: Use sys_readdir() instead of readdir() 2007-10-10 10:53:27 -05:00
Jelmer Vernooij
5cee4e9478 r3985: Fix bug with 64bit fs support 2007-10-10 10:53:27 -05:00
Jelmer Vernooij
99dc2f36d1 r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql}
- Use new DTD URL in pdb_xml
2007-10-10 10:53:26 -05:00
Andrew Tridgell
04a6573f89 r3954: bring Samba3 into line with the Samba4 password change code 2007-10-10 10:53:26 -05:00
Jeremy Allison
934c41b474 r3951: Fix for bugid #2081 reported by John Janosik <jpjanosi@us.ibm.com> - ensure
SE_DESC_DACL_PROTECTED is set if "map acl inherit = no".
Jeremy.
2007-10-10 10:53:26 -05:00
Jeremy Allison
05b905a28f r3948: Fix incorrect declaration. Bug #2083.
Jeremy.
2007-10-10 10:53:26 -05:00
Jeremy Allison
65dfae7ea4 r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use consistent
enum type for Protocol extern.
Jeremy.
2007-10-10 10:53:26 -05:00
Jeremy Allison
78236382f7 r3944: Fix the problem we get on Linux where sendfile fails, but we've already sent the
header using send(). As our implementation of sendfile can't return EINTR (it
restarts in that case) use an errno of EINTR to signal the linux sendfile fail
after header case. When that happens send the rest of the data and then turn
off sendfile. Sendfile should be safe to enable on all systems now (even though
it may not help in all performance cases).
Jeremy.
2007-10-10 10:53:26 -05:00
Günther Deschner
412ff4a129 r3940: typo.
Guenther
2007-10-10 10:53:25 -05:00
Jeremy Allison
5541001cf9 r3936: Ensure LARGE_READX response must fit within reply buffer.
Jeremy.
2007-10-10 10:53:25 -05:00
Jeremy Allison
f9effa2af9 r3934: Correctly check for the top length bit in LARGE_READX.
Jeremy.
2007-10-10 10:53:25 -05:00
Jeremy Allison
8e979772a6 r3931: Fix all "may be used uninitialized" and "shadow" warnings.
Jeremy.
2007-10-10 10:53:25 -05:00
Jeremy Allison
9d367ac636 r3929: Dead code elimination fix for bug #2075 from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 10:53:25 -05:00
Tim Potter
3ebfd137b2 r3928: Fix duplicate call to pdb_get_acct_desc(). Bugzilla #2080. 2007-10-10 10:53:25 -05:00
Gerald Carter
3bbae21dc9 r3925: patch from Thomas Bork <tombork@web.de> to fix configure.in with GNU ld versions that don't output a date string in the --version 2007-10-10 10:53:24 -05:00
Gerald Carter
ddb5823ac2 r3924: fix installswat once again after the image target location had changed in the docs 2007-10-10 10:53:24 -05:00
Gerald Carter
b0e44b11b3 r3923: BUG 2073: fall back to smb_name if current_user_info is not available in lp_file_list_changed() 2007-10-10 10:53:24 -05:00
Günther Deschner
13d32519e3 r3918: Allow to set OWNER- and GROUP-entries while setting security descriptors
with smbcacls and using with the -S or -M switch. Fixes #404 and #2076.

Guenther
2007-10-10 10:53:24 -05:00
Günther Deschner
1680446ce2 r3912: More fixes to have proper german in swat.
(The new german orthography is another story...)

Thanks to Reiner Klaproth and Björn Jacke <bjacke@sernet.de>.

Guenther
2007-10-10 10:53:24 -05:00
Günther Deschner
52dea588fd r3911: typo.
Guenther
2007-10-10 10:53:24 -05:00
Jeremy Allison
47bab92c0b r3895: Fix for bug #2045. May also fix other timestamp bugs with Excel
(Volker please test). Setting a last write timestamp from Windows
overrides any subsequent write timestamp changes and must be immediately
seen by and findfirst/findnexts. This is a racy solution, but should
work most of the time. This may also fix #1061, not sure.
Jeremy.
2007-10-10 10:53:24 -05:00
Jeremy Allison
eead77919b r3892: Fix "might be used uninitialized" error.
Jeremy.
2007-10-10 10:53:24 -05:00
Jeremy Allison
984c350635 r3889: Only set mtime from pending_modtime if it's not already zero...
Jeremy.
2007-10-10 10:53:23 -05:00
Volker Lendecke
2d952c86c7 r3883: Fix error return -- thanks to rsharpe 2007-10-10 10:53:23 -05:00
Volker Lendecke
5c9fd4d896 r3882: Fix bug 2069 -- thanks to jason@ncac.gwu.edu 2007-10-10 10:53:23 -05:00
Jeremy Allison
1fd1a98782 r3880: Tidy up some unused/shadowed variable usage.
Jeremy.
2007-10-10 10:53:23 -05:00
Jeremy Allison
65fc39fc38 r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.
Jeremy.
2007-10-10 10:53:23 -05:00
Günther Deschner
bb191c1098 r3875: Allow to look up at least or own sid in _lsa_lookup_sids.
This fixes Bugzilla #1076 and Exchange 5.5 SP4 can then be finally
installed on NT4 in a samba-controlled domain.

Guenther
2007-10-10 10:53:22 -05:00
Volker Lendecke
3cdde7071b r3873: The semantics of the parameter 'printcap name' are a bit tricky. I had seen
the effect that I could not list printers with smbclient -L. I have cups
libraries but no running cups server, so remove_stale_printers() removed all
my printer definitions from the share list. So I said 'printing = bsd' but it
still would not work.

This happened because init_globals() would initialize Globals.szPrintcapname
to "cups", and the explicit 'printing = bsd' did not reset it. 'printing=bsd'
can't reset it, as this might overwrite an explicit setting. Thus I separated
the lp_printcapname into a function of its own, looking at
Globals.szPrintcapname and subsequently at sDefault.iPrinting.

Please revisit, there are just too many cases to cover.

Thanks,

Volker
2007-10-10 10:53:22 -05:00
Volker Lendecke
dbfdde5f63 r3871: Fix memleak 2007-10-10 10:53:22 -05:00
Günther Deschner
8d987d2f38 r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)
Guenther
2007-10-10 10:53:22 -05:00