CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Software Support
  Multiple users from xp client connecting to Samba 3.0.33 CentOS 5.5 64bit

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread Rated:  1 Votes
  •  burak
      burak
Multiple users from xp client connecting to Samba 3.0.33 CentOS 5.5 64bit
#1
Newbie
Joined: 2010/5/31
From
Posts: 8
Hi,

I have a XP SP3 OS running pc as a terminal server (do not ask how) , there are different user accounts on it and people are connecting to a shared folder on samba server. Users are running an exe file and using the software which connects to an MS Sql server.

Sometimes and randomly users are getting exception error messages and some other access violation errors.
It seems very random such as sometimes there a few days without an error message.

What I noticed most when a user closes the software, sometimes other users can get an exception error message. Only the ones running the software on the same XP terminal server are getting these error messages.
The error message appears even when we kill the exe via task manager and the user runs the software again and browse some menus...

In order to get rid of the error messages, all the users running the software on the xp server closes the software and we do run a part of software that checks for users still seems to be connected to the Ms sql server , but in fact not and cleans some tables in the sql server.

Regarding samba:
Something I noticed that when users connect to samba server from the xp machine, in the smbstatus , I see different user names and same pid no per machine name.
So, connections are served via same samba daemon to the xp client eventhough the user accounts connected are diferent.

I checked for oplocks but always "none" is displayed in smbstatus oplock column. I think this is not an oplock problem but a pid vs user name problem.
I guess if a user closes a connection to samba share , other users connection from the same xp machine is being effected.
The reason I can think of is all the connections from a client is being served by the same samba daemon, at least this is what I make of from smbstatus...

As a solution , I need a way so that each different user is being served by a different samba daemon. As if each user is a different machine...

I would be so glad if someone would advise how ...

Thanks for reading.
Burak
Posted on: 2012/2/7 21:59
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Multiple users from xp client connecting to Samba 3.0.33 CentOS 5.5 64bit
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
I suspect this question might have a better chance of getting a definitive answer on the Samba list, but my guess from empirical evidence based on the Samba logs, it that connections are by IP address, and I doubt it can be easily made to work the way you want.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/2/9 16:24
Create PDF from Post Print
Top
  •  burak
      burak
Re: Multiple users from xp client connecting to Samba 3.0.33 CentOS 5.5 64bit
#3
Newbie
Joined: 2010/5/31
From
Posts: 8
Well , good news is that I found the solution and it is an easy one.

I added netbios aliases to the smb.conf file and mapped same drive letter with to a different aliased servername for each user.

Now that all users connect from the same client to the same file with different pid numbers on Samba / Centos server ...

More details can be found in the attached file. ( I can not upload here, receiving errors ! )

Here is the original link : http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02037826/c02037826.pdf

Credit goes to Eric Roseme from HP.

Thanks a lot for this paper :)

Burak Ural
Posted on: 2012/2/10 16:23
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com