Re: Connecting to NT domain

Dr. Michael Weller (eowmob@exp-math.uni-essen.de)
Wed, 5 Aug 1998 23:46:16 +0200 (MESZ)


On Wed, 5 Aug 1998, Glynn Clements wrote:

>
> chrisj wrote:
>
> > I am attempting to connect a Linux machine to an NT domain. So far, all the
> > research I have done on Samba talks about connecting a NT machine to a
> > Linux server but not vice versa. Should I be using Samba to do this or
> > should I be using something like NFS? Any tips for doing this would be
> > greatly helpful as well.
>
> Samba is an SMB server, not a client.
>
> The kernel includes support for mounting remote SMB filesystems. You
> need a kernel which was built with CONFIG_SMB_FS defined, and the
> smbmount utility from the smbfs package.

Nevertheless, a tool called smbclient comes with the samba package which
works like ftp and allows to get/put files. It is useful for scripts.

Also, I noticed several problems with mounting remote SMB filesystems,
when I had to interface with NT for some project:

Samba does not provide a means to identify files uniquely (no inode
numbers), hence 'mv' or 'cp' refuse to overwrite files remotely mounted
with files from the same partition, claiming you replace the file by
itself (say in a real FS you'd do: 'cp a b' and b is a link to a. 'cp'
would notice this). YOu can 'rm' the destination first, of course.

When a unix application keeps a samba mounted file open, the NT server
disallows any access to it. While generally a useful feature, this is a
problem when command files are just read slowly by a huge, complicated
and slow application.

Writing files appeared to be dead slow. I'd rather assume this is a
problem of NT performance, not necessarily the smbmount.

Anyway, smbclient seems to be the better choice, if you can life with it's
limited power.

> You can't use NFS unless the NT box is acting as an NFS server (which
> is unlikely).

I'm pretty sure you can buy some NFS server daemon for NT somewhere. I'd
be surprised if it worked right though, as it would be the first thing
just working for NT I heard about.

Michael.

--

Michael Weller: eowmob@exp-math.uni-essen.de, eowmob@ms.exp-math.uni-essen.de, or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on any machine in the net, it's very likely it's me.

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu