samba benaderen vanaf linux...

Pagina: 1
Acties:
  • 175 views sinds 30-01-2008
  • Reageer

  • sus
  • Registratie: September 2000
  • Laatst online: 08:59

sus

is druk :+

Topicstarter
Ik heb op mijn server Samba geinstalleerd. Vanuit windows (98/2k/XP) kan ik hier keurig mee werken, (nog) geen problemen.

Maar, nu heb ik bij mezelf RH 7.2 geinstalleerd. Ik kan nu mijn server niet benaderen. Hoe kan ik nu mijn samba-shares benaderen???

vb van sharenaam onder windows:

\\server\data op server\film
\\server\data op server\mp3

Verwijderd

Daar heb je een smbclient voor. Daarnaast moet je ook SMB file support in je kernel hebben meegecompileerd.

Verwijderd

Op dinsdag 26 februari 2002 21:51 schreef balou het volgende:
Daar heb je een smbclient voor.
Als je samba hebt draaien zit smbclient daar ook bij!

probeer eens: smbclient -L <servername>
Daarnaast moet je ook SMB file support in je kernel hebben meegecompileerd.
Bullshit!

Verwijderd

Op dinsdag 26 februari 2002 21:52 schreef freebie het volgende:

[..]

Als je samba hebt draaien zit smbclient daar ook bij!

probeer eens: smbclient -L <servername>
[..]

Bullshit!
das dus inderdaad niet zo... hier draait samba ook zonder de client....

  • NeOTheMaTriXM
  • Registratie: April 2001
  • Laatst online: 06-05 21:15
via de browser van kde

smb://ip/

Verwijderd

Op dinsdag 26 februari 2002 21:52 schreef freebie het volgende:

[..]

Als je samba hebt draaien zit smbclient daar ook bij!

probeer eens: smbclient -L <servername>
[..]

Bullshit!
Mag je mij dan toch even uitleggen waarom er deze uitleg bij de SMB optie in de kernel (2.2.20) staat?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CONFIG_SMB_FS:                                         
x SMB (Server Message Block) is the protocol Windows for Workgroups
x (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
x files and printers over local networks. Saying Y here allows you to
x mount their filesystems (often called "shares" in this context) and
x access them just like any other Unix directory. Currently, this
x works only if the Windows machines use TCP/IP as the underlying
x transport protocol, and not NetBEUI. For details, read
x Documentation/filesystems/smbfs.txt and the SMB-HOWTO, available via
x FTP (user: anonymous) from
x ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.
x
x Note: if you just want your box to act as an SMB *server* and make
x files and printing services available to Windows clients (which need
x to have a TCP/IP stack), you don't need to say Y here; you can use
x the program samba (available via FTP (user: anonymous) in
x ftp://metalab.unc.edu/pub/Linux/system/network/samba) for that.
x
x General information about how to connect Linux, Windows machines and
x Macs is on the WWW at http://www.eats.com/linux_mac_win.html (to
x browse the WWW, you need to have access to a machine on the Internet
x that has a program like lynx or netscape).
x If you want to compile the SMB support as a module ( = code which
x can be inserted in and removed from the running kernel whenever you
x want), say M here and read Documentation/modules.txt. The module
x will be called smbfs.o. Most people say N, however.

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:57

deadinspace

The what goes where now?

Op dinsdag 26 februari 2002 21:52 schreef freebie het volgende:
Als je samba hebt draaien zit smbclient daar ook bij!

probeer eens: smbclient -L <servername>
Hangt er vanaf hoe het gepackaged is hoor. In Debian bijvoorbeeld zitten de samba server, smbclient en smbmount in verschillende packages.
Bullshit!
Voor smbclient heb je smbfs inderdaat niet in je kernel nodig, maar voor smbmount (die imho meestal praktischer is) wel.

Verwijderd

Op dinsdag 26 februari 2002 23:02 schreef deadinspace het volgende:

[..]

Hangt er vanaf hoe het gepackaged is hoor. In Debian bijvoorbeeld zitten de samba server, smbclient en smbmount in verschillende packages.
[..]

Voor smbclient heb je smbfs inderdaat niet in je kernel nodig, maar voor smbmount (die imho meestal praktischer is) wel.
Ah, ok. Mijn fout dan. Dit antwoord heb ik ook veel meer aan, want hier leer ik wat van. Alleen maar bullshit roepen zoals freebie doet schiet ik niks mee op.

  • Jordi
  • Registratie: Januari 2000
  • Niet online

Jordi

#1#1

Klopt. Ik wil freebie dan ook vriendelijk verzoeken in het vervolg iets genuanceerder/uitgebreider iemands antwoorden af te kraken ;)

Het zal wel niet, maar het zou maar wel.


  • _JGC_
  • Registratie: Juli 2000
  • Nu online
Op dinsdag 26 februari 2002 22:07 schreef balou het volgende:

[..]

Mag je mij dan toch even uitleggen waarom er deze uitleg bij de SMB optie in de kernel (2.2.20) staat?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CONFIG_SMB_FS:                                         
x SMB (Server Message Block) is the protocol Windows for Workgroups
x (WfW), Windows 95/98, Windows NT and OS/2 Lan Manager use to share
x files and printers over local networks. Saying Y here allows you to
x mount their filesystems (often called "shares" in this context) and
x access them just like any other Unix directory. Currently, this
x works only if the Windows machines use TCP/IP as the underlying
x transport protocol, and not NetBEUI. For details, read
x Documentation/filesystems/smbfs.txt and the SMB-HOWTO, available via
x FTP (user: anonymous) from
x ftp://metalab.unc.edu/pub/Linux/docs/HOWTO.
x
x Note: if you just want your box to act as an SMB *server* and make
x files and printing services available to Windows clients (which need
x to have a TCP/IP stack), you don't need to say Y here; you can use
x the program samba (available via FTP (user: anonymous) in
x ftp://metalab.unc.edu/pub/Linux/system/network/samba) for that.
x
x General information about how to connect Linux, Windows machines and
x Macs is on the WWW at http://www.eats.com/linux_mac_win.html (to
x browse the WWW, you need to have access to a machine on the Internet
x that has a program like lynx or netscape).
x If you want to compile the SMB support as a module ( = code which
x can be inserted in and removed from the running kernel whenever you
x want), say M here and read Documentation/modules.txt. The module
x will be called smbfs.o. Most people say N, however.
Om te mounten wel, om de client te gebruiken heb je niets meer nodig dan smbclient.

Verwijderd

• Open een console (zeg maar dos-prompt)
• wordt superuser (commando: su)
• maak een dir aan in je /mnt dir waar je je share gemount wilt hebben, bv /mnt/windows: mkdir /mnt/windows
• mount de share: mount -t smbfs -o username=<USERNAME>,password=<PASSWORD> //<COMPUTERNAAM>/<SHARENAAM> /mnt/windows

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:57

deadinspace

The what goes where now?

Op woensdag 27 februari 2002 15:58 schreef hezik het volgende:

• Open een console (zeg maar dos-prompt)
• wordt superuser (commando: su)
• maak een dir aan in je /mnt dir waar je je share gemount wilt hebben, bv /mnt/windows: mkdir /mnt/windows
• mount de share: mount -t smbfs -o username=<USERNAME>,password=<PASSWORD> //<COMPUTERNAAM>/<SHARENAAM> /mnt/windows
Met smb(u)mount kun je SMB shares ook als user mounten (mits smbmnt setuid root is).
Pagina: 1