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
e15e7a5f1f r4343: forgot to add info-level 8 to SAMR_UNKNOWN_2E as well.
Guenther
(This used to be commit 5e6ce9a6e3d62190da5427ed7b5e2f2ac22a0c34)
2007-10-10 10:53:45 -05:00
Andrew Bartlett
5d08f59463 r4337: Produce a slightly different error message is lanman authentication is
disabled, rather than simply unavailable.

Andrew Bartlett
(This used to be commit 1c70583a19c9f741a41d08c0b994fccb66eeb0bf)
2007-10-10 10:53:45 -05:00
Günther Deschner
8222f958d1 r4336: Apply some other samba4 SAMR idl that is just too obvious. Don't hard
set the value "forcibly disconnect remote users from server when logon
hours expire" to "no", instead take the value from our account-policy
storage.

Guenther
(This used to be commit e3bd2a22a5cebc4adf6910d3ec31bc6fada8cd35)
2007-10-10 10:53:44 -05:00
Jeremy Allison
44bac2bf7b r4334: Fix for bugid #2186 - from Buck Huppmann <buckh@pobox.com>
to prevent uninitialized creds being freed.
Jeremy.
(This used to be commit c3f9c81a8fcb26f7110f75b3096d5d1eb30aac13)
2007-10-10 10:53:44 -05:00
Günther Deschner
9aba116607 r4331: Implement SAMR query_dom_info-call info-level 8 server- and client-side,
based on samba4-idl.

This saves us an enormous amount of totally unnecessary ldap-traffic
when several hundreds of winbind-daemons query a Samba3 DC just to get
the fake SAM-sequence-number (time(NULL)) by enumerating all users, all
groups and all aliases when query-dom-info level 2 is used.

Note that we apparently never get the sequence number right (we parse a
uint32, although it's a uint64, at least in samba4 idl). For the time
being, I would propose to stay with that behaviour.

Guenther
(This used to be commit f9ab15a986626581000d4b93961184c501f36b93)
2007-10-10 10:53:44 -05:00
Jeremy Allison
3312191867 r4330: Fix for bug found by Rob Foehl <rwf@loonybin.net>. Remember to
add in the bcc length for readX on named pipes.
Jeremy.
(This used to be commit 1168395e6a543c51f684280b00fb8c9b8bbc6ec0)
2007-10-10 10:53:44 -05:00
Günther Deschner
b800233942 r4312: Marking "min password length" as depreciated (to be removed in one of
the next releases). The corresponding functionality is better handled
with the account policy. See
https://bugzilla.samba.org/show_bug.cgi?id=1705 for details.

Guenther
(This used to be commit 61204a267c3b1b024ba6cb2340317301210b4d90)
2007-10-10 10:53:44 -05:00
Günther Deschner
a40d5074aa r4311: 'Document' the -L switch when adding groups with "net rpc group".
Guenther
(This used to be commit 4eec06b461c295f90c2ec01a0eef1e173eab22b3)
2007-10-10 10:53:43 -05:00
Jeremy Allison
ebeddee6a1 r4306: Couple more MALLOC fixes from albert chin (china@thewrittenword.com).
Jeremy.
(This used to be commit c5a8bf3335606c070e1c74f339ea4c22d0adfa57)
2007-10-10 10:53:43 -05:00
Jeremy Allison
99f0355eb5 r4305: Fix from Albert Chin (china@thewrittenword.com) to fix the
earlier malloc changes.
Jeremy.
(This used to be commit da7ef2517162740bc61a81ae814d48348aa513d5)
2007-10-10 10:53:43 -05:00
Jeremy Allison
ad94eabdc6 r4301: One more *alloc -> SMB_MALLOC (not compiled by default).
Jeremy.
(This used to be commit 235a0c1698db48583a6860a3a9fca9f261544365)
2007-10-10 10:53:43 -05:00
Jeremy Allison
be60bf6447 r4296: Patch from William Jojo <jojowil@hvcc.edu> to fix HPUX sendfile and add
configure.in tests and code for sendfile on AIX.
Jeremy.
(This used to be commit f08aceb9882fb1df1e1e28179f87ac5c3d5afa45)
2007-10-10 10:53:42 -05:00
Jeremy Allison
52d377b75f r4295: Don't include header len in data write debug.
Jeremy.
(This used to be commit 473babfecac87a7e1068246bddc171a464be59e5)
2007-10-10 10:53:42 -05:00
Jeremy Allison
50f3d8f249 r4293: Fix inspired by debug trace from Rob Foehl <rwf@loonybin.net> - catch sendfile
errors correctly and return the correct values we want the caller to return (-1
meaning none in correct cases).
Jeremy.
(This used to be commit 139c1c3488237d710ceda394c028b8dc9007bff1)
2007-10-10 10:53:42 -05:00
Jeremy Allison
b46913fb95 r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
(This used to be commit efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46)
2007-10-10 10:53:42 -05:00
Günther Deschner
84e0aafc78 r4289: Close LDAP-Connection before retrying to open a new connection in the
retry-loop.

This fixes a deadlock-situation when ldapsam is used with the ldapi
interface: getpeername won't fail while trying to detect dead
connections on unix domain sockets. When the ldapi-connection was closed
server-side (due to OpenLDAP's idletimeout) we *never* got a new LDAP
connection.

Guenther
(This used to be commit ac8032bacff10451fa03f155d43f0d20389512fa)
2007-10-10 10:53:42 -05:00
Günther Deschner
111f62c00c r4287: Vampire SAM_DELTA_DOMAIN_INFO.
Based on samba4-idl. The decoding of account-lockout-string is somewhat
experimental though.

Guenther
(This used to be commit 721bf50d7446b8ce18bc1d45e17d4214d5a43d26)
2007-10-10 10:53:41 -05:00
Günther Deschner
992ad28485 r4286: Give back 8 byte lm_session_key in Netrsamlogon-reply.
The old #ifdef JRATEST-block was copying 16 bytes and thus overwriting
acct_flags with bizarre values, breaking a lot of things.

This patch is successfully running in a production environment for quite
some time now and is required to finally allow Exchange 5.5 to access
another Exchange Server when both are running on NT4 in a
samba-controlled domain. This also allows Exchange Replication to take
place, Exchange Administrator to access other Servers in the network,
etc. Fixes Bugzilla #1136.

Thanks abartlet for helping me with that one.

Guenther
(This used to be commit bd4c5125d6989cebc90152a23e113b345806c660)
2007-10-10 10:53:41 -05:00
Günther Deschner
2da4456df9 r4285: Allow -v or -l for displaying verbose groupmap-listing as well as
"verbose".

Guenther
(This used to be commit 0760d07b4c6f15489bea2f0fb4f1b0084bd62301)
2007-10-10 10:53:41 -05:00
Tim Potter
3c11b03100 r4273: Same fix for r4272 in SAMBA_3_0 branch.
(This used to be commit 4f1927acfa6569fc90317d76ed34e5ee088df7c1)
2007-10-10 10:53:41 -05:00
Tim Potter
1cf3798138 r4270: Add some const as a fix for bugzilla #2135.
(This used to be commit ad8fdcc6fdb08d206d324a152300933661c72c4b)
2007-10-10 10:53:41 -05:00
Tim Potter
92e9793480 r4268: Merge fix for bugzilla #2150.
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
2007-10-10 10:53:41 -05:00
Tim Potter
7690459dc6 r4260: Change the license for the winbindd external interface more liberal.
(This used to be commit 82b9faaaa2e1e2986a15102605739e7d13885ac6)
2007-10-10 10:53:41 -05:00
Tim Potter
d9fc4d8a8a r4259: Fix cast in SMB_XMALLOC_ARRAY. Bugzilla #2168.
(This used to be commit 0c3bb181e8f4d10d446f9211904d53f42ddcbaeb)
2007-10-10 10:53:40 -05:00
Günther Deschner
92138d1920 r4258: strlower username, not (non-existing) domain_username.
Guenther
(This used to be commit 4f10666295ff7c086ac2a38e0a5f0ac80b57b9a0)
2007-10-10 10:53:40 -05:00
Volker Lendecke
c96872d3ab 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)
2007-10-10 10:53:40 -05:00
Volker Lendecke
35657ac39e 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)
2007-10-10 10:53:40 -05:00
Volker Lendecke
efe5a8eb0b r4252: Comment clarification from Love Hörnquist Åstrand <lha@stacken.kth.se>.
Thanks,

Volker
(This used to be commit 207625c7ab8ce41d7b59981e6a767dc299178335)
2007-10-10 10:53:40 -05:00
Volker Lendecke
ed0131fedd 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)
2007-10-10 10:53:40 -05:00
Volker Lendecke
45d397b673 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)
2007-10-10 10:53:40 -05:00
Jeremy Allison
59f2d8590d r4241: More *alloc fixes.
Jeremy.
(This used to be commit ec9606f00b52eb0d3a1a4c5eb98d171660ef19ad)
2007-10-10 10:53:39 -05:00
Jeremy Allison
09969123e1 r4238: More *alloc fixes.
Jeremy.
(This used to be commit 4d971806f4e4f5523227e378125d5601a5df271d)
2007-10-10 10:53:39 -05:00
Jeremy Allison
54fdd5c7dc r4236: More *alloc fixes.
Jeremy.
(This used to be commit 6b25a6e088390d33314ca69c8f17c869cec3904b)
2007-10-10 10:53:39 -05:00
Jeremy Allison
46f0e330f1 r4234: More malloc fixes to use the macros.
Jeremy.
(This used to be commit 61479f56be60a3c2ae0f7b931335cb1da77540c2)
2007-10-10 10:53:39 -05:00
Günther Deschner
9fd22239ed r4226: display infolevel 12 in query_dom_info.
Guenther
(This used to be commit d25f303f317ef6ec96799d396ca65ac500cae0ae)
2007-10-10 10:53:39 -05:00
Volker Lendecke
7725ad5a87 r4224: Today is not my day ....
(This used to be commit 40b208b25212f84faeb7d54b7dc0dbb9f925b651)
2007-10-10 10:53:39 -05:00
Volker Lendecke
390685ca14 r4222: Always compile before commit...
(This used to be commit 0f26ba5226fab5b86031a0df6fba16b8e6af6e7d)
2007-10-10 10:53:38 -05:00
Günther Deschner
5f731a20f7 r4221: when in the multi-mapping mode of idmap_rid:
allow BUILTIN domain-mapping.

Guenther
(This used to be commit e3b067ee99e304aa9e165dae5fcb0546cec711e2)
2007-10-10 10:53:38 -05:00
Volker Lendecke
4027c4088b 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)
2007-10-10 10:53:38 -05:00
Volker Lendecke
786b6c5e28 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)
2007-10-10 10:53:38 -05:00
Günther Deschner
37e5f14089 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)
2007-10-10 10:53:37 -05:00
Jeremy Allison
9e3453459c 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)
2007-10-10 10:53:37 -05:00
John Terpstra
6d3abcf3ab r4208: Set version to 3.0.11
(This used to be commit 8622fdcc50dfb4fa09c9b3dff2140a68454d3146)
2007-10-10 10:53:37 -05:00
Jeremy Allison
32f9ee7c20 r4190: When changing length calculations, get them right......
Jeremy.
(This used to be commit 63cfa904ad186bb9d793584d319bd4a7107cc8b9)
2007-10-10 10:53:37 -05:00
Jeremy Allison
4730a56263 r4188: Ensure we add in the upper length in the right place !
Jeremy.
(This used to be commit 9d4e57f06c4f75f42036e91401b0d0392647752b)
2007-10-10 10:53:36 -05:00
Jeremy Allison
5b713a206b r4186: Fix client & server to allow 127k READX calls.
Jeremy.
(This used to be commit 831cb21a874601e4536c2cf76c5351e1d0defcb5)
2007-10-10 10:53:36 -05:00
Jeremy Allison
00eede9a6b r4184: Removed unused extern.
Jeremy.
(This used to be commit 72e39041e9fbb7f252292182d56b1927a8133be0)
2007-10-10 10:53:36 -05:00
Simo Sorce
d03c891eae r4153: port from trunk of pdbedit changes
(This used to be commit 9b322f232c450e9525d5aa3b8267881b94ba4052)
2007-10-10 10:53:36 -05:00
Jeremy Allison
9345663328 r4143: Make strict locking an enum. Auto means use oplock optimization.
Jeremy.
(This used to be commit 0dd4adeae2042d0ea64398a78b3f48eb0150c133)
2007-10-10 10:53:36 -05:00
Gerald Carter
3c45a093c4 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)
2007-10-10 10:53:35 -05:00