LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-27-2010, 01:35 PM   #1
Neruocomp
Member
 
Registered: Oct 2004
Distribution: Slackware, CentOS
Posts: 135

Rep: Reputation: 15
Samba weirdness over different subnets


This isnt my first samba server. I have setup a samba PDC+LDAP in the office and a Samba BDC in another subnet where we have a file server that has a samba domain member. All this works fine, until I setup a new domain member for testing out a new file server.

I setup samba and join the domain. net getlocalsid and getdomainsid work fine. From machines in that subnet, I can use smbclient -L to connect and give me a listing of shares. This works on all of the samba machines. But back up in the main subnet, this no longer works. In fact it looks like the connection just hangs till it times out. The only message I get out of the server is when I turn up debugging to level 3.

[2010/08/27 13:20:05, 3] smbd/oplock.c:init_oplocks(863)
init_oplocks: initializing messages.
[2010/08/27 13:20:05, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(234)
Linux kernel oplocks enabled
[2010/08/27 13:20:05, 3] smbd/process.crocess_smb(1083)
Transaction 0 of length 137
[2010/08/27 13:20:05, 3] smbd/process.c:switch_message(932)
switch message SMBnegprot (pid 25765) conn 0x0
[2010/08/27 13:20:05, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [LANMAN1.0]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [Windows for Workgroups 3.1a]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [LM1.2X002]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [LANMAN2.1]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(505)
Requested protocol [NT LM 0.12]
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_nt1(364)
using SPNEGO
[2010/08/27 13:20:05, 3] smbd/negprot.c:reply_negprot(606)
Selected protocol NT LM 0.12

This is where it will hang for a long while before it disconnects. Again any machine in that subnet will connect just fine. From the main subnet I can run nmap and find the ports are open. I even turned off the firewall and still the same thing. I've tried with both linux and windows to connect to this server from the main subnet and I cannot.

Any ideas?
 
  


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
Trouble mounting Samba share from Windows Mobile 6.1 - samba weirdness cleidh_mor Linux - Server 0 09-21-2008 02:43 PM
samba weirdness ryan462 Linux - Networking 0 05-17-2007 10:11 PM
want to see different subnets in samba euler Linux - Networking 5 07-20-2005 07:30 AM
Samba Weirdness joel112 Linux - Software 15 02-02-2004 08:05 AM
samba and subnets mirko72 Linux - Networking 8 11-26-2003 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:09 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