kai/samba.git
18 years agoSee if we can get a slight chance of this actually working...
Andrew Bartlett [Fri, 1 Mar 2002 01:41:27 +0000 (01:41 +0000)]
See if we can get a slight chance of this actually working...
(This used to be commit f1eb782eeeaca6efc0f89713ca449a379272eaad)

18 years agoVarious comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>
Andrew Bartlett [Fri, 1 Mar 2002 01:24:30 +0000 (01:24 +0000)]
Various comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>
(This used to be commit 3bf4b42771d115500941be374bfdd9b8c2fdba4a)

18 years agoMove wbinfo over to d_printf(). Patch by Hasch@t-online.de (Juergen Hasch)
Andrew Bartlett [Fri, 1 Mar 2002 01:13:42 +0000 (01:13 +0000)]
Move wbinfo over to d_printf().  Patch by Hasch@t-online.de (Juergen Hasch)

Andrew Bartlett
(This used to be commit 5710e588ce19ff8fa2493a8d0fdbb6b793fd7c09)

18 years agoFix up the pull_utf8_fstring/pstring functions, and add their push eqivilants.
Andrew Bartlett [Fri, 1 Mar 2002 01:11:02 +0000 (01:11 +0000)]
Fix up the pull_utf8_fstring/pstring functions, and add their push eqivilants.

patch by Hasch@t-online.de (Juergen Hasch)

Andrew Bartlett
(This used to be commit ba2570f518e07c95b952fb824a2d0b040b912bcc)

18 years agoAttempt to fix Solaris winbind nss build.
Jeremy Allison [Fri, 1 Mar 2002 01:03:06 +0000 (01:03 +0000)]
Attempt to fix Solaris winbind nss build.
Jeremy.
(This used to be commit 10e3e6855be93b8c4d97d67a063d92ccee391fec)

18 years agoThis should kill off the 'cannot convert' error messages on non-iconv hosts.
Andrew Bartlett [Fri, 1 Mar 2002 00:57:47 +0000 (00:57 +0000)]
This should kill off the 'cannot convert' error messages on non-iconv hosts.
(This used to be commit 2a30960276ae65b60d01caf9464808d75a812e40)

18 years agoenable locking on the idmap database to make it safe to dump/restore
Andrew Tridgell [Thu, 28 Feb 2002 17:43:23 +0000 (17:43 +0000)]
enable locking on the idmap database to make it safe to dump/restore
it externally while winbindd is running
(This used to be commit cd3a7466dbf4491aba34197cd6f3cc4167c0c660)

18 years agoEnsure that winbindd and smbd both use identical logic to find dc's.
Jeremy Allison [Thu, 28 Feb 2002 01:05:15 +0000 (01:05 +0000)]
Ensure that winbindd and smbd both use identical logic to find dc's.
Fix bug where zeroip addresses were being checked.
Jeremy.
(This used to be commit 8ed49fe0df201833329c17b2afe1e3aa70646558)

18 years agothis allows us to support foreign SIDs in winbindd and smbd
Andrew Tridgell [Wed, 27 Feb 2002 23:51:25 +0000 (23:51 +0000)]
this allows us to support foreign SIDs in winbindd and smbd

this means "xcopy /o" has a chance of working with ACLs that contain
ACEs that use SIDs that the Samba server has no knowledge of.

It's a bit hackish, Tim, can you look at my uid.c changes?
(This used to be commit fe2db3148587937aa7b674c1c99036d42a3776b3)

18 years agoFix from JohnR - Fixed SetPrinterData(magic key) to support zero length DEVMODE as...
Jeremy Allison [Wed, 27 Feb 2002 22:40:12 +0000 (22:40 +0000)]
Fix from JohnR - Fixed SetPrinterData(magic key) to support zero length DEVMODE as is the case with the
Okidata Okipage 20 PCLXL Advanced printer driver.
(This used to be commit 51c3d3536335a72aa264e3f4d62515f5c0b6d192)

18 years agoPatch for Domain users not showing up from "Ivan Zhakov" <vunny@mail.ru>.
Jeremy Allison [Wed, 27 Feb 2002 22:02:05 +0000 (22:02 +0000)]
Patch for Domain users not showing up from "Ivan Zhakov" <vunny@mail.ru>.
Jeremy.
(This used to be commit 3f9063167f3fc9ae7e7fd753d76ece23c1d97800)

18 years agoAdded "nt status support" parameter. Fix offline synchronisation.
Jeremy Allison [Wed, 27 Feb 2002 21:46:53 +0000 (21:46 +0000)]
Added "nt status support" parameter. Fix offline synchronisation.
Jeremy.
(This used to be commit 9243a9778e52999d5c62cba484640637b24994d8)

18 years agoFixed usage of uninitialised variable in strict_allocate_ftruncate()
Tim Potter [Wed, 27 Feb 2002 18:06:47 +0000 (18:06 +0000)]
Fixed usage of uninitialised variable in strict_allocate_ftruncate()
(This used to be commit b1d56956fec0de0e8591d85eb5eeec939494e6d4)

18 years agoMemory leak on error condition fixed by Kian Win <codegrunt@rubbercookie.com>.
Jeremy Allison [Wed, 27 Feb 2002 17:48:45 +0000 (17:48 +0000)]
Memory leak on error condition fixed by Kian Win <codegrunt@rubbercookie.com>.
Jeremy.
(This used to be commit 9dae1398b45515e5b93de038ec18df297d73026d)

18 years agoFixed dumb typo caught by Herb.
Jeremy Allison [Wed, 27 Feb 2002 17:28:22 +0000 (17:28 +0000)]
Fixed dumb typo caught by Herb.
Jeremy.
(This used to be commit f7c980d61439f42395a457a5b99b28f526cabe69)

18 years agoThis should fix up the level 0 'convert_string' debug messages that we have
Andrew Bartlett [Wed, 27 Feb 2002 13:18:51 +0000 (13:18 +0000)]
This should fix up the level 0 'convert_string' debug messages that we have
been seing since the unicode conversion.  It looks like a simple oversight in
the move away from StrnCpy (which takes amount of space -1 as an arg) to
push_ascii etc which take the absolute amount of space.

Andrew Bartlett
(This used to be commit 4447c6bd4d9c273ef5bf4eb23726923ee58bf38d)

18 years ago"user doesn't exist" isn't worthy of a level 1 debug. Make it level 3.
Andrew Bartlett [Wed, 27 Feb 2002 12:59:05 +0000 (12:59 +0000)]
"user doesn't exist" isn't worthy of a level 1 debug.  Make it level 3.
(This used to be commit 339e3982bc1d2998022545e02456ec35c3b278a8)

18 years agoThis apparently makes winbind work on Solaris again
Andrew Bartlett [Wed, 27 Feb 2002 11:50:24 +0000 (11:50 +0000)]
This apparently makes winbind work on Solaris again
(This used to be commit b179a5d85f2e364b26191adf0cb61fcf17ae7687)

18 years agoMake this function static
Andrew Bartlett [Wed, 27 Feb 2002 11:47:33 +0000 (11:47 +0000)]
Make this function static
(This used to be commit 85974e6c43b796649f04544eeffeba837cae963b)

18 years agofix a few defines
Gerald Carter [Wed, 27 Feb 2002 00:05:00 +0000 (00:05 +0000)]
fix a few defines
(This used to be commit 0a3363ae686205c416c75e16f8d6ee55dc4366b5)

18 years agoFIXME: Use next_token rather than strtok!
Martin Pool [Tue, 26 Feb 2002 23:22:02 +0000 (23:22 +0000)]
FIXME: Use next_token rather than strtok!
(This used to be commit d56b8a30c5ca55b718ad706875aa6579a48a0768)

18 years agomerge from 2.2 - fix parsing of options
Herb Lewis [Tue, 26 Feb 2002 20:04:54 +0000 (20:04 +0000)]
merge from 2.2 - fix parsing of options
(This used to be commit c849e93392e3206b010949566a65a339f5064031)

18 years agobcopy must DIE ! Stop people creeping use of bcopy back into the code
Jeremy Allison [Tue, 26 Feb 2002 17:40:43 +0000 (17:40 +0000)]
bcopy must DIE ! Stop people creeping use of bcopy back into the code
(and yes I know who you are..... :-).
Jeremy.
(This used to be commit 330b0df960329bcf4696b8fa4a7357e6c456f74e)

18 years agoThis is a nasty hack to fix "xcopy /o" from win2000 on a Samba share
Andrew Tridgell [Tue, 26 Feb 2002 05:45:33 +0000 (05:45 +0000)]
This is a nasty hack to fix "xcopy /o" from win2000 on a Samba share

The hack passes the true ntcreate desired_access down to open_file_shared1()
from the ntcreatex function. This is used to determine if share modes
should be used in denying this open.

This hack will become unnecessary when we redo open.c to use the proper
NTCreateX semantics rather than trying to jam the ntcreate semantics into
openX semantics.
(This used to be commit d09ae0c667a94fcf870c0fc7f97119266a650d45)

18 years agoFixup the sending of printer change messages from job changes.
Jeremy Allison [Tue, 26 Feb 2002 03:12:09 +0000 (03:12 +0000)]
Fixup the sending of printer change messages from job changes.
Jeremy.
(This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)

18 years agoMerge of printing performance fixes from appliance.
Tim Potter [Mon, 25 Feb 2002 23:18:05 +0000 (23:18 +0000)]
Merge ... printing performance fixes from appliance.
(This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)

18 years agoadd required flags to "nt acl support" so it will show up in SWAT
Herb Lewis [Mon, 25 Feb 2002 22:17:53 +0000 (22:17 +0000)]
add required flags to "nt acl support" so it will show up in SWAT
(This used to be commit d1ccdb5d1cb3d624285b13e662153e1e74ba3d71)

18 years agoImplemented client side functions for SPOOLSS addform, getform, setform and
Tim Potter [Mon, 25 Feb 2002 06:43:31 +0000 (06:43 +0000)]
Implemented client side functions for SPOOLSS addform, getform, setform and
enumforms.
(This used to be commit e69222f0816878e3211e3dedb049de50ca90fed0)

18 years agoAdded error for invalid form size.
Tim Potter [Mon, 25 Feb 2002 06:14:50 +0000 (06:14 +0000)]
Added error for invalid form size.
(This used to be commit 9a3e127aeacb01f5a642013a46148eaa31f41482)

18 years agoThis fixes 4 info levels in a trans2 find_first that should not be null
Andrew Tridgell [Mon, 25 Feb 2002 02:12:38 +0000 (02:12 +0000)]
This fixes 4 info levels in a trans2 find_first that should not be null
terminated for the filenames.

this is what caused win2k to go into a loop sending 20000 packets to set
an acl on a directory. It didn't recognise ".." with a null termination as
being ".."
(This used to be commit a75a2e9e2f11e27ca8a7fbad8c0108a2aee0a690)

18 years agoadded a "XCOPY" test that simulates the open calls made by xcopy /O
Andrew Tridgell [Sun, 24 Feb 2002 08:38:11 +0000 (08:38 +0000)]
added a "XCOPY" test that simulates the open calls made by xcopy /O

we currently fail this test
(This used to be commit 8095375623cc19f7aad497bf39d5370d032ebdbf)

18 years agoOnly set smb_read_error if not already set.
Jeremy Allison [Sat, 23 Feb 2002 21:03:21 +0000 (21:03 +0000)]
Only set smb_read_error if not already set.
Jeremy.
(This used to be commit 8220135fd16b4a1778e49f8315f64754924af0d8)

18 years agoRerun configure
Andrew Bartlett [Fri, 22 Feb 2002 04:39:02 +0000 (04:39 +0000)]
Rerun configure
(This used to be commit a1952415f8c6712be316f2fa77405d06b5e305d7)

18 years agoWe can't build shared libs on sco, so no point attempting to export dynamic
Andrew Bartlett [Fri, 22 Feb 2002 04:38:28 +0000 (04:38 +0000)]
We can't build shared libs on sco, so no point attempting to export dynamic
symbols.  In any case, it broke the build :-(

Andrew Bartlett
(This used to be commit 8c22ff75d732ed588f8e6d8339c7057bb147d2de)

18 years agoGet rid of the unused WL variable from the previous patch. I think these were
Andrew Bartlett [Fri, 22 Feb 2002 03:29:13 +0000 (03:29 +0000)]
Get rid of the unused WL variable from the previous patch.  I think these were
meant to be DYNEXP, but I'll confirm that with the original contributor.

Thanks to vance for spotting this!

Andrew Bartlett
(This used to be commit cf9cae48e66a14530b5cc5452a4767479de7ef82)

18 years agomade the domain secret key in secrets.tdb domain specific. This allows
Andrew Tridgell [Fri, 22 Feb 2002 03:18:37 +0000 (03:18 +0000)]
made the domain secret key in secrets.tdb domain specific. This allows
you to join a 2nd domain then leave the old domain rather than the other way
around
(This used to be commit b26b6aef64e1042c9867a13761ded0c3c6f9670f)

18 years agodon't do an ADS init when not in ADS mode
Andrew Tridgell [Fri, 22 Feb 2002 03:14:58 +0000 (03:14 +0000)]
don't do an ADS init when not in ADS mode
(This used to be commit 68693ba4e80257bf895b1c8db18c138d5d9919bb)

18 years agoAlso add the matching example pdb module.
Andrew Bartlett [Fri, 22 Feb 2002 02:57:49 +0000 (02:57 +0000)]
Also add the matching example pdb module.
(This used to be commit fbfb7ee896469e79043fab02481bacd2621a302d)

18 years agoAdd the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.
Andrew Bartlett [Fri, 22 Feb 2002 02:47:53 +0000 (02:47 +0000)]
Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.

This allow the user to select
'passdb backend = plugin : /path/to/plugin.so : pluging args'

And load any arbitary plugin.  Apparently Jelmer has a mysql plugin in the
works - hence this patch.

We probably need to rework the interface a bit before 3.0 (add versioning of
some kind) but this is a good start.

Andrew Bartlett
(This used to be commit d6d18b70f0c377344b0b3d9df5a11d209793bfe0)

18 years agorerun autoconf
Andrew Bartlett [Fri, 22 Feb 2002 01:54:54 +0000 (01:54 +0000)]
rerun autoconf
(This used to be commit 0ba24c91bf3f6e56e2bd32a6c4c1bbc23cb48527)

18 years agoTry to catch the compilers that don't handle immidiate structures as well as we
Andrew Bartlett [Fri, 22 Feb 2002 01:54:17 +0000 (01:54 +0000)]
Try to catch the compilers that don't handle immidiate structures as well as we
would like.  We use them to initialise other struct (lookup) tables, so test
that as well.

Also try not to segfault during our snprintf tests - test both with a 0 len
buffer and without any buffer at all.

Andrew Bartlett
(This used to be commit 2d80ab7122f34d3bf31cddd26a63929f9c2ced77)

18 years agomerge from 2.2
Gerald Carter [Thu, 21 Feb 2002 17:30:58 +0000 (17:30 +0000)]
merge from 2.2
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)

18 years agoadded a cli_qfilename() test to the trans2 tests
Andrew Tridgell [Thu, 21 Feb 2002 04:27:16 +0000 (04:27 +0000)]
added a cli_qfilename() test to the trans2 tests
(This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)

18 years agothis fixes the security tab on mapped drives for unicode clients.
Andrew Tridgell [Thu, 21 Feb 2002 04:26:32 +0000 (04:26 +0000)]
this fixes the security tab on mapped drives for unicode clients.

Jeremy, this is wrong in 2.2.x
(This used to be commit 367358c7389555f413b3c690c012ef067859fc22)

18 years agoadded cli_qfilename(), used in trans2 torture test
Andrew Tridgell [Thu, 21 Feb 2002 04:25:17 +0000 (04:25 +0000)]
added cli_qfilename(), used in trans2 torture test
(This used to be commit d37905f20397911e4f74e672ebdee28f1ddf3c2c)

18 years agomerge from 2.2
Gerald Carter [Thu, 21 Feb 2002 00:55:01 +0000 (00:55 +0000)]
merge from 2.2
(This used to be commit 63ab947fd9dd17a4c370402e74b389458bbd3a60)

18 years agomerge from 2.2
Gerald Carter [Wed, 20 Feb 2002 23:36:23 +0000 (23:36 +0000)]
merge from 2.2
(This used to be commit 25fb4a8d110bcdcbe7822a833cab9cfdec8a1fb2)

18 years agoenable large readwrite by default
Andrew Tridgell [Wed, 20 Feb 2002 22:54:23 +0000 (22:54 +0000)]
enable large readwrite by default

this should improve performance with w2k clients and seems to work
fine
(This used to be commit 67a3135e044b40467d0d06d271ed981768700b95)

18 years agoThis fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)
Andrew Bartlett [Wed, 20 Feb 2002 22:34:35 +0000 (22:34 +0000)]
This fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)
where we pass the client's name.  We should pass the servers name.

Andrew Bartlett
(This used to be commit aeecb7a06b006e69879f00699f4b8b6497553d19)

18 years agoThanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spotting
Andrew Bartlett [Wed, 20 Feb 2002 21:36:12 +0000 (21:36 +0000)]
Thanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spotting
this!

(groupname and domain name paramaters swapped, giving 'interesting' results...)

Andrew Bartlett
(This used to be commit 5aed3759d8edbe59df8c1ea70827c4b931393134)

18 years agoConverted remaining spoolss rpcclient functions to werror/needed/offered.
Tim Potter [Wed, 20 Feb 2002 18:41:07 +0000 (18:41 +0000)]
Converted remaining spoolss rpcclient functions to werror/needed/offered.
I couldn't test some of these because I didn't know the right magic
arguments to pass to rpcclient (familiar anyone? (-:) so there may be some
bugs lurking.
(This used to be commit 029e2b307d91171168040e71d2e5d5e0d01b7633)

18 years agofixed the gssapi lib configure test to not do the test twice
Andrew Tridgell [Wed, 20 Feb 2002 05:33:47 +0000 (05:33 +0000)]
fixed the gssapi lib configure test to not do the test twice
(This used to be commit 1ce762e96b8d4c39488b59fa73456fe6f2012567)

18 years agoPatch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
Andrew Bartlett [Tue, 19 Feb 2002 23:02:39 +0000 (23:02 +0000)]
Patch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
character set for conversion.  To be used in Winbind and the 'net ads'
commands.

Andrew Bartlett
(This used to be commit fa9d3060ff7510e176d7608b49075379500f55c4)

18 years agomerge from 2.2 and regenerate
Gerald Carter [Tue, 19 Feb 2002 16:59:27 +0000 (16:59 +0000)]
merge from 2.2 and regenerate
(This used to be commit b1cbc23d82cfca1179d6be1e11b8bea2d0acdc9e)

18 years agomerge from 2.2
Gerald Carter [Tue, 19 Feb 2002 16:47:59 +0000 (16:47 +0000)]
merge from 2.2
(This used to be commit 8b357e6551c3a91aa7017ae8dcf38558f15f1c0b)

18 years agoin dos_unmangle() the only function call was to *mangle()*. Adding the
Andrew Bartlett [Tue, 19 Feb 2002 06:13:16 +0000 (06:13 +0000)]
in dos_unmangle() the only function call was to *mangle()*.  Adding the
'un' dramaticly increses the functionality of this code :-).

Andrew Bartlett
(This used to be commit 15b9b63db57901fbfa3d62b64212742f361ee519)

18 years agoConverted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.
Tim Potter [Tue, 19 Feb 2002 02:12:01 +0000 (02:12 +0000)]
Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.
(This used to be commit fccfa034e92bca145b8e0639e405f6af5bb1a50b)

18 years agomake proto
Tim Potter [Tue, 19 Feb 2002 02:11:01 +0000 (02:11 +0000)]
make proto
(This used to be commit 98d3ea19b0755cf59102c479ddbbfe62bd653d74)

18 years ago merge from 2.2
Gerald Carter [Tue, 19 Feb 2002 02:10:08 +0000 (02:10 +0000)]
 merge from 2.2
(This used to be commit 9e96cbe24149c8d0ed4f3a1f1d5ea736ba5dca56)

18 years agoConverted cmd_spoolss_enumprinterdrivers() to use new
Tim Potter [Tue, 19 Feb 2002 01:06:55 +0000 (01:06 +0000)]
Converted cmd_spoolss_enumprinterdrivers() to use new
cli_spoolss_enumprinterdrivers() function.
(This used to be commit ae38fcf62c4b9503d4df02761dadb1bb7d166a9c)

18 years agoAdded cli_spoolss_initialise() function.
Tim Potter [Tue, 19 Feb 2002 01:06:14 +0000 (01:06 +0000)]
Added cli_spoolss_initialise() function.

Converted cli_spoolss_enumprinterdrivers() to pass offered and *needed as
parameters and return a WERROR.
(This used to be commit b595c258295ecc4824fe89ba1136c778a1700e28)

18 years agowe definately don't want RCS $id tags in Samba. They make merging much
Andrew Tridgell [Mon, 18 Feb 2002 22:12:21 +0000 (22:12 +0000)]
we definately don't want RCS $id tags in Samba. They make merging much
harder.
(This used to be commit 6d33b30929e323276e7fc21012983d691a4f8827)

18 years agofixed a memory leak thanks to dleducq@arkoon.net
Andrew Tridgell [Mon, 18 Feb 2002 11:39:36 +0000 (11:39 +0000)]
fixed a memory leak thanks to dleducq@arkoon.net
(This used to be commit e84c7400175c86c4c79922182115ea1f0948186c)

18 years agoserialise all domain auth requests
Andrew Tridgell [Mon, 18 Feb 2002 11:07:57 +0000 (11:07 +0000)]
serialise all domain auth requests

this is needed because W2K will send a TCP reset to any open
connections that have not done a negprot when a second connection is
made. This meant that under heavy netlogon load a Samba domain member
would fail authentications.

Jeremy, you may wish to port this to 2.2.x
(This used to be commit eb196070e62b45b113e5712f27198c50c5c95657)

18 years agoreverted tims patch that broke configure
Andrew Tridgell [Mon, 18 Feb 2002 10:23:02 +0000 (10:23 +0000)]
reverted tims patch that broke configure

why does anything but smbd care about sec_init() anyway??
(This used to be commit 569505b77140c2688aeab4df058b864464f23c1d)

18 years agoWhoops, typo.
Tim Potter [Sun, 17 Feb 2002 18:56:30 +0000 (18:56 +0000)]
Whoops, typo.
(This used to be commit e7abb79fb304b34aeb369dc6deafa96dfd1e02f3)

18 years agoRemove dynconfig.{o,po} in clean target.
Tim Potter [Sun, 17 Feb 2002 18:38:01 +0000 (18:38 +0000)]
Remove dynconfig.{o,po} in clean target.
(This used to be commit 9c1c25db792d58f451df3736f1b875c493e7d67c)

18 years agoDo a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
Tim Potter [Sun, 17 Feb 2002 18:32:59 +0000 (18:32 +0000)]
Do a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
without before sec_init().  This should avoid the formation of another
magic function club.  (-:
(This used to be commit 1b941e2c637e41049932945607149094342359c5)

18 years agoint -> uint32
Tim Potter [Sun, 17 Feb 2002 18:30:01 +0000 (18:30 +0000)]
int -> uint32
(This used to be commit 5efe39af0c89e549bb8211a39a949f80f6d1bf78)

18 years agodont strdup() possibly null values.
Andrew Bartlett [Sat, 16 Feb 2002 22:11:49 +0000 (22:11 +0000)]
dont strdup() possibly null values.
(This used to be commit 0511589088dc3e990f7b1a38a06489814c49ec1b)

18 years agoint -> uint32 fixes from andreas
Tim Potter [Sat, 16 Feb 2002 19:46:42 +0000 (19:46 +0000)]
int -> uint32 fixes from andreas
(This used to be commit 84c811ca57f7e1b7d9ee498d95b3b21bea47eb5e)

18 years agoAdded some splint annotations from andreas.
Tim Potter [Sat, 16 Feb 2002 19:44:18 +0000 (19:44 +0000)]
Added some splint annotations from andreas.
(This used to be commit 60e84540fd8c27975066f7c7984d30bc88f6da5f)

18 years agoAdded comment in lp_string() about debugging memory problems.
Tim Potter [Sat, 16 Feb 2002 19:34:58 +0000 (19:34 +0000)]
Added comment in lp_string() about debugging memory problems.
(This used to be commit 98e97fac17b766a6da658daa1ec40ffaf6f5bb2e)

18 years agoRemoved some random crap that isn't used anymore.
Tim Potter [Sat, 16 Feb 2002 01:16:13 +0000 (01:16 +0000)]
Removed some random crap that isn't used anymore.
(This used to be commit 3fb3bc0a1546dadb24231065b422349bd199e1bf)

18 years agoTry not to malloc -1 bytes (apx 4GB) when the data is already in error.
Andrew Bartlett [Fri, 15 Feb 2002 23:11:13 +0000 (23:11 +0000)]
Try not to malloc -1 bytes (apx 4GB) when the data is already in error.

Andrew Bartlett
(This used to be commit ad1faf8fa4019cb57fbb7f311f6d4943359bcd45)

18 years agoBack out 1.16.2.3:
Martin Pool [Fri, 15 Feb 2002 22:20:08 +0000 (22:20 +0000)]
Back out 1.16.2.3:

receive_smb: You might think that we ought to set smb_read_error here,
but apparently that breaks the recursive main loop in oplock.c.
Global variables suck. :-/
(This used to be commit b6d5d02aa1bf0caa28343dc87444f049c5fd8ce5)

18 years agoSubject:
Andrew Bartlett [Fri, 15 Feb 2002 22:18:52 +0000 (22:18 +0000)]
Subject:
         [PATCH] net ads error
    Date:
         Fri, 15 Feb 2002 20:03:32 +0200
   From:
         Alexander Bokovoy <a.bokovoy@sam-solutions.net>
     To:
         samba-technical@samba.org

Greetings!

Attached patch fixes a problem with non-working 'net ads -Uuser%pass'
in CVS HEAD.
(This used to be commit a21a951ff9493a6e33e4ff8388a95facdeacf7b4)

18 years agomerge from APPLIANCE_HEAD
Gerald Carter [Fri, 15 Feb 2002 18:59:34 +0000 (18:59 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit 696d439515016e4c2bc5ad085e443abe43c95136)

18 years agoWinbind cleanup.
Andrew Bartlett [Fri, 15 Feb 2002 13:28:59 +0000 (13:28 +0000)]
Winbind cleanup.

This patch fixes the segfaults I introduced in the previous conneciton caching
patch.  It cleans up the connection cache a *lot* - in particular it adds
significant robustness to the operation.

If a the DC goes down, we no longer fail the next operation - the code checks
if the connection died during one of its own operations on the socket, and
restarts the conneciton as required.

There is still a memory leak in here somewhere - but this code also cleans up a
number of these.

Also added is the abilty to sepecify the domain of the 'get around restrict anonymous'
user that winbind uses.

Andrew Bartlett
(This used to be commit 92cbefdf2783bf9dbbb2179c1b2f7cdb802d84a9)

18 years agoMerge of smbclient print crash bug fix from app head.
Tim Potter [Fri, 15 Feb 2002 02:46:13 +0000 (02:46 +0000)]
Merge ... smbclient print crash bug fix from app head.
(This used to be commit a56298d56ae67a764e9b9a43c1c568b7125e1c18)

18 years agomerge from 2.2
Gerald Carter [Wed, 13 Feb 2002 16:44:49 +0000 (16:44 +0000)]
merge from 2.2
(This used to be commit 50fa21c995d33601920b3b56a3e03b09262e7fd9)

18 years agoFix LDAP modification operation. Cut and paste error: was LDAP_MOD_ADD, should be...
Jim McDonough [Wed, 13 Feb 2002 15:00:39 +0000 (15:00 +0000)]
Fix LDAP modification operation.  Cut and paste error: was LDAP_MOD_ADD, should be LDAP_MOD_REPLACE.  Caught by Alexey Kotovich.
(This used to be commit be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0)

18 years agomerge from 2.2
Gerald Carter [Tue, 12 Feb 2002 22:31:18 +0000 (22:31 +0000)]
merge from 2.2
(This used to be commit e18a7c26476e05f95850ac2bbeb42c2588115741)

18 years agomerge from 2.2
Gerald Carter [Tue, 12 Feb 2002 19:16:14 +0000 (19:16 +0000)]
merge from 2.2
(This used to be commit 09fc979172327d6396642e824f6d482c6f986850)

18 years agoAdd ADS_MODLIST to allowed types
Jim McDonough [Tue, 12 Feb 2002 18:23:34 +0000 (18:23 +0000)]
Add ADS_MODLIST to allowed types
(This used to be commit d082d3a9fc2d6eddf82b1583eb1cbfcf5965f1a0)

18 years agotalloc'ify ads modify functions.
Jim McDonough [Tue, 12 Feb 2002 18:22:47 +0000 (18:22 +0000)]
talloc'ify ads modify functions.
(This used to be commit e097666499564ffe28836876a7a191149c14f199)

18 years agotalloc'ify ads modify functions. Also add more complete berval support.
Jim McDonough [Tue, 12 Feb 2002 18:22:33 +0000 (18:22 +0000)]
talloc'ify ads modify functions.  Also add more complete berval support.
(This used to be commit 1f186c60ad957c0e8157a6fd903857121c65a2e0)

18 years agoAdd ability to extend ads modification list on the fly. Added ADS_MODLIST type.
Jim McDonough [Mon, 11 Feb 2002 15:48:34 +0000 (15:48 +0000)]
Add ability to extend ads modification list on the fly.  Added ADS_MODLIST type.
(This used to be commit 3f7ba70615008d74a145a94aa087cae08efab343)

18 years agoUpdate for new ads modlist structure passing
Jim McDonough [Mon, 11 Feb 2002 15:48:01 +0000 (15:48 +0000)]
Update for new ads modlist structure passing
(This used to be commit 6169b668fe955f298c7323c5d64f6c7b303aaac0)

18 years agoAdd ability to extend ads modification list on the fly. Also add some malloc checks...
Jim McDonough [Mon, 11 Feb 2002 15:47:02 +0000 (15:47 +0000)]
Add ability to extend ads modification list on the fly.  Also add some malloc checks and return ADS_ERROR(LDAP_NO_MEMORY) if they fail.
(This used to be commit 81d76f05d8b886a86eb421d1bd8737ec7d05cbde)

18 years agomerge from 2.2
Gerald Carter [Mon, 11 Feb 2002 13:57:44 +0000 (13:57 +0000)]
merge from 2.2
(This used to be commit bb574aab8f3f4ac2f7ae919790481a419f8173cb)

18 years agofixes from 2,2
Gerald Carter [Mon, 11 Feb 2002 13:49:02 +0000 (13:49 +0000)]
fixes from 2,2
(This used to be commit 46bd77a02a47c26c4981472c8cea09e64c2ef4d2)

18 years agoA few small winbind updates:
Andrew Bartlett [Mon, 11 Feb 2002 01:29:07 +0000 (01:29 +0000)]
A few small winbind updates:

Add a connection cache to the netlogon pipe.  This makes a *massive* difference
to the time-per-auth.  Also fix up *some* of the memory leaks in other
connection caches.

Add some debugging messages for the is_connected() code.  I'm thinking we
should get a client implementation of SMBecho and call it here - as it would
allow us to always know the DC is around before we start.

Down the debug level for some of the pam_winbind code - I'll probably down it
further when I'm finished debugging.

Andrew Bartlett
(This used to be commit 49d3e476662220775ef8da7db01ea17e77e11b0b)

18 years agodoc merge from 2.2
Gerald Carter [Sat, 9 Feb 2002 14:05:09 +0000 (14:05 +0000)]
doc merge from 2.2
(This used to be commit 2df8df4cd9b271ac91245bd44d6384483c1a4524)

18 years agoFix up some braindamage in the testsuite.
Andrew Bartlett [Sat, 9 Feb 2002 11:47:55 +0000 (11:47 +0000)]
Fix up some braindamage in the testsuite.

(if you remove the smbpasswd file, you wont be able to change the passwords
contained therein... :-)

Andrew Bartlett
(This used to be commit dd8388330e5ad0ae1a82f876e3a95fba854d1528)

18 years agoBring printing in HEAD inline with 2.2.x and app-head.
Jeremy Allison [Sat, 9 Feb 2002 04:10:24 +0000 (04:10 +0000)]
Bring printing in HEAD inline with 2.2.x and app-head.
Jeremy.
(This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef)

18 years agopreparing for release of 3.0-alpha15
Samba Release Account [Sat, 9 Feb 2002 03:51:35 +0000 (03:51 +0000)]
preparing for release of 3.0-alpha15
(This used to be commit b9c843532508ea5fd4633dd7d82452fd89d63eab)

18 years agoDo the reverse DNS lookup, but only if 'hostname lookups = yes'
Andrew Bartlett [Sat, 9 Feb 2002 03:29:36 +0000 (03:29 +0000)]
Do the reverse DNS lookup, but only if 'hostname lookups = yes'

Andrew Bartlett
(This used to be commit dfecd6a4534743a3e140eafc9836911286793951)

18 years agomerge from APPLIANCE_HEAD
Gerald Carter [Fri, 8 Feb 2002 21:51:40 +0000 (21:51 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit e734c1971d2841b2cfe37414fe4893f4a66b22a9)

18 years agoFix up some of the DEBUG lines in winbind_pam.c
Andrew Bartlett [Fri, 8 Feb 2002 06:43:55 +0000 (06:43 +0000)]
Fix up some of the DEBUG lines in winbind_pam.c
(This used to be commit dfc8883305abf7630e6446a0b865bae99ec2f5a4)