NEWBIE Q - Equivilent of Net View/Net Use

NEWBIE Q - Equivilent of Net View/Net Use

Post by IPGee » Sun, 18 Feb 2001 06:49:55



have a network at home and pretty much looking how to map a drive
within linux.  Also what command is used to view shares?

I know I will need to Mkdir for the share and then mount it - Correct?


 
 
 

NEWBIE Q - Equivilent of Net View/Net Use

Post by Steven Conwa » Sun, 18 Feb 2001 07:42:31



>have a network at home and pretty much looking how to map a drive
>within linux.  Also what command is used to view shares?

>I know I will need to Mkdir for the share and then mount it - Correct?

Correct ... Linux does not map drives... you mount them to a
directory.  ie to access the cdrom (in its simplest form)
mount /mnt/cdrom .... which mounts (or maps as you call it) to the dir
/mnt/cdrom ... take a look as /etc/fstab (man fstab for more info) ...

But I assume you are trying to "map" a network drive that exists on a
winblows computer in which case you need to setup samba...

steven




 
 
 

1. samba: 'net view \\server' works, 'net view' fails

From my WinXP client (using cygwin), I can browse the shares on a samba
server whose name I know.  But when I try to browse the whole network, I
get a logon failure and the smbd logs show that it's not seeing my
username.

Browsing shares on \\server, from a different machine \\client (using
cygwin) while logged in as testuser:

$ net view '\\server'
Shared resources at \\server

Share name              Type   Used as  Comment
-------------------------------------------------------------------------------
test                    Disk            
The command completed successfully.

But when I try to browse the whole network, I get a logon failure:

$ net view
System error 1326 has occurred.

Logon failure: unknown user name or bad password.

This is an authentication problem.  When I issue 'net view \\server' on the
client, the smbd log shows

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(216)
  check_ntlm_password:  Checking password for unmapped user [CLIENT

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(219)

But when I issue just 'net view', the smbd log instead shows

[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(216)

with the new password interface
[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(219)

So for some reason the 'net view \\server' request is processing my user
name, but 'net view' isn't.

Any ideas what could cause this?
Thanks,
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"

2. New Linux distro - WE NEED HELP!!

3. What the hell is net-pf-4 and net-pf-5 ?

4. remote printer & filters

5. Linux, banet.net, & fast net access in Malden, MA

6. debian 2.0 doesn't see scsi drive

7. nmap from net a to net B, don't work, but ping yes

8. rshd + rcp

9. Problem compiling net-0.40/net-0.33

10. MkLinux: Net? No net?

11. /proc/net/tcp and /proc/net/udp

12. LTC E-NET/16 net card

13. Whats different between NET-2 and NET-3