kai/samba.git
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)

21 years agoDon't leak a session_key worth of memory at the end of the NTLMSSP auth.
Andrew Bartlett [Mon, 17 Feb 2003 12:20:20 +0000 (12:20 +0000)]
Don't leak a session_key worth of memory at the end of the NTLMSSP auth.
(This used to be commit ae9765b84de0fd6eff790b3bff26dd3d43ec2bd6)

21 years agoSet the length back to zero when we free the data_blob.
Andrew Bartlett [Mon, 17 Feb 2003 12:19:12 +0000 (12:19 +0000)]
Set the length back to zero when we free the data_blob.
(This used to be commit 4560594a67056ee1a5e51a122d1b254944e7c266)

21 years agoTry to make our getgrouplist replacement better match the 'real' implemenations.
Andrew Bartlett [Mon, 17 Feb 2003 12:04:09 +0000 (12:04 +0000)]
Try to make our getgrouplist replacement better match the 'real' implemenations.

In particular, make sure we include the primary gid in the list.

Andrew Bartlett
(This used to be commit 0cd4b339b7eff55019caaeaa998d5e70b2eed200)

21 years agoTypo: /mized/mixed/
Martin Pool [Mon, 17 Feb 2003 06:54:43 +0000 (06:54 +0000)]
Typo: /mized/mixed/
(This used to be commit ada36d2fe38dbb07886a671a6d85b6317ab230a8)

21 years agoDon't pstrcpy into an fstring. (Harmless in this case since it comes
Martin Pool [Mon, 17 Feb 2003 06:28:58 +0000 (06:28 +0000)]
Don't pstrcpy into an fstring.  (Harmless in this case since it comes
from an environment variable.)
(This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)

21 years agoStart reworking rpcclient to use popt rather than next_token to parse
Martin Pool [Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)]
Start reworking rpcclient to use popt rather than next_token to parse
command lines.  This makes the code much simpler and also stops
trivial syntax errors from causing a crash.

Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)

21 years agoAdded SRVSVC pipe support. I've started implementing NetServerGetInfo()
Tim Potter [Mon, 17 Feb 2003 04:43:09 +0000 (04:43 +0000)]
Added SRVSVC pipe support.  I've started implementing NetServerGetInfo()
(This used to be commit 8e0d781995b56dd1cd348baadd494bb8e64c10bc)

21 years agoAdd KRBCLIENT_OBJ to PYTHON_OBJ list.
Tim Potter [Mon, 17 Feb 2003 04:41:08 +0000 (04:41 +0000)]
Add KRBCLIENT_OBJ to PYTHON_OBJ list.
(This used to be commit 651be759b3db98133feb6fe8c578964ec7b5cf71)

21 years agoReturn a WERROR instead of a NTSTATUS like the rest of the srvsvc
Tim Potter [Mon, 17 Feb 2003 04:35:32 +0000 (04:35 +0000)]
Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
rpc calls.
(This used to be commit 619af61644ecc221c45e5cf69d562451b5b9f951)

21 years agoIf we didn't make the server_info correctly, then don't segfault trying to
Andrew Bartlett [Mon, 17 Feb 2003 00:58:47 +0000 (00:58 +0000)]
If we didn't make the server_info correctly, then don't segfault trying to
set the 'guest' bit.

Andrew Bartlett
(This used to be commit 960c53bf952de4431da4e90da035fcfbe98f1bd7)

21 years agoPeople were being tripped up by the fact that we havn't updated acconfig.h
Andrew Bartlett [Mon, 17 Feb 2003 00:10:37 +0000 (00:10 +0000)]
People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit c51065e6073f30296e87bedd06efd7f9a5833f93)

21 years agoPeople were being tripped up by the fact that we havn't updated acconfig.h
Andrew Bartlett [Mon, 17 Feb 2003 00:07:38 +0000 (00:07 +0000)]
People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)

21 years agoMerge from HEAD - allow "" as a domain in the NLTMv2 hash calculations. Fixes
Andrew Bartlett [Sun, 16 Feb 2003 22:23:33 +0000 (22:23 +0000)]
Merge from HEAD - allow "" as a domain in the NLTMv2 hash calculations.  Fixes
interop with clients not in our domain.

Andrew Bartlett
(This used to be commit 6aa3aba3db604d481dc96c3befe066938cb1b0f3)

21 years agoAdd the 'session key' output of the NTLMSSP exchange to the cli struct, so
Andrew Bartlett [Sun, 16 Feb 2003 22:10:48 +0000 (22:10 +0000)]
Add the 'session key' output of the NTLMSSP exchange to the cli struct, so
it can be used for 'net rpc join'.

Also fix a bug in our server-side NTLMSSP code - a client without any domain
trust links to us may calculate the NTLMv2 response with "" as the domain.

Andrew Bartlett
(This used to be commit ddaa42423bc952e59b95362f5f5aa7cca10d1ad4)

21 years agoRecover much of my changes to editreg.c. Add some const and start coding
Richard Sharpe [Sun, 16 Feb 2003 17:16:06 +0000 (17:16 +0000)]
Recover much of my changes to editreg.c. Add some const and start coding
the regedit file parser etc.
(This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)

21 years ago* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
Gerald Carter [Sat, 15 Feb 2003 23:36:18 +0000 (23:36 +0000)]
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504
(This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)

21 years ago* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
Gerald Carter [Sat, 15 Feb 2003 23:33:30 +0000 (23:33 +0000)]
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504
(This used to be commit ffda9e2480414c7ed6156958f516e0d1f3c61350)

21 years agoMerge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
Alexander Bokovoy [Sat, 15 Feb 2003 23:07:59 +0000 (23:07 +0000)]
Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
(This used to be commit bf1c82a48f89d25af767d73cb9c25f78bd868d30)

21 years agoThird-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
Alexander Bokovoy [Sat, 15 Feb 2003 22:51:15 +0000 (22:51 +0000)]
Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.

While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.

This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit 643172ac1a9b53823d704690eb03120074bbef78)

21 years agoDon't return NULL pointers for now.
Andrew Bartlett [Sat, 15 Feb 2003 21:41:01 +0000 (21:41 +0000)]
Don't return NULL pointers for now.

We should look into how to deal with NULL v "" strings, and the NTLMSSP code
underneath properly at some stage.

Andrew Bartlett
(This used to be commit dc934412b0190ea75073cccddac45e74ebcd4a6b)

21 years agofix dumb perror used without errno beeing set.
Simo Sorce [Sat, 15 Feb 2003 21:37:15 +0000 (21:37 +0000)]
fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report
(This used to be commit e257141c9b3703ef73ee312f3ec30d377e0d3293)

21 years agofix dumb perror used without errno beeing set.
Simo Sorce [Sat, 15 Feb 2003 21:36:28 +0000 (21:36 +0000)]
fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report
(This used to be commit 4a3c6c62d979707900b95e6c38b0132f522269ca)

21 years agoMerger krb5-config and libtinfo to SAMBA_3_0
Alexander Bokovoy [Sat, 15 Feb 2003 19:13:53 +0000 (19:13 +0000)]
Merger krb5-config and libtinfo to SAMBA_3_0
(This used to be commit 864809707b0acf34e19b4234960e888b6737b39e)

21 years agoSome small updates
Jelmer Vernooij [Sat, 15 Feb 2003 16:35:20 +0000 (16:35 +0000)]
Some small updates
(This used to be commit 10a97c22637ce5320b4d30d7724d200d25fbfd25)

21 years agoWhen checking for tgetent, include libtinfo from recent Ncurses as well
Alexander Bokovoy [Sat, 15 Feb 2003 15:50:24 +0000 (15:50 +0000)]
When checking for tgetent, include libtinfo from recent Ncurses as well
(This used to be commit c88a5b1abaaee9aea3ece5677fce8b79bcd00552)

21 years agoAdd support for krb5-config from recent MIT and Heimdal. And fallback to traditional...
Alexander Bokovoy [Sat, 15 Feb 2003 15:47:32 +0000 (15:47 +0000)]
Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found.
(This used to be commit ca27334ba0f2ffbe0fd2a18ef5edf644d4e52190)

21 years agoAdd draft of universal passdb document that combines ENCRYPTION.sgml,
Jelmer Vernooij [Sat, 15 Feb 2003 14:44:25 +0000 (14:44 +0000)]
Add draft of universal passdb document that combines ENCRYPTION.sgml,
Samba-LDAP-HOWTO.sgml, pdb_mysql.sgml and pdb_xml.sgml
(This used to be commit fc26d1bfd15e8762628f115dd18e9d716bbea0e8)

21 years agoRemove obsolete textdocs - they have been migrated to SGML
Jelmer Vernooij [Sat, 15 Feb 2003 14:17:03 +0000 (14:17 +0000)]
Remove obsolete textdocs - they have been migrated to SGML
(This used to be commit 327075d14f266170de140d728b4a4a4283e65026)

21 years agoFix *a lot* of syntax errors
Jelmer Vernooij [Sat, 15 Feb 2003 14:13:55 +0000 (14:13 +0000)]
Fix *a lot* of syntax errors
(This used to be commit 41753997ae427bdca86c98d35f0aff7eb3293995)

21 years agoMove our NTLMSSP client code into ntlmssp.c. The intention is to provide a
Andrew Bartlett [Sat, 15 Feb 2003 12:20:22 +0000 (12:20 +0000)]
Move our NTLMSSP client code into ntlmssp.c.  The intention is to provide a
relitivly useful external lib from this code, and to remove the dupicate
NTLMSSP code elsewhere in samba (RPC pipes, LDAP client).

The code I've replaced this with in cliconnect.c is relitivly ugly, and
I hope to replace it with a more general SPENGO layer at some later date.

Andrew Bartlett
(This used to be commit b2b66909ac2e251f8189e0696b6075dbf748521a)

21 years agoUse more portable @SHLIBEXT@ instead of .so
Jelmer Vernooij [Sat, 15 Feb 2003 02:05:45 +0000 (02:05 +0000)]
Use more portable @SHLIBEXT@ instead of .so
(This used to be commit bddc54818eb57673ab53c9b7dd0547e3d61aa08b)

21 years agoUse more portable @SHLIBEXT@ instead of .so
Jelmer Vernooij [Sat, 15 Feb 2003 02:04:41 +0000 (02:04 +0000)]
Use more portable @SHLIBEXT@ instead of .so
(This used to be commit ba25db83f241a28200132f3dc52f7f5f93a3b00e)

21 years agoRemove obsolete file lib/netatalk.c - We now have a vfs module
Jelmer Vernooij [Sat, 15 Feb 2003 02:03:55 +0000 (02:03 +0000)]
Remove obsolete file lib/netatalk.c - We now have a vfs module
(This used to be commit fcc7a197b1ec85f9492e335a824317a904b0c919)

21 years agoRemove obsolete file lib/netatalk.c - We have a VFS module now
Jelmer Vernooij [Sat, 15 Feb 2003 02:02:51 +0000 (02:02 +0000)]
Remove obsolete file lib/netatalk.c - We have a VFS module now
(This used to be commit 28653989cfe5d705b99a4888c0c3fb79d1f89162)

21 years agoPatch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
Jeremy Allison [Sat, 15 Feb 2003 01:34:37 +0000 (01:34 +0000)]
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit 20798ac739682884b5c1340e3bd55a95eefb4b0f)

21 years agoPatch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
Jeremy Allison [Sat, 15 Feb 2003 01:34:34 +0000 (01:34 +0000)]
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit 81f358b632dbf7043d2a716359b0fcf7c647af0a)

21 years agoAdd reference to example mysql.dump file
Jelmer Vernooij [Sat, 15 Feb 2003 01:08:08 +0000 (01:08 +0000)]
Add reference to example mysql.dump file
(This used to be commit ed46cb9e64e5c58cef6e2469438bacaae9dcdce8)

21 years agoAntti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
Andrew Bartlett [Sat, 15 Feb 2003 00:29:21 +0000 (00:29 +0000)]
Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
users w/o full administrative access on computer accounts to join a
computer into AD domain.

The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba

This is a list of changes in general:

1. When creating machine account do not fail if SD cannot be changed.
   setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
   machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
   kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
   username is specified (-U). Initial TGT will be requested in this case.

I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS.  The other change included in the original patch
(local realms) has been left out for now.

Andrew Bartlett
(This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)

21 years agoMove our NTLMSSP code into easily seperated peices, not relying on the whole
Andrew Bartlett [Sat, 15 Feb 2003 00:10:09 +0000 (00:10 +0000)]
Move our NTLMSSP code into easily seperated peices, not relying on the whole
of libsmb.

Andrew Bartlett
(This used to be commit b5ec7efa80478187124c1cfa8c7fcc4036506a37)

21 years agoOops, forgot the header file changes.
Andrew Bartlett [Fri, 14 Feb 2003 23:34:32 +0000 (23:34 +0000)]
Oops, forgot the header file changes.
(This used to be commit 5492fc1144abac74959b7e0938ce1bb387fa7429)

21 years agoNTLMSSP parinoia - we really don't want to run over the end of our blob,
Andrew Bartlett [Fri, 14 Feb 2003 23:13:05 +0000 (23:13 +0000)]
NTLMSSP parinoia - we really don't want to run over the end of our blob,
and make sure we can never get an 'authenticate' packet without a challenge.

Andrew Bartlett
(This used to be commit 4d94f8e6912c1339515cd1f68d1b698e7c699626)

21 years agoEnsure that only parse_prs.c access internal members of the prs_struct.
Jeremy Allison [Fri, 14 Feb 2003 23:04:03 +0000 (23:04 +0000)]
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit 4c3ee228fcdb089eaeead95e79532a9cf6cb0de6)

21 years agoEnsure that only parse_prs.c access internal members of the prs_struct.
Jeremy Allison [Fri, 14 Feb 2003 22:55:46 +0000 (22:55 +0000)]
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)

21 years agooff by one bug in string length; CR 1159
Gerald Carter [Fri, 14 Feb 2003 22:25:12 +0000 (22:25 +0000)]
off by one bug in string length; CR 1159
(This used to be commit aaefa889ad9a065f976275a748be1011d66aa37e)

21 years agooff by one bug in string length; CR 1159
Gerald Carter [Fri, 14 Feb 2003 22:24:49 +0000 (22:24 +0000)]
off by one bug in string length; CR 1159
(This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)

21 years agoPut dynrpc modules as part of make all, when specified in configure.
Jim McDonough [Fri, 14 Feb 2003 20:19:50 +0000 (20:19 +0000)]
Put dynrpc modules as part of make all, when specified in configure.
(This used to be commit d5b5a8e1f16f1e6d90affb4f84ff2f4bfbdfe86d)

21 years agoPut dynrpc modules as part of make all, when specified in configure.
Jim McDonough [Fri, 14 Feb 2003 20:10:43 +0000 (20:10 +0000)]
Put dynrpc modules as part of make all, when specified in configure.
(This used to be commit b44be1c7c4b8c7a8c1d35fe8b24aeff0ff0af32b)

21 years agoBring in line with HEAD version...mostly formatting changes to clean up diffs.
Jim McDonough [Fri, 14 Feb 2003 19:42:54 +0000 (19:42 +0000)]
Bring in line with HEAD version...mostly formatting changes to clean up diffs.
(This used to be commit ef43dff0bf49c942260f9a9a79fceabb5de715e0)

21 years agoFurther extract our NTLMv2 code into smbencrypt.c, prior to merge into our
Andrew Bartlett [Fri, 14 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
NTLMSSP client code.

Andrew Bartlett
(This used to be commit eaa8e7d1f82b30e7af14a0a58d7ca3eb66a06053)

21 years agoDoc
Martin Pool [Fri, 14 Feb 2003 06:34:59 +0000 (06:34 +0000)]
Doc
(This used to be commit 11c1e712d48438bd80c4f347a2f31e308bd54d7a)

21 years agoSimplify some return values in gencache functions:
Tim Potter [Fri, 14 Feb 2003 05:07:05 +0000 (05:07 +0000)]
Simplify some return values in gencache functions:

- return ret == 0 ? True : False;
+ return ret == 0;

and

- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;
(This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)

21 years agomerge from HEAD - enable dynamic RPC modules
Jim McDonough [Fri, 14 Feb 2003 00:48:28 +0000 (00:48 +0000)]
merge from HEAD - enable dynamic RPC modules
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)

21 years agoMop and bucket for trusted domain enumeration fix.
Tim Potter [Fri, 14 Feb 2003 00:31:30 +0000 (00:31 +0000)]
Mop and bucket for trusted domain enumeration fix.
(This used to be commit 5cfb30551a713caa3d69406450c1eac4541a30fa)

21 years agoFix for trusted domains scan not working inspired by Ken Cross.
Tim Potter [Fri, 14 Feb 2003 00:23:31 +0000 (00:23 +0000)]
Fix for trusted domains scan not working inspired by Ken Cross.

(Sorry - I should have checked this in yesterday but forgot)
(This used to be commit 7420ddcda8e7189cedacb2c60f5ea265b8c35bda)

21 years agoA few typo fixes Andrew eventually let off to me.
Rafal Szczesniak [Thu, 13 Feb 2003 21:40:35 +0000 (21:40 +0000)]
A few typo fixes Andrew eventually let off to me.

Rafal
(This used to be commit 16a66cf17a544a214b7c5b483c81c7568a18a779)

21 years agoRemoved unused variable.
Jeremy Allison [Thu, 13 Feb 2003 19:49:28 +0000 (19:49 +0000)]
Removed unused variable.
Jeremy.
(This used to be commit a29f1aa85f23fa82795a06ad81b26895b025954b)

21 years agoRemoved unused variable.
Jeremy Allison [Thu, 13 Feb 2003 19:42:50 +0000 (19:42 +0000)]
Removed unused variable.
Jeremy.
(This used to be commit c9654c8ec71903c59ff5f66c3fd6ea1baa599133)

21 years agoFix typo in WIFSIGNALED (as per Waider's report)
Alexander Bokovoy [Thu, 13 Feb 2003 16:29:12 +0000 (16:29 +0000)]
Fix typo in WIFSIGNALED (as per Waider's report)
(This used to be commit 4463ffeed91163314d2d903a271b29e87edaadcf)

21 years agoMerge JohnR's patch.
Jeremy Allison [Thu, 13 Feb 2003 06:52:45 +0000 (06:52 +0000)]
Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
(This used to be commit d079edf7327acba7f00b5868e7e6ce91ddc1eb14)