Tim Potter [Sun, 19 Dec 2004 00:31:31 +0000 (00:31 +0000)]
r4268: Merge fix for bugzilla #2150.
(This used to be commit
f00ae4ab0c36a623257861fb65373b39cf075921)
Tim Potter [Fri, 17 Dec 2004 22:16:30 +0000 (22:16 +0000)]
r4260: Change the license for the winbindd external interface more liberal.
(This used to be commit
82b9faaaa2e1e2986a15102605739e7d13885ac6)
Tim Potter [Fri, 17 Dec 2004 21:59:47 +0000 (21:59 +0000)]
r4259: Fix cast in SMB_XMALLOC_ARRAY. Bugzilla #2168.
(This used to be commit
0c3bb181e8f4d10d446f9211904d53f42ddcbaeb)
Günther Deschner [Fri, 17 Dec 2004 13:14:22 +0000 (13:14 +0000)]
r4258: strlower username, not (non-existing) domain_username.
Guenther
(This used to be commit
4f10666295ff7c086ac2a38e0a5f0ac80b57b9a0)
Volker Lendecke [Fri, 17 Dec 2004 11:42:10 +0000 (11:42 +0000)]
r4256: Add a patch from kllin@it.su.se: New Parameter 'afs token lifetime' tells the
AFS client when to throw away a token.
Thanks,
Volker
(This used to be commit
836a8277b2281bcdb6eab8339b05bec61b49eb74)
Volker Lendecke [Fri, 17 Dec 2004 10:20:53 +0000 (10:20 +0000)]
r4254: Add an undocumented hack. I had to delete a wrong mapping (a user that had
ended up as a gid in winbindd_idmap.tdb) from winbindd_idmap.tdb. Stopping
winbind was not an option on that machine....
net idmap delete <idmap-file> <SID>
Thanks,
Volker
(This used to be commit
27c16733c13bb1c91d356f1c9f5c1f069e24cca2)
Volker Lendecke [Fri, 17 Dec 2004 09:35:54 +0000 (09:35 +0000)]
r4252: Comment clarification from Love Hörnquist Åstrand <lha@stacken.kth.se>.
Thanks,
Volker
(This used to be commit
207625c7ab8ce41d7b59981e6a767dc299178335)
Volker Lendecke [Fri, 17 Dec 2004 09:05:41 +0000 (09:05 +0000)]
r4251: AFS does not cope with spaces in file names. Implement a stupid mapping that
maps the space to another character choosable by afsacl:space.
Volker
P.S: Who is "OH"? ;-)
(This used to be commit
e717ff70c6ce15bad7a792a592b42ecd057acc01)
Volker Lendecke [Fri, 17 Dec 2004 08:51:23 +0000 (08:51 +0000)]
r4248: Implement smbstatus -n, don't lookup users and groups. On heavily loaded
winbind systems, looking up hundreds of users can turn out to be a bit too
expensive if you just want to find out which smbd handles a particular IP
address.
Volker
P.S: Who is "OH"? ;-)
(This used to be commit
d878563ef0c9aa21a12cc5a88dcb17ef8c4bcf5a)
Jeremy Allison [Thu, 16 Dec 2004 21:16:48 +0000 (21:16 +0000)]
r4241: More *alloc fixes.
Jeremy.
(This used to be commit
ec9606f00b52eb0d3a1a4c5eb98d171660ef19ad)
Jeremy Allison [Thu, 16 Dec 2004 21:14:08 +0000 (21:14 +0000)]
r4238: More *alloc fixes.
Jeremy.
(This used to be commit
4d971806f4e4f5523227e378125d5601a5df271d)
Jeremy Allison [Thu, 16 Dec 2004 21:12:29 +0000 (21:12 +0000)]
r4236: More *alloc fixes.
Jeremy.
(This used to be commit
6b25a6e088390d33314ca69c8f17c869cec3904b)
Jeremy Allison [Thu, 16 Dec 2004 21:06:33 +0000 (21:06 +0000)]
r4234: More malloc fixes to use the macros.
Jeremy.
(This used to be commit
61479f56be60a3c2ae0f7b931335cb1da77540c2)
Günther Deschner [Wed, 15 Dec 2004 19:37:35 +0000 (19:37 +0000)]
r4226: display infolevel 12 in query_dom_info.
Guenther
(This used to be commit
d25f303f317ef6ec96799d396ca65ac500cae0ae)
Volker Lendecke [Wed, 15 Dec 2004 15:39:23 +0000 (15:39 +0000)]
r4224: Today is not my day ....
(This used to be commit
40b208b25212f84faeb7d54b7dc0dbb9f925b651)
Volker Lendecke [Wed, 15 Dec 2004 14:23:15 +0000 (14:23 +0000)]
r4222: Always compile before commit...
(This used to be commit
0f26ba5226fab5b86031a0df6fba16b8e6af6e7d)
Günther Deschner [Wed, 15 Dec 2004 14:16:12 +0000 (14:16 +0000)]
r4221: when in the multi-mapping mode of idmap_rid:
allow BUILTIN domain-mapping.
Guenther
(This used to be commit
e3b067ee99e304aa9e165dae5fcb0546cec711e2)
Volker Lendecke [Wed, 15 Dec 2004 13:13:15 +0000 (13:13 +0000)]
r4219: Fix samba3 samr "idl"... According to samba4 idl samr_DomInfo2 contains a
comment string and not an unknown 12 byte structure...
Found after abartlet's smbtorture extended this string to
"Tortured by Samba4: Fri Nov 26 15:40:18 2004 CET"
;-))
Volker
(This used to be commit
b41d94d8186f66136918432cf32e9dcef5a8bd12)
Volker Lendecke [Wed, 15 Dec 2004 12:05:48 +0000 (12:05 +0000)]
r4217: Fix open_any_socket_out.
This was a missing merge from HEAD or rather a commit to 3_0 from the wrong
source. Fixed slightly over HEAD, HEAD merge will follow.
Deal with connection refused according to the specs.
Volker
(This used to be commit
7230cb87eba2c296217bb0255893c55ae5d695d3)
Günther Deschner [Wed, 15 Dec 2004 10:12:10 +0000 (10:12 +0000)]
r4216: fix segfault in idmap_rid
(only ever shows up when the somewhat hidden
IDMAP_RID_SUPPORT_TRUSTED_DOMAINS - define is set).
Thanks to Stephan Martin <sm@suse.de> for reporting this bug.
Guenther
(This used to be commit
e7b81d679b487734e12a948f30f0ad88240f17f1)
Jeremy Allison [Wed, 15 Dec 2004 01:25:24 +0000 (01:25 +0000)]
r4212: Ensure we only look at the bottom bit of large_readx.
Set the 14 word version of write if size > 0xffff as
well as 64-bit offset.
Jeremy.
(This used to be commit
94779ccb39560bf5eecab77d70f1fa04bfcf1456)
John Terpstra [Tue, 14 Dec 2004 23:05:27 +0000 (23:05 +0000)]
r4208: Set version to 3.0.11
(This used to be commit
8622fdcc50dfb4fa09c9b3dff2140a68454d3146)
Jeremy Allison [Tue, 14 Dec 2004 01:11:22 +0000 (01:11 +0000)]
r4190: When changing length calculations, get them right......
Jeremy.
(This used to be commit
63cfa904ad186bb9d793584d319bd4a7107cc8b9)
Jeremy Allison [Tue, 14 Dec 2004 00:33:53 +0000 (00:33 +0000)]
r4188: Ensure we add in the upper length in the right place !
Jeremy.
(This used to be commit
9d4e57f06c4f75f42036e91401b0d0392647752b)
Jeremy Allison [Tue, 14 Dec 2004 00:25:11 +0000 (00:25 +0000)]
r4186: Fix client & server to allow 127k READX calls.
Jeremy.
(This used to be commit
831cb21a874601e4536c2cf76c5351e1d0defcb5)
Jeremy Allison [Tue, 14 Dec 2004 00:20:55 +0000 (00:20 +0000)]
r4184: Removed unused extern.
Jeremy.
(This used to be commit
72e39041e9fbb7f252292182d56b1927a8133be0)
Simo Sorce [Sat, 11 Dec 2004 17:09:28 +0000 (17:09 +0000)]
r4153: port from trunk of pdbedit changes
(This used to be commit
9b322f232c450e9525d5aa3b8267881b94ba4052)
Jeremy Allison [Sat, 11 Dec 2004 00:30:28 +0000 (00:30 +0000)]
r4143: Make strict locking an enum. Auto means use oplock optimization.
Jeremy.
(This used to be commit
0dd4adeae2042d0ea64398a78b3f48eb0150c133)
Gerald Carter [Fri, 10 Dec 2004 21:08:34 +0000 (21:08 +0000)]
r4134: check the setprinter(3) based on the access permissions on the handle and avoid the call to print_access_chaeck()
(This used to be commit
426634df9c221fbe4f48b4ff9d1b4b8426a581f7)
Günther Deschner [Fri, 10 Dec 2004 10:42:47 +0000 (10:42 +0000)]
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)
Volker Lendecke [Fri, 10 Dec 2004 10:30:59 +0000 (10:30 +0000)]
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)
Günther Deschner [Fri, 10 Dec 2004 09:45:03 +0000 (09:45 +0000)]
r4127: vampire munged_dial.
Guenther
(This used to be commit
eb64eb9d572e12b28a67779746b8ddc191497c09)
Jeremy Allison [Fri, 10 Dec 2004 05:49:48 +0000 (05:49 +0000)]
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)
Jeremy Allison [Thu, 9 Dec 2004 22:10:40 +0000 (22:10 +0000)]
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)
Jeremy Allison [Thu, 9 Dec 2004 21:42:00 +0000 (21:42 +0000)]
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)
Jeremy Allison [Thu, 9 Dec 2004 01:07:06 +0000 (01:07 +0000)]
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)
Herb Lewis [Wed, 8 Dec 2004 17:30:50 +0000 (17:30 +0000)]
r4103: lock timeout is in milliseconds (as in reply.c)
(This used to be commit
1feda3649fa5dd7233ea66057fc431948c87825b)
Gerald Carter [Wed, 8 Dec 2004 03:02:29 +0000 (03:02 +0000)]
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)
Jeremy Allison [Wed, 8 Dec 2004 01:52:23 +0000 (01:52 +0000)]
r4092: Bring into line with new *alloc rules.
Jeremy.
(This used to be commit
2ed86ac5844ce5893beb2bca351fee66cc3b4049)
Gerald Carter [Tue, 7 Dec 2004 19:00:45 +0000 (19:00 +0000)]
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)
Jeremy Allison [Tue, 7 Dec 2004 18:25:53 +0000 (18:25 +0000)]
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)
Gerald Carter [Mon, 6 Dec 2004 19:25:25 +0000 (19:25 +0000)]
r4083: consolidate printer searches to use find_service rather than for loops
(This used to be commit
12440744ba36445186042c8c254785766cce5385)
Gerald Carter [Thu, 2 Dec 2004 17:11:18 +0000 (17:11 +0000)]
r4043: BUG 2091: don't remove statically defined printers in remove_stale_printers()
(This used to be commit
c24a3c49ce20797c0f9172e503e34770d00842ec)
Jeremy Allison [Thu, 2 Dec 2004 00:55:47 +0000 (00:55 +0000)]
r4032: Fix bug #2110 - ensure we convert to ucs2 correctly.
Jeremy.
(This used to be commit
a1e5a2a6ab1abc9add7a606e2e3f2d6c88dcf96c)
Gerald Carter [Wed, 1 Dec 2004 21:11:54 +0000 (21:11 +0000)]
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)
Gerald Carter [Wed, 1 Dec 2004 21:01:27 +0000 (21:01 +0000)]
r4029: solaris packaging fixes from Rob
(This used to be commit
18915f59e4a3ef1cb32c2d119baa8906e1dc5976)
Gerald Carter [Wed, 1 Dec 2004 20:11:31 +0000 (20:11 +0000)]
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)
Jeremy Allison [Tue, 30 Nov 2004 22:57:41 +0000 (22:57 +0000)]
r4023: Code tidyup to fix bug #2098.
Jeremy.
(This used to be commit
ebaf21e3e289d3570f20b22e00555eaebe060063)
Jeremy Allison [Tue, 30 Nov 2004 18:58:58 +0000 (18:58 +0000)]
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)
Gerald Carter [Tue, 30 Nov 2004 15:55:27 +0000 (15:55 +0000)]
r4019: better error logging in register_message_flags() from Rob
(This used to be commit
5fc0f838e7ec8b29d7987caafe9ffbb8724a3176)
Gerald Carter [Tue, 30 Nov 2004 15:52:46 +0000 (15:52 +0000)]
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)
Jeremy Allison [Tue, 30 Nov 2004 06:41:38 +0000 (06:41 +0000)]
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)
Jeremy Allison [Tue, 30 Nov 2004 01:01:43 +0000 (01:01 +0000)]
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)
Jeremy Allison [Tue, 30 Nov 2004 00:22:04 +0000 (00:22 +0000)]
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)
Jeremy Allison [Mon, 29 Nov 2004 19:28:12 +0000 (19:28 +0000)]
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)
Jelmer Vernooij [Sat, 27 Nov 2004 19:02:45 +0000 (19:02 +0000)]
r3987: Use sys_readdir() instead of readdir()
(This used to be commit
7751f46cc77887cd050b44eebb28909a871d4f6b)
Jelmer Vernooij [Sat, 27 Nov 2004 18:57:44 +0000 (18:57 +0000)]
r3985: Fix bug with 64bit fs support
(This used to be commit
5cee4e94786c6fd63dab1a9805914a9ce6aa7227)
Jelmer Vernooij [Thu, 25 Nov 2004 20:55:31 +0000 (20:55 +0000)]
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)
Andrew Tridgell [Thu, 25 Nov 2004 04:10:19 +0000 (04:10 +0000)]
r3954: bring Samba3 into line with the Samba4 password change code
(This used to be commit
04a6573f894800b9d939d9b4be48790437352804)
Jeremy Allison [Thu, 25 Nov 2004 00:59:44 +0000 (00:59 +0000)]
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)
Jeremy Allison [Thu, 25 Nov 2004 00:25:53 +0000 (00:25 +0000)]
r3948: Fix incorrect declaration. Bug #2083.
Jeremy.
(This used to be commit
05b905a28f349a2741e0963e41ad624a8f0b9fb8)
Jeremy Allison [Thu, 25 Nov 2004 00:07:01 +0000 (00:07 +0000)]
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)
Jeremy Allison [Wed, 24 Nov 2004 22:05:59 +0000 (22:05 +0000)]
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)
Günther Deschner [Wed, 24 Nov 2004 09:44:57 +0000 (09:44 +0000)]
r3940: typo.
Guenther
(This used to be commit
412ff4a129c5e719aa4d4e4856500ff59c82b939)
Jeremy Allison [Wed, 24 Nov 2004 05:24:38 +0000 (05:24 +0000)]
r3936: Ensure LARGE_READX response must fit within reply buffer.
Jeremy.
(This used to be commit
5541001cf98aa9afb8f98ebeb91561348d3f5d74)
Jeremy Allison [Wed, 24 Nov 2004 03:42:01 +0000 (03:42 +0000)]
r3934: Correctly check for the top length bit in LARGE_READX.
Jeremy.
(This used to be commit
f9effa2af90245c0fe090d730c86a2a60d8570dc)
Jeremy Allison [Wed, 24 Nov 2004 01:03:23 +0000 (01:03 +0000)]
r3931: Fix all "may be used uninitialized" and "shadow" warnings.
Jeremy.
(This used to be commit
8e979772a640bb4f00f4d72b6a9c837b8ef14333)
Jeremy Allison [Tue, 23 Nov 2004 23:13:48 +0000 (23:13 +0000)]
r3929: Dead code elimination fix for bug #2075 from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit
9d367ac636d7d88cd4756531bd8412f8d6d16d14)
Tim Potter [Tue, 23 Nov 2004 20:50:16 +0000 (20:50 +0000)]
r3928: Fix duplicate call to pdb_get_acct_desc(). Bugzilla #2080.
(This used to be commit
3ebfd137b2d8f393874561046ef79f4d9a8cae52)
Gerald Carter [Tue, 23 Nov 2004 16:35:14 +0000 (16:35 +0000)]
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)
Gerald Carter [Tue, 23 Nov 2004 15:27:53 +0000 (15:27 +0000)]
r3924: fix installswat once again after the image target location had changed in the docs
(This used to be commit
ddb5823ac23b8d61c29d73f4f5bae1c3a319a1f4)
Gerald Carter [Tue, 23 Nov 2004 14:52:56 +0000 (14:52 +0000)]
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)
Günther Deschner [Tue, 23 Nov 2004 01:05:31 +0000 (01:05 +0000)]
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)
Günther Deschner [Mon, 22 Nov 2004 15:20:38 +0000 (15:20 +0000)]
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)
Günther Deschner [Mon, 22 Nov 2004 14:34:45 +0000 (14:34 +0000)]
r3911: typo.
Guenther
(This used to be commit
52dea588fd0b40a32c56b5634315b149fc088907)
Jeremy Allison [Sat, 20 Nov 2004 21:24:52 +0000 (21:24 +0000)]
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)
Jeremy Allison [Sat, 20 Nov 2004 20:10:43 +0000 (20:10 +0000)]
r3892: Fix "might be used uninitialized" error.
Jeremy.
(This used to be commit
eead77919b05e0a2bed32a4a192dd0d9e6a86008)
Jeremy Allison [Sat, 20 Nov 2004 02:48:34 +0000 (02:48 +0000)]
r3889: Only set mtime from pending_modtime if it's not already zero...
Jeremy.
(This used to be commit
984c3506351ba97f74813d678424858508c4197a)
Volker Lendecke [Fri, 19 Nov 2004 21:01:23 +0000 (21:01 +0000)]
r3883: Fix error return -- thanks to rsharpe
(This used to be commit
2d952c86c7e92fff48b4773ab46987d905b214cc)
Volker Lendecke [Fri, 19 Nov 2004 20:55:54 +0000 (20:55 +0000)]
r3882: Fix bug 2069 -- thanks to jason@ncac.gwu.edu
(This used to be commit
5c9fd4d8963130829684469be172e859b3799e27)
Jeremy Allison [Fri, 19 Nov 2004 19:45:03 +0000 (19:45 +0000)]
r3880: Tidy up some unused/shadowed variable usage.
Jeremy.
(This used to be commit
1fd1a98782c3ca7171428b62336936aef4c6685b)
Jeremy Allison [Fri, 19 Nov 2004 19:32:31 +0000 (19:32 +0000)]
r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.
Jeremy.
(This used to be commit
65fc39fc388244923d1e36076b5a4116aa434be5)
Günther Deschner [Fri, 19 Nov 2004 13:26:17 +0000 (13:26 +0000)]
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
(This used to be commit
bb191c1098dea06bf2cd89276c74e32279fbb3d4)
Volker Lendecke [Fri, 19 Nov 2004 12:11:13 +0000 (12:11 +0000)]
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
(This used to be commit
3cdde7071b6bf83ad05046745ad2a5fa353995bf)
Volker Lendecke [Fri, 19 Nov 2004 11:59:56 +0000 (11:59 +0000)]
r3871: Fix memleak
(This used to be commit
dbfdde5f63f34fbe4ba1d794fcfc120178ff039a)
Günther Deschner [Thu, 18 Nov 2004 23:25:37 +0000 (23:25 +0000)]
r3868: Fix reverted logic of detecting HAVE_WRFILE_KEYTAB (Bugzilla 2059)
Guenther
(This used to be commit
8d987d2f38005969798fe829f87c3ffc1d1e5edd)
Jeremy Allison [Thu, 18 Nov 2004 22:46:04 +0000 (22:46 +0000)]
r3867: Fix from david.hu@hp.com - make a copy of an incoming message
rather than indirecting into it as a struct (may not be on an
even byte boundary). Bug #2052.
Jeremy.
(This used to be commit
8a91a69961622a31851f2394c591ddaa61a36000)
Jeremy Allison [Thu, 18 Nov 2004 22:11:20 +0000 (22:11 +0000)]
r3864: Fix from Lars Müller <lmuelle@suse.de> for bug #2050.
Make nmbd use maxfd+1 in select also.
Jeremy.
(This used to be commit
e3ca22b80dc1c22f0e5c829d11724c79e317641f)
Jeremy Allison [Thu, 18 Nov 2004 21:22:24 +0000 (21:22 +0000)]
r3862: Fix from Lars Müller <lmuelle@suse.de>, check for HAVE_WRFILE_KEYTAB
was inverted.
Jeremy.
(This used to be commit
6a9799806874619c471548b8ff0b3dc36788f81a)
Jeremy Allison [Thu, 18 Nov 2004 19:36:50 +0000 (19:36 +0000)]
r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.
Use def_acl everywhere instead of dir_acl.
Jeremy.
(This used to be commit
d28611c960f87830aa8449725951984aa155b089)
Jeremy Allison [Thu, 18 Nov 2004 19:03:17 +0000 (19:03 +0000)]
r3857: Shut up gcc about erroneous "used uninitialised" warning.
Jeremy.
(This used to be commit
ac9b91d805c3ee68119d4b25ab05ed043f0ab8f1)
Jeremy Allison [Thu, 18 Nov 2004 18:40:39 +0000 (18:40 +0000)]
r3855: Sync up with the one in the main source dir (yes, this should probably
be a symlink...).
Jeremy.
(This used to be commit
5b0da25796337b73d151a3025b7e460222164b3f)
Volker Lendecke [Thu, 18 Nov 2004 16:14:13 +0000 (16:14 +0000)]
r3853: Fix an uninitialized variable warning. Jeremy, there are some of these in
charcnv.c.
Volker
(This used to be commit
650d52648dbf67f71d7619ffb8bf32d93a15ae9c)
Volker Lendecke [Thu, 18 Nov 2004 15:52:02 +0000 (15:52 +0000)]
r3852: Fix the build...
(This used to be commit
3bd72b864f18f6fad0357c8aa632121f14e422ab)
Volker Lendecke [Thu, 18 Nov 2004 15:44:01 +0000 (15:44 +0000)]
r3850: I get the impression that some developers here are using gcc 3.4. This one
only warns you about possibly uninitialized variables if you have at least
-O1.
Volker
(This used to be commit
7cd12794a3cb7c70e75ec4824d9bc88d2d3a0fcd)
Volker Lendecke [Thu, 18 Nov 2004 15:13:58 +0000 (15:13 +0000)]
r3848: Fix for bug 2057. Only partially applied the patch, the second part seems not
necessary.
I'm using gcc 3.4.1, this does not detect the possibly uninitialized
variable. Does anybody know how to get 3.4.1 to warn me?
Volker
(This used to be commit
8b6f8f93a0f30be0184e6044a499c1ef8f7b247e)
Volker Lendecke [Thu, 18 Nov 2004 13:29:10 +0000 (13:29 +0000)]
r3846: Typo fix. Bug 2055. Lars, I'm available on irc.... :-)
Volker
(This used to be commit
78ab68367d437cd5f84d46ac96fcaf9ebb3305b8)
Volker Lendecke [Thu, 18 Nov 2004 12:19:16 +0000 (12:19 +0000)]
r3844: Attempt to get the build farm in line. Some systems seem to have defined
rewinddir as a macro and don't like the construct to call a function pointer
called rewinddir. Work around by renaming the function pointer...
Volker
(This used to be commit
e547308d3ed307a242723076dff9974973fccc97)
Volker Lendecke [Thu, 18 Nov 2004 11:57:49 +0000 (11:57 +0000)]
r3843: If a connection to a DC is requested, open connections simultaeneously to all
DCs found. The first one to reply wins.
Volker
(This used to be commit
84ac54aef2bd56b5c889d3b05b8828aceb8ae00e)
Volker Lendecke [Thu, 18 Nov 2004 11:43:14 +0000 (11:43 +0000)]
r3841: Time out in ads search queries. Even AD servers can hang.
Volker
(This used to be commit
fc454c8ef6321fba9efa42a704c8e8c707361af3)