Network Shares and Accounts

Download Report

Transcript Network Shares and Accounts

Network Shares and Accounts

Sharing Printers, Drives, Folders
– Setup
 Windows 95/98
 Windows NT (2000, XP)
 Linux
– Users
– Groups
Windows 95/98 Setup

Install networking software
– Adapter
– Protocol
– Client
– File and Printer sharing
– Share the resource
 Read-Only
 Full (Read, Write, Delete)
Windows 95/98 Sharing Setup

Protocol
– Decide:
 Security
 Speed
 Convenience
 Compatibility
 Future Expansion
Windows 95/98 Sharing Setup
NWLink Netbios: doesn’t route, very
simple, not very secure
 NWLink IPX Netbios: routes over a small
area
 TCP/IP: Wide are networking, needs
addresses, use ipconfig/all on NT or
winipcfg on Win95/98
 NetWare Client32: NetWare compatibility

Windows 95/98 Sharing Setup






Usernames may need to match on each machine
for NT compatibility.
Passwords may be recorded in the registry for
convenience(!??!)
Username is used at windows startup
User accounts are stored as username.pwl in the
C:\Windows directory.
Make sure you are in the correct workgroup.
BEWARE: use 8 character passwords
Windows NT, 2000, XP

Follow similar steps for Windows 98
 Determine whether you want a Workgroup
or a Domain.
 User administrator adds users and groups
 Administrator can restrict logon times
 Under 2000 and XP admin can limit disk
size per user.
Sharing Resources

Right click the resource (folder or printer)
 Select Sharing
 Set access method and security.
 Check and see if you can access the
resource
 Windows 2000 and XP do not allow sharing
a root directory (such as C:\)
Finding a resource

Win 95/98
– IPX/Netbios
 Use Network Neighborhood
– TCP/IP
 Edit C:\WINDOWS\LMHOSTS, add the IP address
and system name
– Use find computer to access the system
– Win95/98 does not prompt for a username!
Finding a resource

Windows 2000 and XP
 TCP/IP is much better on the newer OS
 Use find computer, type in the fully
qualified hostname (testpc.ser.usu.edu)
 Click on the system and log in.
nbtstat

nbtstat gives netbios information on a server
 nbtstat –a name.domain (uses hostname)
 nbtstat –A 129.123.7.98 (uses IP number)
 nbtstat –n lists netbios names
 nbtstat –s lists sessions
NET USE commands

Command line functions:
– net view
– net view \\bobpc.cs.usu.edu
– net use
 Lists network resources in use
– net use g: \\ntserver.cs.usu.edu\bobw
– net use lpt1: \\ntserver.cs.usu.edu
– net use g: /d
Linux sharing to Windows

SMB (Server Message Block)
 NMB (Netbios naming for samba)
 Samba (SMB server for unix)
 Authentication
 Setup and sharing
 Won’t necessarily show up in network
neighborhood