Samba and Windows 2000

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share files
with my Windows 2000 Professional machine.

The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and NT
4.0 machines, with no mention of Windows 2000.

Has anyone set up their windows 2000 machine successfully to share files.

Thanks in advance for your help.

I have never tried to connect to Windows 2000 either. However, a great
place for additional information would be www.samba.org. In their
documentation section they have two documentation sets that may be of help -
Troubleshooting Techniques and the Samba-HOWTO-Collection both deal with
Windows 2000.


“Biren Mehta” <bmehta7696@yahoo.com> wrote in message
news:b2u4tl$2e2$1@inn.qnx.com

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share
files
with my Windows 2000 Professional machine.

The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and
NT
4.0 machines, with no mention of Windows 2000.

Has anyone set up their windows 2000 machine successfully to share files.

Thanks in advance for your help.

Biren Mehta <bmehta7696@yahoo.com> wrote:

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share files
with my Windows 2000 Professional machine.

The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and NT
4.0 machines, with no mention of Windows 2000.

Has anyone set up their windows 2000 machine successfully to share files.

I’ve exported a filesystem from Win2K Pro and mounted it from QNX 6, but
not the other way around. (Not that I’ve failed, just haven’t tried.)

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

This is a crude recipe from someone (me) who is proud to know very little
about all things Microsoft. Win2000 will hereinafter be referred to as the
“virus”, and the target as the “red box”. OK, so suppose you try something
like

fs-cifs file://NTW6357:10.0.0.2:/C /c dbacon passweird

on your red box, but get politely dissuaded by the virus named NTW6357 at IP
address 10.0.0.2 even though you can ping the latter. (If there’s a “file:”
in the foregoing by the time you see this e-mail message, blame the
miserable Outlook Express monster, not me; and strip it out, because I don’t
know how to stop the monster from doing it.) Here’s what to do:

  • On the subdirectory you want to share (this can even be “C:” under My
    Computer, which will let your red box see the whole viral hard drive
    partition), right-click with your mouse and choose Properties. Then select
    the Sharing tab. Pick a nice Share name such as C and do an Apply.

  • On My Computer, right-click and choose Manage. Open up the “Local Users
    and Groups” subtree, and click on Users. Then do Action->New User from the
    menu bar. Put in any user name and password you don’t find too
    embarrassing.

That should do it: the above fs-cifs command will then cause your virus
files to appear in all their splendour under /c on the red box.

dB

“Biren Mehta” <bmehta7696@yahoo.com> wrote in message
news:b2u4tl$2e2$1@inn.qnx.com

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share
files
with my Windows 2000 Professional machine.

The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and
NT
4.0 machines, with no mention of Windows 2000.

Has anyone set up their windows 2000 machine successfully to share files.

Thanks in advance for your help.

Biren Mehta wrote:

Has anyone set up their windows 2000 machine successfully to share files?

Yes.

John Nagle

Biren Mehta wrote:

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share files
with my Windows 2000 Professional machine.
The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and NT
4.0 machines, with no mention of Windows 2000.
Has anyone set up their windows 2000 machine successfully to share files.
Thanks in advance for your help.
I had installed SAMBA recently and I used ‘swat’ to make configuration

file.
Tom Stave gave a good description how to do that. (Look here for subj
“SAMBA
for QNX…” at Feb 5). Now it works for me fine - I can access shared
folders from
QNX 6.2.0 from W2k and XPpro without any problems. About fs-cifs - I
could not
make it work with XPhome but for W2kpro & XPpro it works fine.

Andrey

Biren Mehta <bmehta7696@yahoo.com> wrote:

I am trying to setup Samba on my QNX 6.2.0 machine so that I can share files
with my Windows 2000 Professional machine.

The ‘Using Samba’ help manual only discusses setting up Windows 95/98 and NT
4.0 machines, with no mention of Windows 2000.

Has anyone set up their windows 2000 machine successfully to share files.

I think your confusion / issue is that you are trying to access a file share
that is on a W2K machine. Samba is NOT used for this.

Samba allows you to share out directories from a QNX/Unix machine, to mount
shares from a windows machine you need fs-cifs (on QNX), which is typically
called smb_mount on linux. The installation of samba on linux tends to also
install smb_mount and leads to the (incorrect) assumption that smb_mount is
part of Samba. It is not.

Cheers,
Camz.


Martin Zimmerman camz@passageway.com
Camz Software Enterprises www.passageway.com/camz/qnx/
QNX Programming & Consulting www.qnxzone.com