On Wed, 2004-08-04 at 16:40, Mike MacCana wrote:
> If you don't specify a username, Samba will use Guest. Which IIRC has less
> previleges in Win2K3, as its Secure * now.
>
> The best way to specify a username and password is using a credentials
> file. man smbmount and search for the word 'credentials' for details.
Thanks Mike but I have been doing that (sorry, should have included a
longer example in my original post).
# mount -t smbfs //srv2/Users /mnt/sdd -o
username=simwon,workgroup=workgroup
cli_negprot: SMB signing is mandatory and we have disabled it.
7657: protocol negotiation failed
SMB connection failed
> Good luck,
This is driving me nuts :-(
The output from kern.loog when trying to mount as cifs is:
...
Aug 4 16:52:00 voyager kernel: connect.c: CIFS Session Established
successfully
Aug 4 16:52:00 voyager kernel: connect.c: file mode: 0x7f7 dir mode:
0x1ff
Aug 4 16:52:00 voyager kernel: connect.c: Next tcon -
Aug 4 16:52:00 voyager kernel: connect.c: old ip addr: 701a8c0 == new
ip 501a8c0 ?
Aug 4 16:52:00 voyager kernel: transport.c: For smb_command 117
Aug 4 16:52:00 voyager kernel: transport.c: Sending smb of length 84
Aug 4 16:52:00 voyager kernel: connect.c: Peek length rcvd: 0x24
beginning 0x27)
Aug 4 16:52:00 voyager kernel: connect.c: Mid 0x46c matched - waking
up
Aug 4 16:52:00 voyager kernel: Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
Aug 4 16:52:00 voyager kernel: netmisc.c: !!Mapping smb error code 5
to POSIX err -13 !!
Aug 4 16:52:00 voyager kernel: connect.c: CIFS Tcon rc = -13
Aug 4 16:52:00 voyager kernel: cifssmb.c: In SMBLogoff for session
disconnect
Aug 4 16:52:00 voyager kernel: transport.c: For smb_command 116
Aug 4 16:52:00 voyager kernel: transport.c: Sending smb of length 39
Aug 4 16:52:00 voyager kernel: connect.c: Peek length rcvd: 0x24
beginning 0x27)
Aug 4 16:52:00 voyager kernel: connect.c: Mid 0x46d matched - waking
up
Aug 4 16:52:00 voyager kernel: Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
Aug 4 16:52:00 voyager kernel: netmisc.c: !!Mapping smb error code 5
to POSIX err -13 !!
Aug 4 16:52:00 voyager kernel: connect.c: Wait for exit from
demultiplex thread
Aug 4 16:52:00 voyager kernel: connect.c: About to exit from
demultiplex thread
Aug 4 16:52:00 voyager kernel: connect.c: CIFS VFS: leaving cifs_mount
(xid = 17018) rc = -13
Aug 4 16:52:00 voyager kernel: CIFS VFS: cifs_mount failed w/return
code = -13
aagh!
> * Has 14 ports open in the default install.
:-)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html