1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

14067 Commits

Author SHA1 Message Date
Jeremy Allison
5b4a2dfd2b Formatting tidyups to match the rest of the source.
Jeremy.
(This used to be commit 86c5ebcf8f)
2003-07-17 18:55:40 +00:00
Volker Lendecke
9ec9df5fe4 Disconnect an idle LDAP connection after 150 seconds.
Not strictly a bugfix, but it should considerably reduce the load we
put on LDAP servers given that at least nss_ldap on Linux keeps a
connection open.

And it should also stress our reconnect-code a bit more ;-)

Thanks to metze for this!

Volker
(This used to be commit e68d8eabeb)
2003-07-17 11:24:54 +00:00
Volker Lendecke
0fe05982cd Ban getgrouplist on linux glibc systems with glibc <= 2.3.
This segfaults when you have to many group membership entries
in /etc/group.

Fixed in glibc CVS end of April 2003.

Volker
(This used to be commit 61bfdf0b12)
2003-07-17 10:03:37 +00:00
Tim Potter
7f7b754483 Fix for bug 222 from Marcin Owsiany.
Don't get stuck in an infinite loop listing directories recursively
if the server returns an empty directory name.  This can happen with
incorrect i18n configuration on a Samba server.
(This used to be commit f93a2831f1)
2003-07-17 04:17:58 +00:00
Tim Potter
bcd659f26a Don't use pstrcpy on non-pstrings.
(This used to be commit 3498624d94)
2003-07-17 03:53:43 +00:00
Andrew Bartlett
4c53bb6b90 In the presense of RPC fragments, schannel is not strictly request/reply,
so the shared sequence number will not be strictly odd/even.

Andrew Bartlett
(This used to be commit 77c3e69aef)
2003-07-17 01:34:05 +00:00
Jeremy Allison
583fc85078 Correctly toggle the signing state to what it was previosly when sending
an oplock break.
Jeremy.
(This used to be commit 9515de83a8)
2003-07-17 00:58:14 +00:00
Jeremy Allison
9ad4fbcf75 Don't allow read/write raw when signing is active.
Jeremy.
(This used to be commit 8d2a848052)
2003-07-17 00:53:37 +00:00
Jeremy Allison
f1b6cd794d Putting the framework for server signing in place. Ensure we don't use
sendfile when signing (I need to add this for readbraw/writebraw too...).
Jeremy.
(This used to be commit f2e84f1ba6)
2003-07-17 00:48:21 +00:00
Jeremy Allison
6ab5e14494 Refactor signing code to remove most dependencies on 'struct cli'.
Ensure a server can't do a downgrade attack if client signing is mandatory.
Add a lp_server_signing() function and a 'server signing' parameter that
will act as the client one does.
Jeremy
(This used to be commit 203e4bf0bf)
2003-07-16 22:57:56 +00:00
Eloy Paris
cdb3b5dec2 Further Debian fixes.
(This used to be commit 8f86cb196f)
2003-07-16 21:30:02 +00:00
Jeremy Allison
4fbbaff415 Add API framework for server SMB signing.
Jeremy.
(This used to be commit 61fc9a7b2e)
2003-07-16 21:06:21 +00:00
Jeremy Allison
8c38bb75b7 Add krb5_princ_component to Heimdal. Remove cli_ from mark packet signed.
Jeremy.
(This used to be commit dd46f8b22d)
2003-07-16 19:17:33 +00:00
Jeremy Allison
1eff052300 Reformatting fixes to bring in line with the rest of the source.
Jeremy.
(This used to be commit 3c11d93623)
2003-07-16 18:06:27 +00:00
Gerald Carter
4c8863ab08 adding command for moving a record from one tdb to another
(This used to be commit d0d85dd49c)
2003-07-16 16:51:51 +00:00
Gerald Carter
2da3330555 make tdbtool deal with NULL and non-NULL terminated keys
(This used to be commit 5df7b9a3ef)
2003-07-16 16:26:40 +00:00
Gerald Carter
449a1bc848 sync with release tree
(This used to be commit dd10e7c9bb)
2003-07-16 15:01:26 +00:00
Volker Lendecke
658099b695 Fix memleak
(This used to be commit 42a59d6910)
2003-07-16 13:57:53 +00:00
Volker Lendecke
36d1df4413 typo
(This used to be commit 09e00970d4)
2003-07-16 13:35:23 +00:00
Tim Potter
aed434ea9b Spelling.
(This used to be commit 2750418752)
2003-07-16 05:51:10 +00:00
John Terpstra
ca93846230 Documentation Update for Beta3.
(This used to be commit a88dc502cb)
2003-07-16 05:42:10 +00:00
Gerald Carter
6810e37aee removing outdated scripts
(This used to be commit b47b6f5825)
2003-07-16 04:53:57 +00:00
Gerald Carter
b1b70182c8 remove outdated doc
(This used to be commit ee44d72a1b)
2003-07-16 04:50:45 +00:00
Gerald Carter
794c577ac3 adding another missing doc
(This used to be commit ec92d85673)
2003-07-16 03:54:08 +00:00
Gerald Carter
259763dac9 updating WHATSNEW
removing old readme (not part of WHATSNEW)
(This used to be commit c9c5f68eea)
2003-07-16 03:51:25 +00:00
Andrew Bartlett
8a4577cc22 Fix up our auth_pipe code to always cope with fragmented datagrams,
in both SCHANNEL and NTLMSSP.

(Try not to deal with a general case as individual special cases...)

Andrew Bartlett
(This used to be commit 6ca77bd28f)
2003-07-16 03:22:43 +00:00
Gerald Carter
2ff85e2f0a fix typo in debug log
(This used to be commit 074da42670)
2003-07-16 02:51:28 +00:00
Gerald Carter
a84270ce11 fixes for 'net rpc vampire'. I can now take a blank Samba host
and migrate an NT4 domain and still logon from domain members
(tested logon scripts, system policies, profiles, & home directories)
(passdb backend = tdbsam)

removed call to idmap_init_wellknown_sids() from winbindd.c
since the local domain should be handled by the guest passdb backend
(and you don't really always want the Administrator account to be root)
...and we didn't pay attention to this anyways now.
(This used to be commit 837d7c54d3)
2003-07-16 02:20:53 +00:00
Gerald Carter
6b814c9908 Volker's patch for open_socket_out() to speed up connections
(This used to be commit 7d63b69000)
2003-07-16 02:17:55 +00:00
Tim Potter
bd9a42fa8d Fix from Dragan Krnic for handling files in tar archives > 8GB.
Fixes bug 102.
(This used to be commit b54183a7b2)
2003-07-16 00:13:40 +00:00
Jeremy Allison
c44a9d25a2 Added the "required" keyword to the "client signing" parameter to force it
on. Fail if missmatch. Small format tidyups in smbd/sesssetup.c. Preparing
to add signing on server side.
Jeremy.
(This used to be commit c390b3e4cd)
2003-07-15 23:05:57 +00:00
Jeremy Allison
39de3249b0 Add a cli_ prefix to a few functions to ensure everything that takes a struct cli_state
is so marked.
Jeremy
(This used to be commit 0b8724ed65)
2003-07-15 22:26:47 +00:00
Gerald Carter
b8ddc6238b fix schannel processing on fragmented PDUs. 'net rpc vampire' works again.
(This used to be commit ff0c71148e)
2003-07-15 21:33:28 +00:00
Volker Lendecke
c9d6c786a1 Fix memleak
(This used to be commit 517bb4d0df)
2003-07-15 17:27:39 +00:00
Volker Lendecke
e9e3421db9 We should report if a group mapping fails. This should fix bug#225.
Jerry, this is assigned to you. Do you want to answer it?

However, we have to decide what to do if a mapping is to be done for a
unix group not in LDAP....

Volker
(This used to be commit bf449d467c)
2003-07-15 17:23:36 +00:00
Eloy Paris
4a12fe6044 Debian updates. Brings files in packaging/Debian on par with the
latest Debian official packages for Debian unstable. Also fixes
patches that got out of date in the beta2->beta3 development process.
(This used to be commit 03871fd574)
2003-07-15 17:22:38 +00:00
Alexander Bokovoy
8c4be2bbc9 Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, nmbd, winbindd). Reviewed by jerry and tridge.
(This used to be commit 02c5e2fc6f)
2003-07-15 17:21:21 +00:00
Volker Lendecke
cf8628e585 Fix memleaks
(This used to be commit 26134ac302)
2003-07-15 17:00:11 +00:00
Volker Lendecke
032232bd66 Fix memleak
(This used to be commit 6770d69942)
2003-07-15 16:46:20 +00:00
Volker Lendecke
7a88267a6a Jim, could you please look at this? smbpasswd -a <username> was broken
for me without this patch. I'm not sure if I interpreted your patch to
this code right.

Thanks,

Volker
(This used to be commit 46ec022f87)
2003-07-15 16:07:50 +00:00
Gerald Carter
ce360c33be Mandrake packaging updates from Buchan
(This used to be commit 3fec31d0fd)
2003-07-15 16:02:51 +00:00
Alexander Bokovoy
98af0e01b3 Accept --with-expsam=no as valid option (do nothing on it). Simplifies automatic option generation for spec files
(This used to be commit 4042d965f2)
2003-07-15 13:00:20 +00:00
Alexander Bokovoy
0360710956 Fix cut&paste bug in strdup() usage example. Found by Metze
(This used to be commit 38f85593c4)
2003-07-15 12:12:15 +00:00
Alexander Bokovoy
5c327041d6 Add mandir to installdir target. Otherwise installman fails for clean DESTDIR
(This used to be commit bb31276c3d)
2003-07-15 09:50:44 +00:00
Gerald Carter
4aa91a9850 odding some more docs
(This used to be commit 6fdf9f8cd5)
2003-07-15 04:38:20 +00:00
Gerald Carter
4eaf55ae11 adding docs on hew parameters I added.
(This used to be commit 7c91c4360f)
2003-07-15 04:33:37 +00:00
Gerald Carter
7a29b6df13 update docs to reflect the change in default behavior for winbindd
(This used to be commit 140e2fd5d7)
2003-07-15 04:24:37 +00:00
Gerald Carter
e8b4a1f8bc remove -B and default to dual-daemon mode (-Y to run as a single process)
(This used to be commit 369a914ebe)
2003-07-15 04:19:57 +00:00
Gerald Carter
8582358d54 make sure to fallback to rid algoruthm for users not in smbpasswd (e.g. force user = foo)
(This used to be commit 399799c68c)
2003-07-15 02:27:00 +00:00
Andrew Bartlett
7ca9b855b5 SPNEGO SMB signing is now fixed for NTLMSSP, with kerberos to follow shortly.
Andrew Bartlett
(This used to be commit 2b493813fc)
2003-07-15 01:07:12 +00:00