LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-28-2009, 06:23 AM   #1
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Rep: Reputation: 27
users have to re-authenticate when opening their home shares


Dear people,

I'm currently experiencing a samba problem for which I'd like some advice.

The samba server is 3.0.24 on debian 4.0.

The clients are windows xp pc's that use the samba server as a domain controller. Every user has a home directory. There are also a few other shares on the server that are served by samba.

The problem is that users have to reauthenticate at random times when they try to open their home share or another share, sometimes the home dir would not ask for credentials and then the other share would or vice versa.
I only see disconnect messages in the samba logs.
Sometimes, closing a file that is on the share also disconnects the session.


This is what the config looks like:


# Global parameters
workgroup = JES
netbios name = JES-FW
interfaces = eth1
encrypt passwords = Yes
domain logons = Yes
os level = 99
preferred master = Yes
domain master = Yes
logon script = %U.bat
printing = bsd
printcap name = /etc/printcap
load printers = yes
socket options = TCP_NODELAY
security = user
log level = 2
wins support = yes
profile acls = yes
nt acl support = yes
lanman auth = yes
smb ports = 139

[homes]
browseable = no
writeable = yes
force directory mode = 0777
force create mode = 0777
#create mask = 0755

[netlogon]
comment = Network Logon Service
path = /home/netlogon
public = yes
writable = yes
browseable = yes
locking = no
force create mode = 0644
force directory mode = 0755

[data]
comment = data-partitie
path = /data/public
public = yes
writable = yes
force directory mode = 0777
force create mode = 0777

[administratie]
comment = administratie
path = /data/administratie
public = no
writable = yes
force directory mode = 0777
force create mode = 0777
read list = @administratie
write list = @administratie



Thanks for any insight you could provide on this issue.
 
Old 01-28-2009, 06:48 AM   #2
mwx
Member
 
Registered: Jan 2009
Posts: 35

Rep: Reputation: 0
I'm so new to this stuff that I doubt I'll be of much help, but...

In my adventures with Samba thus far I think the wise thing to do would be to narrow the search as much as possible to figure out who is causing the error.

Is it strictly a behavior of the client side OS?

Is it only an XP behavior? What happens when someone authenticates in Vista? Or Mac OSX?

Is it really a Samba settings issue - or a server side permissions issue - either in Samba or in the chmod or ownership flavor of things.


I don't know if it works for you - but you could try opening up the door a little in your authentication settings and see if the behavior stops... Then you could slowly begin to close the door again and see where it starts.

My suspicion is that it's an XP authentication setting and not something Samba is doing.. Just my 2 cents...
 
Old 01-28-2009, 08:50 AM   #3
lievendp
Member
 
Registered: Jan 2006
Location: Belgique
Distribution: Gentoo, Debian, Redhat, Centos, (x)Ubuntu
Posts: 111

Original Poster
Rep: Reputation: 27
Thanks for the reply,

I can tell you now that there are only windows xp machines overthere and they're not all experiencing this issue in the same degree, some don't even see this problem at all.

The permissons seem to be alright for the setup. (tried with world writable also for testing)

On the other hand, I have a similar setup using same samba version and debian os that doesn't have this problem at all.

So I'm also thinking the local network might pose a problem.
I see this kind of errors in the samba logs: (from the users personal log file <netbiosname>.log file)

[2009/01/28 13:58:31, 0] lib/util_sock.c:get_peer_addr(1221)
getpeername failed. Error was Transport endpoint is not connected
[2009/01/28 13:58:31, 0] lib/util_sock.c:get_peer_addr(1221)
getpeername failed. Error was Transport endpoint is not connected
[2009/01/28 14:06:21, 0] lib/util_sock.c:get_peer_addr(1221)
getpeername failed. Error was Transport endpoint is not connected
[2009/01/28 14:06:21, 0] lib/util_sock.c:get_peer_addr(1221)
getpeername failed. Error was Transport endpoint is not connected
 
  


Reply

Tags
authentication, samba, shares


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
win xp home edition and samba home shares scheidel21 Linux - Software 8 10-09-2008 01:47 AM
Samba shares - authenticate? TomalakBORG Suse/Novell 2 12-30-2005 07:11 PM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 10:01 AM
smb4k opening shares in nautilus jai_joy Linux - Newbie 1 12-07-2004 09:57 PM
Opening Files through shares on Samba hollovoid7 Suse/Novell 2 11-21-2004 01:39 PM


All times are GMT -5. The time now is 09:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration