ira/wip.git
17 years agofix broken link
Gerald Carter [Thu, 12 Jun 2003 13:10:47 +0000 (13:10 +0000)]
fix broken link
(This used to be commit ab79fac6b0ca1e2c3a8a63408869865c6d7f4304)

17 years agoFix some misleading debug messages.
Volker Lendecke [Thu, 12 Jun 2003 08:22:55 +0000 (08:22 +0000)]
Fix some misleading debug messages.
(This used to be commit 9c003ae4ff21040b55264f8b4c34bd5956c97dc6)

17 years agoGet rid of a const warning.
Volker Lendecke [Thu, 12 Jun 2003 07:54:13 +0000 (07:54 +0000)]
Get rid of a const warning.

Volker
(This used to be commit 6684f5b11f8498defa737e3ba85eb4e1f5b36202)

17 years agoFix typo found by Vance
Volker Lendecke [Thu, 12 Jun 2003 07:32:44 +0000 (07:32 +0000)]
Fix typo found by Vance
(This used to be commit 678e68a295f899d0920e5a6ffe3f6ec3705828e2)

17 years agoAndrew is right, this is probably the wrong approach.
Volker Lendecke [Thu, 12 Jun 2003 07:21:26 +0000 (07:21 +0000)]
Andrew is right, this is probably the wrong approach.

Take away the automatic mapping of users and groups again.

Volker
(This used to be commit 74510369d48545e813ac07e52814840803dd6ba2)

17 years agoIgnore generated files
Jelmer Vernooij [Wed, 11 Jun 2003 22:21:43 +0000 (22:21 +0000)]
Ignore generated files
(This used to be commit a6f3598506c3d7031f339ec7f1eb9af5f963dc2c)

17 years agoSet the user's primary unix group from usrmgr.exe.
Volker Lendecke [Wed, 11 Jun 2003 20:42:10 +0000 (20:42 +0000)]
Set the user's primary unix group from usrmgr.exe.

This part of a fix to bug#45.

Volker
(This used to be commit 43d306011fe0497dabdf6f43a0d120900fd96e6d)

17 years agoSorry idra for messing around with your stuff, but this was obviously not
Volker Lendecke [Wed, 11 Jun 2003 20:06:11 +0000 (20:06 +0000)]
Sorry idra for messing around with your stuff, but this was obviously not
tested.

Incrementing HWW_USER while allocating a GROUPID looked somewhat wrong.

Volker
(This used to be commit d1eac2c75856f8f1dec8d429feb24a5f05fa6ca8)

17 years agoavoid races in getting high watermark
Simo Sorce [Wed, 11 Jun 2003 18:14:34 +0000 (18:14 +0000)]
avoid races in getting high watermark
(This used to be commit df0df941d84386a7de5c97149c6c06d01a8720d0)

17 years agoFix 'security = domain' without winbind. This stores the sid we got
Volker Lendecke [Wed, 11 Jun 2003 16:36:04 +0000 (16:36 +0000)]
Fix 'security = domain' without winbind. This stores the sid we got
from the PDC as a mapping to the uid we got from getpwnam in the
local idmap.

This should not be worse than the current state, so I decided to
commit it. It is different from abartlet's preliminary patch, but I
believe this is the better solution. Feel free to comment and/or
revert it.

Volker
(This used to be commit 0c16965e6f49a2c0d73b1392e9f8cfc7449e2e59)

17 years agoRemove obvious question that's answered better in the HOWTO
Jelmer Vernooij [Wed, 11 Jun 2003 16:25:40 +0000 (16:25 +0000)]
Remove obvious question that's answered better in the HOWTO
(This used to be commit 3404fa3108394a3a25d4e635f5b662252656a2a1)

17 years agoUpdate from Stefan Metzmacher
Jelmer Vernooij [Wed, 11 Jun 2003 15:59:55 +0000 (15:59 +0000)]
Update from Stefan Metzmacher
(This used to be commit 9200b49de2967ddc3b8e8d1526a8a93d12b7ada0)

17 years agoUpdate VFS documentation (patch from Stefan Metzmacher)
Jelmer Vernooij [Wed, 11 Jun 2003 12:21:42 +0000 (12:21 +0000)]
Update VFS documentation (patch from Stefan Metzmacher)
(This used to be commit 468a2e823eb251325231f7fc261d6637d4008bbb)

17 years agoUpdate from Stefan Metzmacher
Jelmer Vernooij [Wed, 11 Jun 2003 12:20:34 +0000 (12:20 +0000)]
Update from Stefan Metzmacher
(This used to be commit 8d6f9d058d89c54a18d769f75a3d6f4ec9ab0f35)

17 years agoseveral places in client.c rely in commands[i].name == NULL being a
Andrew Tridgell [Wed, 11 Jun 2003 06:23:53 +0000 (06:23 +0000)]
several places in client.c rely in commands[i].name == NULL being a
termination condition for checking for commands. Make sure the last
element is indeed NULL.
(This used to be commit 294f79884df1ebc4a8d955601e7547bdcadef5d6)

17 years agoi'm getting rather sick of this
Andrew Tridgell [Wed, 11 Jun 2003 06:10:10 +0000 (06:10 +0000)]
i'm getting rather sick of this

**********************************************************
**** PLEASE TEST YOUR CHANGES BEFORE CHECKING THEM IN ****
**********************************************************

Jelmer, your change did not fix the -b option, it just make it not
segfault on debian. It did however add a warning and make it not
compile on some systems. It also gave the io_bufsize the value of a
pointer, not the value the user specified.

(this doesn't apply just to Jelmer, I'm just seeing rather too many
checkins from everyone lately where the code could never have possibly
worked, so was obviously checked in without testing)
(This used to be commit 21931ad7a0584c14fd0278adc74eab9cacf14a3d)

17 years agoon AIX FD_ZERO() is defined in terms of bzero(), so we can't have
Andrew Tridgell [Wed, 11 Jun 2003 05:34:14 +0000 (05:34 +0000)]
on AIX FD_ZERO() is defined in terms of bzero(), so we can't have
the "don't use bzero" macros.

In general I think it would be better to have a separate script that
checks for deprecated functions like these using grep rather than
using these cpp tricks. They just get us into trouble.
(This used to be commit 2a227c880db0f233fb1f6dae5851450ea6020f3b)

17 years agoAn update long overdue. Please edit this further guys.
John Terpstra [Wed, 11 Jun 2003 01:46:00 +0000 (01:46 +0000)]
An update long overdue. Please edit this further guys.
(This used to be commit b843c482f479c9d9f4f358dac8c697a5963265e5)

17 years agoAdd in rety loop for query_user_list (from APP_HEAD). Deals with a bug
Jeremy Allison [Tue, 10 Jun 2003 22:11:30 +0000 (22:11 +0000)]
Add in rety loop for query_user_list (from APP_HEAD). Deals with a bug
using MSRPC backend and should be safe with ldap backend.
Jeremy.
(This used to be commit 67535329a2df8986c2d1d85e25cd5c558ee61405)

17 years agoHandle <contrib> when generating attributions page
Jelmer Vernooij [Tue, 10 Jun 2003 19:42:23 +0000 (19:42 +0000)]
Handle <contrib> when generating attributions page
(This used to be commit 9f64311a7cab01554537c5dbda70a6d27234aa59)

17 years agoAdd authors
Jelmer Vernooij [Tue, 10 Jun 2003 19:39:16 +0000 (19:39 +0000)]
Add authors
(This used to be commit 17f65e3a9357d1e1fad756617c6108bc32b6412e)

17 years agoFix 2 typos (reported by Marc Groot Koerkamp <marc@its-projects.nl>)
Jelmer Vernooij [Tue, 10 Jun 2003 19:36:28 +0000 (19:36 +0000)]
Fix 2 typos (reported by Marc Groot Koerkamp <marc@its-projects.nl>)
(This used to be commit 97559ec18e2ee668e32879e5653f06f3053419ef)

17 years agoDon't segfault when -b is specified (fixes debian bug #196833)
Jelmer Vernooij [Tue, 10 Jun 2003 19:27:32 +0000 (19:27 +0000)]
Don't segfault when -b is specified (fixes debian bug #196833)
(This used to be commit 4af9074397bbb208e585f85aaa8a6e402057ebdd)

17 years agoOk, I've tried being Mr. Nice Guy and people (you know who you are) still
Jeremy Allison [Tue, 10 Jun 2003 17:30:28 +0000 (17:30 +0000)]
Ok, I've tried being Mr. Nice Guy and people (you know who you are) still
keep putting bzero BSD'ism's into our source code. Make this an error like
bcopy and others to prevent it in future.
Jeremy.
(This used to be commit 80d043231626192db85f08ccea062b91fcf999cc)

17 years agoMore updates on editreg.c to bring it better in line with the Samba source.
Richard Sharpe [Tue, 10 Jun 2003 17:18:07 +0000 (17:18 +0000)]
More updates on editreg.c to bring it better in line with the Samba source.
(This used to be commit dc69a638b9e12726f050d79b63f92f816c35fe8f)

17 years agoremoved editreg from standard build until it is portable. Right now it
Andrew Tridgell [Tue, 10 Jun 2003 14:09:20 +0000 (14:09 +0000)]
removed editreg from standard build until it is portable. Right now it
fails to build on a ton of platforms as it completely bypasses all of
our portability code.

if you want it then use 'make bin/editreg'. If some distros want to
add that to their spec files then thats up to them, but we really
can't have non-portable code unconditionally built in our main tree.
(This used to be commit 3c66111f3200af2b868fde97ec19267ad81f9617)

17 years agofixed libsmb code to set correct timeout in cli_state when waiting for
Andrew Tridgell [Tue, 10 Jun 2003 14:02:46 +0000 (14:02 +0000)]
fixed libsmb code to set correct timeout in cli_state when waiting for
a blocking lock
(This used to be commit 3515476fe436132d4569ac9067ea6195ab087e77)

17 years agofixed smbtorture LOCK1 test to know about the correct multiplier for
Andrew Tridgell [Tue, 10 Jun 2003 14:01:57 +0000 (14:01 +0000)]
fixed smbtorture LOCK1 test to know about the correct multiplier for
timed blocking locks
(This used to be commit 24feb1afa621c4f93135f36e635af08abe8e7c24)

17 years agouse lp_realm() to find the default realm for 'net ads password'
Andrew Tridgell [Tue, 10 Jun 2003 04:15:55 +0000 (04:15 +0000)]
use lp_realm() to find the default realm for 'net ads password'
(This used to be commit 21d92802781ac224f569a990df3ec1070f0da434)

17 years ago- fixed the bug that forced us not to use the winbindd cache when we
Andrew Tridgell [Tue, 10 Jun 2003 03:50:38 +0000 (03:50 +0000)]
- fixed the bug that forced us not to use the winbindd cache when we
  have a primary ADS domain and a secondary (trusted) NT4 domain. This
  caused winbindd to be *really* slow for that setup.

- fixed winbindd_getgrgid(), which was calling uid_to_sid instead of
  gid_to_sid(). When you make changes to winbind *PLEASE* test using
  nsstest.
(This used to be commit cdd9b60a078b63e22f543d4c8d0956ff536f4d89)

17 years agouse ZERO_STRUCT() instead of memset
Andrew Tridgell [Tue, 10 Jun 2003 03:48:09 +0000 (03:48 +0000)]
use ZERO_STRUCT() instead of memset
(This used to be commit 082084042307f5f7d532b28debdeac11753a05f9)

17 years agoadded an auth flag that indicates if we should be allowed to fallback
Andrew Tridgell [Tue, 10 Jun 2003 03:47:42 +0000 (03:47 +0000)]
added an auth flag that indicates if we should be allowed to fallback
to NTLMSSP for SASL if krb5 fails. This is important as otherwise the
admin may think that a join has succeeeded when kerberos is actually
broken.
(This used to be commit 23a6ea385c4aea208adf36f039244bee14f56a33)

17 years agodon't call a function error_message() as that conflicts with a
Andrew Tridgell [Tue, 10 Jun 2003 03:46:11 +0000 (03:46 +0000)]
don't call a function error_message() as that conflicts with a
kerberos name
(This used to be commit 8fa737f2235abfdc6c78b0af707aea2c67243597)

17 years agowhen creating aliased parameters in loadparm.c you *must* place the
Andrew Tridgell [Tue, 10 Jun 2003 02:13:09 +0000 (02:13 +0000)]
when creating aliased parameters in loadparm.c you *must* place the
alias directly after the main entry, otherwise it isn't treated as an
alias.
(This used to be commit 0f3d44858f49c3f9f191b2a3b47d58882e899421)

17 years agoMore instrumentation for winbindd.
Jeremy Allison [Tue, 10 Jun 2003 00:55:37 +0000 (00:55 +0000)]
More instrumentation for winbindd.
Jeremy.
(This used to be commit 4161a122b74b75b0ed1758e3491e69bb9f1e8390)

17 years agoInstrument cache with debug statements so I can have a clue as to what
Jeremy Allison [Tue, 10 Jun 2003 00:49:43 +0000 (00:49 +0000)]
Instrument cache with debug statements so I can have a clue as to what
is going on in remote large sites.
Jeremy.
(This used to be commit 5987dad1f1049f08bf4a94929f70b5eac96c7007)

17 years agoAdd some basic DEBUG statements at level 10 so we can see what is being
Jeremy Allison [Mon, 9 Jun 2003 23:15:34 +0000 (23:15 +0000)]
Add some basic DEBUG statements at level 10 so we can see what is being
called. This is *essential* (and should be done on all the other cli_XX
rpc calls) to help debug winbindd problems remotely.
Jeremy.
(This used to be commit bc215612cb7c1abc7fb78eda4016ba9e64cdc785)

17 years agoFix for crash bug noticed by Luke Howard | PADL Software Pty Ltd | www.padl.com.
Jeremy Allison [Mon, 9 Jun 2003 17:28:42 +0000 (17:28 +0000)]
Fix for crash bug noticed by Luke Howard | PADL Software Pty Ltd | padl.com.
Jeremy.
(This used to be commit 6a07d19b6342e28a4827c16fcc379952bb1808b4)

17 years agoUpdate WHATSNEW.txt with information from release branch
Alexander Bokovoy [Mon, 9 Jun 2003 13:49:20 +0000 (13:49 +0000)]
Update WHATSNEW.txt with information from release branch
(This used to be commit dac4300c27d38d000b02ca0726141a4ab61d3de4)

17 years agoapplied patch from bug#140
Andrew Tridgell [Mon, 9 Jun 2003 02:54:07 +0000 (02:54 +0000)]
applied patch from bug#140
this fixes a timestamp problem with 64 bit machines
(This used to be commit 0ce6eddad8e148bc6d195ddefb773326339d06e6)

17 years agoDebian updates.
Eloy Paris [Sun, 8 Jun 2003 19:50:13 +0000 (19:50 +0000)]
Debian updates.
(This used to be commit da96b96a1b683bd534bd1e4ff57898bb2cbe8b77)

17 years agoFix some memory leaks and extra cache startups/shutdowns from the trusted
Andrew Bartlett [Sun, 8 Jun 2003 12:51:31 +0000 (12:51 +0000)]
Fix some memory leaks and extra cache startups/shutdowns from the trusted
domains lookup code.

Andrew Bartlett
(This used to be commit 0ec1b1207041a3b6050046ba6d7b466dd4fcf341)

17 years agoEnforce 'client plaintext auth', 'client lanman auth' and 'client ntlmv2 auth'.
Andrew Bartlett [Sun, 8 Jun 2003 12:49:31 +0000 (12:49 +0000)]
Enforce 'client plaintext auth', 'client lanman auth' and 'client ntlmv2 auth'.

(this now causes things like the LANMAN protocol and contacting servers with 'encrypt passwords = no' set to fail, if configured)

'client ntlmv2 auth' (a BOOL) forces both plaintext and lanman off, and is the
most secure setting for compatible hosts.

Perhaps we should change this to 'client minimum auth'?

Andrew Bartlett
(This used to be commit e1fb681e4c921456fde154b87687722a18ed4aac)

17 years agoMake sure that we use schannel (if configured) when checking for a valid
Andrew Bartlett [Sun, 8 Jun 2003 11:39:28 +0000 (11:39 +0000)]
Make sure that we use schannel (if configured) when checking for a valid
join to the DC.

Andrew Bartlett
(This used to be commit af526fa9b39ab1f8483d5cee66321bc12f78ac05)

17 years agoRework our smb signing code again, this factors out some of the common
Andrew Bartlett [Sun, 8 Jun 2003 03:49:35 +0000 (03:49 +0000)]
Rework our smb signing code again, this factors out some of the common
MAC calcuation code, and now supports multiple outstanding packets.

Fixes bug #40

Andrew Bartlett
(This used to be commit dd33212f1ec08f46223d6de8e5ff3140ce367a9a)

17 years agobumping cvs version number to distinguish between SAMBA_3_0 cvs tree
Gerald Carter [Sat, 7 Jun 2003 18:07:30 +0000 (18:07 +0000)]
bumping cvs version number to distinguish between SAMBA_3_0 cvs tree
and 3.0.0beta1 release
(This used to be commit 2619cc5d44f0162d829f5e18163df1b23b4ef5f5)

17 years agoadd back the winbind uid/gid parameter but mark them as deprecated
Gerald Carter [Sat, 7 Jun 2003 13:51:13 +0000 (13:51 +0000)]
add back the winbind uid/gid parameter but mark them as deprecated
(This used to be commit 61215c68493c200c22ea64edb299d69f46c6ab0a)

17 years agoTry to fix memory leaks found by valgrind in pdb_ldap code.
Andrew Bartlett [Sat, 7 Jun 2003 03:22:37 +0000 (03:22 +0000)]
Try to fix memory leaks found by valgrind in pdb_ldap code.

Andrew Bartlett
(This used to be commit decadfcc8205ed5611d74141e301569ef8b1d9f4)

17 years agoDon't assume that the SAM knows the unix home directory - look it up by
Andrew Bartlett [Sat, 7 Jun 2003 03:20:09 +0000 (03:20 +0000)]
Don't assume that the SAM knows the unix home directory - look it up by
getpwnam() if need be.

Fixes bug #130

Andrew Bartlett
(This used to be commit a4bc789a3993be4b25955c729b533b86dba666f4)

17 years agofix up a couple paths
Herb Lewis [Sat, 7 Jun 2003 00:46:04 +0000 (00:46 +0000)]
fix up a couple paths
(This used to be commit dab21ae3b1a9c31cf07dd65225eb6db3854b846e)

17 years agochanged 'winbind uid' to 'idmap uid' in build farm tests
Andrew Tridgell [Sat, 7 Jun 2003 00:27:15 +0000 (00:27 +0000)]
changed 'winbind uid' to 'idmap uid' in build farm tests
(This used to be commit 4a2a54cd68faf6c86994679a8f5d309f55d29544)

17 years agoget rid of IRIX o32 builds - some libraries (kerberos and ldap) are only
Herb Lewis [Fri, 6 Jun 2003 23:55:24 +0000 (23:55 +0000)]
get rid of IRIX o32 builds - some libraries (kerberos and ldap) are only
n32 so smbwrapper fails to link.
(This used to be commit 392f207a353c3c154ea04a284c4e54864a927e95)

17 years agoremove o32 targets for IRIX. kerberos and ldap libraries are n32 only so
Herb Lewis [Fri, 6 Jun 2003 23:35:22 +0000 (23:35 +0000)]
remove o32 targets for IRIX. kerberos and ldap libraries are n32 only so
linking smbwrappers will fail.
(This used to be commit f95f306729d95c5205ed541289673e579abc0769)

17 years agoapplying David Lee's climessage patch to make sending messages more extendable
Gerald Carter [Fri, 6 Jun 2003 23:09:39 +0000 (23:09 +0000)]
applying David Lee's climessage patch to make sending messages more extendable
(This used to be commit a5240adc4944342529702542e080c378d3883a09)

17 years agopMandrake/samba2.spec.tmplackaging updates (Buchan)
Gerald Carter [Fri, 6 Jun 2003 22:56:03 +0000 (22:56 +0000)]
pMandrake/samba2.spec.tmplackaging updates (Buchan)
(This used to be commit 73aca1443a0cc6affbe24f869309b119b9556785)

17 years agomake this work for older version of perl
Herb Lewis [Fri, 6 Jun 2003 22:51:28 +0000 (22:51 +0000)]
make this work for older version of perl
(This used to be commit ed4a12a812ed154f747dac6d1a9601df1ee5298f)

17 years agosupport LDAP_EXOP_MODIFY_PASSWORD (not experiemental in OpenLDAP 2.1)
Gerald Carter [Fri, 6 Jun 2003 22:50:54 +0000 (22:50 +0000)]
support LDAP_EXOP_MODIFY_PASSWORD (not experiemental in OpenLDAP 2.1)
(This used to be commit 50fdc938222112b5470d05d8cd15386bd0a112df)

17 years ago* add in David Lee's utmp patch (defaults to on if available)
Gerald Carter [Fri, 6 Jun 2003 22:33:43 +0000 (22:33 +0000)]
* add in David Lee's utmp patch (defaults to on if available)
* one more try at fixing builds when --with-ldap=no
(This used to be commit b516ab7bdef6b6b2b7f0df8966dbd4c329f46a92)

17 years agoget rid of warning about malformed if in Makefile
Herb Lewis [Fri, 6 Jun 2003 22:24:36 +0000 (22:24 +0000)]
get rid of warning about malformed if in Makefile
(This used to be commit 1e1e56efd86e7a1ed6415145ebd22d91612104de)

17 years agoremove yet aother RCS tag
Gerald Carter [Fri, 6 Jun 2003 21:14:37 +0000 (21:14 +0000)]
remove yet aother RCS tag
(This used to be commit 48c8243ef325234c2fefbf273b2ab57df334de0a)

17 years agofix build on systems w/o LDAP libs
Gerald Carter [Fri, 6 Jun 2003 20:31:19 +0000 (20:31 +0000)]
fix build on systems w/o LDAP libs
(This used to be commit f33aeaa039d49b4eef884b27dc81d3418a051f1a)

17 years agoFixing Debian-specific patches so they apply cleanly.
Eloy Paris [Fri, 6 Jun 2003 20:31:18 +0000 (20:31 +0000)]
Fixing Debian-specific patches so they apply cleanly.
(This used to be commit da0f18cb7be8aa9a9f990507b107e10ce3fadebb)

17 years agodelete extra PASSDBLIB at beginning
Herb Lewis [Fri, 6 Jun 2003 20:11:23 +0000 (20:11 +0000)]
delete extra PASSDBLIB at beginning
(This used to be commit 1c82a3aa91804eb80c59c0e6e6abddbabd8857f9)

17 years agoupdates for RedHat packaging
Gerald Carter [Fri, 6 Jun 2003 20:08:29 +0000 (20:08 +0000)]
updates for RedHat packaging
(This used to be commit 53001b8db3492608095988b0fc3d6155a0e52822)

17 years ago- Regenerate docs
Jelmer Vernooij [Fri, 6 Jun 2003 20:07:16 +0000 (20:07 +0000)]
- Regenerate docs
- Fix db2latex (it depended on the $Id$ tags)
- Fix CUPS-Printing syntax
- Update instructions in docbook.txt
(This used to be commit 8d7c96a4e267c5546518d097edbe03e27b1ad073)

17 years agopdbedit needs PASSDBLIBS
Herb Lewis [Fri, 6 Jun 2003 19:44:32 +0000 (19:44 +0000)]
pdbedit needs PASSDBLIBS
(This used to be commit 0e91aca22c72f15ed62f9c9f8318b5ffada36956)

17 years agocompile error
Gerald Carter [Fri, 6 Jun 2003 18:19:02 +0000 (18:19 +0000)]
compile error
(This used to be commit 8804b059a4f453b29c8b0da975f5d6d8501f4b11)

17 years agosyncing RCS tag removal from 3.0 release tree
Gerald Carter [Fri, 6 Jun 2003 17:49:01 +0000 (17:49 +0000)]
syncing RCS tag removal from 3.0 release tree
(This used to be commit 1038879c9422bda4cd3be5a403ea9a22a552312b)

17 years agoremoving RCS tags
Gerald Carter [Fri, 6 Jun 2003 15:47:33 +0000 (15:47 +0000)]
removing RCS tags
(This used to be commit 77c6c419b8a2225bb62eec335a40694dbd009383)

17 years agomerge from APP_HEAD. Push negative connection cache
Gerald Carter [Fri, 6 Jun 2003 14:11:14 +0000 (14:11 +0000)]
merge from APP_HEAD.  Push negative connection cache
into rpc_find_dc().  Should probably be extended some more
in 3.0 but this is what we have for the moment.
(This used to be commit 0e23abf95cf7ba2d0a314a34bddb4d46de2a3cd1)

17 years ago* break out more common code used between pdb_ldap and idmap_ldap
Gerald Carter [Fri, 6 Jun 2003 13:48:39 +0000 (13:48 +0000)]
* break out more common code used between pdb_ldap and idmap_ldap
* remove 'winbind uid' and 'winbind gid' parameters (replaced
  by current idmap parameter)
* create the sambaUnixIdPool entries automatically in the 'ldap
  idmap suffix'
* add new 'ldap idmap suffix' and 'ldap group suffix' parametrer
* "idmap backend = ldap" now accepts 'ldap:ldap://server/' format
  (parameters are passed to idmap init() function
(This used to be commit 1665926281ed2be3c5affca551c9d458d013fc7f)

17 years agoSMBlockingX timeouts are in units of 2 milliseconds, not 1
Andrew Tridgell [Fri, 6 Jun 2003 10:42:16 +0000 (10:42 +0000)]
SMBlockingX timeouts are in units of 2 milliseconds, not 1
(This used to be commit 999cde3227210c90132ade3812e964087f04e541)

17 years agoNo matter how special this session key is, it's not worth a level 0.
Andrew Bartlett [Fri, 6 Jun 2003 10:22:48 +0000 (10:22 +0000)]
No matter how special this session key is, it's not worth a level 0.

Hide it behind a level 10, with #ifdef DEBUG_PASSWORD instead.

Andrew Bartlett
(This used to be commit 9d4e327850fb00083241f3e68f866590c44e1823)

17 years agoFix for valgrind - when doing a srvstr_push we must zero fill
Jeremy Allison [Fri, 6 Jun 2003 07:56:23 +0000 (07:56 +0000)]
Fix for valgrind - when doing a srvstr_push we must zero fill
any extra bytes, not clobber region them - otherwise valgrind
thinks they are invalid on send() or write().
Jeremy.
(This used to be commit 8aa5f7a65c71fb89ed05e71a2465e61385e80c2b)

17 years agoMake skeleton VFSs compile with new EA modules.
Jeremy Allison [Fri, 6 Jun 2003 07:09:30 +0000 (07:09 +0000)]
Make skeleton VFSs compile with new EA modules.
Jeremy
(This used to be commit 7c4cc2086d59e163ab89366c24ba399994a49462)

17 years agoFixup of typos.
Jeremy Allison [Fri, 6 Jun 2003 07:08:21 +0000 (07:08 +0000)]
Fixup of typos.
Jeremy.
(This used to be commit 99589b8a8f7081ced792e085ef448d9ebee135d3)

17 years agoUse filedes as first argument to fsetxattr, not the undefined variable 'path' :-)
Jelmer Vernooij [Fri, 6 Jun 2003 07:06:30 +0000 (07:06 +0000)]
Use filedes as first argument to fsetxattr, not the undefined variable 'path' :-)
(This used to be commit d3c02b40c48921f842c92fa1beed1924897ce160)

17 years agoMore Edits from Vance Lankhaar.
John Terpstra [Fri, 6 Jun 2003 06:40:25 +0000 (06:40 +0000)]
More Edits from Vance Lankhaar.
(This used to be commit 35ce3638a3999bf9343db801cc3fab6a9d292d64)

17 years agometze noticed some conn elements remaining in a VFS_NEXT.
Jeremy Allison [Fri, 6 Jun 2003 06:35:24 +0000 (06:35 +0000)]
metze noticed some conn elements remaining in a VFS_NEXT.
Jeremy.
(This used to be commit b863be794b7db11f91185ef2d669d0f89bbc1fae)

17 years agoFix for VFS_NEXT xattr calls (from metze). I will add these to skel.c to
Jeremy Allison [Fri, 6 Jun 2003 06:17:41 +0000 (06:17 +0000)]
Fix for VFS_NEXT xattr calls (from metze). I will add these to skel.c to
ensure they are tested.
Jeremy.
(This used to be commit 9ad02a7ba80c4796fecbaf2b4c75992988b002f7)

17 years ago2 more places where win2003 forces UCS2
Andrew Tridgell [Fri, 6 Jun 2003 06:01:45 +0000 (06:01 +0000)]
2 more places where win2003 forces UCS2
(This used to be commit b64f6e52ec8aa0892b405d3360079ababc8527f4)

17 years ago- the ALL_INFO trans2 QFILEINFO level uses a forced UCS2 name
Andrew Tridgell [Fri, 6 Jun 2003 05:34:02 +0000 (05:34 +0000)]
- the ALL_INFO trans2 QFILEINFO level uses a forced UCS2 name

- win2003 returns 0 for ea_size when there are no EAs
(This used to be commit 83e0c21831f32aad2dfb6ebe4a27c7a0d2adb692)

17 years agomake the allocation_size consistent between trans2 QFILEINFO and SMBgetattrE
Andrew Tridgell [Fri, 6 Jun 2003 05:32:36 +0000 (05:32 +0000)]
make the allocation_size consistent between trans2 QFILEINFO and SMBgetattrE
(This used to be commit 59f1a5e6fd783b977f787dae4ba4bb8b65c41e43)

17 years agofixed a pstrcpy() that is not on a pstring
Andrew Tridgell [Fri, 6 Jun 2003 05:31:30 +0000 (05:31 +0000)]
fixed a pstrcpy() that is not on a pstring
(This used to be commit f644b3d6d238e3c44d0358b44296a9360d16bb41)

17 years ago- the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicode
Andrew Tridgell [Fri, 6 Jun 2003 05:15:28 +0000 (05:15 +0000)]
- the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicode
  (to match win2003 behaviour)

- added the STR_TERMINATE_ASCII flag from samba4 so we can get the
  string termination right for the case where it is supposed to be
  non-terminated for UCS2 and terminated when ASCII
(This used to be commit 791a4cc7cf84eca77116bca00aeb5f95560f6705)

17 years agoFixup the check for attr libraries, used ',' instead of ' '.
Jeremy Allison [Fri, 6 Jun 2003 05:10:26 +0000 (05:10 +0000)]
Fixup the check for attr libraries, used ',' instead of ' '.
Jeremy.
(This used to be commit af62b6612ee046e0bf203c720eb03dbdea5f7296)

17 years agofixed the string alignment of the QUERY_EA_SIZE trans2 findfirst level
Andrew Tridgell [Fri, 6 Jun 2003 04:31:48 +0000 (04:31 +0000)]
fixed the string alignment of the QUERY_EA_SIZE trans2 findfirst level
(This used to be commit ff5e37ed293b61c2585c66e7366fae478754cca1)

17 years agofixed the layout of the FULL_DIRECTORY_INFO trans2 findfirst level
Andrew Tridgell [Fri, 6 Jun 2003 04:29:41 +0000 (04:29 +0000)]
fixed the layout of the FULL_DIRECTORY_INFO trans2 findfirst level

found by samba4 smbtorture SEARCH test
(This used to be commit 5a5f59cf5eec39394b8aec4aab7f2c347d617255)

17 years agoremoved the 'valgrind fix' that (although it may well remove a
Andrew Tridgell [Fri, 6 Jun 2003 04:21:43 +0000 (04:21 +0000)]
removed the 'valgrind fix' that (although it may well remove a
valgrind warning) causes us to return a completely wrong 8.3 filename
in directory searches!

come on guys, this close to a release you need to TEST CODE BEFORE COMMITTING
(This used to be commit 381cea68b81aeb42b088677d2a8bfd410a7da329)

17 years agoMissed (name) arg in fgetxattr.
Jeremy Allison [Fri, 6 Jun 2003 00:45:57 +0000 (00:45 +0000)]
Missed (name) arg in fgetxattr.
Jeremy.
(This used to be commit f42e164e9029c38279e36ee8955b9170b0fead87)

17 years agoAdded EA operations to VFS layer.
Jeremy Allison [Fri, 6 Jun 2003 00:04:27 +0000 (00:04 +0000)]
Added EA operations to VFS layer.
Jeremy.
(This used to be commit 024de9213e414659296cb518a6753e510c64f614)

17 years agoFix the building of the docs in all formats:
Jelmer Vernooij [Thu, 5 Jun 2003 22:54:56 +0000 (22:54 +0000)]
Fix the building of the docs in all formats:
 - legalnotice should be in <bookinfo> (Developer docs)
 - Generate embedded PostScript versions of the PNG files in projdoc/imagefiles
 - Use either the PNG or the EPS images, depending on the desired output format.
 Check CUPS-printing.xml diff for details
(This used to be commit 9992d5452d96508dc5dedc146f62e28d03b53ecc)

17 years agoAdjusting Debian patches so they apply cleanly.
Eloy Paris [Thu, 5 Jun 2003 22:27:36 +0000 (22:27 +0000)]
Adjusting Debian patches so they apply cleanly.
(This used to be commit f43d6905b02bc41caa3e969ccc99eea59f017461)

17 years agoGet ready for EA code... Add Linux interface.
Jeremy Allison [Thu, 5 Jun 2003 20:29:55 +0000 (20:29 +0000)]
Get ready for EA code... Add Linux interface.
Jeremy.
(This used to be commit 48853140749b74053f1a7857a983397b6e9a0234)

17 years agoENCRYPTION.txt has been merged into the HOWTO Collection
Jelmer Vernooij [Thu, 5 Jun 2003 20:02:58 +0000 (20:02 +0000)]
ENCRYPTION.txt has been merged into the HOWTO Collection
(This used to be commit 7983bc317e5fbade4d1aac87583f3f69e408355d)

17 years agoFix broken URL's
Jelmer Vernooij [Thu, 5 Jun 2003 17:02:42 +0000 (17:02 +0000)]
Fix broken URL's
(This used to be commit 490297e92bd21f6ebad03b81f5af37f6c3a9a525)

17 years agoFix smb.conf build
Jelmer Vernooij [Thu, 5 Jun 2003 16:56:06 +0000 (16:56 +0000)]
Fix smb.conf build
(This used to be commit ea78c12124424d4dcae6d22a72ae1c63610154d2)

17 years agoAdding Kurt Pfiefle's new CUPS docs and Vance Lankhaar's fixes for typos.
John Terpstra [Thu, 5 Jun 2003 06:39:55 +0000 (06:39 +0000)]
Adding Kurt Pfiefle's new CUPS docs and Vance Lankhaar's fixes for typos.
(This used to be commit 98c10ba7e5fdaf1c53329be812c6b930ee427311)

17 years agoNever second guess tridge.... (always talloc an internal pointer... ).
Jeremy Allison [Thu, 5 Jun 2003 02:44:24 +0000 (02:44 +0000)]
Never second guess tridge.... (always talloc an internal pointer... ).
Jeremy.
(This used to be commit 72ecdb387db60a4afab4d4fabf76f4c1d7ecbeeb)

17 years agoworking draft of the idmap_ldap code.
Gerald Carter [Thu, 5 Jun 2003 02:34:30 +0000 (02:34 +0000)]
working draft of the idmap_ldap code.
Includes sambaUnixIdPool objectclass

Still needs cleaning up wrt to name space.
More changes to come, but at least we now have a
a working distributed winbindd solution.
(This used to be commit 824175854421f7c27d31ad673a8790dd018ae350)