kai/samba.git
21 years ago* always report ourselves as a Windows 2000 print server (even
Gerald Carter [Mon, 3 Mar 2003 17:32:55 +0000 (17:32 +0000)]
* always report ourselves as a Windows 2000 print server (even
  without ADS support)
* add "MinorVersion" print server data key and comment on "OSVersion"
(This used to be commit e1383368169faa50b9e612c9f71f92f790698b48)

21 years ago* CR1868: only send a change notify message if we have something
Gerald Carter [Mon, 3 Mar 2003 16:32:03 +0000 (16:32 +0000)]
* CR1868: only send a change notify message if we have something
  that changed that the client is monitoring.

* couple of comments abnout how we need to validate driver names
  on SetPrinter() and AddPrinter()

* up the debug level on some overly verbose dev mode parsing messages
(This used to be commit e8939165b77c9e2ea8b3cef2e85885b9812c7184)

21 years agoAdded limit to number of jobs enumerated. Set to 0 (means no limit).
Jeremy Allison [Sat, 1 Mar 2003 02:39:12 +0000 (02:39 +0000)]
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs....
Jeremy.
(This used to be commit e1b0001c8df9e9823b42a372ca675188570b252a)

21 years agoEnsure added jobs increment total_jobs.
Jeremy Allison [Sat, 1 Mar 2003 00:49:00 +0000 (00:49 +0000)]
Ensure added jobs increment total_jobs.
Jeremy.
(This used to be commit a75d9fc4e1c26e3ae15a97508f6f1cf69fe54148)

21 years agoFix HTTP error codes (patch by Vance Lankhaar)
Jelmer Vernooij [Fri, 28 Feb 2003 08:48:26 +0000 (08:48 +0000)]
Fix HTTP error codes (patch by Vance Lankhaar)
(This used to be commit e660b0b8d034c6cb9771601c64b952380d136ca1)

21 years agoRemove reference to "mainpage.dox" and CodingStandards, which have
Martin Pool [Fri, 28 Feb 2003 04:02:16 +0000 (04:02 +0000)]
Remove reference to "mainpage.dox" and CodingStandards, which have
been removed.

Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
(This used to be commit 732d94b83e2dd14bad92c2f7947cf905b9128a2f)

21 years agoMove net ads lookup improvements over from HEAD
Jim McDonough [Fri, 28 Feb 2003 03:35:45 +0000 (03:35 +0000)]
Move net ads lookup improvements over from HEAD
(This used to be commit 507e5738fb7c50969bee269527be5dc6e450b77f)

21 years ago*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
Jeremy Allison [Fri, 28 Feb 2003 00:25:55 +0000 (00:25 +0000)]
*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
(This used to be commit 7a586552a3aeb4a26495f0965af4bd027456a011)

21 years ago don't forget the NULL
Gerald Carter [Thu, 27 Feb 2003 23:54:58 +0000 (23:54 +0000)]
 don't forget the NULL
(This used to be commit 4aa611958ebedfafbb9bfc1070b7d632272e1aaf)

21 years agoand the winner of "i should have just written it in assembly
Gerald Carter [Thu, 27 Feb 2003 23:21:37 +0000 (23:21 +0000)]
and the winner of "i should have just written it in assembly
is..."

don't use pstrcpy() when you are not dealing with pstrings.
(This used to be commit e1b21381f3b5cf6f97c101642e9286df9987998e)

21 years agodon't pass NULL pointers to strcmp()
Gerald Carter [Thu, 27 Feb 2003 21:37:30 +0000 (21:37 +0000)]
don't pass NULL pointers to strcmp()
(This used to be commit 9b0a49a0bc177f9637f197b3ab4613f25db1b43d)

21 years agoadditional fix for CR 601
Gerald Carter [Thu, 27 Feb 2003 21:22:36 +0000 (21:22 +0000)]
additional fix for CR 601
  * distinguish WinXP from Win2k
  * add a 1/3 of a second delay in OpenPrinter
    in order to trigger a LAN/WAN optimization in
    2k clients.
(This used to be commit c7712fa054d21b4884a78b7ea6c0fb8b3d637c6b)

21 years agoDoxygen merge from head
Martin Pool [Thu, 27 Feb 2003 05:57:21 +0000 (05:57 +0000)]
Doxygen merge from head
(This used to be commit 38fa2898967f607a17fd7fbd324f2940a05fb551)

21 years agoMerge 1.100 patch from HEAD:
Martin Pool [Thu, 27 Feb 2003 05:20:23 +0000 (05:20 +0000)]
Merge 1.100 patch from HEAD:

init_valid_table: Fix a memory leak that would lose the
dynamically-created valid table every time the configuration was
reloaded.
(This used to be commit 3ff4845bc43736bfa091419c80b9a0ebdc9d156e)

21 years agoFix to allow blocking lock notification to be done rapidly (no wait
Jeremy Allison [Thu, 27 Feb 2003 01:04:34 +0000 (01:04 +0000)]
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
(This used to be commit 766928bbba1e597c9c2b12458dd8d37e6080593e)

21 years agoMerge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
Andrew Bartlett [Wed, 26 Feb 2003 12:37:04 +0000 (12:37 +0000)]
Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
(This used to be commit 1cba3ceae1637974272e595260933985d84942d4)

21 years agoLink wbinfo with popt_common.o
Tim Potter [Wed, 26 Feb 2003 00:10:22 +0000 (00:10 +0000)]
Link wbinfo with popt_common.o
(This used to be commit eac4b7ef2989acb50e3d27e7198285dd198017ec)

21 years agoMerge of exit path cleanup for EnumDomainUsers.
Tim Potter [Wed, 26 Feb 2003 00:06:59 +0000 (00:06 +0000)]
Merge of exit path cleanup for EnumDomainUsers.
(This used to be commit c2e9673328b2d989f13626632442f095727a03c6)

21 years agoMerge of python prototype header removal.
Tim Potter [Wed, 26 Feb 2003 00:02:07 +0000 (00:02 +0000)]
Merge of python prototype header removal.
(This used to be commit 19676de275f1cb1feaf4f65acfafc1aed3b6ec67)

21 years agoMerge: newline on debug message.
Tim Potter [Tue, 25 Feb 2003 23:54:40 +0000 (23:54 +0000)]
Merge: newline on debug message.
(This used to be commit df49463e62e4be7535485b668f00db287ff581f3)

21 years agoMerge: add popt_common_version to command line options table.
Tim Potter [Tue, 25 Feb 2003 23:54:23 +0000 (23:54 +0000)]
Merge: add popt_common_version to command line options table.
(This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:53:38 +0000 (23:53 +0000)]
Merge: const fixes.

Merge: add popt_common_version to command line options table.

Merge: mbp's rewrite of do_cmd()
(This used to be commit 20f153cee38edfa93ffd60cc872a299a4f296240)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:52:38 +0000 (23:52 +0000)]
Merge: const fixes.

Merge: add popt_common_version to command line options table.
(This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:51:56 +0000 (23:51 +0000)]
Merge: const fixes.
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)

21 years agoMerge: fix compiler warning.
Tim Potter [Tue, 25 Feb 2003 23:46:51 +0000 (23:46 +0000)]
Merge: fix compiler warning.
(This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)

21 years agoProgress on CR 601
Gerald Carter [Tue, 25 Feb 2003 20:53:53 +0000 (20:53 +0000)]
Progress on CR 601

cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.

Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
(This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)

21 years agoMerge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy Allison [Mon, 24 Feb 2003 19:37:20 +0000 (19:37 +0000)]
Merge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy.
(This used to be commit 9634b1fba059228d436198629a5c7cf01fb6736c)

21 years agoMerge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup...
Jeremy Allison [Mon, 24 Feb 2003 19:22:54 +0000 (19:22 +0000)]
Merge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Jeremy.
(This used to be commit 6521601bf8013c8809db13ccf7dd256ea4ad5dd7)

21 years agoMerge documentation from HEAD
Martin Pool [Mon, 24 Feb 2003 04:49:10 +0000 (04:49 +0000)]
Merge documentation from HEAD
(This used to be commit 3761f8ebe339fbbeffee9d7b69f9483ebfd9ae6b)

21 years agoMake sure these values are never uninitialsised.
Andrew Bartlett [Mon, 24 Feb 2003 03:43:49 +0000 (03:43 +0000)]
Make sure these values are never uninitialsised.
(This used to be commit eacb8dde7afa16d86586c6c896ffb6692dc53bf6)

21 years agoCleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
Andrew Bartlett [Mon, 24 Feb 2003 03:28:37 +0000 (03:28 +0000)]
Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.

Andrew Bartlett
(This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)

21 years agoIconv as seperate library fixes from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:27:29 +0000 (03:27 +0000)]
Iconv as seperate library fixes from HEAD
(This used to be commit 935c66f6a02c7ba764fbcc643a91833deb588bc0)

21 years agoSigned/unsigned fix from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:26:49 +0000 (03:26 +0000)]
Signed/unsigned fix from HEAD
(This used to be commit 723ce5c531a957f3ea67f6fe74d4263a35083dda)

21 years agoMerge crypt(), ACL lib and shared lib changes from HEAD.
Andrew Bartlett [Mon, 24 Feb 2003 03:22:49 +0000 (03:22 +0000)]
Merge crypt(), ACL lib and shared lib changes from HEAD.
(This used to be commit e380224d8cd265b9845ad80af2b053a56078e790)

21 years agoMerge paramaters for client-side-auth updates.
Andrew Bartlett [Mon, 24 Feb 2003 03:22:09 +0000 (03:22 +0000)]
Merge paramaters for client-side-auth updates.
(This used to be commit 68d34711279aa5959778974018df77726b915858)

21 years agoFix a small stuffup in the HEAD -> 3.0 merge
Andrew Bartlett [Mon, 24 Feb 2003 03:14:46 +0000 (03:14 +0000)]
Fix a small stuffup in the HEAD -> 3.0 merge
(This used to be commit cccec78cf241a9f69c363f0ecdd2e934c8b21f19)

21 years agoMerge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.
Andrew Bartlett [Mon, 24 Feb 2003 03:09:08 +0000 (03:09 +0000)]
Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.

Andrew Bartlett
(This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)

21 years agoMakefile updates for the client-side auth/kerberos merge.
Andrew Bartlett [Mon, 24 Feb 2003 03:07:34 +0000 (03:07 +0000)]
Makefile updates for the client-side auth/kerberos merge.
(This used to be commit b32f3ecaf65f5f433d3b95802b45216689d56d75)

21 years agoMissed a couple of files from the client-side kerberos merge
Andrew Bartlett [Mon, 24 Feb 2003 03:06:45 +0000 (03:06 +0000)]
Missed a couple of files from the client-side kerberos merge
(This used to be commit 56934f303c0551df858cc6d6ad32d0b37fcd1307)

21 years agoMerge off-by-one fix from HEAD (caused crash with --enable-developer)
Andrew Bartlett [Mon, 24 Feb 2003 03:03:15 +0000 (03:03 +0000)]
Merge off-by-one fix from HEAD (caused crash with --enable-developer)
(This used to be commit d71425413075af25f91f715950c06ab698cf5fb7)

21 years agoMerge from HEAD client-side authentication changes:
Andrew Bartlett [Mon, 24 Feb 2003 02:55:00 +0000 (02:55 +0000)]
Merge from HEAD client-side authentication changes:

 - new kerberos code, allowing the account to change it's own password
   without special SD settings required
 - NTLMSSP client code, now seperated from cliconnect.c
 - NTLMv2 client code
 - SMB signing fixes

Andrew Bartlett
(This used to be commit 837680ca517982f2e5944730581a83012d4181ae)

21 years agoMissed one in the previous merge - user_ok() and user_in_group() now take
Andrew Bartlett [Mon, 24 Feb 2003 02:47:14 +0000 (02:47 +0000)]
Missed one in the previous merge - user_ok() and user_in_group() now take
an optional list of groups the user is in.
(This used to be commit 39f3bec0f62520e49a087403287330ed5f3a79c5)

21 years agoMerge of server-side authentication changes to 3.0:
Andrew Bartlett [Mon, 24 Feb 2003 02:35:54 +0000 (02:35 +0000)]
Merge ... server-side authentication changes to 3.0:

 - user_ok() and user_in_group() now take a list of groups, instead of
   looking for the user in the members of all groups.

 - The 'server_info' returned from the authentication is now kept around
  - in future we won't copy the sesion key, username etc, we will just
    referece them directly.

 - rhosts upgraded to use the SAM if possible, otherwise fake up based on
   getpwnam().

 - auth_util code to deal with groups upgraded to deal with non-winbind domain
   members again.

Andrew Bartlett
(This used to be commit 74b5436c75114170ce7c780c19226103d0df9060)

21 years agoAdd comment about Samba character sets, from explanation by abartlet.
Martin Pool [Mon, 24 Feb 2003 01:10:15 +0000 (01:10 +0000)]
Add comment about Samba character sets, from explanation by abartlet.
(This used to be commit 822f6c2f38b9b30dca2358e99ad6a379f5890c89)

21 years agoWhen checking is_locked() new WRITE locks conflict with existing READ locks even
Jeremy Allison [Sat, 22 Feb 2003 01:09:57 +0000 (01:09 +0000)]
When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.
(This used to be commit 1698092ba5a169de369ad1182a6f270de174c3f5)

21 years agos/unistr2_to_dos/unistr2_to_ascii/ to fix compile
Gerald Carter [Fri, 21 Feb 2003 19:02:07 +0000 (19:02 +0000)]
s/unistr2_to_dos/unistr2_to_ascii/ to fix compile
(This used to be commit de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff)

21 years agocouple of merges from APP_HEAD
Gerald Carter [Fri, 21 Feb 2003 17:04:01 +0000 (17:04 +0000)]
couple of merges from APP_HEAD
  * performance optimization in enumprinterdataex() when keyname is empty
  * fix a few typos in comments
  * reload services after addprinter_command()

dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
(This used to be commit 3fc90ea1d9b11186f26484516a4dd8502b6d7323)

21 years agopatch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling...
Gerald Carter [Fri, 21 Feb 2003 16:15:44 +0000 (16:15 +0000)]
patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it.  Fixes seg fault in audit VFS module
(This used to be commit e5acebbe79a97191903ee3a1819410a0fb9ac655)

21 years agoFix IRIX build...void fn can't return another void fn
Jim McDonough [Fri, 21 Feb 2003 14:38:14 +0000 (14:38 +0000)]
Fix IRIX build...void fn can't return another void fn
(This used to be commit e0c1f9ef61a0ec4f06a0b0e257497943195b5297)

21 years agoAdded comments to make it clearer when we're assigning a pointer that it
Jeremy Allison [Fri, 21 Feb 2003 06:25:58 +0000 (06:25 +0000)]
Added comments to make it clearer when we're assigning a pointer that it
must not be freed afterwards.
Jeremy.
(This used to be commit 4015e39d3666dbe240808c9007a8b8faca012a3d)

21 years agoIgnore errors on python_clean target.
Tim Potter [Fri, 21 Feb 2003 05:51:37 +0000 (05:51 +0000)]
Ignore errors on python_clean target.
(This used to be commit 9e4eba0ae593cc4422a5ce7bbdc4ab9f06d017b7)

21 years agoAdded Volkers "print server role" patch.
Jeremy Allison [Thu, 20 Feb 2003 22:09:54 +0000 (22:09 +0000)]
Added Volkers "print server role" patch.
Jeremy.
(This used to be commit b14e174c65b399e606f4f740762ff4646b8f9eef)

21 years agoCompile in lib/module.o
Jelmer Vernooij [Thu, 20 Feb 2003 19:21:20 +0000 (19:21 +0000)]
Compile in lib/module.o
(This used to be commit adc5a4a263b49e2883aba759cf9dd77f12c0cabb)

21 years agoMerge in smb_load_module() function from HEAD
Jelmer Vernooij [Thu, 20 Feb 2003 19:14:55 +0000 (19:14 +0000)]
Merge in smb_load_module() function from HEAD
(This used to be commit 6cb124247d10de86bdf6a98f3dd703b3a9eb1d35)

21 years agoRemove obsolete files
Jelmer Vernooij [Thu, 20 Feb 2003 19:13:37 +0000 (19:13 +0000)]
Remove obsolete files
(This used to be commit 1a68ead4332bd9f5123bd3690784e7e179e3cb1f)

21 years agoEnsure tdb error code is set for corrupt and i/o errors before calling
Jeremy Allison [Thu, 20 Feb 2003 19:03:11 +0000 (19:03 +0000)]
Ensure tdb error code is set for corrupt and i/o errors before calling
the log function. This allows the log function to take action.
Jeremy.
(This used to be commit fcaacb5fabdf78dd6b6a7fe5ff5300d9e2ff8d75)

21 years ago(Merge from APPLIANCE_HEAD)
Martin Pool [Thu, 20 Feb 2003 03:35:11 +0000 (03:35 +0000)]
(Merge from APPLIANCE_HEAD)

CR1829: Fix memory leak when unpacking 'B' buffers in Python.

(PyList_Append creates a new reference to the added object, and so we
have to release the existing one.)
(This used to be commit fa500c77e338337cafe5b46cadf9b104e920e823)

21 years agoMerge typo fix.
Tim Potter [Wed, 19 Feb 2003 22:54:21 +0000 (22:54 +0000)]
Merge typo fix.
(This used to be commit 7406fabe7ccdd99a19cc1df5f4339ac7e064e6b1)

21 years agoMerge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()
Tim Potter [Wed, 19 Feb 2003 22:52:50 +0000 (22:52 +0000)]
Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()
(This used to be commit 7edaf937963fa1d0f06343969b46ed6e4f39a6ea)

21 years agoMerge cleanups of return values.
Tim Potter [Wed, 19 Feb 2003 22:50:29 +0000 (22:50 +0000)]
Merge cleanups of return values.
(This used to be commit bae354a20c07458722b5193911e7eaaf9bfbaeb7)

21 years agoMerge some random looking setenv related kerberos stuff that makes
Tim Potter [Wed, 19 Feb 2003 22:50:05 +0000 (22:50 +0000)]
Merge some random looking setenv related kerberos stuff that makes
winbindd build again.
(This used to be commit c4f46890fe7f0dc16520cd5ed0fd06dcd7682703)

21 years agoMerge of cleanups and srvsvc implementation from HEAD.
Tim Potter [Wed, 19 Feb 2003 22:47:49 +0000 (22:47 +0000)]
Merge ... cleanups and srvsvc implementation from HEAD.
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)

21 years agoFix inspired by Stefan (metze) Metzmacher - cache the sidtype also.
Jeremy Allison [Wed, 19 Feb 2003 22:31:05 +0000 (22:31 +0000)]
Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.
Jeremy.
(This used to be commit efc92697801f5e62a89eda33e1826094c096900f)

21 years agocorrect init, tx Stefan
Simo Sorce [Wed, 19 Feb 2003 22:26:54 +0000 (22:26 +0000)]
correct init, tx Stefan
(This used to be commit a2e1969ce54e9ad412fc25ed5d749c38167ad8b0)

21 years agoSync with HEAD for verifying kerberos tickets.
Jim McDonough [Wed, 19 Feb 2003 15:48:12 +0000 (15:48 +0000)]
Sync with HEAD for verifying kerberos tickets.
(This used to be commit 77e1178a888f0d380a5ef94911a8f07bf04a7ba3)

21 years agoFix segv in net ads join...an extra & was the culprit
Jim McDonough [Wed, 19 Feb 2003 15:04:04 +0000 (15:04 +0000)]
Fix segv in net ads join...an extra & was the culprit
(This used to be commit 1a9050a6fe419e14fc82674d34cc4685a7532059)

21 years agoMerge from HEAD: We don't need this any more, setenv() is in replace.c now
Andrew Bartlett [Wed, 19 Feb 2003 12:33:32 +0000 (12:33 +0000)]
Merge from HEAD: We don't need this any more, setenv() is in replace.c now
(This used to be commit cd6ad1f13b481ab22d98993db3fa80ec43dc1c8c)

21 years agoMerge minor library fixes from HEAD to 3.0.
Andrew Bartlett [Wed, 19 Feb 2003 12:31:16 +0000 (12:31 +0000)]
Merge minor library fixes from HEAD to 3.0.

 - setenv() replacement
 - mimir's ASN1/SPNEGO typo fixes
 - (size_t)-1 fixes for push_* returns
 - function argument signed/unsigned correction
 - ASN1 error handling (ensure we don't use initiailsed data)
 - extra net ads join error checking
 - allow 'set security discriptor' to fail
 - escape ldap strings in libads.
 - getgrouplist() correctness fixes (include primary gid)

Andrew Bartlett
(This used to be commit e9d6e2ea9a3dc01d3849b925c50702cda6ddf225)

21 years agoFix from Corny.Bondad@hp.com for missing if (setting_acls) on default
Jeremy Allison [Wed, 19 Feb 2003 02:34:44 +0000 (02:34 +0000)]
Fix from Corny.Bondad@hp.com for missing if (setting_acls) on default
perms.
Jeremy.
(This used to be commit 793609cbc2f657b91a59aec4a3f403bf826c7156)

21 years agoBit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
Jeremy Allison [Wed, 19 Feb 2003 01:43:33 +0000 (01:43 +0000)]
Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
jobid is below the UNIX_JOB_START number.
Jeremy.
(This used to be commit 7ec1c8869d3df9af77ff95942beba34f56a06b73)

21 years agoRemove old listproc address; update instructions for subscribing to
Martin Pool [Wed, 19 Feb 2003 00:49:10 +0000 (00:49 +0000)]
Remove old listproc address; update instructions for subscribing to
the mailing list.
(This used to be commit f09f374bab5385cf1a5daa573494c30feff3d41a)

21 years agoRemove old samba-bugs address, etc. (Merge from HEAD)
Martin Pool [Wed, 19 Feb 2003 00:18:25 +0000 (00:18 +0000)]
Remove old samba-bugs address, etc.  (Merge from HEAD)
(This used to be commit 7e355dcf41c9aed67cb327ebbba2be3ab5d6637e)

21 years agobase64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
Jim McDonough [Tue, 18 Feb 2003 23:17:59 +0000 (23:17 +0000)]
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)

21 years agoSync w/HEAD - add DES_CBC_CRC encryption type
Jim McDonough [Tue, 18 Feb 2003 20:57:29 +0000 (20:57 +0000)]
Sync w/HEAD - add DES_CBC_CRC encryption type
(This used to be commit c7934f5cb56d54a90c9ffdbe2f7429a3c9227abe)

21 years agoCheck return code of string_to_sid. (Merge from HEAD)
Martin Pool [Tue, 18 Feb 2003 07:15:52 +0000 (07:15 +0000)]
Check return code of string_to_sid.  (Merge from HEAD)
(This used to be commit 606bb47f241d2916d039b38f48b50474a3e0dadc)

21 years agoCheck return code of string_to_sid. (Merge from HEAD)
Martin Pool [Tue, 18 Feb 2003 07:05:02 +0000 (07:05 +0000)]
Check return code of string_to_sid.  (Merge from HEAD)
(This used to be commit 5d09aea6f78aa247dbd77617c93c2a1dd2e2702f)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Tue, 18 Feb 2003 05:05:16 +0000 (05:05 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit c31455779d7948e866fe1916425c3746134dea01)

21 years agoCleanup of header files for python extensions.
Tim Potter [Tue, 18 Feb 2003 05:05:15 +0000 (05:05 +0000)]
Cleanup of header files for python extensions.

 - combine py_foo_proto.h and py_foo.h
 - move #include of Python.h into one place so we can get rid of that
   annoying compiler warning about HAVE_FSTAT being redefined
(This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)

21 years agoEnsure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
Jeremy Allison [Tue, 18 Feb 2003 04:49:31 +0000 (04:49 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit e7c4616c45ea5ec7c04022d6cca49ac70adde121)

21 years agoEnsure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
Jeremy Allison [Tue, 18 Feb 2003 04:48:32 +0000 (04:48 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit a21154961135def29d7ede302ed09ce52fc22fc1)

21 years agoset the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
Gerald Carter [Tue, 18 Feb 2003 03:43:08 +0000 (03:43 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit 9a4b7a86fdaab04328b5017c1dd42480753a9a10)

21 years agoset the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
Gerald Carter [Tue, 18 Feb 2003 03:42:34 +0000 (03:42 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit 9efaef4a96a14bd1ffabf12326ff6f6903f663b2)

21 years agoRemove obsolete comment.
Martin Pool [Tue, 18 Feb 2003 02:01:38 +0000 (02:01 +0000)]
Remove obsolete comment.
(This used to be commit e22465749dc7c2acd2441a897df592616fc275da)

21 years agoDoxygen janitor. No other changes.
Martin Pool [Tue, 18 Feb 2003 01:55:50 +0000 (01:55 +0000)]
Doxygen janitor.  No other changes.
(This used to be commit 735c99dadbaffbb53662890e3dc8a668b211da9d)

21 years agocmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
Martin Pool [Tue, 18 Feb 2003 01:35:19 +0000 (01:35 +0000)]
cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
which are not valid.
(This used to be commit bfb6104521bd75da71a09a6c56bd44560416116e)

21 years agoinit_dom_sid2s: Check return code from string_to_sid. Skip tokens
Martin Pool [Tue, 18 Feb 2003 01:30:22 +0000 (01:30 +0000)]
init_dom_sid2s: Check return code from string_to_sid.  Skip tokens
that are not valid SIDs.
(This used to be commit 5a597272782b74d28859ba98027fe9ff9c278086)

21 years agoCheck return code from string_to_sid.
Martin Pool [Tue, 18 Feb 2003 01:09:19 +0000 (01:09 +0000)]
Check return code from string_to_sid.
(This used to be commit fe449328b226a33ad1c64e087fe63e79f90ab4ac)

21 years agoadd_initial_entry should fail if string_to_sid fails.
Martin Pool [Tue, 18 Feb 2003 01:05:56 +0000 (01:05 +0000)]
add_initial_entry should fail if string_to_sid fails.
(This used to be commit bb095dc28d8369457286225ac63e03070889f394)

21 years agoPatch from vorlon@debian.org to split out our -lacl dependency to only smbd
Andrew Bartlett [Tue, 18 Feb 2003 00:54:22 +0000 (00:54 +0000)]
Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
(This used to be commit bcbc2213230e95d732a774b5aee67295fba4380b)

21 years agoDoxygen janitor and some doc typo fixes.
Martin Pool [Tue, 18 Feb 2003 00:52:42 +0000 (00:52 +0000)]
Doxygen janitor and some doc typo fixes.
(This used to be commit 82414706e6659c1638936d9b9afdb9329109f58f)

21 years agoDoxygen janitor. No other changes.
Martin Pool [Tue, 18 Feb 2003 00:41:13 +0000 (00:41 +0000)]
Doxygen janitor.  No other changes.
(This used to be commit fa38e7956c21b828ba208282ef0ac85c2b66ff22)

21 years agoThe cli_send_tconX code already determines to send \\server\share to port 139
Andrew Bartlett [Tue, 18 Feb 2003 00:36:37 +0000 (00:36 +0000)]
The cli_send_tconX code already determines to send \\server\share to port 139
and share to 445, so doing this only confuses the issue (sending
\\server\\server\share to 139) and makes debugging specific error codes more
difficult.

Andrew Bartlett
(This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)

21 years agoUpdate config.guess, config.sub to the versions from the GNU autotools
Martin Pool [Mon, 17 Feb 2003 23:49:01 +0000 (23:49 +0000)]
Update config.guess, config.sub to the versions from the GNU autotools
2003-01-10 release.  This adds or improves detection for many host
platforms.
(This used to be commit 24fe55ea6d55a78d662942e78e192a84809fcba6)

21 years agoAdd comment explaining the -DDEVELOPER safe_strcpy overflow hack.
Martin Pool [Mon, 17 Feb 2003 23:33:55 +0000 (23:33 +0000)]
Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.
(This used to be commit 90e1d8bdfa9ec0a4f3795d9a89db1d2324447b68)

21 years agoCorrectly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy Allison [Mon, 17 Feb 2003 21:19:09 +0000 (21:19 +0000)]
Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.
(This used to be commit fb3548e5080812c037c2c134504cc9af4ecbfedd)

21 years agoCorrectly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy Allison [Mon, 17 Feb 2003 21:19:00 +0000 (21:19 +0000)]
Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.
(This used to be commit 01f6b2694532749807aff1c2e6f338dade2d9b09)

21 years agoDummy commit, I can't get through to samba-cvs@samba.org. It can't really
Volker Lendecke [Mon, 17 Feb 2003 21:12:21 +0000 (21:12 +0000)]
Dummy commit, I can't get through to samba-cvs@samba.org. It can't really
remember under what mail address I have to post.

My last commit to this file made it compile again, my fingers were a bit
too fast to really type this message.

Sorry for this confusion,

Volker
(This used to be commit 3b905f5a16dff8ce6742a92fd403cb720707f513)

21 years agocmd_srvsvc.c
Volker Lendecke [Mon, 17 Feb 2003 21:04:09 +0000 (21:04 +0000)]
cmd_srvsvc.c
(This used to be commit fcfbb3c430b2e48819c0c1852bc154661c4b7adf)

21 years agoThis is a very nice way to detect pstrcpy() into a malloc()ed string, but
Andrew Bartlett [Mon, 17 Feb 2003 12:33:24 +0000 (12:33 +0000)]
This is a very nice way to detect pstrcpy() into a malloc()ed string, but
it really is a developer hack...

Andrew Bartlett
(This used to be commit 3588ebb35b14422141d4070413185195b525038e)

21 years agoThis patch fixes one of my longest-standing pet hates with Samba :-).
Andrew Bartlett [Mon, 17 Feb 2003 12:27:34 +0000 (12:27 +0000)]
This patch fixes one of my longest-standing pet hates with Samba :-).

When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.

I'm sure this will fix some nasty performance issues, particularly on large
domains etc.  In particular, this avoids contacting winbind at all, if the
group is not a winbind group.

(This caused a deadlock on my winbind-on-PDC setup).

The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.

Andrew Bartlett
(This used to be commit 9be21976f7662ebe6eb92fff7cecbdb352eca334)