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

14392 Commits

Author SHA1 Message Date
Günther Deschner
f3074443dc r4130: add bad_password_count and logon_count to vampire (inspired by a patch
from Lars Mueller <lmuelle@suse.de>), just for completeness.

Note that though we have logon_count implemented in all pdb-backends but
never (for good reason!) update the counter.

Guenther
(This used to be commit a03aa0956813998dbbc3c68f6bc5214fd720cdb2)
2007-10-10 10:53:35 -05:00
Volker Lendecke
4f0088f7e9 r4128: Cron jobs etc seem to do an initgroups for root quite frequently. So
log.winbindd is spammed with 'user root does not exist'. Increase debug level.

Volker
(This used to be commit 7256771dd01029ed103896c0825bb91b88757015)
2007-10-10 10:53:35 -05:00
Günther Deschner
b0beeb8123 r4127: vampire munged_dial.
Guenther
(This used to be commit eb64eb9d572e12b28a67779746b8ddc191497c09)
2007-10-10 10:53:35 -05:00
Jeremy Allison
92a7eb69d3 r4126: Fix from Björn Jacke <bjoern@j3e.de> for bugid #2040 - ensure the locale
is reset to C to get ASCII-compatible toupper/lower functions.
Jeremy.
(This used to be commit 8e1b1693abf1e6eb46b23a5fa56776fc2ede7982)
2007-10-10 10:53:35 -05:00
Jeremy Allison
822fcec39d r4121: Optimisation from Nadav Danieli <nadavd@exanet.com>. If we're oplocked,
short circuit some is_locked() tests.
Jeremy.
(This used to be commit f4feed8f90be98eaea59bebcc142fd398ffe2a59)
2007-10-10 10:53:35 -05:00
Jeremy Allison
e53d780628 r4120: Never, ever, doubt valgrind :-). Fix order of evaluation bug that's been in the
bitmap code for ever. Remove silly extra space in paranoid malloc.
Jeremy.
(This used to be commit 0a7d17bc9b178628da371e627014412e9bef5d42)
2007-10-10 10:53:34 -05:00
Jeremy Allison
695188cc26 r4108: As check_self is *always* False in every invokation, remove the
logic for it. We still pass Samba4 RAW-LOCK test.
Jeremy.
(This used to be commit 596f23051363f8cc8896119b3eca0663a61a38c3)
2007-10-10 10:53:34 -05:00
Herb Lewis
c7385a29d8 r4103: lock timeout is in milliseconds (as in reply.c)
(This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b)
2007-10-10 10:53:34 -05:00
Gerald Carter
bc7142ce23 r4094: BUG 2107: fix memory bloating caused by large numbers of print_queue_updates() requests sent via messages.tdb
(This used to be commit 56b1110c71b17eeb2ebdb7d506d86deb6b81f0d5)
2007-10-10 10:53:34 -05:00
Gerald Carter
7ab25a7ae1 r4089: fix logic error in add_a_form() that only compared N characters instead of the entire form name
(This used to be commit e3decbc441686486903a4863daa862ed1672e405)
2007-10-10 10:53:32 -05:00
Jeremy Allison
acf9d61421 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.
(This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10 10:53:32 -05:00
Gerald Carter
3bd3be97dc r4083: consolidate printer searches to use find_service rather than for loops
(This used to be commit 12440744ba36445186042c8c254785766cce5385)
2007-10-10 10:53:31 -05:00
Gerald Carter
57c468bbf1 r4043: BUG 2091: don't remove statically defined printers in remove_stale_printers()
(This used to be commit c24a3c49ce20797c0f9172e503e34770d00842ec)
2007-10-10 10:53:31 -05:00
Jeremy Allison
d7a1c4f79c r4032: Fix bug #2110 - ensure we convert to ucs2 correctly.
Jeremy.
(This used to be commit a1e5a2a6ab1abc9add7a606e2e3f2d6c88dcf96c)
2007-10-10 10:53:30 -05:00
Gerald Carter
8fe6d35761 r4030: patch from Rob -- don't force the cups printer-make-and-model tag as the comment for autoloaded printers
(This used to be commit 26bbad62b9cfef4f2bb5cd3f2b2b7d13017e6439)
2007-10-10 10:53:29 -05:00
Gerald Carter
90bd2b4fd0 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.
(This used to be commit a64505d52fcb23374711e22b3df328c9a7848b84)
2007-10-10 10:53:28 -05:00
Jeremy Allison
bd43910331 r4023: Code tidyup to fix bug #2098.
Jeremy.
(This used to be commit ebaf21e3e289d3570f20b22e00555eaebe060063)
2007-10-10 10:53:28 -05:00
Jeremy Allison
e7a0aabc2e 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.
(This used to be commit 6f6b4c61e03afb4d35bf6b3ea468fb211d703aa7)
2007-10-10 10:53:28 -05:00
Gerald Carter
5f67f01258 r4019: better error logging in register_message_flags() from Rob
(This used to be commit 5fc0f838e7ec8b29d7987caafe9ffbb8724a3176)
2007-10-10 10:53:28 -05:00
Gerald Carter
2fffc40b1d 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.
(This used to be commit 88747a7da351261185222e78e9c8d470ff53a246)
2007-10-10 10:53:27 -05:00
Jeremy Allison
01533404b1 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.
(This used to be commit 7e78059948612fa9f5d179a1e3f5f59e7ad5e456)
2007-10-10 10:53:27 -05:00
Jeremy Allison
93435b5096 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
(This used to be commit 6711cb8b02f96d04af82d30b1274f76dc5461dc2)
2007-10-10 10:53:27 -05:00
Jeremy Allison
46f546571b r4007: Fix bug #2088 - ensure inherit permissions is only applied on a new file,
not an existing one.
Jeremy.
(This used to be commit fbbdb72cf1adfe567112556626f26b031747f440)
2007-10-10 10:53:27 -05:00
Jeremy Allison
b9fcb5b961 r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
Use correct enum type for comparisons.
Jeremy.
(This used to be commit b926480d053e42205e959b9808a6e3bb90db9ce5)
2007-10-10 10:53:27 -05:00
Jelmer Vernooij
86d528928d r3987: Use sys_readdir() instead of readdir()
(This used to be commit 7751f46cc77887cd050b44eebb28909a871d4f6b)
2007-10-10 10:53:27 -05:00
Jelmer Vernooij
06f4c02659 r3985: Fix bug with 64bit fs support
(This used to be commit 5cee4e94786c6fd63dab1a9805914a9ce6aa7227)
2007-10-10 10:53:27 -05:00
Jelmer Vernooij
2956b574df r3974: - Fix assignment of a couple of fields in pdb_{mysql,pgsql}
- Use new DTD URL in pdb_xml
(This used to be commit 99dc2f36d1f637906d47e98dbd4d5eb1f1cc4357)
2007-10-10 10:53:26 -05:00
Andrew Tridgell
c3a798cb7a r3954: bring Samba3 into line with the Samba4 password change code
(This used to be commit 04a6573f894800b9d939d9b4be48790437352804)
2007-10-10 10:53:26 -05:00
Jeremy Allison
f3cb4f31a2 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.
(This used to be commit 934c41b474c8959310389378bfa7d3332bd5ec79)
2007-10-10 10:53:26 -05:00
Jeremy Allison
c5c2dd6dba r3948: Fix incorrect declaration. Bug #2083.
Jeremy.
(This used to be commit 05b905a28f349a2741e0963e41ad624a8f0b9fb8)
2007-10-10 10:53:26 -05:00
Jeremy Allison
482f14871d r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use consistent
enum type for Protocol extern.
Jeremy.
(This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
2007-10-10 10:53:26 -05:00
Jeremy Allison
314ec086f3 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.
(This used to be commit 78236382f7ffe08d7924907be49493779521837f)
2007-10-10 10:53:26 -05:00
Günther Deschner
3bd5c9a838 r3940: typo.
Guenther
(This used to be commit 412ff4a129c5e719aa4d4e4856500ff59c82b939)
2007-10-10 10:53:25 -05:00
Jeremy Allison
97bb32d61f r3936: Ensure LARGE_READX response must fit within reply buffer.
Jeremy.
(This used to be commit 5541001cf98aa9afb8f98ebeb91561348d3f5d74)
2007-10-10 10:53:25 -05:00
Jeremy Allison
44b5067e32 r3934: Correctly check for the top length bit in LARGE_READX.
Jeremy.
(This used to be commit f9effa2af90245c0fe090d730c86a2a60d8570dc)
2007-10-10 10:53:25 -05:00
Jeremy Allison
90a18110e9 r3931: Fix all "may be used uninitialized" and "shadow" warnings.
Jeremy.
(This used to be commit 8e979772a640bb4f00f4d72b6a9c837b8ef14333)
2007-10-10 10:53:25 -05:00
Jeremy Allison
b321a8a9ad r3929: Dead code elimination fix for bug #2075 from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 9d367ac636d7d88cd4756531bd8412f8d6d16d14)
2007-10-10 10:53:25 -05:00
Tim Potter
cbba4885f3 r3928: Fix duplicate call to pdb_get_acct_desc(). Bugzilla #2080.
(This used to be commit 3ebfd137b2d8f393874561046ef79f4d9a8cae52)
2007-10-10 10:53:25 -05:00
Gerald Carter
dc42a6c3c4 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
(This used to be commit 3bbae21dc9d8147a40cac7962e44fe37630efb40)
2007-10-10 10:53:24 -05:00
Gerald Carter
07d8bf0f8f r3924: fix installswat once again after the image target location had changed in the docs
(This used to be commit ddb5823ac23b8d61c29d73f4f5bae1c3a319a1f4)
2007-10-10 10:53:24 -05:00
Gerald Carter
5cd96ef0cf r3923: BUG 2073: fall back to smb_name if current_user_info is not available in lp_file_list_changed()
(This used to be commit b0e44b11b36dcd89a8c825911efadbeeac9faab5)
2007-10-10 10:53:24 -05:00
Günther Deschner
76a1bcd655 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
(This used to be commit 13d32519e3806d7c080a0ac3c5ba196868ed2581)
2007-10-10 10:53:24 -05:00
Günther Deschner
7e64659f65 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
(This used to be commit 1680446ce2d75c7efc5f49d5157d092eccda4696)
2007-10-10 10:53:24 -05:00
Günther Deschner
94dd257586 r3911: typo.
Guenther
(This used to be commit 52dea588fd0b40a32c56b5634315b149fc088907)
2007-10-10 10:53:24 -05:00
Jeremy Allison
9038a56f82 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.
(This used to be commit 47bab92c0b062f3fefbb4fd4a09852e1c829a7f9)
2007-10-10 10:53:24 -05:00
Jeremy Allison
9604545ed8 r3892: Fix "might be used uninitialized" error.
Jeremy.
(This used to be commit eead77919b05e0a2bed32a4a192dd0d9e6a86008)
2007-10-10 10:53:24 -05:00
Jeremy Allison
5a83636948 r3889: Only set mtime from pending_modtime if it's not already zero...
Jeremy.
(This used to be commit 984c3506351ba97f74813d678424858508c4197a)
2007-10-10 10:53:23 -05:00
Volker Lendecke
9b734922b5 r3883: Fix error return -- thanks to rsharpe
(This used to be commit 2d952c86c7e92fff48b4773ab46987d905b214cc)
2007-10-10 10:53:23 -05:00
Volker Lendecke
09b49ee92f r3882: Fix bug 2069 -- thanks to jason@ncac.gwu.edu
(This used to be commit 5c9fd4d8963130829684469be172e859b3799e27)
2007-10-10 10:53:23 -05:00
Jeremy Allison
9b8bedf2fe r3880: Tidy up some unused/shadowed variable usage.
Jeremy.
(This used to be commit 1fd1a98782c3ca7171428b62336936aef4c6685b)
2007-10-10 10:53:23 -05:00