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 - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-19-2009, 12:39 PM   #1
ckua
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
need to turn off master browsers for Linux server?


this my entire network, there are some servers running Linux(Mandriva)under Servers named,Prod1 that is one of Linux server never shows up since Media2 crashed for somereaon,eventhough right now Media2 works back,and I have to type path \\10.2.1.17\folder name when mapping network drive for Prod1 because it not found with browse

And Media2 is running Samba 3.0.23d,maybe nmbd handles name resolution for netbios because when it had problem, I couldn't expend domain Servers,turn it off, I could open this domain up,

I'm a new Mandriva, please help me, some users are encounteing problems from Prod1 that needs to be used currently

BTW, do I need to turn off nmbd for Media2, if so, how to do that?
thanks in advance
 
Old 03-26-2009, 07:46 AM   #2
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
I think /etc/samba/smb.conf still has options for controlling all that. You could try using a GUI tool like Webmin or SWAT to configure it if you're not comfortable with vi. But I haven't tried it recently with Mandy and last time I used Samba in any sort of file server capacity seemed a little buggy, so YMMV (insert standard Internet disclaimer here, lol).

And of course, if you have network issues, like bad cabling, broadcast processes, like the master browser election, can go very haywire. So might want to buy a good cable tester, like a Fluke, too.
 
Old 03-27-2009, 09:22 AM   #3
ckua
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thanks reply, both Linux boxes are pure command line,that make me big headache,anyway, post their smb.conf, please analyze for me, thanks again

Prod1

[global]
workgroup = SERVERS
netbios name = prod1
server string = Production Server
; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
; printcap name = cups
load printers = no
; printcap cache time = 60
; printing = cups
log file = /var/log/samba/%m.log
max log size = 50
hosts allow = ALL
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

; unix password sync = Yes
; pam password change = yes
; passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n \
;*passwd:*all*authentication*tokens*updated*successfully*
; username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote browse sync = 10.2.1.1
local master = yes
os level = 99
domain master = no
preferred master = yes
domain logons = no
enable privileges = yes
wins server = 10.2.1.1
dns proxy = no

;[homes]
; comment = Home Directories
; browseable = no
; writable = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
; guest ok = yes
; writable = no
; printable = yes
; create mode = 0700
; print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
; use client driver = yes
;[print$]
; path = /var/lib/samba/printers
; browseable = yes
; write list = @adm root
; guest ok = yes
; inherit permissions = yes
;[pdf-gen]
; path = /var/tmp
; guest ok = No
; printable = Yes
; comment = PDF Generator (only valid users)
; printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
; print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
; lpq command = /bin/true
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
;[public]
; comment = Public Stuff
; path = /home/samba/public
; public = yes
; writable = no
; write list = @staff
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[burli]
comment = Burli data
path = /var/burli
admin users = admin jbath
valid users = @prod burli
public = no
guest ok = no
writable = yes
read only = no
create mode = 2770
inherit permissions = yes
..............
Media2

[global]
workgroup = SERVERS
netbios name = MEDIA2
server string = server string = Samba Server %v

; message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
printcap name = cups
load printers = yes
printcap cache time = 60
printing = cups
log file = /var/log/samba/%m.log
max log size = 50
log level = 4
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

; unix password sync = Yes
; pam password change = yes
; passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n \
;*passwd:*all*authentication*tokens*updated*successfully*
; username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = yes
[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes

[pdf-gen]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
;[public]
; comment = Public Stuff
; path = /home/samba/public
; public = yes
; writable = no
; write list = @staff
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

[music]
comment = Rip start my heart
path = /home/music
valid users = @media
public = no
guest ok = no
writable = yes
create mask = 1640
force create mask = 1640
directory mask = 2770
force directory mask = 2770
inherit permissions = yes
preserve case = yes
 
Old 03-27-2009, 10:17 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Maybe try adding
Code:
browsable = yes
to those share definitions which you want to be browsable.
--- rod.
 
  


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
LXer: Comparison Between Linux Web Browsers - Review of 5 Linux Browsers LXer Syndicated Linux News 0 05-17-2008 01:21 PM
Why I have to turn PCM and master sound levels all the way up? J3N7iL Linux - Hardware 8 02-23-2006 07:37 PM
Can i turn my linux machine into an adsl server? Barneythelegend Linux - General 1 03-08-2004 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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