Samba
Konfiguracny subor by som niekde skopiroval len neviem kde ak ma niekdo napad nech povie tak ho upnem, zdielam ext.hdd cez ubuntu samba na windows xp, ked dam zdielat pracovnu plochu alebo priecinok na internom hdd tak nieje problem, ale s ext pise ked chcem otvorit: Nepodarilo sa pripojiť sieťový disk Windows. Boli casi ked som mal rovnako nakonfigurovanu sambu a zdielanie islo.
Podla teba 5-6 prispevkov po sebe neni SPAM ?
samo-laptop (::ffff:127.0.1.1) connect to service mybook initially as user nobody (uid=65534, gid=65534) (pid 4348)
[2009/06/28 22:12:23, 0] smbd/service.c:set_current_service(187)
chdir (/media/MyBook) failed
LABEL=MyBook /media/MyBook vfat rw,noatime,user,umask=0 0 0
Ak si dobre spominam, pisem z pameti. Kam to mas dat, to uz uhadnes. Tak isto ako uhadnes aj co mas potomm urobit.
/usr/share/doc/python-fstab
/lib/udev/rules.d/79-fstab_import.rules
/etc/fstab
/usr/share/doc/mount/examples/fstab
/usr/share/man/man5/fstab.5.gz
/usr/share/doc/util-linux/examples/fstab.example2
/usr/include/fstab.h
/usr/lib/python2.6/dist-packages/fstab.py
/usr/share/pyshared/fstab.py
/usr/lib/python2.6/dist-packages/fstab.pyc
/usr/lib/python2.6/dist-packages/fstab-1.3.egg-info
/usr/share/pyshared/fstab-1.3.egg-info
/lib/udev/fstab_import
/usr/share/computerjanitor/plugins/fstab_plugin.py
/usr/share/computerjanitor/plugins/fstab_plugin.pyc
/cdrom/pool/main/p/partconf/partconf-mkfstab_1.30ubuntu1_i386.udeb
/usr/share/pyshared-data/python-fstab
/var/lib/dpkg/info/python-fstab.list
/var/lib/dpkg/info/python-fstab.md5sums
/var/lib/dpkg/info/python-fstab.postinst
/var/lib/dpkg/info/python-fstab.preinst
/var/lib/dpkg/info/python-fstab.prerm
/cdrom/pool/main/p/python-fstab/python-fstab_1.3-0ubuntu1_all.deb
ktore?
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=8aae0864-6da4-4fd8-9c6e-2371239c3327 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e2486d9c-801a-4952-818c-e72c1bc06464 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
kde pridat?
dufam ze to nespôsoby dieru v systeme, lebo to s tymy pravami bolo divne akoby nejaky virus
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=b0b8469e-1c9a-452a-90dd-e30ca4d05bc0 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e2486d9c-801a-4952-818c-e72c1bc06464 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
LABEL=MyBook /media/MyBook vfat rw,noatime,user,umask=0 0 0
po pridani posledneho riadku
man mount
Mimochodom, to preinstalovanie, to si robil naco?
Ak sa nepozres aku chybu to vypisalo, tak budes preinstalovavat donekonecna. A zbytocne.
Ale vlastne ... tebe by pivo este asi nepredali ... aj doma pytas od mamy, aby ti natlacila pastu na zubnu kefku? ja viem, viem, umyt zuby si vies, ale ktory faker vymyslel, ze zubna pasta byva natlacena v tube
Citujem WlaSaTeho :::
Keby si si pozrel manualovu stranku prikazu mount, tak vies ze parameter user zabezpeci ze ten disk pripoji hocikto a parameter umask=0 zabezpeci ze nan bude moct zapisovat kazdy.
Preto potrebujes ten riadok ...
Ask the administrator to add the line "usershare owner only = false"
to the [global] section of the smb.conf to allow this.
da sa to aj pod normalnym userom?
a preco mi to zdielanie fungovalo nedávno aj ked som nema ziadny riadok s Label?, záhada? je to divne
Myslim si ze riesenie je toto:
Ask the administrator to add the line "usershare owner only = false"
to the [global] section of the smb.conf to allow this.
Ja ti uz viac k tejto teme nepoviem, nech sa s tebou zaobera niekto iny ...
Adios ...
Do noveho riadku v sekcii global, tak ako tam vidis aj ine ukazky.
dufam ze to je to co mam pridat,
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast
usershare owner only = false
#### Networking ####
ale stale to nejde
A nastavovat ako uzivatel mozes v pohode, obcas je vsak pouzit prikaz
sudo
alebo jeho derivaty.