samba.git
20 years agoThis commit was manufactured by cvs2svn to create tag samba-3.0.1rc2
cvs2svn Import User [Thu, 11 Dec 2003 04:13:49 +0000 (04:13 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-3-0-1rc2'.

20 years agopreparing for release of 3.0.1rc2
Gerald Carter [Thu, 11 Dec 2003 04:13:48 +0000 (04:13 +0000)]
preparing for release of 3.0.1rc2

20 years agolast show stoppers for 3.0.1rc2 (i really mean it this time)
Gerald Carter [Wed, 10 Dec 2003 21:57:14 +0000 (21:57 +0000)]
last show stoppers for 3.0.1rc2 (i really mean it this time)

20 years agodon't list changes in rc1 again in rc2
Gerald Carter [Wed, 10 Dec 2003 04:51:09 +0000 (04:51 +0000)]
don't list changes in rc1 again in rc2

20 years agoupdating WHATSNEW for release
Gerald Carter [Wed, 10 Dec 2003 04:48:23 +0000 (04:48 +0000)]
updating WHATSNEW for release

20 years agosync source for 3.0.1rc2
Gerald Carter [Wed, 10 Dec 2003 04:34:09 +0000 (04:34 +0000)]
sync source for 3.0.1rc2

20 years agosyncing examples & packaging files for 3.0.1rc2
Gerald Carter [Wed, 10 Dec 2003 04:31:05 +0000 (04:31 +0000)]
syncing examples & packaging files for 3.0.1rc2

20 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn Import User [Tue, 9 Dec 2003 21:31:39 +0000 (21:31 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.

20 years agoworking on packaging; also fixed some path issues in configure.in & Makefile.in
Gerald Carter [Tue, 9 Dec 2003 21:31:38 +0000 (21:31 +0000)]
working on packaging; also fixed some path issues in configure.in & Makefile.in

20 years agoFinal part of fix for #445. Don't add user for machine accounts.
Jeremy Allison [Tue, 9 Dec 2003 18:34:26 +0000 (18:34 +0000)]
Final part of fix for #445. Don't add user for machine accounts.
Jeremy.

20 years agofix bug in get_peer_name() caused by --enable-developer and using the same src &...
Gerald Carter [Tue, 9 Dec 2003 18:20:48 +0000 (18:20 +0000)]
fix bug in get_peer_name() caused by --enable-developer and using the same src & dest strings to alpha_strcpy(); reported by Michael Young

20 years agoMake intent to return only one address clear.
Jeremy Allison [Tue, 9 Dec 2003 02:29:24 +0000 (02:29 +0000)]
Make intent to return only one address clear.
Jeremy.

20 years agoworking on bug 687; protect against null src strings in alloc_sub_basic()
Gerald Carter [Mon, 8 Dec 2003 17:42:26 +0000 (17:42 +0000)]
working on bug 687; protect against null src strings in alloc_sub_basic()

20 years agomake sure we use a real network address in case there are extra non-zero octets in...
Gerald Carter [Mon, 8 Dec 2003 17:42:21 +0000 (17:42 +0000)]
make sure we use a real network address in case there are extra non-zero octets in hosts allow/deny

20 years agoMerge from 3.0:
Andrew Bartlett [Sun, 7 Dec 2003 11:06:40 +0000 (11:06 +0000)]
Merge from 3.0:

source/libsmb/ntlmssp.c:
Picked up by the build farm - despite all my efforts, security=server was
broken by my NTLM2 commit.  This should correctly cause the NTLM2 case
not to be negotiated when 'security=server' is in effect.

testsuide/build_farm/runlist:
Without 'non unix accounts' we can't test security=domain on the build farm.

source/rpc_server/srv_samr_nt.c:
Match Win2k and return 'invalid parameter' for creating of a new account with
account flags of 0.

Andrew Bartlett

20 years agoFix for bug #445 (missing unix user on kerberos auth doesn't call add user
Jeremy Allison [Sat, 6 Dec 2003 02:33:59 +0000 (02:33 +0000)]
Fix for bug #445 (missing unix user on kerberos auth doesn't call add user
script).
Jeremy.

20 years agofix %a variable for Windows 2003 -> Win2K3
Gerald Carter [Fri, 5 Dec 2003 21:52:17 +0000 (21:52 +0000)]
fix %a variable for Windows 2003 -> Win2K3

20 years agoJanitor for tridge...
Jeremy Allison [Fri, 5 Dec 2003 21:01:23 +0000 (21:01 +0000)]
Janitor for tridge...
Jeremy.

20 years agopackaging updates from Buchan
Gerald Carter [Fri, 5 Dec 2003 17:21:00 +0000 (17:21 +0000)]
packaging updates from Buchan

20 years agocreate libdir for installclientlib; patch from Bill Knox
Gerald Carter [Fri, 5 Dec 2003 15:27:58 +0000 (15:27 +0000)]
create libdir for installclientlib; patch from Bill Knox

20 years agopreparing for release of 3.0.1rc1
Gerald Carter [Thu, 4 Dec 2003 22:05:15 +0000 (22:05 +0000)]
preparing for release of 3.0.1rc1

20 years agoupdating top 0.8.2-1 of the smbldap tools
Gerald Carter [Thu, 4 Dec 2003 22:02:05 +0000 (22:02 +0000)]
updating top 0.8.2-1 of the smbldap tools

20 years agoadding Steve's recent change
Gerald Carter [Thu, 4 Dec 2003 21:35:54 +0000 (21:35 +0000)]
adding Steve's recent change
updating WHATSNEW

20 years agosyncing tree for 3.0.1rc1
Gerald Carter [Thu, 4 Dec 2003 20:35:40 +0000 (20:35 +0000)]
syncing tree for 3.0.1rc1

20 years agofix process_incoming_data() to return the number of bytes handled this call whether...
Gerald Carter [Thu, 4 Dec 2003 20:22:19 +0000 (20:22 +0000)]
fix process_incoming_data() to return the number of bytes handled this call whether we have a complete pdu or not; fixes bug with multiple pdu request rpc's broken over SMBwriteX calls each

20 years agotypo in BASEDIR; patch from Darren Chew
Gerald Carter [Thu, 4 Dec 2003 16:39:11 +0000 (16:39 +0000)]
typo in BASEDIR; patch from Darren Chew

20 years agoreadding schema items that were accidentally deleted
Gerald Carter [Thu, 4 Dec 2003 05:02:25 +0000 (05:02 +0000)]
readding schema items that were accidentally deleted

20 years agosupport munged dial for ldapsam; patch from Aurélien Degrémont; bug 800
Gerald Carter [Thu, 4 Dec 2003 04:52:49 +0000 (04:52 +0000)]
support munged dial for ldapsam; patch from Aurélien Degrémont; bug 800

20 years agodon't crash on a NULL priviledge pointer; patch from Jianliang Lu
Gerald Carter [Thu, 4 Dec 2003 04:32:22 +0000 (04:32 +0000)]
don't crash on a NULL priviledge pointer; patch from Jianliang Lu

20 years ago* fix RemoveSidForeignDomain() ; bug 252
Gerald Carter [Thu, 4 Dec 2003 04:08:32 +0000 (04:08 +0000)]
* fix RemoveSidForeignDomain() ; bug 252
* don't fall back to unmapped UNIX group for
  get_local_group_from_sid()
* remove an extra become/unbecome_root() pair
  from group enumeration

20 years agoFix for "hash" (not hash2) type mangling. Noticed by "Forrest W. Christian" <fwc...
Jeremy Allison [Wed, 3 Dec 2003 23:16:24 +0000 (23:16 +0000)]
Fix for "hash" (not hash2) type mangling. Noticed by "Forrest W. Christian" <fwc@mt.net>
Jeremy.

20 years agoTwo trivial warnings
Volker Lendecke [Tue, 2 Dec 2003 11:41:42 +0000 (11:41 +0000)]
Two trivial warnings

Volker

20 years agoClient connect signing error messages should be level zero else
Jeremy Allison [Mon, 1 Dec 2003 22:55:41 +0000 (22:55 +0000)]
Client connect signing error messages should be level zero else
they're easy to miss.
Jeremy.

20 years agoGet a little paranoid about memfree use in convert_string_allocate..
Jeremy Allison [Mon, 1 Dec 2003 22:46:49 +0000 (22:46 +0000)]
Get a little paranoid about memfree use in convert_string_allocate..
Looking at crash bugs #809 and others.
Jeremy.

20 years agoanother strequal() == 0 fix
Gerald Carter [Mon, 1 Dec 2003 19:58:53 +0000 (19:58 +0000)]
another strequal() == 0 fix

20 years agofix inverted logic caused by s/strcmp/strequal/; host allow/deny works again; bug 846
Gerald Carter [Mon, 1 Dec 2003 19:26:32 +0000 (19:26 +0000)]
fix inverted logic caused by s/strcmp/strequal/; host allow/deny works again; bug 846

20 years agoadd Replicator and RAS Servers to list of builtin SIDs we resolve; bug 608
Gerald Carter [Mon, 1 Dec 2003 18:38:08 +0000 (18:38 +0000)]
add Replicator and RAS Servers to list of builtin SIDs we resolve; bug 608

20 years agodon't mistake pre-existing UNIX jobs for smb jobs; patch from SATOH Fumiyasu bug 770
Gerald Carter [Mon, 1 Dec 2003 18:02:30 +0000 (18:02 +0000)]
don't mistake pre-existing UNIX jobs for smb jobs; patch from SATOH Fumiyasu bug 770

20 years agoIn the brief 'net rpc group' listing, don't cut off group names at 21 chars.
Volker Lendecke [Mon, 1 Dec 2003 14:13:20 +0000 (14:13 +0000)]
In the brief 'net rpc group' listing, don't cut off group names at 21 chars.

Volker

20 years agoBeautify the net status help message a bit
Volker Lendecke [Mon, 1 Dec 2003 14:08:15 +0000 (14:08 +0000)]
Beautify the net status help message a bit

Volker

20 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn Import User [Mon, 1 Dec 2003 14:02:25 +0000 (14:02 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.

20 years agoI needed a decently parseable format of smbstatus. Looking at smbstatus code
Volker Lendecke [Mon, 1 Dec 2003 14:02:24 +0000 (14:02 +0000)]
I needed a decently parseable format of smbstatus. Looking at smbstatus code
tells me that this should not be expanded, so I implemented

net status [sessions|shares] [parseable]

Volker

20 years agoFix spurious error msg. when seq=0.
Jeremy Allison [Mon, 1 Dec 2003 06:59:56 +0000 (06:59 +0000)]
Fix spurious error msg. when seq=0.
Jeremy.

20 years agoEnsure the server can cope with multiple secondary trans
Jeremy Allison [Mon, 1 Dec 2003 06:53:21 +0000 (06:53 +0000)]
Ensure the server can cope with multiple secondary trans
requests when signing is turned on.
Jeremy.

20 years agoSubtract NT_STATUS from common flag, don't add it...
Jeremy Allison [Mon, 1 Dec 2003 06:19:14 +0000 (06:19 +0000)]
Subtract NT_STATUS from common flag, don't add it...
Jeremy.

20 years agoEnsure we use the same mid for the secondary trans requests, W2K3
Jeremy Allison [Mon, 1 Dec 2003 03:24:53 +0000 (03:24 +0000)]
Ensure we use the same mid for the secondary trans requests, W2K3
does this.
Jeremy.

20 years agoDon't automatically set nt status code flag unless client tells us it can
Jeremy Allison [Mon, 1 Dec 2003 02:25:53 +0000 (02:25 +0000)]
Don't automatically set nt status code flag unless client tells us it can
cope.
Jeremy.

20 years agoBetter fix for client signing bug. Ensure we don't malloc/free trans signing
Jeremy Allison [Mon, 1 Dec 2003 01:04:02 +0000 (01:04 +0000)]
Better fix for client signing bug. Ensure we don't malloc/free trans signing
state info each packet.
Jeremy.

20 years agoFix signing bug with secondary client trans requests. Turns out the last
Jeremy Allison [Sun, 30 Nov 2003 19:40:53 +0000 (19:40 +0000)]
Fix signing bug with secondary client trans requests. Turns out the last
packet is the one that matters for checking the signing replies. Need to
check the server code does this correctly too....
Bug #832 reported by Volker.
Jeremy.

20 years agoImplement 'net rpc group list [global|local|builtin]*' for a select listing of
Volker Lendecke [Fri, 28 Nov 2003 15:10:30 +0000 (15:10 +0000)]
Implement 'net rpc group list [global|local|builtin]*' for a select listing of
the respective user databases.

Volker

20 years agoFix for pdbedit error code returns (sorry, forgot who sent in the patch).
Jeremy Allison [Thu, 27 Nov 2003 18:34:40 +0000 (18:34 +0000)]
Fix for pdbedit error code returns (sorry, forgot who sent in the patch).
Jeremy.

20 years agoOnly ask for 512 names at a time.
Volker Lendecke [Thu, 27 Nov 2003 17:32:13 +0000 (17:32 +0000)]
Only ask for 512 names at a time.

Volker

20 years agouse samr_dispinfo(level == 1) for enumerating domain users so we can include the...
Gerald Carter [Thu, 27 Nov 2003 04:40:58 +0000 (04:40 +0000)]
use samr_dispinfo(level == 1) for enumerating domain users so we can include the full name in gecos field; bug 587

20 years agoPatch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
Jeremy Allison [Wed, 26 Nov 2003 20:58:51 +0000 (20:58 +0000)]
Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.

20 years agoImplement "net rpc group members": Get members of a domain group in
Volker Lendecke [Wed, 26 Nov 2003 10:09:59 +0000 (10:09 +0000)]
Implement "net rpc group members": Get members of a domain group in
human-readable format.

Volker

20 years agoGet rid of a const warning
Volker Lendecke [Wed, 26 Nov 2003 10:01:31 +0000 (10:01 +0000)]
Get rid of a const warning

Volker

20 years agoMerge from 3.0:
Andrew Bartlett [Wed, 26 Nov 2003 00:07:55 +0000 (00:07 +0000)]
Merge from 3.0:

 - NTLM2 fixes, don't force NTLM2
 - Don't use NTLM2 for RPC, it doesn't work yet
 - Add comments to winbindd_pam.c
 - Merge 64 bit fixes and better debug messages in winbindd.c

Andrew Bartlett

20 years agoPatch from Jim McDonough for bug #802. Retrieve the correct ACL group bits
Jeremy Allison [Tue, 25 Nov 2003 23:25:15 +0000 (23:25 +0000)]
Patch from Jim McDonough for bug #802. Retrieve the correct ACL group bits
if the file has an ACL.
Jeremy.

20 years agoallow users to delete jobs with cups printing backend
Gerald Carter [Tue, 25 Nov 2003 19:17:20 +0000 (19:17 +0000)]
allow users to delete jobs with cups printing backend
The changes the name of the job passed off to cups
from "Test Page" to "smbprn.00000033 Test Page" so that
we can get the smb jobid back from lpq.  Working on bug
770.

20 years agoIf signing starts successfully, don't just turn it off automatically if
Jeremy Allison [Tue, 25 Nov 2003 18:15:49 +0000 (18:15 +0000)]
If signing starts successfully, don't just turn it off automatically if
it fails later. Only turn it off automatically if it fails at the start.
Jeremy.

20 years agoPatch for #263 from jpjanosi@us.ibm.com.
Jeremy Allison [Tue, 25 Nov 2003 02:04:10 +0000 (02:04 +0000)]
Patch for #263 from jpjanosi@us.ibm.com.
Jeremy.

20 years agoWhen server signing is set to "auto", if the client doesn't sign just
Jeremy Allison [Tue, 25 Nov 2003 00:32:48 +0000 (00:32 +0000)]
When server signing is set to "auto", if the client doesn't sign just
ignore it. Only fail if signing is set to "required".
Jeremy.

20 years agostrequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_r...
Gerald Carter [Mon, 24 Nov 2003 20:22:41 +0000 (20:22 +0000)]
strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_response()

20 years agoAdded "passwd chat timeout" parameter. Docs to follow.
Jeremy Allison [Mon, 24 Nov 2003 20:18:44 +0000 (20:18 +0000)]
Added "passwd chat timeout" parameter. Docs to follow.
Jeremy.

20 years agopatch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating...
Gerald Carter [Mon, 24 Nov 2003 18:38:15 +0000 (18:38 +0000)]
patch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating client name when using CUPS

20 years agomore access fixes for group enumeration in LDAP; bug 281
Gerald Carter [Mon, 24 Nov 2003 17:33:15 +0000 (17:33 +0000)]
more access fixes for group enumeration in LDAP; bug 281

20 years ago(Merge from 3.0)
Andrew Bartlett [Sun, 23 Nov 2003 00:23:26 +0000 (00:23 +0000)]
(Merge from 3.0)

Patch by emil@disksites.com <Emil Rasamat> to ensure we always always
free() each auth method. (We had relied on the use of talloc() only,
despite providing the free() callback)

Andrew Bartlett

20 years agoMerge from 3.0:
Andrew Bartlett [Sun, 23 Nov 2003 00:22:17 +0000 (00:22 +0000)]
Merge from 3.0:

Add support for variable-length session keys in our client code.

This means that we now support 'net rpc join' with KRB5 (des based)
logins.  Now, you need to hack 'net' to do that, but the principal is
important...

When we add kerberos to 'net rpc', it should be possible to still do
user management and the like over RPC.

-

Add server-side support for variable-length session keys (as used by
DES based krb5 logins).

Andrew Bartlett

20 years ago(merge from 3.0)
Andrew Bartlett [Sat, 22 Nov 2003 13:29:02 +0000 (13:29 +0000)]
(merge from 3.0)

Changes all over the shop, but all towards:
 - NTLM2 support in the server
 - KEY_EXCH support in the server
 - variable length session keys.

In detail:

 - NTLM2 is an extension of NTLMv1, that is compatible with existing
domain controllers (unlike NTLMv2, which requires a DC upgrade).

 * This is known as 'NTLMv2 session security' *

(This is not yet implemented on the RPC pipes however, so there may
well still be issues for PDC setups, particuarly around password
changes.  We do not fully understand the sign/seal implications of
NTLM2 on RPC pipes.)

This requires modifications to our authentication subsystem, as we
must handle the 'challege' input into the challenge-response algorithm
being changed.  This also needs to be turned off for
'security=server', which does not support this.

- KEY_EXCH is another 'security' mechanism, whereby the session key
actually used by the server is sent by the client, rather than being
the shared-secret directly or indirectly.

- As both these methods change the session key, the auth subsystem
needed to be changed, to 'override' session keys provided by the
backend.

- There has also been a major overhaul of the NTLMSSP subsystem, to
merge the 'client' and 'server' functions, so they both operate on a
single structure.  This should help the SPNEGO implementation.

- The 'names blob' in NTLMSSP is always in unicode - never in ascii.
Don't make an ascii version ever.

- The other big change is to allow variable length session keys.  We
have always assumed that session keys are 16 bytes long - and padded
to this length if shorter.  However, Kerberos session keys are 8 bytes
long, when the krb5 login uses DES.

 * This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. *

- Add better DEBUG() messages to ntlm_auth, warning administrators of
misconfigurations that prevent access to the privileged pipe.  This
should help reduce some of the 'it just doesn't work' issues.

- Fix data_blob_talloc() to behave the same way data_blob() does when
passed a NULL data pointer.  (just allocate)

REMEMBER to make clean after this commit - I have changed plenty of
data structures...

Andrew Bartlett

20 years agodebug and swat fixes from 3.0
Gerald Carter [Sat, 22 Nov 2003 06:17:46 +0000 (06:17 +0000)]
debug and swat fixes from 3.0

20 years agofix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
Gerald Carter [Sat, 22 Nov 2003 04:49:32 +0000 (04:49 +0000)]
fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398

20 years agoEnsure that items in a list of strings containing whitespace
Gerald Carter [Sat, 22 Nov 2003 04:35:36 +0000 (04:35 +0000)]
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.

20 years agoFix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen...
Jeremy Allison [Fri, 21 Nov 2003 23:01:34 +0000 (23:01 +0000)]
Fix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen.de>.
Jeremy.

20 years agoFix Jerry's no-proto bug :-).
Jeremy Allison [Fri, 21 Nov 2003 19:20:51 +0000 (19:20 +0000)]
Fix Jerry's no-proto bug :-).
Jeremy.

20 years agomake sure we don't append the ldap suffix when writing out the ldap XXX suffix values...
Gerald Carter [Fri, 21 Nov 2003 19:12:33 +0000 (19:12 +0000)]
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

20 years agoTypo fix.
Rafal Szczesniak [Thu, 20 Nov 2003 23:54:13 +0000 (23:54 +0000)]
Typo fix.

20 years agoAdded useful information to debug lines.
Rafal Szczesniak [Wed, 19 Nov 2003 23:14:21 +0000 (23:14 +0000)]
Added useful information to debug lines.
Patch by metze.

rafal

20 years agoLook at error before using it in debug statement.
Jeremy Allison [Wed, 19 Nov 2003 22:57:53 +0000 (22:57 +0000)]
Look at error before using it in debug statement.
Jeremy.

20 years agoGroup quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor...
Jeremy Allison [Wed, 19 Nov 2003 02:19:33 +0000 (02:19 +0000)]
Group quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor-nixdorf.com>
Jeremy.

20 years agoCorrect fix for '$' termination test.
Jeremy Allison [Wed, 19 Nov 2003 00:22:47 +0000 (00:22 +0000)]
Correct fix for '$' termination test.
Jeremy.

20 years agoFix to correct checking of '$' name termination.
Rafal Szczesniak [Tue, 18 Nov 2003 20:06:10 +0000 (20:06 +0000)]
Fix to correct checking of '$' name termination.
Patch by metze.

rafal

20 years agoUseful debug message. Patch by metze.
Rafal Szczesniak [Tue, 18 Nov 2003 19:39:51 +0000 (19:39 +0000)]
Useful debug message. Patch by metze.

rafal

20 years agoRemove unneeded second open for filename ending in '.' now we know it's
Jeremy Allison [Tue, 18 Nov 2003 02:06:46 +0000 (02:06 +0000)]
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.

20 years agoEnsure we mangle names ending in '.' in hash2 mangling method.
Jeremy Allison [Tue, 18 Nov 2003 01:47:15 +0000 (01:47 +0000)]
Ensure we mangle names ending in '.' in hash2 mangling method.
Jeremy.

20 years agoFix from Andrew Bartlett to fix up the munged-dial problem.
Jeremy Allison [Mon, 17 Nov 2003 22:07:23 +0000 (22:07 +0000)]
Fix from Andrew Bartlett to fix up the munged-dial problem.
Jeremy.

20 years agoFrom 3_0:
Volker Lendecke [Mon, 17 Nov 2003 18:01:28 +0000 (18:01 +0000)]
From 3_0:

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

20 years ago* make sure we only enumerate group mapping entries
Gerald Carter [Mon, 17 Nov 2003 16:11:16 +0000 (16:11 +0000)]
* 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

20 years agoupdates from Buchan
Gerald Carter [Mon, 17 Nov 2003 14:16:55 +0000 (14:16 +0000)]
updates from Buchan

20 years agodo not build config_ldap by default
Simo Sorce [Sun, 16 Nov 2003 09:11:38 +0000 (09:11 +0000)]
do not build config_ldap by default
(forget to remove the module from the default list after testing :-)

20 years agoadd also the schema attributes and object classes need by config_ldap
Simo Sorce [Sat, 15 Nov 2003 00:52:06 +0000 (00:52 +0000)]
add also the schema attributes and object classes need by config_ldap

Jerry,
if you have any problems with these schema additions, let me know, so that
we can arrange the right solution

20 years agoSplit smbldap in a core file and a utility file
Simo Sorce [Sat, 15 Nov 2003 00:47:29 +0000 (00:47 +0000)]
Split smbldap in a core file and a utility file

Add module support for configuration loading

Add a first implementation of config_ldap module to put samba configuration
on ldap

It worked on my test machine, please try it out and send bugfixes :-)

have fun,
Simo.

INSTRUCTIONS:

Just add something like  this to your smb.conf file:
        config backend = config_ldap:ldap://localhost
        config_ldap:basedn = dc=samba,dc=org

the config tree must follow this scheme:
   ou=foo, dc=samba, dc=org <- global section
   |- sambaOptionName=log level, ou=foo, ...  <- options
   |- ...
   |- sambaShareName=testlc, ou=foo, ...  == [testlc]
      |- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option

here is a sample ldif:
# foo, samba, org
dn: ou=foo, dc=samba, dc=org
objectClass: organizationalUnit
objectClass: sambaConfig
ou: foo
description: Test Foo

# log level, foo, samba, org
dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: log level
sambaIntegerOption: 10
description: log level 10 is suitable for good debugging

# testlc, foo, samba, org
dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaShare
sambaShareName: testlc
description: share to test ldap config module actually works

# path, testlc, foo, samba, org
dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: path
sambaStringOption: /tmp
description: Path for share testlc

# read only, testlc, foo, samba, org
dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: read only
sambaBoolOption: TRUE
description: Share testlc is read only

# guest ok, testlc, foo, samba, org
dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: guest ok
sambaBoolOption: TRUE
description: Guest users are allowed to connect to testlc share

20 years agopreparing for release of 3.0.1pre3
Gerald Carter [Fri, 14 Nov 2003 03:44:53 +0000 (03:44 +0000)]
preparing for release of 3.0.1pre3

20 years agofix more memory leaks in the LDAP backend code; patches from metze
Gerald Carter [Fri, 14 Nov 2003 03:36:27 +0000 (03:36 +0000)]
fix more memory leaks in the LDAP backend code; patches from metze

20 years agosync tree from 3.0
Gerald Carter [Fri, 14 Nov 2003 03:36:13 +0000 (03:36 +0000)]
sync tree from 3.0

20 years agoUpdate Makefile ...
Richard Sharpe [Thu, 13 Nov 2003 21:42:07 +0000 (21:42 +0000)]
Update Makefile ...

20 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn Import User [Thu, 13 Nov 2003 21:40:28 +0000 (21:40 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_3_0_RELEASE'.

20 years agoAdd this to samba-head.
Richard Sharpe [Thu, 13 Nov 2003 21:40:27 +0000 (21:40 +0000)]
Add this to samba-head.

20 years ago* Fix from SATOH Fumiyasu for bug 660 (failing to view print
Gerald Carter [Thu, 13 Nov 2003 20:16:28 +0000 (20:16 +0000)]
* 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

20 years agoKeep configure.in in sync with SAMBA-3.0.0
Richard Sharpe [Thu, 13 Nov 2003 17:04:59 +0000 (17:04 +0000)]
Keep configure.in in sync with SAMBA-3.0.0

20 years agoshow locked files for -u <user>; bug 590
Gerald Carter [Wed, 12 Nov 2003 22:37:09 +0000 (22:37 +0000)]
show locked files for -u <user>; bug 590