***********************************************************************
Any advice for a UNIX user to log on from a Win95/Win2K PC via Samba?
***********************************************************************
1. When on either my Win95 box or my Win2K, and I type:
Start->Run->net use * \\myUnixHostName\MyUnixShareName
I get:
Error 3787: You must log on before performing this operation.
2. Obviously Windows SMB wants a USER (e.g., user=eunice) on the PC to
match a USER (e.g., user=eunice) on the UNIX workstation.
How do I connect from the PC and FORCE a particular UNIX user
(which isn't the PC user)???
3. That is:
User = eunice exists on the UNIX workstation.
But, there is no such user on the PC (never will be).
- On the Win95 PC, I'm just the default user (whoever that is).
The workgroup is again, just the default workgroup (whatever that is).
- On the Win2K PC, the user is 'administrator' (as it's a single-user
PC and I didn't see any reason to have both an 'administrator' and
a 'eunice' cluttering up the directory tree); and the workgroup is
"myworkgroup".
- So how do I FORCE the user on the PC side, to be a particular user?
If I could run a command from the PC to specify the user, that would
solve the problem. Sort of the command below:
Start->Run->
net use * \\myUnixHostName\MyUnixShareName /USER=eunice
Any ideas?
Eunice
Oh, the smb.conf file on the UNIX (Sun Solaris 8) box is
(not very well understood by me) as shown below:
[global]
security = user
guest account = nobody
domain logons = yes
os level = 65
local master = no
domain master = no
prefered master = yes
workgroup = myworkgroup
interfaces = 111.111.111.111 ;actually set to my unix hostid
smbrun = /usr/local/samba/bin/smbrun
wins support = yes
wins proxy = now
login script = %u.bat
socket options = TCP_NODELAY
server string = My Samba server
wins server = localhost
password level = 4
; username map = /path/to/username/map ; what is the file syntax?
os level = 0
browse list = No
browseable = yes
log file = /usr/local/samba/log/log.%m
printing = bsd
print command = /usr/ucb/lpr -r -s -P%p %s
lpq command = /usr/ucb/lpq -P%p
lprm command = /usr/ucb/lprm -P%p %j
printcap name = /etc/printcap
[Netlogon]
;login script directory
path = /usr/local/samba/login
writable = no
public = no
printable = no
browsable = yes
[home]
comment = Home Directories on UNIX
read only = no
create mode = 0750
[tmp]
comment = Temporary directory on UNIX
path = /tmp
public = yes
browseable = yes
writable = yes