Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st January 2010, 12:56
StevenD StevenD is offline
Member
 
Join Date: Oct 2008
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Default ISPConfig server starting stops Samba?

Hi All,

Happy new year to all.

I have a problem with my setup?
I have setup Samba to allow access to files and printers from my windows laptop. All is fine I can connect to the server through network connections on windows 7, and can see and access the shares. I can also send stuff to my printers.

But as soon as I start the ispconfig server, I no longer have access to the server. I can still see the server in the network, but when I try to open to see the shares I get the message "The network path was not found". I then have to reboot the server, I can then reconnect but as soon as I start the ispconfig up it stops again.

Has anyone else come across this before? I have tried searching for this problem but didn't find anything.

Below is the contents of my smb.conf

Code:
[global]
	netbios name = UPSTAIRS
	server string = Upstairs Server
	obey pam restrictions = Yes
	passdb backend = tdbsam
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	printcap name = cups
	preferred master = No
	domain master = No
	dns proxy = No
	wins support = Yes
	panic action = /usr/share/samba/panic-action %d
	invalid users = root
	printer admin = @ntadmin
	printing = cups
	print command = 
	lpq command = %p
	lprm command = 

[homes]
	comment = Users profiles
	path = /home/samba/profiles
	valid users = %S
	create mask = 0600
	directory mask = 0700
	browseable = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	create mask = 0700
	guest ok = Yes
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
	write list = root, @ntadmin
	guest ok = Yes


[windows]
	path = /mnt/windows
	read only = No
	guest ok = Yes

[new]
	comment = samba
	path = /home/
	read only = No
	guest ok = Yes
Thanks

Steve
Reply With Quote
Sponsored Links
  #2  
Old 1st January 2010, 13:18
StevenD StevenD is offline
Member
 
Join Date: Oct 2008
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi All,

A bit more info.

I turned off the firewall in ISPConfig, it now allows access to the shares again. Is there a way to configure the ISPConfig firewall to allow access to the Samba shares? Does it block the ports required by Samba?

Thanks

Steve
Reply With Quote
  #3  
Old 2nd January 2010, 15:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please open the ports 137 - 139 (TCP and UDP).
__________________
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
The Following User Says Thank You to falko For This Useful Post:
StevenD (3rd January 2010)
  #4  
Old 3rd January 2010, 20:58
StevenD StevenD is offline
Member
 
Join Date: Oct 2008
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
 
Default

Thanks Falko.

All working fine now.
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
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 07:02
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 03:52.


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