amitay/samba.git
21 years agoThis commit was manufactured by cvs2svn to create tag release-3-0alpha24 samba-3.0.0alpha24
cvs2svn Import User [Wed, 14 May 2003 20:41:34 +0000 (20:41 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-3-0alpha24'.

21 years agopreparing for release of 3.0alpha24
Gerald Carter [Wed, 14 May 2003 20:41:33 +0000 (20:41 +0000)]
preparing for release of 3.0alpha24

21 years agofix quota build on non-64bit systems
Gerald Carter [Wed, 14 May 2003 20:22:48 +0000 (20:22 +0000)]
fix quota build on non-64bit systems

21 years agoworking on 3.0alpha24
Gerald Carter [Wed, 14 May 2003 19:35:20 +0000 (19:35 +0000)]
working on 3.0alpha24

21 years agoreadding reverted changes during idmap merge (noticed by Andrew b.)
Gerald Carter [Wed, 14 May 2003 18:36:54 +0000 (18:36 +0000)]
readding reverted changes during idmap merge (noticed by Andrew b.)

21 years agoEvolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we...
Alexander Bokovoy [Wed, 14 May 2003 14:38:11 +0000 (14:38 +0000)]
Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.

21 years agoPrefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macro...
Alexander Bokovoy [Wed, 14 May 2003 10:59:01 +0000 (10:59 +0000)]
Prefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out

21 years agofix group mapping in LDAP under new schema
Gerald Carter [Wed, 14 May 2003 05:28:16 +0000 (05:28 +0000)]
fix group mapping in LDAP under new schema

21 years agos/primaryGroupSID/sambaPrimaryGroupSID/
Gerald Carter [Wed, 14 May 2003 04:49:01 +0000 (04:49 +0000)]
s/primaryGroupSID/sambaPrimaryGroupSID/

21 years agoignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:41:43 +0000 (04:41 +0000)]
ignore manpage.[refs|links]

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Wed, 14 May 2003 04:41:20 +0000 (04:41 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

21 years agoignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:41:19 +0000 (04:41 +0000)]
ignore manpage.[refs|links]

21 years agoperl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP:...
Gerald Carter [Wed, 14 May 2003 04:40:04 +0000 (04:40 +0000)]
perl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP::LDIF

21 years agosyncing LDAP schema changes with Samba_3_0
Gerald Carter [Wed, 14 May 2003 04:39:55 +0000 (04:39 +0000)]
syncing LDAP schema changes with Samba_3_0

21 years agoperl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP:...
Gerald Carter [Wed, 14 May 2003 04:37:40 +0000 (04:37 +0000)]
perl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP::LDIF

21 years ago*****LDAP schema changes*****
Gerald Carter [Wed, 14 May 2003 03:32:20 +0000 (03:32 +0000)]
*****LDAP schema changes*****

New objectclass named sambaSamAccount which uses attribute
prefaced with the phrase 'samba' to prevent future name clashes.

Change in functionality of the 'ldap filter' parameter.  This always
defaults to "(uid=%u)" now and is and'd with the approriate objectclass
depending on whether you are using ldapsam_compat or ldapsam

conversion script for migrating from sambaAccount to
sambaSamAccount will come next.

21 years agoMove some #ifdefs and function prototypes around to avoid a compiler
Tim Potter [Wed, 14 May 2003 01:14:06 +0000 (01:14 +0000)]
Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()

21 years agoMove some #ifdefs and function prototypes around to avoid a compiler
Tim Potter [Wed, 14 May 2003 01:10:46 +0000 (01:10 +0000)]
Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()

21 years agoFix pointer return bug in get_unix_attributes()
Tim Potter [Wed, 14 May 2003 00:59:26 +0000 (00:59 +0000)]
Fix pointer return bug in get_unix_attributes()

21 years agoFix pointer return bug in get_unix_attributes()
Tim Potter [Wed, 14 May 2003 00:58:41 +0000 (00:58 +0000)]
Fix pointer return bug in get_unix_attributes()

21 years agospelling
Tim Potter [Wed, 14 May 2003 00:46:43 +0000 (00:46 +0000)]
spelling

21 years agospelling
Tim Potter [Wed, 14 May 2003 00:38:58 +0000 (00:38 +0000)]
spelling

21 years agospelling
Tim Potter [Wed, 14 May 2003 00:27:12 +0000 (00:27 +0000)]
spelling

21 years agospelling
Tim Potter [Wed, 14 May 2003 00:26:32 +0000 (00:26 +0000)]
spelling

21 years agofix up packaging for RH9
Gerald Carter [Tue, 13 May 2003 21:01:41 +0000 (21:01 +0000)]
fix up packaging for RH9

21 years agoRestore a number of fixes that idra removed when he merged his
Andrew Bartlett [Tue, 13 May 2003 15:29:23 +0000 (15:29 +0000)]
Restore a number of fixes that idra removed when he merged his
idmap-and-the-rest from HEAD.

These are correctness fixes that were already in 3.0, and a memory leak fix.

The pdb_ldap changes are held back at jerry's request (he is also playing
with pdb_ldap ATM).

Andrew Bartlett

21 years agoMore info on Unix permissions.
John Terpstra [Tue, 13 May 2003 06:13:44 +0000 (06:13 +0000)]
More info on Unix permissions.

21 years agoFix non-constant initialiser for Sun CC.
Andrew Bartlett [Tue, 13 May 2003 06:13:36 +0000 (06:13 +0000)]
Fix non-constant initialiser for Sun CC.

21 years agoMore info on Unix permissions.
John Terpstra [Tue, 13 May 2003 06:13:20 +0000 (06:13 +0000)]
More info on Unix permissions.

21 years agoAdd pythoncheck to make check target.
Tim Potter [Tue, 13 May 2003 04:38:09 +0000 (04:38 +0000)]
Add pythoncheck to make check target.

21 years agoSync up with 3.0 version.
Tim Potter [Tue, 13 May 2003 04:35:58 +0000 (04:35 +0000)]
Sync up with 3.0 version.

21 years agoTry to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.
Andrew Bartlett [Tue, 13 May 2003 01:00:25 +0000 (01:00 +0000)]
Try to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.

This is to get non-unix accounts going for the build farm.

Andrew Bartlett

21 years agoFix up the build-farm testsuite again - I forgot to move some files into the
Andrew Bartlett [Mon, 12 May 2003 21:56:52 +0000 (21:56 +0000)]
Fix up the build-farm testsuite again - I forgot to move some files into the
template dir, and idra's checkin removed smbpasswd_nua.

Andrew Bartlett

21 years agoFix compiler warnings.
Jeremy Allison [Mon, 12 May 2003 21:29:01 +0000 (21:29 +0000)]
Fix compiler warnings.
Jeremy.

21 years agoFix obvious compiler warnings.
Jeremy Allison [Mon, 12 May 2003 21:27:54 +0000 (21:27 +0000)]
Fix obvious compiler warnings.
Jeremy.

21 years agocopied form HEAD to get the compile going.
Gerald Carter [Mon, 12 May 2003 20:10:28 +0000 (20:10 +0000)]
copied form HEAD to get the compile going.
Simo, please fix this tomorrow or let me know
what needs to be done.

jerry

21 years agoAnd finally IDMAP in 3_0
Simo Sorce [Mon, 12 May 2003 18:12:31 +0000 (18:12 +0000)]
And finally IDMAP in 3_0

We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.

21 years agofixing typos in debug statements
Gerald Carter [Mon, 12 May 2003 16:08:11 +0000 (16:08 +0000)]
fixing typos in debug statements

21 years agofixing typos in debug statements
Gerald Carter [Mon, 12 May 2003 16:06:05 +0000 (16:06 +0000)]
fixing typos in debug statements

21 years agoEliminate NULL pointers from VFS interface. All hooks now really callable, producing...
Alexander Bokovoy [Mon, 12 May 2003 16:03:16 +0000 (16:03 +0000)]
Eliminate NULL pointers from VFS interface. All hooks now really callable, producing either correct result or returning error if the feature isn't supported in the configuration

21 years agoGCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with...
Alexander Bokovoy [Mon, 12 May 2003 09:01:50 +0000 (09:01 +0000)]
GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with this. Previous fix was incorrect.

21 years agoRe-enable secure channel for net rpc vampire.
Tim Potter [Mon, 12 May 2003 07:18:36 +0000 (07:18 +0000)]
Re-enable secure channel for net rpc vampire.

Jump out of sam entry processing loop if the return value from
cli_netlogon_sam_sync() isn't OK or STATUS_MORE_ENTRIES.

21 years agoFix two bugs that were stopping net rpc vampire from working over secure
Tim Potter [Mon, 12 May 2003 07:16:21 +0000 (07:16 +0000)]
Fix two bugs that were stopping net rpc vampire from working over secure
channel:

  - If the domain name passed to create_rpc_bind_req() is empty, use
    lp_workgroup()

  - Correctly set the auth_padding field when the send_size is a multiple
    of 8 bytes

I've tested with nt4sp6 and win2ksp0 and it seems to work, although
there are no password hashes transferred from win2k.  The empty
passwords are being protected by the secure channel encryption though.

21 years agoA small patch from metze to fix builds on some platforms ...
Richard Sharpe [Mon, 12 May 2003 06:57:32 +0000 (06:57 +0000)]
A small patch from metze to fix builds on some platforms ...
http://lists.samba.org/pipermail/samba-technical/attachments/20030512/0332258a/vfs-fix-01.obj

21 years agoAdded info on File and Directory info.
John Terpstra [Mon, 12 May 2003 05:15:08 +0000 (05:15 +0000)]
Added info on File and Directory info.

21 years agoAdding more info on File and Directory conventions / differences.
John Terpstra [Mon, 12 May 2003 05:14:19 +0000 (05:14 +0000)]
Adding more info on File and Directory conventions / differences.

21 years agoFix a wrong define check.
Alexander Bokovoy [Mon, 12 May 2003 03:13:41 +0000 (03:13 +0000)]
Fix a wrong define check.

21 years agoWrap into WITH_QUOTAS yet another place in trans2
Alexander Bokovoy [Mon, 12 May 2003 02:53:17 +0000 (02:53 +0000)]
Wrap into WITH_QUOTAS yet another place in trans2

21 years agoForgot to actually change default for quotas to -no- in configure.in
Alexander Bokovoy [Mon, 12 May 2003 02:45:29 +0000 (02:45 +0000)]
Forgot to actually change default for quotas to -no- in configure.in

21 years agoForgot to actually change default for quotas to -no- in configure.in
Alexander Bokovoy [Mon, 12 May 2003 02:41:41 +0000 (02:41 +0000)]
Forgot to actually change default for quotas to -no- in configure.in

21 years agoBetter isolate quota stuff
Alexander Bokovoy [Mon, 12 May 2003 02:23:50 +0000 (02:23 +0000)]
Better isolate quota stuff

21 years agoSmall fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Alexander Bokovoy [Mon, 12 May 2003 02:01:31 +0000 (02:01 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm

21 years agoFix up a bit of my sloppy C.
Andrew Bartlett [Mon, 12 May 2003 01:49:03 +0000 (01:49 +0000)]
Fix up a bit of my sloppy C.

21 years agoSmall fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Alexander Bokovoy [Mon, 12 May 2003 01:43:59 +0000 (01:43 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm

21 years agoAdd NT quota support. Patch from Stefan (metze) Metzemacher
Alexander Bokovoy [Mon, 12 May 2003 01:20:17 +0000 (01:20 +0000)]
Add NT quota support. Patch from Stefan (metze) Metzemacher
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow

21 years agoGive up on the idea of avoiding lp_load() in ntlm_auth....
Andrew Bartlett [Mon, 12 May 2003 00:18:45 +0000 (00:18 +0000)]
Give up on the idea of avoiding lp_load() in ntlm_auth....

Also, we might be given a 0 length challenge, so don't smb_panic() for
smb_xmalloc() of zero size.

Andrew Bartlett

21 years agoMake it possible to actually use --user-SID and --group-SID on a standard command...
Andrew Bartlett [Mon, 12 May 2003 00:17:44 +0000 (00:17 +0000)]
Make it possible to actually use --user-SID and --group-SID on a standard command line.

Andrew Bartlett

21 years agoFix compile.
Andrew Bartlett [Sun, 11 May 2003 23:49:36 +0000 (23:49 +0000)]
Fix compile.

21 years agoAdd new files needed for VFS fixes.
Alexander Bokovoy [Sun, 11 May 2003 23:44:26 +0000 (23:44 +0000)]
Add new files needed for VFS fixes.
1. idmap.h is used for unid_t only, agreed by Simo
2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit
3. vfs_macros.h provides convenient macros to access VFS API.

21 years agoFix VFS layer:
Alexander Bokovoy [Sun, 11 May 2003 23:34:18 +0000 (23:34 +0000)]
Fix VFS layer:
1. Finally work with cascaded modules with private data storage per module
2. Convert VFS API to macro calls to simplify cascading
3. Add quota support to VFS layer (prepare to NT quota support)

Patch by Stefan (metze) Metzemacher, with review of Jelmer and me
Tested in past few weeks. Documentation to new VFS API for third-party developers to follow

21 years agoRolling in VL's changes.
John Terpstra [Sun, 11 May 2003 19:58:15 +0000 (19:58 +0000)]
Rolling in VL's changes.

21 years agoRolling in VL's changes.
John Terpstra [Sun, 11 May 2003 19:57:51 +0000 (19:57 +0000)]
Rolling in VL's changes.

21 years agoSet the password for a newly created trustdom account. Tested against
Volker Lendecke [Sun, 11 May 2003 16:59:06 +0000 (16:59 +0000)]
Set the password for a newly created trustdom account. Tested against
PDCs running NT4SP1, NT4SP6 and Samba 3.0.

Volker

21 years agoWhen we have a NT4SP0 PDC trust us, we first have to check the
Volker Lendecke [Sun, 11 May 2003 13:20:27 +0000 (13:20 +0000)]
When we have a NT4SP0 PDC trust us, we first have to check the
password. On NT4, NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT means
the password was correct. So the PDC believed that he had his trust
account correctly added. Later the auth2 naturally failed.

BTW, setting up an interdom trust account is not what I would call
well documented and easy to handle... Working on that now :-)

Volker

21 years agoOk, this is a hack. On a netsec bind reply I did not see anything
Volker Lendecke [Sun, 11 May 2003 08:08:25 +0000 (08:08 +0000)]
Ok, this is a hack. On a netsec bind reply I did not see anything
useful in the auth verifier yet. So this patch ignores it.

Really checking this would be a lot more intrusive: in rpc_api_pipe we
would have to distinguish between binds and normal requests, or have
more state in the netsec info of cli_state, which is also somewhat
hackish.

Volker

21 years agoExtending Samba Access Control Info
John Terpstra [Sun, 11 May 2003 07:45:07 +0000 (07:45 +0000)]
Extending Samba Access Control Info

21 years agoUpdating Global definitions.
John Terpstra [Sun, 11 May 2003 07:41:48 +0000 (07:41 +0000)]
Updating Global definitions.

21 years agoExtending Access Control Docs
John Terpstra [Sun, 11 May 2003 07:41:23 +0000 (07:41 +0000)]
Extending Access Control Docs

21 years agoAs discussed on samba-technical - move to 'primaryGroupSid' insted of
Andrew Bartlett [Sun, 11 May 2003 05:59:34 +0000 (05:59 +0000)]
As discussed on samba-technical - move to 'primaryGroupSid' insted of
primaryGroupID (rid).  This is consistant with the move from 'rid' to ntSid
for the primary user identifier.

Also cope with legacy installations where primaryGroupID might have been
stored as 0.

Andrew Bartlett

21 years agoUsing /dev/urandom for determining an ldap server backoff is a waste of system
Andrew Bartlett [Sun, 11 May 2003 02:26:53 +0000 (02:26 +0000)]
Using /dev/urandom for determining an ldap server backoff is a waste of system
entropy - use sys_random() instead.

Andrew Bartlett

21 years agoCompletion of Stand-Alone server docs.
John Terpstra [Sat, 10 May 2003 20:55:14 +0000 (20:55 +0000)]
Completion of Stand-Alone server docs.

21 years agoCompletion of Stand-Alone server docs.
John Terpstra [Sat, 10 May 2003 20:54:41 +0000 (20:54 +0000)]
Completion of Stand-Alone server docs.

21 years agoFix typos in StandAloneServer
John Terpstra [Sat, 10 May 2003 15:37:26 +0000 (15:37 +0000)]
Fix typos in StandAloneServer
Remove admonition in ServerType - Until someone gives me a replacement for it
I consider it a non-issue.

21 years agoForgot one file.
Jelmer Vernooij [Sat, 10 May 2003 14:48:46 +0000 (14:48 +0000)]
Forgot one file.

21 years agoRemove latest module_dummy patch from metze and me.
Jelmer Vernooij [Sat, 10 May 2003 12:57:03 +0000 (12:57 +0000)]
Remove latest module_dummy patch from metze and me.

21 years agoReverse latest module_dummy patch from metze and me.
Jelmer Vernooij [Sat, 10 May 2003 12:56:20 +0000 (12:56 +0000)]
Reverse latest module_dummy patch from metze and me.

21 years agoReverse previous patch from Stefan and me after comments by Andrew Bartlett
Jelmer Vernooij [Sat, 10 May 2003 11:49:51 +0000 (11:49 +0000)]
Reverse previous patch from Stefan and me after comments by Andrew Bartlett

21 years agoReverse previous patch from Stefan and me after comments by Andrew Bartlett.
Jelmer Vernooij [Sat, 10 May 2003 11:47:29 +0000 (11:47 +0000)]
Reverse previous patch from Stefan and me after comments by Andrew Bartlett.

21 years agoPatch from metze and me that adds dummy smb_register_*() functions
Jelmer Vernooij [Sat, 10 May 2003 10:56:20 +0000 (10:56 +0000)]
Patch from metze and me that adds dummy smb_register_*() functions

21 years agoPatch from metze and me that adds dummy smb_register_*() functions so
Jelmer Vernooij [Sat, 10 May 2003 10:53:48 +0000 (10:53 +0000)]
Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.

21 years agoFixes for typos and other stuff resulting from VL's feedback.
John Terpstra [Sat, 10 May 2003 05:26:48 +0000 (05:26 +0000)]
Fixes for typos and other stuff resulting from VL's feedback.

21 years agoTypos and fixes resulting from VL feedback.
John Terpstra [Sat, 10 May 2003 05:26:05 +0000 (05:26 +0000)]
Typos and fixes resulting from VL feedback.

21 years agoFix from Tom.Lackemann@falconstor.com to correctly set the flags based
Jeremy Allison [Sat, 10 May 2003 02:05:27 +0000 (02:05 +0000)]
Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.

21 years agoFix from Tom.Lackemann@falconstor.com to correctly set the flags based
Jeremy Allison [Sat, 10 May 2003 02:05:24 +0000 (02:05 +0000)]
Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.

21 years agoOptimisation. We don't need to do 2 strlen's when we're setting the stat
Jeremy Allison [Sat, 10 May 2003 00:35:38 +0000 (00:35 +0000)]
Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.

21 years agoOptimisation. We don't need to do 2 strlen's when we're setting the stat
Jeremy Allison [Sat, 10 May 2003 00:35:23 +0000 (00:35 +0000)]
Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.

21 years agoFix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy Allison [Sat, 10 May 2003 00:32:13 +0000 (00:32 +0000)]
Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy.

21 years agoFix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy Allison [Sat, 10 May 2003 00:30:47 +0000 (00:30 +0000)]
Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy.

21 years agoFix typo.
John Terpstra [Sat, 10 May 2003 00:03:58 +0000 (00:03 +0000)]
Fix typo.

21 years agosyncing README to go along with scripts
Gerald Carter [Fri, 9 May 2003 21:52:49 +0000 (21:52 +0000)]
syncing README to go along with scripts

21 years agosyncing import/export smbpasswd file scripts from 2.2
Gerald Carter [Fri, 9 May 2003 21:51:57 +0000 (21:51 +0000)]
syncing import/export smbpasswd file scripts from 2.2

21 years agoremoving total print jobs since it is not used anymore
Gerald Carter [Fri, 9 May 2003 21:49:24 +0000 (21:49 +0000)]
removing total print jobs since it is not used anymore

21 years agoremoving total print jobs since it is not used anymore
Gerald Carter [Fri, 9 May 2003 21:47:32 +0000 (21:47 +0000)]
removing total print jobs since it is not used anymore

21 years agoMakefile changes to allow new NTLMv2 patch to work.
Andrew Bartlett [Fri, 9 May 2003 15:25:20 +0000 (15:25 +0000)]
Makefile changes to allow new NTLMv2 patch to work.

21 years agoCleanups. My NTLMv2 changes also changed the preference from using an implicit
Andrew Bartlett [Fri, 9 May 2003 15:02:11 +0000 (15:02 +0000)]
Cleanups.  My NTLMv2 changes also changed the preference from using an implicit
structure-memcpy for DATA_BLOB parameters to using a pointer to that DATA_BLOB.

auth_sam calls some of these functions, so I've cleaned it all up to use this
format now.

Also clean up some debug statements to make them easier to read.

Andrew Bartlett

21 years agoFinally get NTLMv2 working on the client!
Andrew Bartlett [Fri, 9 May 2003 14:42:20 +0000 (14:42 +0000)]
Finally get NTLMv2 working on the client!

With big thanks to tpot for the ethereal disector, and for the base code
behind this, we now fully support NTLMv2 as a client.

In particular, we support it with direct domain logons (tested with ntlm_auth
--diagnostics), with 'old style' session setups, and with NTLMSSP.

In fact, for NTLMSSP we recycle one of the parts of the server's reply directly...

(we might need to parse for unicode issues later).

In particular, a Win2k domain controller now supplies us with a session key
for this password, which means that doman joins, and non-spnego SMB signing
are now supported with NTLMv2!

Andrew Bartlett

21 years agoFix bug #4 for net rap. Allow more than 50 chars for long form listings of users...
Jim McDonough [Fri, 9 May 2003 13:06:11 +0000 (13:06 +0000)]
Fix bug #4 for net rap.  Allow more than 50 chars for long form listings of users and groups.

21 years agoFix bug #4 for net rap. Allow more than 50 chars for long form listings of users...
Jim McDonough [Fri, 9 May 2003 12:58:28 +0000 (12:58 +0000)]
Fix bug #4 for net rap.  Allow more than 50 chars for long form listings of users and groups.

21 years agoFix comment - we now have 5 types of error...
Andrew Bartlett [Fri, 9 May 2003 09:45:37 +0000 (09:45 +0000)]
Fix comment - we now have 5 types of error...

21 years agoMake sure we always have some client data, not just the hash. An NTLMv2 or
Andrew Bartlett [Fri, 9 May 2003 09:41:08 +0000 (09:41 +0000)]
Make sure we always have some client data, not just the hash.  An NTLMv2 or
LMv2 response less than 24 bytes is just silly.

Andrew Bartlett