LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2011, 11:19 AM   #1
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Rep: Reputation: Disabled
Samba filling log files up


I'm currently running PCLinuxOS (Mandriva based distro) and am kinda puzzled as to why both my syslog and messages logs are being filled up with a repeating message of "smbd/service.c:942(make_connection_snum) Can't become connected user! I currently have 3 Windows XP Pro computers (1 desktop, 2 laptops) that I'm attempting to connect to the Linux box to use for file/print sharing. 1 laptop and the desktop both work fine so I'm assuming the issue is with the 2nd laptop (my wife's, good luck getting her to let me have it for a while to work on it). I can access both the samba share (have it mapped as Z: on both working pcs) and the shared printer (setup under printers and faxes but used 'net use' to set it up) When I try to use the same method to setup the share drive and printer on my wife's laptop I'm getting an error about bad username or password. Currently I have accounts for both of us with identical passwords setup on the Linux box and the desktop. We also have just 1 account each (also same username/passwords) on our respective laptops. I'm thinking the issue might be a Windows configuration as the other 2 pcs work fine, and also, I'm unable to view the other computers using Windows Network Places but CAN access them using run \\<IP_ADDRESS_HERE>. All computers can ping each other successfully. Any help would be greatly appreciated as I've spent the last week trying to get this worked out.
 
Old 09-15-2011, 08:49 PM   #2
TreborG2
LQ Newbie
 
Registered: Jan 2009
Location: Virginia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Most likely on the Desktop and Working Laptop you are not using "Simple" file sharing, and most likely on the Miss's laptop she is.

Check the "Simple Sharing" on all three...
open my computer -> tools -> Folder Options -> "View" tab -> very bottom of the scrolling list

Simple file sharing doesn't use user/pass for protection, so shouldn't send them either and is probably doing a "guest" user or "nobody" (or null even)... remove the checkmark, and the username and password should be required and sent for connecting to shares.
 
Old 09-16-2011, 02:31 AM   #3
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Original Poster
Rep: Reputation: Disabled
working now but different messages in logs

I had already unchecked the simple file sharing option (during previous research). Somehow I got this all working now. Not exactly sure how but I did. I added users to the smbpasswd file (me and my wife) with corresponding passwords and enabled NTLMv2 support in Samba so I'm guessing that was the issue of her not being able to connect. Now however, I'm getting a different message filling up the log:

winbindd/idmap.c:149(smb_register_idmap) Idmap module nss already registered!

and

winbindd/idmap_tdb.c:287(idmap_tdb_open_db)
Upgrade of IDMAP_VERSION from -1 to 2 is not possible with incomplete configuration

However, everything seems to be working (all pcs access share and printer and get dynamic or static IP from dhcp) so I'm assuming these are informational messages only or warnings from a feature I may have configured that is not actually being used.
 
Old 09-16-2011, 05:44 AM   #4
TreborG2
LQ Newbie
 
Registered: Jan 2009
Location: Virginia
Distribution: Debian
Posts: 13

Rep: Reputation: 0
looks like the errors are happening because samba is configured for DOMAIN security rather than User or Share.

http://www.samba.org/samba/docs/man/....html#SECURITY
 
Old 09-16-2011, 09:37 AM   #5
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Original Poster
Rep: Reputation: Disabled
i have security set as security = user (As I'm authenticating the computers using mine or my wife's username/password (both accounts the same on pc's and Linux box, and added to smbpasswd)
 
Old 10-02-2011, 02:21 AM   #6
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Original Poster
Rep: Reputation: Disabled
Everything is up and running now and all computers can access the shares (disk and printer) but I'm still getting a ton of these messages in my log files (multiple files recording the same message). This leads me to believe its something on the client end configuration wise but I'm at a loss as to what (new to Samba). Any insight would be greatly appreciated.
 
  


Reply



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
Is there any way to log user samba who delete or move files/folders on samba server ? b-RAM Linux - Server 1 02-09-2010 12:33 AM
/var/log/kern.log (and others) filling up! tromboneman Linux - General 4 02-01-2009 04:01 PM
pam_unix filling up auth.log Shwick Linux - Newbie 5 10-08-2008 08:38 PM
Cron Log filling up barnzenen AIX 3 10-09-2004 06:04 PM
Samba Errors Are Filling My Log Files Help :( Carlm81 Linux - Networking 6 06-04-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 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
Open Source Consulting | Domain Registration