Forums Neueste Beiträge
 

Namensaufloesung smbmount

25/08/2009 - 23:48 von 333200007110-0201 | Report spam
Warum wird in (1) bis (3) der Name "pc1" nicht aufgeloest?

Ich muss mit nmblookup die IP-Adresse ermitteln (5), und mit
dieser klappt es dann ((6) und (7)).

Mit smbclient (4) ist das nicht erforderlich.

(1)
1 root@grml ~ # smbmount //pc1/Loos /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(2)
1 root@grml ~ # smbmount \\\\pc1\\Loos /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(3)
1 root@grml ~ # smbmount '\\pc1\Loos' /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(4)
1 root@grml ~ # smbclient -L pc1
Enter root's password:
Domain=[PC1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
E$ Disk Standardfreigabe
IPC$ IPC Remote-IPC
D$ Disk Standardfreigabe
I$ Disk Standardfreigabe
G$ Disk Standardfreigabe
Tom_F_CDs Disk
F$ Disk Standardfreigabe
ADMIN$ Disk Remoteadmin
H$ Disk Standardfreigabe
C$ Disk Standardfreigabe
Loos Disk

Domain=[PC1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
-

Workgroup Master
-

(5)
root@grml ~ # nmblookup pc1
querying pc1 on 192.168.4.255
192.168.4.21 pc1<00>

(6)
root@grml ~ # smbmount //192.168.4.21/Loos /mnt/test
Password:

(7)
root@grml ~ # mount|grep 192
//192.168.4.21/Loos on /mnt/test type cifs (rw,mand)

Marcel
++ ++ +-+
+--+ +-+ +--+ +--+ ++ +--+
+-+ +-+ +-+ ++ +-+ +-+ +--+ +-+ +-+ +-+
| +-+ ++ ++ +--+ +-+ +--+
 

Lesen sie die antworten

#1 Jan Wenzel
26/08/2009 - 10:48 | Warnen spam
Marcel Logen schrieb:
Warum wird in (1) bis (3) der Name "pc1" nicht aufgeloest?

Ich muss mit nmblookup die IP-Adresse ermitteln (5), und mit
dieser klappt es dann ((6) und (7)).

Mit smbclient (4) ist das nicht erforderlich.

(1)
1 ~ # smbmount //pc1/Loos /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(2)
1 ~ # smbmount \\\\pc1\\Loos /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(3)
1 ~ # smbmount '\\pc1\Loos' /mnt/test
mount error: could not resolve address for pc1: Name or service not known
No ip address specified and hostname not found

(4)
1 ~ # smbclient -L pc1
Enter root's password:
Domain=[PC1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
E$ Disk Standardfreigabe
IPC$ IPC Remote-IPC
D$ Disk Standardfreigabe
I$ Disk Standardfreigabe
G$ Disk Standardfreigabe
Tom_F_CDs Disk
F$ Disk Standardfreigabe
ADMIN$ Disk Remoteadmin
H$ Disk Standardfreigabe
C$ Disk Standardfreigabe
Loos Disk

Domain=[PC1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
-

Workgroup Master
-

(5)
~ # nmblookup pc1
querying pc1 on 192.168.4.255
192.168.4.21 pc1<00>

(6)
~ # smbmount //192.168.4.21/Loos /mnt/test
Password:

(7)
~ # mount|grep 192
//192.168.4.21/Loos on /mnt/test type cifs (rw,mand)

Marcel



Hi,

was sagt 'testparm -sv | grep proxy'?

Gruss
Jan

Ähnliche fragen