LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2004, 06:54 PM   #16
azornoz
Member
 
Registered: Apr 2003
Posts: 52

Rep: Reputation: 15

In order to close my post :

The wins service is only necessary when there is some subnets, if there is only one it's not necessary. It do not resolve the prob of master browser election.

In order that samba server becomes master browser :

master browser = yes
preferred master = yes
os level = 34

IN the machine that causes trouble I disabled master browser.

And now you can see the samba server in nethood in all pc's but the f**k machine 172.26.0.2, and samba server can't access it (connection timeout when accessing 172.26.0.2:139) and neither one xp home edition can access it.

This machine do not responses to ping's but what puzzles me it's that OTHER W98 can access 172.26.0.2 share's.

I think this is a prob in 172.26.0.2 and not a samba prob so I think we can close this post.

Regards
 
Old 05-15-2004, 05:25 AM   #17
azornoz
Member
 
Registered: Apr 2003
Posts: 52

Rep: Reputation: 15
Sorry I think I do not mention that I have samba 2.2.8a

All 3.x.x users must upgrade to current version 3.0.4

In order to sucessive upgrade (message from angel galindo: <agalindo@ub.edu>):

- Compile and install samba with a prefix like "/opt/samba-x.y.z"
- ln -s /opt/samba-x.y.z /opt/samba
- Set your new initscript like "/etc/init.d/samba" , which uses your
new path (/opt/samba) and use it to define the passes through every run
level.
- Set the appropiate environment variables to your scripts to avoid
using the ones are already working (/usr/bin or whatever)
(PATH=/opt/samba/bin:$PATH , for example)
- /etc/init.d/smb stop
- /etc/init.d/samba start
- rpm -e samba* (do it after, once the new version works fine, if you
prefer)

You can test it before in your development servers, something like this should do the work for you. Once you've done it this way you will be
able to compile newer versions with previx = /opt/samba-x'.y'.z' and the
restart will be just:

#!/bin/sh
/etc/init.d/samba stop
rm /opt/samba
ln -s /opt/samba-x'.y'.z' /opt
/etc/init.d/samba stop


Theese both procedures are totally scriptable and has so few impact in
you HA environment like using RPMs, with the goody of being using
anytime the version that you prefer, independently of which one is RPM
packed by your distro.
 
Old 05-15-2004, 05:28 AM   #18
azornoz
Member
 
Registered: Apr 2003
Posts: 52

Rep: Reputation: 15
OOpss

change the line from last script:


ln -s /opt/samba-x'.y'.z' /opt/samba

You could use /opt or whatever u like.

Have fun all of you samba users.
 
  


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
logon issues: win98 - firewall - samba MichaelP Linux - Security 7 03-10-2005 04:29 PM
Samba Netlogon from win98-client lars12 Linux - Networking 0 07-21-2004 07:41 AM
Samba Netlogon - Driving me mad!!! ndprichardson Linux - Networking 12 10-25-2003 02:38 AM
My samba netlogon script doesn't execute colpaarm Linux - Software 1 07-25-2003 09:12 AM
Issues: NFS and Samba, XPh & Win98 to Redhat8.0 mutantjazz Linux - Networking 8 12-30-2002 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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