On Wed, 19 Dec 2001, Michael Lang wrote:
> Hi to all
>
> i now tryed alpha 3 version 10 from today it works using other Samba Shares
authenticating through
> Active Directory from M$.
> but i?m not able to mount any M$ Share ...
>
> using the same credentials as in samba 2.2.2 or on an other Samab Share,
the Error i get is
> mount.smbfs started (version 3.0-alpha10)
It is broken in the 3.0alpha's and in the CVS HEAD branch. Use smbmount
and smbmnt from 2.2.2 (you can compile 2.2.2 and copy source/bin/smbmount
and source/bin/smbmnt over your 3.0 binaries).
> 539: session setup failed: ERRDOS - ERRmoredata (There is more data to be
returned.)
The libsmb code that smbmount (mount.smbfs) uses doesn't expect:
ERRDOS - ERRmoredata
it wants the NT status code:
NT_STATUS_MORE_PROCESSING_REQUIRED
but smbfs uses dos error codes and that is why smbmount negotiates them.
Connecting the two erros does not make things work properly, there is
still something that fails after that.
The 3.0 code does not contain everything that smbmount (smbfs) needs. I
need to find out if it will be fixed in 3.0 or if smbfs should be changed
(it probably should anyway but that would require you to patch and rebuild
your kernel).
Stay tuned.
/Urban