kai/samba.git
17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Fri, 4 Apr 2003 04:25:38 +0000 (04:25 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

17 years agoSome update and Fixes for typos.
John Terpstra [Fri, 4 Apr 2003 04:25:37 +0000 (04:25 +0000)]
Some update and Fixes for typos.

17 years agoNew docs added.
John Terpstra [Fri, 4 Apr 2003 03:56:01 +0000 (03:56 +0000)]
New docs added.

17 years agoMore docs updates. Much more under way.
John Terpstra [Fri, 4 Apr 2003 03:52:35 +0000 (03:52 +0000)]
More docs updates. Much more under way.

17 years agocheck_dos_char: Export this function so that it can be tested in
Martin Pool [Fri, 4 Apr 2003 03:35:06 +0000 (03:35 +0000)]
check_dos_char: Export this function so that it can be tested in
isolation by a test case.

17 years agot_doschar: Test harness that exercises check_dos_char()
Martin Pool [Fri, 4 Apr 2003 03:27:02 +0000 (03:27 +0000)]
t_doschar: Test harness that exercises check_dos_char()

17 years agoStrCaseCmp_Ascii_Tests: comfychair.TestCase.runcmd has changed to
Martin Pool [Fri, 4 Apr 2003 03:20:24 +0000 (03:20 +0000)]
StrCaseCmp_Ascii_Tests: comfychair.TestCase.runcmd has changed to
return both stdout and stderr.  Update to account for this.

17 years agoMerge test cases from HEAD
Martin Pool [Fri, 4 Apr 2003 03:18:04 +0000 (03:18 +0000)]
Merge test cases from HEAD

17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Fri, 4 Apr 2003 03:16:28 +0000 (03:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

17 years agoMerge from Subversion r50.
Martin Pool [Fri, 4 Apr 2003 03:16:27 +0000 (03:16 +0000)]
Merge from Subversion r50.

17 years agoMerge from Subversion:
Martin Pool [Fri, 4 Apr 2003 03:14:48 +0000 (03:14 +0000)]
Merge from Subversion:

Add example of a test that fails.

17 years agot_doschar: Test harness that exercises check_dos_char()
Martin Pool [Fri, 4 Apr 2003 03:09:42 +0000 (03:09 +0000)]
t_doschar: Test harness that exercises check_dos_char()

17 years agoTest harness that exercises check_dos_char()
Martin Pool [Fri, 4 Apr 2003 03:07:07 +0000 (03:07 +0000)]
Test harness that exercises check_dos_char()

17 years agoMerge from HEAD: 1.630 through 1.634:
Martin Pool [Fri, 4 Apr 2003 03:05:10 +0000 (03:05 +0000)]
Merge from HEAD: 1.630 through 1.634:

 - build test harnesses for STF

 - "make check" runs STF

17 years agoFix the new storage code to correctly convert from system queue info to
Jeremy Allison [Fri, 4 Apr 2003 01:02:50 +0000 (01:02 +0000)]
Fix the new storage code to correctly convert from system queue info to
pjob info. Ensure we retrieve more than one job from the storage code.
Jeremy.

17 years agoFix the new storage code to correctly convert from system queue info to
Jeremy Allison [Fri, 4 Apr 2003 01:02:20 +0000 (01:02 +0000)]
Fix the new storage code to correctly convert from system queue info to
pjob info. Ensure we retrieve more than one job from the storage code.
Jeremy.

17 years agoSAMR lookupdomain rpc client patches from amber palekar <amber@nu3.net>
Tim Potter [Fri, 4 Apr 2003 00:52:42 +0000 (00:52 +0000)]
SAMR lookupdomain rpc client patches from amber palekar <amber@nu3.net>

17 years agoFix compiler warning - cli_lsa_query_info_policy actually returns the
Tim Potter [Fri, 4 Apr 2003 00:41:07 +0000 (00:41 +0000)]
Fix compiler warning - cli_lsa_query_info_policy actually returns the
domain name.  We were passing in an already initialised string which was
causing the warning.

17 years agoUpdated warning messages for when configure.in is updated.
Tim Potter [Fri, 4 Apr 2003 00:36:11 +0000 (00:36 +0000)]
Updated warning messages for when configure.in is updated.

17 years agoRemoved unused variables.
Tim Potter [Fri, 4 Apr 2003 00:30:50 +0000 (00:30 +0000)]
Removed unused variables.

17 years agoFixed compiler warning.
Tim Potter [Fri, 4 Apr 2003 00:28:38 +0000 (00:28 +0000)]
Fixed compiler warning.

17 years agobetter method of locating autoconf and autoheader; patch by Willi Mann
Gerald Carter [Fri, 4 Apr 2003 00:14:02 +0000 (00:14 +0000)]
better method of locating autoconf and autoheader; patch by Willi Mann

17 years agobetter method of locating autoconf and autoheader; patch by Willi Mann
Gerald Carter [Fri, 4 Apr 2003 00:12:34 +0000 (00:12 +0000)]
better method of locating autoconf and autoheader; patch by Willi Mann

17 years agoAbort configure if --with-ads and --without-ldap.
Tim Potter [Fri, 4 Apr 2003 00:00:47 +0000 (00:00 +0000)]
Abort configure if --with-ads and --without-ldap.

17 years agoConvert RoutedNetworks to SGML
Jelmer Vernooij [Thu, 3 Apr 2003 18:54:40 +0000 (18:54 +0000)]
Convert RoutedNetworks to SGML

17 years agoUpdate docs status. We have only 1 program left to document (wrepld),
Jelmer Vernooij [Thu, 3 Apr 2003 18:41:28 +0000 (18:41 +0000)]
Update docs status. We have only 1 program left to document (wrepld),
and 3 manpages to finished (net, smb.conf, ntlm_auth)

17 years agoDocument remaining commands
Jelmer Vernooij [Thu, 3 Apr 2003 18:29:34 +0000 (18:29 +0000)]
Document remaining commands

17 years agoFix formatting of rpcclient manpage
Jelmer Vernooij [Thu, 3 Apr 2003 18:17:49 +0000 (18:17 +0000)]
Fix formatting of rpcclient manpage

17 years ago- Use entities in smbsh.1
Jelmer Vernooij [Thu, 3 Apr 2003 18:07:29 +0000 (18:07 +0000)]
- Use entities in smbsh.1
- First update of commands in rpcclient.1

17 years agoUpdate manpages for 3.0
Jelmer Vernooij [Thu, 3 Apr 2003 17:44:51 +0000 (17:44 +0000)]
Update manpages for 3.0

17 years agoUpdate to 3.0
Jelmer Vernooij [Thu, 3 Apr 2003 17:26:55 +0000 (17:26 +0000)]
Update to 3.0

17 years agoUpdate for 3.0
Jelmer Vernooij [Thu, 3 Apr 2003 17:26:13 +0000 (17:26 +0000)]
Update for 3.0

17 years agoUpdate for 3.0
Jelmer Vernooij [Thu, 3 Apr 2003 17:09:33 +0000 (17:09 +0000)]
Update for 3.0

17 years agoGive warning if 'drvupgrade' doesn't get an argument
Jelmer Vernooij [Thu, 3 Apr 2003 15:44:19 +0000 (15:44 +0000)]
Give warning if 'drvupgrade' doesn't get an argument

17 years agoGive warning if 'drvupgrade' doesn't get a parameter
Jelmer Vernooij [Thu, 3 Apr 2003 15:43:16 +0000 (15:43 +0000)]
Give warning if 'drvupgrade' doesn't get a parameter

17 years agoAdd documentation for new messages in 3.0
Jelmer Vernooij [Thu, 3 Apr 2003 15:41:36 +0000 (15:41 +0000)]
Add documentation for new messages in 3.0

17 years agoRemove compile info
Jelmer Vernooij [Thu, 3 Apr 2003 14:33:59 +0000 (14:33 +0000)]
Remove compile info

17 years agoFix typo
Jelmer Vernooij [Thu, 3 Apr 2003 14:11:09 +0000 (14:11 +0000)]
Fix typo

17 years agoMore doco updates. Another few days and it will be cooked.
John Terpstra [Thu, 3 Apr 2003 09:50:33 +0000 (09:50 +0000)]
More doco updates. Another few days and it will be cooked.

17 years agoFix a compile warning in slprintf format string.
Tim Potter [Thu, 3 Apr 2003 06:16:53 +0000 (06:16 +0000)]
Fix a compile warning in slprintf format string.

Possible typo: winbind_idmap_methods -> winbindd_idmap_methods

Fix wrong format char when generating a ldap filter string.

17 years agoThe ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):
Jim McDonough [Thu, 3 Apr 2003 03:30:25 +0000 (03:30 +0000)]
The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):

This patch moves the ldap routines out of passdb into a generic
library and implements an LDAP backend for IDMAP.  THe backend
can be enabled with "idmap backend = ldap" in smb.conf.  THere
are also schema changes to make sure to update teh ldap schema files.

17 years agoFixup swat warning.
Jeremy Allison [Thu, 3 Apr 2003 01:51:13 +0000 (01:51 +0000)]
Fixup swat warning.
Fix winbindd dual mode in the same was as in APP_HEAD. "Ken Cross" <kcross@nssolutions.com>
noticed the problem.
Jeremy.

17 years agoFixup swat warning.
Jeremy Allison [Thu, 3 Apr 2003 01:51:11 +0000 (01:51 +0000)]
Fixup swat warning.
Fix winbindd dual mode in the same was as in APP_HEAD. "Ken Cross" <kcross@nssolutions.com>
noticed the problem.
Jeremy.

17 years agoFixup format warning.
Jeremy Allison [Thu, 3 Apr 2003 00:20:58 +0000 (00:20 +0000)]
Fixup format warning.
Jeremy.

17 years agowinbindd should depend on IDMAP_OBJ too, not just link with it
Jelmer Vernooij [Wed, 2 Apr 2003 21:48:33 +0000 (21:48 +0000)]
winbindd should depend on IDMAP_OBJ too, not just link with it

17 years agoMore of coolo's changes for UTF-8 and some minor fixes of mine.
Richard Sharpe [Wed, 2 Apr 2003 20:17:28 +0000 (20:17 +0000)]
More of coolo's changes for UTF-8 and some minor fixes of mine.

17 years agoThere's no need to use LDAP_CFLAGS, just use CFLAGS
Jelmer Vernooij [Wed, 2 Apr 2003 18:49:36 +0000 (18:49 +0000)]
There's no need to use LDAP_CFLAGS, just use CFLAGS

17 years agoOnly use cflags and libs from krb5 when they appear to be working - fixes
Jelmer Vernooij [Wed, 2 Apr 2003 18:45:47 +0000 (18:45 +0000)]
Only use cflags and libs from krb5 when they appear to be working - fixes
build on BSD machines that have a krb5-config that returns @INCLUDE_des@ for
--cflags

17 years agoCommit some more fixes for Coolo ...
Richard Sharpe [Wed, 2 Apr 2003 18:32:31 +0000 (18:32 +0000)]
Commit some more fixes for Coolo ...

17 years agoRegenerate docs
Jelmer Vernooij [Wed, 2 Apr 2003 18:07:52 +0000 (18:07 +0000)]
Regenerate docs

17 years agoUse entity for percent sign
Jelmer Vernooij [Wed, 2 Apr 2003 17:54:25 +0000 (17:54 +0000)]
Use entity for percent sign

17 years agoAdd static
Jelmer Vernooij [Wed, 2 Apr 2003 17:10:05 +0000 (17:10 +0000)]
Add static

17 years agoAdd const (from a patch by Stephan Kulow <coolo@kde.org>)
Jelmer Vernooij [Wed, 2 Apr 2003 17:04:33 +0000 (17:04 +0000)]
Add const (from a patch by Stephan Kulow <coolo@kde.org>)

17 years agonsswitch/winbind_nss.c doesn't exist
Gerald Carter [Wed, 2 Apr 2003 16:45:23 +0000 (16:45 +0000)]
nsswitch/winbind_nss.c doesn't exist

17 years agoAdd KRB5LIBS to smbmount
Jelmer Vernooij [Wed, 2 Apr 2003 15:46:25 +0000 (15:46 +0000)]
Add KRB5LIBS to smbmount

17 years agoLink in lib/snprintf.o with editreg for use on systems that don't have snprintf
Jelmer Vernooij [Wed, 2 Apr 2003 15:42:44 +0000 (15:42 +0000)]
Link in lib/snprintf.o with editreg for use on systems that don't have snprintf

17 years agoAdd EDITREG_OBJ
Jelmer Vernooij [Wed, 2 Apr 2003 15:25:19 +0000 (15:25 +0000)]
Add EDITREG_OBJ

17 years agoOnly link in popt when we need it
Jelmer Vernooij [Wed, 2 Apr 2003 15:08:31 +0000 (15:08 +0000)]
Only link in popt when we need it

17 years agoMap a useless error code to a useful one...
Andrew Bartlett [Wed, 2 Apr 2003 15:04:47 +0000 (15:04 +0000)]
Map a useless error code to a useful one...

17 years agoPrint out the 'freindly' error message from winbind. Also print useful
Andrew Bartlett [Wed, 2 Apr 2003 15:03:07 +0000 (15:03 +0000)]
Print out the 'freindly' error message from winbind.  Also print useful
information into it re the privilaged pipe.

Also clean up some bugs in winbindd_pam.c

Andrew Bartlett

17 years agoOnly link in libs when they are actually used. Works great here and on
Jelmer Vernooij [Wed, 2 Apr 2003 14:59:21 +0000 (14:59 +0000)]
Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.

17 years agoset version to alpha24 so we can distinguish from the alpha23 release
Gerald Carter [Wed, 2 Apr 2003 14:33:07 +0000 (14:33 +0000)]
set version to alpha24 so we can distinguish from the alpha23 release

17 years agoFix searching master ip by bcast when old master has gone away (based on patch by...
Jelmer Vernooij [Wed, 2 Apr 2003 14:11:51 +0000 (14:11 +0000)]
Fix searching master ip by bcast when old master has gone away (based on patch by Stephan Kulow <coolo@kde.org>)

17 years agoUpdate ntlm_auth and winbind manpages.
Andrew Bartlett [Wed, 2 Apr 2003 13:54:06 +0000 (13:54 +0000)]
Update ntlm_auth and winbind manpages.

Andrew Bartlett

17 years agoerror_string, not error_message...
Andrew Bartlett [Wed, 2 Apr 2003 13:49:51 +0000 (13:49 +0000)]
error_string, not error_message...

17 years agoClean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
Andrew Bartlett [Wed, 2 Apr 2003 13:34:53 +0000 (13:34 +0000)]
Clean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
the returned session key is the one that we expect to get for that each
of login.

Andrew Bartlett

17 years agoRenegerate docs after John's changes
Jelmer Vernooij [Wed, 2 Apr 2003 12:28:46 +0000 (12:28 +0000)]
Renegerate docs after John's changes

17 years agoAdd const
Jelmer Vernooij [Wed, 2 Apr 2003 11:06:42 +0000 (11:06 +0000)]
Add const

17 years agoTHE Idmap patch :-)
Simo Sorce [Wed, 2 Apr 2003 10:36:02 +0000 (10:36 +0000)]
THE Idmap patch :-)

includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.

17 years agoFix a crash bug if LDAP doesn't fill in ld_error.
Andrew Bartlett [Wed, 2 Apr 2003 08:28:32 +0000 (08:28 +0000)]
Fix a crash bug if LDAP doesn't fill in ld_error.

Andrew Bartlett
C VS: ----------------------------------------------------------------------

17 years agoForgot to merge configure.in changes for winbind client tidyup.
Tim Potter [Wed, 2 Apr 2003 06:26:55 +0000 (06:26 +0000)]
Forgot to merge configure.in changes for winbind client tidyup.

17 years agoMerge of Paul Green's make clean fixes.
Tim Potter [Wed, 2 Apr 2003 06:26:01 +0000 (06:26 +0000)]
Merge of Paul Green's make clean fixes.

17 years agoMerge of winbind nss library cleanup from HEAD.
Tim Potter [Wed, 2 Apr 2003 06:16:15 +0000 (06:16 +0000)]
Merge of winbind nss library cleanup from HEAD.

17 years agoWhitespace syncup.
Tim Potter [Wed, 2 Apr 2003 06:04:51 +0000 (06:04 +0000)]
Whitespace syncup.

17 years agoThis file deleted in HEAD.
Tim Potter [Wed, 2 Apr 2003 06:00:41 +0000 (06:00 +0000)]
This file deleted in HEAD.

17 years agosyncup with head
Tim Potter [Wed, 2 Apr 2003 06:00:22 +0000 (06:00 +0000)]
syncup with head

17 years agoUpdate to current projdoc level.
John Terpstra [Wed, 2 Apr 2003 05:23:36 +0000 (05:23 +0000)]
Update to current projdoc level.

17 years agoFixing typos. Who put them typos in there? Argh!
John Terpstra [Wed, 2 Apr 2003 05:22:55 +0000 (05:22 +0000)]
Fixing typos. Who put them typos in there? Argh!

17 years agoSubtle changes to message handling after ENUMJOBS.
Jeremy Allison [Wed, 2 Apr 2003 02:31:51 +0000 (02:31 +0000)]
Subtle changes to message handling after ENUMJOBS.
Jeremy.

17 years agoSubtle changes to message handling after ENUMJOBS.
Jeremy Allison [Wed, 2 Apr 2003 02:26:01 +0000 (02:26 +0000)]
Subtle changes to message handling after ENUMJOBS.
Jeremy.

17 years agoDon't set zero length for the base64 decoded string (fixes swat auth).
Andrew Bartlett [Wed, 2 Apr 2003 00:17:03 +0000 (00:17 +0000)]
Don't set zero length for the base64 decoded string (fixes swat auth).

Andrew Bartlett

17 years agoAnd yet another doco update. Yet more to follow soon.
John Terpstra [Wed, 2 Apr 2003 00:05:38 +0000 (00:05 +0000)]
And yet another doco update. Yet more to follow soon.

17 years agoMore of the documentation overhaul. More to follow.
John Terpstra [Wed, 2 Apr 2003 00:04:36 +0000 (00:04 +0000)]
More of the documentation overhaul. More to follow.

17 years agoOHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
Andrew Bartlett [Wed, 2 Apr 2003 00:03:52 +0000 (00:03 +0000)]
OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
decoded.length after it's been zero'ed out by data_blob_free() doesn't
give you the original length...

Andrew Bartlett

17 years ago- Update documentation of 'wins server' (add info about tags, namespaces)
Jelmer Vernooij [Tue, 1 Apr 2003 19:48:15 +0000 (19:48 +0000)]
- Update documentation of 'wins server' (add info about tags, namespaces)

17 years agoDoing janitor work for tridge.
Jeremy Allison [Tue, 1 Apr 2003 18:12:06 +0000 (18:12 +0000)]
Doing janitor work for tridge.
"changed the order of checking whether a SID is a UID or a GID in posix
acls. This is needed because sid_to_uid always claims that the sid is
a user, due ot a change I made some months back.

This change was suggested by Chere Zhou, but is really an interim
measure. Chere is looking at a longer term solution."

REMEMBER - 3.0 is the one we will SHIP !

Jeremy.

17 years agoUse <note> instead of <emphasis>NOTE</emphasis> (gives much nicer output)
Jelmer Vernooij [Tue, 1 Apr 2003 17:06:16 +0000 (17:06 +0000)]
Use <note> instead of <emphasis>NOTE</emphasis> (gives much nicer output)

17 years agoMerge from HEAD to define variable port_to_use. Needed to compile.
John Terpstra [Tue, 1 Apr 2003 16:48:18 +0000 (16:48 +0000)]
Merge from HEAD to define variable port_to_use. Needed to compile.

17 years agofix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; review...
Gerald Carter [Tue, 1 Apr 2003 14:58:42 +0000 (14:58 +0000)]
fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra

17 years agofix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; review...
Gerald Carter [Tue, 1 Apr 2003 14:57:59 +0000 (14:57 +0000)]
fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra

17 years agoFix build of shared xml/mysql modules
Jelmer Vernooij [Tue, 1 Apr 2003 11:25:34 +0000 (11:25 +0000)]
Fix build of shared xml/mysql modules

17 years agochanged the order of checking whether a SID is a UID or a GID in posix
Andrew Tridgell [Tue, 1 Apr 2003 11:12:42 +0000 (11:12 +0000)]
changed the order of checking whether a SID is a UID or a GID in posix
acls. This is needed because sid_to_uid always claims that the sid is
a user, due ot a change I made some months back.

This change was suggested by Chere Zhou, but is really an interim
measure. Chere is looking at a longer term solution.

17 years agoreversed the sense of the TCON test, now that we know that win2003
Andrew Tridgell [Tue, 1 Apr 2003 10:56:23 +0000 (10:56 +0000)]
reversed the sense of the TCON test, now that we know that win2003
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003

17 years agoUpdate some info and typos in PAM-Authentication-And-Samba
Jelmer Vernooij [Mon, 31 Mar 2003 21:48:59 +0000 (21:48 +0000)]
Update some info and typos in PAM-Authentication-And-Samba

17 years agoMore doc updates:
Jelmer Vernooij [Mon, 31 Mar 2003 21:42:19 +0000 (21:42 +0000)]
More doc updates:
- Move information about compiling with ADS support to appendix about compiling
- Make DOMAIN_MEMBER NT4-domain only (because current ADS info was incomplete and becoming an ADS domain member is documented more properly in ADS-HOWTO)

17 years agoUpdate NT_Security for 3.0
Jelmer Vernooij [Mon, 31 Mar 2003 21:08:23 +0000 (21:08 +0000)]
Update NT_Security for 3.0

17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Mon, 31 Mar 2003 21:01:06 +0000 (21:01 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

17 years agoAdd basic documentation on editreg
Jelmer Vernooij [Mon, 31 Mar 2003 21:01:05 +0000 (21:01 +0000)]
Add basic documentation on editreg

17 years agoAdd very basic documentation for ntlm_auth
Jelmer Vernooij [Mon, 31 Mar 2003 20:53:18 +0000 (20:53 +0000)]
Add very basic documentation for ntlm_auth

17 years agoRemove useless popt options
Jelmer Vernooij [Mon, 31 Mar 2003 20:37:31 +0000 (20:37 +0000)]
Remove useless popt options