LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-03-2004, 01:50 AM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
help, SAMBA stoped working...connecting


here is my smb.conf file it was working before i formatted and reinstalled winXP i am using the same user name, password, and workgroup i was before i formatted, yet now i can not connect to my samba share.

i also lost the GUI for my samba share account home directory.... i dont know if that matters.


anyways i can see the share, i can see my home directory for the share, but i can not access the big share it self. i either get a not authorized error, or i get NOTHING. it just keeps putting up the prompt for user/pw again and again and again and ... you get the point:


Code:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
	workgroup = ssma.local

# server string is the equivalent of the NT Description field
	server string = Samba Server

# This option is important for security.  It allows you to restrict
# connections to machiens which are on your loacl network.
	hosts allow = 192.168.2.

# If you want to autmatically load your printer list rather
# than setting them up individually then you'll need this
	printcap name = /etc/printcap
	load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard.  Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
	printing = cups

# This tells Samba to use a separate log file for each machine
# that connects
	log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
	max log size = 50

# Security mode.  Most people will want user level security.  See
# security_level.txt for details.
	security = user

# You may wish to use password encryption.  Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
	encrypt passwords = yes
	smb passwd file = /etc/samba/smbpasswd

# The following is neede to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
	ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#	the encrypted SMB paswords.  They allow the Unix password
#	to be kept in sync with the SMB password.
		unix password sync = Yes
		passwd program = /usr/bin/passwd %u
		passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flags for Samba.  If
# enabled, then PAM will be used for password changes when requested
# by a SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

	pam password change = yes

	obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

	dns proxy = no

#============================== Share Definitions ===============================
[homes]
	comment = Home Directories
	browseable = no
	writable = yes
	valid users = %S
	create mode = 0644
	directory mode = 0755

# printers
[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	guest ok = no
	writable = no
	printable = yes

# uncomment if useing /tmp/*
;[tmp]
;	comment = Temporary file space
;	path = /tmp/samba
#  in the path place what ever subdirectory you want
;	read only = no
;	public = yes
please tell me what i need to do to fix this. yes i have gome back and chmod -R 777 /home/sharename and that did not help either.

to new to linux to guess the next step, and the site i have been using for tutorial does not tell me how to resolve this issue.

FYI i can get proper responce from both nbtstat -a and net view \\ from winXP pro.

i am on a LAN if that matters.
 
Old 08-03-2004, 04:32 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
is this in the wrong forum?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache stoped working letsinstalllinu Linux - General 2 01-18-2005 06:07 PM
Wireless stoped working Nuke361 Linux - Newbie 1 05-19-2004 05:43 PM
CDROM stoped working Joey.Dale Linux - General 6 11-27-2003 11:45 PM
CD-ROMS stoped working..... J.T. Mandriva 19 11-13-2003 02:23 AM
mozilla stoped working allohakdan Linux - Newbie 4 10-30-2003 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration