PDA

Bekijk de volledige versie : connect to share from ms-dos



berend
29-06-2007, 12:32
I like to share a usbdisk in my local network and connect to it with the command "net use x: \\192.168.1.1\80gb" in ms-dos. But it doesn't work...
I can connect with the command in a dos box (in Windows) and also in the windowsexplorer, but not from dos.

Here is my smbd.conf:


[global]
workgroup = WORKGROUP
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = no
dns proxy = no

[80gb]
path=/opt/share/hd
writeable = yes
browseable = yes
force user = admin

How can I connect to the share from dos?
I use the networkboot cd from http://www.netbootdisk.com/ and it works with a ubuntu-samba-fileserver...

DrChair
29-06-2007, 16:31
Je kan het proberen met / you might try:

net use x: \\192.168.1.1\80gb /user:admin

berend
29-06-2007, 20:50
nee, dat werkt niet...
krijg de melding 'the option "user:admin" is unknown'...

met welk protocol/programma in ms-dos wordt er eigenlijk verbinding gemaakt met de share?

DrChair
02-07-2007, 19:50
oja, dat klopt... die optie zit niet in de msdos versie van net.exe

je kan het proberen met:
NET LOGON admin ? /SAVEPW:NO

gevolgt door:
net use x: \\192.168.1.1\80gb