fs-cifs

bridged with qdn.public.qnxrtp.os
Post Reply
Alain Bonnefoy

fs-cifs

Post by Alain Bonnefoy » Tue Sep 26, 2000 10:35 am

Hi,

I try to connect myself to out NT server. So, I created an account (alain) without passwd and a share (test_QRTP) with total access to everybody on this server.

Now I boot on QRTP (08-00) on the same machine, with the same ID and passwd.

see below what I tried and what I got:

# /usr/sbin/fs-cifs -v //Serveur_must:172.20.20.12:/test_QRTP /mnt/test_QRTP alain none &
[1] 5021739
# fs-cifs: starting...
fs-cifs: mount: 172.20.20.12:/test_QRTP -> /mnt/test_QRTP by alain [0]
fs-cifs: new server
fs-cifs: establishing connection to 172.20.20.12:Serveur_must
fs-cifs: nb session rejected
fs-cifs: io_mount: smb_connection failed: Bad file descriptor
io_mount: Bad file descriptor
/usr/sbin/fs-cifs: missing arguments, or all mount attempts failed.

[1] + Done (1) /usr/sbin/fs-cifs -v //S
#

Could you explain me why the server reject my conection?

Thanks, Alain.

Jim Atkins

Re: fs-cifs

Post by Jim Atkins » Tue Sep 26, 2000 1:23 pm

Are you starting this from the image file script. If so, can you attach your
buildfile so we can see what else you have running.

Regards

Jim

Alain Bonnefoy

Re: fs-cifs

Post by Alain Bonnefoy » Tue Sep 26, 2000 5:19 pm

Previously, Jim Atkins wrote in qdn.public.qnxrtp.os:
Are you starting this from the image file script. If so, can you attach your
buildfile so we can see what else you have running.

Regards

Jim




No Jim,

I've started fs-cifs from shell after io-net -pttcpip, if it's your question.
I can say that the network works well as I'm accessing internet via local network.
So, finally I've created a test_QRTP share on our NT server and a test_QRTP on a NT workstation. both shares have total control to everybody permission.

If I try to connect QRTP on the NT server I get the following:


# /usr/sbin/fs-cifs -v //serveur_systeme:172.20.20.12:/test_QRTP /mnt/serveur_systeme/test_QRTP alain none &
[1] 667683
# fs-cifs: starting...
fs-cifs: mount: 172.20.20.12:/test_QRTP -> /mnt/serveur_systeme/test_QRTP by alain [0]
fs-cifs: new server
fs-cifs: establishing connection to 172.20.20.12:serveur_systeme
fs-cifs: smb connection successful
fs-cifs: logging alain on 172.20.20.12
fs-cifs: smb_logon: Permission denied
fs-cifs: logon failed -- using guest account
fs-cifs: mounting 172.20.20.12:/test_QRTP
fs-cifs: smb_mount: Bad file descriptor
fs-cifs: mounting 172.20.20.12:/TEST_QRTP
fs-cifs: smb_mount: Bad file descriptor
fs-cifs: smb_connection returning FALSE
fs-cifs: io_mount: smb_connection failed: Bad file descriptor
io_mount: Bad file descriptor
/usr/sbin/fs-cifs: missing arguments, or all mount attempts failed.

I don't understand what happens. It seems that the connection is first accepted and rejected later, to be finally established as guest!
After, why mount cannot access test_QRTP, I can see and access to this share from another NT workstation, considering that the share is accessible from everybody without restriction!

If I try to access to a NT workstation the result is the same.

Our server runs NT service pack 6, I remember hear talking about a flag in the base register concerning encrypted password in service pack 4 and later, but this functionnality didn't cause any problem with SP4. Maybe it's different now with SP6.
I'm going to check this point.

Thanks, Alain.

Post Reply

Return to “qdn.public.qnxrtp.os”