1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

15153 Commits

Author SHA1 Message Date
Gerald Carter
7d9fb45339 include WWW-Authenticate field in 401 response for bad auth attempt; bug 629
(This used to be commit 879d0f15ea)
2003-11-22 06:16:01 +00:00
Gerald Carter
4f65a3bd03 adding a useful debug
(This used to be commit e374ce779e)
2003-11-22 06:15:28 +00:00
Gerald Carter
8a53eed206 fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
(This used to be commit 04e37283f2)
2003-11-22 04:47:34 +00:00
Gerald Carter
11f4893145 Ensure that items in a list of strings containing whitespace
are written out surrounded by single quotes.  This means that
both double and single quotes are now used to surround
strings in smb.conf.  This is a slight change from the previous
behavior but needed or else things like

    printer admin = +ntadmin, 'VALE\Domain, Admin'

get written to smb.conf by SWAT.
(This used to be commit 5bf91c79d6)
2003-11-22 04:33:36 +00:00
Jeremy Allison
d66def408e Fix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen.de>.
Jeremy.
(This used to be commit 598d9d3e5f)
2003-11-21 23:01:37 +00:00
Jeremy Allison
bdea2e8a47 Fix Jerry's no-proto bug :-).
Jeremy.
(This used to be commit 48153f7a07)
2003-11-21 19:20:07 +00:00
Gerald Carter
478bb592a3 make sure we don't append the ldap suffix when writing out the ldap XXX suffix values in SWAT; based on tpot's original patch; bug 328
(This used to be commit 12a06dd980)
2003-11-21 19:11:48 +00:00
Alexander Bokovoy
244df1e63e Update WHATSNEW.txt with text from release branch
(This used to be commit 56fc6962fb)
2003-11-21 10:54:33 +00:00
Rafal Szczesniak
382e96a614 Typo fix.
(This used to be commit 5054a1731e)
2003-11-20 23:56:42 +00:00
Jeremy Allison
8614cc504e Look at error before using it in debug statement.
Jeremy.
(This used to be commit 69550332f3)
2003-11-19 22:57:56 +00:00
Rafal Szczesniak
a63010bae7 Added useful information to debug lines.
Patch by metze.


rafal
(This used to be commit 2eef3c7bc1)
2003-11-19 22:56:02 +00:00
Gerald Carter
885140bcb7 changing versionb to pre4
(This used to be commit 8c46576f64)
2003-11-19 18:33:19 +00:00
Andrew Tridgell
dec5b6c40d added a wbtest program that shows how to access winbindd extended nss
functionality directly from an application.

This is under a liberal license as we want application vendors to be
able to use the example code
(This used to be commit 8d848de45d)
2003-11-19 08:14:09 +00:00
Andrew Tridgell
53dfaac5fb as discussed on irc, this is a small patch that allows a few more
winbind functions to be accessed via NSS. This provides a much cleaner
way for applications that need (for example) to provide name->sid
mappings to do this via NSS rather than having to know the winbindd
pipe protocol (as this might change).

This patch also adds a varient of the winbindd_getgroups() call called
winbindd_getusersids() that provides direct SID->SIDs listing of a
users supplementary groups. This is enough to allow non-Samba
applications to do ACL checking.

A test program for the new functionality will be committed shortly.

I also added the 'wbinfo --user-sids' option to expose the new
function in wbinfo.
(This used to be commit 702b35da0a)
2003-11-19 08:11:14 +00:00
Jeremy Allison
2d41ca7198 Group quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor-nixdorf.com>
Jeremy.
(This used to be commit 06c9e91630)
2003-11-19 02:19:34 +00:00
Jeremy Allison
5139e4a1a9 Correct fix for checking of '$' name termination.
Jeremy.
(This used to be commit ec23396452)
2003-11-19 00:18:45 +00:00
Rafal Szczesniak
8e76781ff2 Useful debug message. Patch by metze.
rafal
(This used to be commit 8b06364b53)
2003-11-18 19:15:29 +00:00
Jeremy Allison
013a051103 Remove unneeded second open for filename ending in '.' now we know it's
a mangled name. Added const. Fix inspired by Andrew Bartlett ideas.
Jeremy.
(This used to be commit 87eb336d65)
2003-11-18 02:06:41 +00:00
Jeremy Allison
7b39861342 Ensure we mangle names ending in '.' in hash2 mangling method.
Jeremy.
(This used to be commit fc2af591f5)
2003-11-18 01:47:27 +00:00
Jeremy Allison
e0fd9d28e9 Fix from Andrew Bartlett to fix up the munged-dial problem.
Jeremy.
(This used to be commit 703b1b76e2)
2003-11-17 22:07:47 +00:00
Volker Lendecke
5faae2df8a This fixes a bug when establishing trust against a german W2k3 AD server. In
the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not
check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at
all, so making it a bit more liberal should hopefully not really hurt.

Volker
(This used to be commit 029dcb351b)
2003-11-17 18:00:43 +00:00
Gerald Carter
4097f5ec8d * make sure we only enumerate group mapping entries
(not /etc/group) even when doing local aliases

* remove "hide local users" parameter; we have this
  behavior built into 3.0
(This used to be commit a7685a0697)
2003-11-17 16:06:10 +00:00
Gerald Carter
f8350a9b50 updates from Buchan
(This used to be commit bd0813e609)
2003-11-17 14:15:14 +00:00
Gerald Carter
9da85503ed first draft of release notes for 3.0.1pre3
(This used to be commit d4cbd00dfe)
2003-11-14 03:32:21 +00:00
Gerald Carter
36558f8f2b fix more memory leaks in the LDAP backend code; patches from metze
(This used to be commit e079c8842a)
2003-11-14 03:28:03 +00:00
Gerald Carter
281e293331 * Fix from SATOH Fumiyasu for bug 660 (failing to view print
jobs) by only enforce the 'max reported print jobs' parameter
  when it is non-zero.

* Fixed bug 338 by making sure that data values are written
  out when we are marshalling an EnumPrinterDataEx() reply.
  This probably fixes other bugs reported against point-n-print
  feature in 3.0.0
(This used to be commit fd98af75d6)
2003-11-13 20:15:17 +00:00
Richard Sharpe
5fd6b5bc61 More casty-foo ...
(This used to be commit 00d5136ea0)
2003-11-13 17:35:00 +00:00
Richard Sharpe
0b5019ffc9 Squelch some warnings with more casty-foo.
(This used to be commit d165a49d86)
2003-11-13 17:30:25 +00:00
Richard Sharpe
e6994778ec Fix a couple of warnings with casts.
(This used to be commit 58d7a51c57)
2003-11-13 17:27:21 +00:00
Gerald Carter
c3c1e248ad show locked files for -u <user>; bug 590
(This used to be commit d72d77c427)
2003-11-12 22:35:50 +00:00
Richard Sharpe
19aff105aa Add testacl.c ... from Derrell Lipman.
(This used to be commit af42af75a4)
2003-11-12 21:46:39 +00:00
Rafal Szczesniak
daea4804c3 Omit html documentation tree because it has been moved to the separate
module. Install though, in case one recreates the tree as it was before.


rafal
(This used to be commit d6857d191c)
2003-11-12 13:02:25 +00:00
Andrew Tridgell
e1c468477c a small include file rearrangement that doesn't affect normal
compilation, but that allows Samba3 to take advantage of pre-compiled
headers in gcc if available.
(This used to be commit b3e024ce1d)
2003-11-12 01:51:10 +00:00
Andrew Tridgell
009c143efd added support for "make pch" to build a precompiled header. Note that
this is not called by default and I don't think it should be - I think
the programmer should specifically ask for pch generation when they
want it.
(This used to be commit ef01aedfb4)
2003-11-12 01:01:47 +00:00
Gerald Carter
b64c6355b0 fix crash bug due to empyrt munged dial string; patch from metze
(This used to be commit ccd5665a65)
2003-11-11 19:22:00 +00:00
Jeremy Allison
33e6af5b3d Patch from Andrew Bartlett <abartlet@samba.org> for security=server core
dump if server goes away.
Jeremy.
(This used to be commit e61324cc6a)
2003-11-10 19:33:42 +00:00
Richard Sharpe
970c1c73db Fix a problem with configure on *BSD systems. Make sure we add -liconv etc
to LDFLAGS. One of the problems with configure/autoconf is that there seems
to be no separation of LDLFAGS etc in configure from the LDFLAGS it is
building for the Makefile.
(This used to be commit 63d7698208)
2003-11-10 05:34:51 +00:00
Volker Lendecke
39ccc0f515 Skip over the winbind separator when looking up a user.
Volker
(This used to be commit 6b457d0c5c)
2003-11-09 17:23:57 +00:00
Jelmer Vernooij
9da5e6a4da Add new fields bad_password_count and logon_count
(This used to be commit 58c21bc0d1)
2003-11-09 14:09:27 +00:00
Gerald Carter
b1f1bbaede last update to WHATSNEW
(This used to be commit ad5588e306)
2003-11-07 23:14:09 +00:00
Gerald Carter
6ebde91c44 * only install swat html files once
* revert the change that prevent the guest
  account from being added to a passdb backend
  since it broke the build farm.
* apply patch from Alex Deiter to fix the
  "smbldap_open: cannot access when not root
  error" messages when looking up group
  information (bug 281)
(This used to be commit 9b8bf6a950)
2003-11-07 23:04:06 +00:00
Jeremy Allison
5cfe36d09d Handle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>with memory leak fixes by me.
Jeremy.
(This used to be commit e591854eda)
2003-11-07 18:32:23 +00:00
Gerald Carter
1f62f2d057 working on release notes for 3.0.1pre2
(This used to be commit d45441bb4f)
2003-11-07 17:33:37 +00:00
Tim Potter
6245ac10f9 Set vendor name.
(This used to be commit 9d8cacc4e6)
2003-11-07 16:55:40 +00:00
Tim Potter
2849cc69bd Set vendor string.
(This used to be commit 0b28bed505)
2003-11-07 16:54:57 +00:00
Tim Potter
d34e91dbbc Add vendor name to rpm preamble.
(This used to be commit e68189ba86)
2003-11-07 16:53:25 +00:00
Gerald Carter
84ca7ad00c fix for bug 680 (heads up). This gist is to map the
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.

  * allow winbindd to match local accounts to domain SID
    when 'winbind trusted domains only = yes'

  * remove code in idmap_ldap that searches the user
    suffix and group suffix.  It's not needed and
    provides inconsistent functionality from the tdb backend.

This has been tested.  I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.
(This used to be commit ee272414e9)
2003-11-07 14:39:47 +00:00
Gerald Carter
9db332645b don't allow setting of the guest account
(This used to be commit e0eea36394)
2003-11-07 14:32:25 +00:00
Volker Lendecke
88b0120e56 Implement %i-Macro for the locally used IP address. With this you can again
have virtual hosts with different configurations on a single smbd even on port
445.

Volker
(This used to be commit 3a7c8c4f0e)
2003-11-07 10:11:48 +00:00
Volker Lendecke
d5573ccde3 Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system
functions.

Next step will be the %i macro for the local IP address. I still want to play
%L-games in times of port 445.

Volker
(This used to be commit d7162122ea)
2003-11-07 09:03:02 +00:00