pøihlá¹ení do sdilený wokení slo¾ky pøes sambu

Peter Rosa prosa at pro.sk
Wed Nov 16 18:40:11 CET 2005


Doplnujem predosly mail:

sekcia [default] je dolezita. Ak tam nemate aj tu workgroup, tak nutne
musite dat mount_smbfs vediet, v akej skupine je ten server. A potom
otravuje s heslom. Ak mu to nepoviete v .nsmbrc, musite uviest
v prikazovom riadku dalsie parametre:
     -I host
             Do not use NetBIOS name resolver and connect directly to host,
             which can be either a valid DNS name or an IP address.
     -W workgroup
             This option specifies the workgroup to be used in the
authentica-
             tion request.

a mozno aj
     -u uid, -g gid
             User ID and group ID assigned to files.  The default are owner
             and group IDs from the directory where the volume is mounted.


Predtym ako nakrmite .nsmbrc a pouzijete -N parameter, skuste, ci sa
spojite so sambou bez neho. Napr. takto:

mount_smbfs -I IP_SERVERU -W MENO_WRKGRP //USER at MENO_SERVERU /mnt
kde
- USER NIE JE root!!! ale uzivatel, pod ktorym sa pripajate na sambu
- bude pytat heslo (tiez nie rootovske lokalne, ale toho samboveho usera)
  a mal by vas pripojit

Potom to uz len prelozite do "reci" .nsmbrc a hotovo.


Inak, man mount_smbfs je celkom dobre citanie. Ja som to z toho urobil na
druhy pokus :-) Pred druhym som na Goooogli nasiel, ako ma vyzerat ten
divny .nsmbrc.

Drzim palec,
Peter Rosa





More information about the Users-l mailing list