#1  
Old 24th February 2009, 19:03
m3tr m3tr is offline
Junior Member
 
Join Date: Nov 2008
Location: Iran
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default samba & swat on cent os 5

hi every boady

i installed samba & swat Version 3.0.28-1.el5_2.1 on centos,

first i create a directory :

mkdir /home/mt
cd /home/mt
touch test.txt
chmod 777 /home/mt
chmod 777 /home/mt/test.txt


so
windows ip is 192.168.1.102 & linux ip is 192.168.1.105

here is content of smb.conf:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2009/02/24 15:51:26

[global]
workgroup = MSHOME
server string = Samba Server Version %v
security = SHARE
passdb backend = tdbsam
cups options = raw
unix charset = UTF-8
hosts allow =192.168.1.101
[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[test]
comment = test
path = /hom/mt
read only = No
guest ok = Yes
guest only = Yes
create mode = 0777
directory mode = 0777
share modes = yes
--------------------------

when i enter : \\192.168.1.105\home\mt
i face with this eror:

"test is not accesible. you might not have permision to use this network resource..."

please help me ?
i realy DIZZY !
Reply With Quote
Sponsored Links
  #2  
Old 25th February 2009, 17:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
[test]
comment = test
path = /hom/mt
read only = No
guest ok = Yes
guest only = Yes
create mode = 0777
directory mode = 0777
share modes = yes
I guess it should read path = /home/mt.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Fileserver With SWAT On Fedora 8 (add New disks) jawis Installation/Configuration 10 8th July 2009 14:29
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 07:02
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 E1sbaer HOWTO-Related Questions 3 7th May 2008 18:41
Samba Fileserver With SWAT On Fedora 8 jawis HOWTO-Related Questions 2 20th March 2008 09:09
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38


All times are GMT +2. The time now is 14:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.