WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Novell Netware
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Samba/Novell Mapped Drive

Keywords: 	 Samba Novell Mapped Drive

Question:

Running NT4.0 service pak 4 over novell 4.x have samba software that gives the novell system the ability to map a drive on the UNIX (AIX) box. Everything I try in winbatch (Copy, DirChange) fails to open the drive. Have tried hard coding the location as: \\F2E9\vistasp\reports\s000526\notes.txt

The drive can be seen under MY COMPUTER since I used novell and mapped the drive as drive J: If I go to a command prompt I can cd J:\ cd vistasp, cd reports, cd s000526 and see all the files, etc. in the directory but winbatch can't seem to locate when he tries to get there under program control. Is there a DLL or something I need? Running Novell Intranet client on Workstation.

Any ideas or can winbatch see files that are addressed in this fashion.

Answer:

Samba is an implementation of the SMB file sharing protocol on Unix platforms that allows LANmanager clients (WFWG,Win9x,WinNT,Win2K) to access the file systems on Unix via the NetBIOS protocol (either in native NETBEUI or encapsulated in TCP/IP or IPX/SPX).

Samba does not have anything to do with NetWare that I can tell. There is a product from Novell that allows a NetWare server to mount a NFS file system on a remote NFS server and also allows a NetWare server to serve its own file systems via NFS. Remote NFS file systems that are mounted by a NetWare server may then be "shared" again by allowing regular client computers to access them as if they were native NetWare volumes. However, NFS is not Samba and the two of them have nothing more in common than that they can both operate using the TCP/IP protocol but are not in any way interoperable.

>The drive can be seen under MY
>COMPUTER since I used novell
>and mapped the drive as drive
>J:
It is possible to use both the NetWare "MAP" command and the Win32 "NET USE" command to connect a drive letter on a Win32 client computer to a SAMBA server. It has to do with how the Multi-Provider Router component in Win32 functions. Basically, when you tell Win32 to connect a drive letter to a UNC resource the MPR gets involved and it ultimately figures out which network client software should service the request and connect the drive letter. This can lead to some incorrect assumptions about which network client is really performing the work when multiple connection methods appear to work equally well.
>If I go to a command prompt I
>can cd J:\
>cd vistasp, cd reports, cd
>s000526 and see
>all the files, etc. in the
>directory but winbatch can't
>seem to locate when he tries
>to get there under program
>control. Is there a DLL or
>something I need? Running
>Novell Intranet client on
>Workstation.
>
Are any errors occurring when your script is running? If yes, what are these errors.

What happens if you browse in the network neighborhood and choose to map the drive letter via the Windows explorer instead of using any of the NetWare-specific "MAP" command? When using the right-click to bring up the popup menu, use the Windows "map network drive" menu option to do this.


Article ID:   W14654
Filename:   Samba Novell Mapped Drive.txt
File Created: 2000:06:16:13:17:42
Last Updated: 2000:06:16:13:17:42