Datuve :: Forums :: Arhīvs :: Nerāda Samba šāres uz Ubuntu 6.10

Datuve

Mana Datuve

Reģistrācija | Noteikumi | Paroles atjaunošana



Forums

Ieskaties


Raksti

Lietotāji online

Lietotāji online: 105

Reģistrētie lietotāji online: 0

Viesi online: 105

Datuve.lv video
Top.LV

Nerāda Samba šāres uz Ubuntu 6.10

Ievietoja: AZh @ 2007.04.01 20:54  

sekoju šai pamācībai http://ubuntuguide.org/wiki/Ubuntu_Edgy#Samba_Server
sākumā uzinstallēju serveri tad sekoju šim
[code] How to share public folders with read only permission (Authentication=No)

   * Read #General Notes
   * Read #How to install Samba Server for files/folders sharing service

sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
gksudo gedit /etc/samba/smb.conf

   * Find this line

...
;  security = user
...

   * Replace with the following line

 security = share

   * Append the following lines at the end of file

[public]
 comment = Public Folder
 path = /home/public
 public = yes
 writable = no
 create mask = 0777
 directory mask = 0777
 force user = nobody
 force group = nogroup

   * Save the edited file

sudo testparm
sudo /etc/init.d/samba restart

[edit]
[/code]
uzinstallēju konfigurācijas menedžeri
[code] How to install INETD Superserver

   * Read #General Notes
   * Read #How to add extra repositories

sudo apt-get install netkit-inetd

[edit]
How to install SWAT for Samba daemon

   * Read #General Notes
   * Read #How to add extra repositories
   * Read #How to install Samba Server for files/folders sharing service
   * Read #How to install INETD Superserver

sudo apt-get install swat

   * Open inetd daemon configuration

sudo gksu gedit /etc/inetd.conf

   * If string is:

<#off#> swat            stream  tcp     nowait.400      root    /usr/sbin/tcpd  /usr/sbin/swat

   * Change to:

swat            stream  tcp     nowait.400      root    /usr/sbin/tcpd  /usr/sbin/swat

   * Restart daemon

sudo /etc/init.d/inetd restart
[/code]
ieeju http://localhost:901, ielogojos itkā viss ok, bet nerāda šāres (Status sadaļā nav nevienas active shares, lai gan public mape ir nošārēta), turklāt ieejot Places/network servers manējo neuzrāda.

Ko es daru nepareizi ?