Olá,
Hoje decidi formar meu servidor de casa e quando “terminei” de configurar o samba eu tive alguns problemas.
Quando eu estava tentando conectar ao meu Ubuntu 12.04 server, eu recebia a seguinte mensagem: “Failed to Retrieve Share List from Server”
Para resolver eu adicionei dentro do arquivo de configuração /etc/samba/smb.conf na seção [globals] o seguinte:
name resolve order = bcast host
Eu fiz isso no meu computador também. (Mas não tenho certeza se isso é necessário, eu acredito que não). Reiniciei o servidor e esta funcionando.
Dentro do meus arquivos de logs /var/log/samba/log.XXXX eu estava recebendo diversas mensagens de smb_panic:
[2013/03/07 22:13:43.607536, 0] lib/util.c:1122(smb_panic) smb_panic(): calling panic action [/usr/share/samba/panic-action 1928]
(Novamente, eu não tenho certeza que essa mensagem esta exclusivamente relacionada com esse problema e acredito que não, mas não custa nada deixar claro que eu também tinha ela.)
Outra mensagem que eu estava vendo quando utilizava smbclient -L SERVER era:
NT_STATUS_PIPE_BROKEN
Se você deseja ver todo o meu smb.conf continue lendo!
O meu arquivo de configurações é uma pasta Compartilhados que é somente leitura mas que qualquer um pode acessar (guest) e a outra é Writable, onde todos podem escrever. (guest) Ou seja, minha configuração não utiliza de autenticação para os meus compartilhamentos.
Se eu lembrar de mais algum detalhe eu aviso vocês.
Thanks,
Matheus
PS: Eu acredito que este não seja um problema exclusivo do Ubuntu 12.04 ou 12.10 mas sim alguma modificação do Samba
Just some small changes from default file, but to solve this problem took me sometime.
#======================= Global Settings =======================
[global]
guest account = nobody
## Browsing/Identification #### Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)# Windows Internet Name Serving Support Section:
# WINS Support – Tells the NMBD component of Samba to enable its WINS Server
# wins support = no# WINS Server – Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no# What naming service and in what order should we use to resolve host names
# to IP addresses
name resolve order = bcast host#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0# Only bind to the named interfaces and/or networks; you must use the
# ‘interfaces’ option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m# Cap the size of the individual log files (in KiB).
max log size = 1000# If you want Samba to only log through syslog then set the following
# parameter to ‘yes’.
# syslog only = no# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d####### Authentication #######
# “security = user” is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
security = user# You may wish to use password encryption. See the section on
# ‘encrypt passwords’ in the smb.conf(5) manpage before enabling.
encrypt passwords = true# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsamobey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# ‘passwd program’. The default is ‘no’.
pam password change = yes# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user########## Domains ###########
# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the ‘domain master’ setting to no
#
; domain logons = yes
#
# The following setting only takes effect if ‘domain logons’ is set
# It specifies the location of the user’s profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user’s home directory
# (this is Samba’s default)
# logon path = \\%N\%U\profile# The following setting only takes effect if ‘domain logons’ is set
# It specifies the location of a user’s home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U# The following setting only takes effect if ‘domain logons’ is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in ‘DOS’ file format convention
; logon script = logon.cmd# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser –quiet –disabled-password –gecos “” %u# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a “machines” group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c “%u machine account” -d /var/lib/samba -s /bin/false %u# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup –force-badname %g########## Printing ##########
# If you want to automatically load your printer list rather
# than setting them up individually then you’ll need this
# load printers = yes# lpr(ng) printing. You may wish to override the location of the
# printcap file
; printing = bsd
; printcap name = /etc/printcap# CUPS printing. See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
; printing = cups
; printcap name = cups############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c ‘/usr/bin/linpopup “%f” “%m” %s; rm %s’ &# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to ‘no’; otherwise, the default behavior is recommended.
# domain master = auto# Some defaults for winbind (make sure you’re not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash# The following was the default behaviour in sarge,
# but samba upstream reverted the default because it might induce
# performance issues in large organizations.
# See Debian bug #368251 for some of the consequences of *not*
# having this setting and smb.conf(5) for details.
; winbind enum groups = yes
; winbind enum users = yes# Setup usershare options to enable non-root users to share folders
# with the net usershare command.# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100# Allow users who’ve been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user’s home director as \\server\username
;[homes]
; comment = Home Directories
; browseable = no# By default, the home directories are exported read-only. Change the
# next parameter to ‘no’ if you want to be able to write to them.
; read only = yes# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700# By default, \\server\username shares can be connected to by anyone
# with access to the samba server. Un-comment the following parameter
# to make sure that only “username” can connect to \\server\username
# The following parameter makes sure that only “username” can connect
#
# This might need tweaking when using external authentication schemes
; valid users = %S# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes# Un-comment the following and create the profiles directory to store
# users profiles (see the “logon path” option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700#[printers]
# comment = All Printers
# browseable = no
# path = /var/spool/samba
# printable = yes
# guest ok = no
# read only = yes
# create mask = 0700# Windows clients look for this share name as a source of downloadable
# printer drivers
#[print$]
# comment = Printer Drivers
# path = /var/lib/samba/printers
# browseable = yes
# read only = yes
# guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace ‘lpadmin’ with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server’s CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don’t want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom[Compartilhados]
comment = “Shared Files”
browsable = yes
read only = yes
path = “/mnt/1tb/Compartilhados”
guest ok = yes
public = yes[Writable]
comment = “Writable Folder”
browsable = yes
read only = no
path = “/mnt/1tb/Writable”
guest ok = yes
public = yes
best spread live betting explained – Teri –
account
online sportsbook sites
Feel free to visit my website: free Betting tips today
dá sa živiť stávkovaním
Here is my webpage; analýzy na tipos extraligu (Berenice)
best value betting tips (https://gardenerstip.com)
welcome offers
online 200 free spinů české casino vklad přes skrill
automaty za peníze Pardubice
Feel free to visit my blog post; mobilní casino bez nutnosti vkladu
best weekend betting tips under 2.5 goals
new sports betting provider (Brandi) apps real money
odds for Betting Exchange Commission explained
nejlepší online živý blackjack
My homepage … Nové Casino Bonus Za Registraci Bez Vkladu – Deloz.Cz,
football top mobile betting sites
best bitcoin wallet for sports mobile betting Apps (Ngproofing.com)
betting exchange commission rates
My web page: top sportsbooks ontario [Savannah]
Слушайте кто сталкивался Отец не выходит из штопора Дети напуганы Таблетки не помогают Короче, только это реально спасло — оказание наркологической помощи профессионально Приехал через 40 минут В общем, телефон и цены тут — наркологическая помощь недорого наркологическая помощь недорого Не ждите пока станет хуже Перешлите тем кто в такой же ситуации
https://mencarevirtual.com/# MenCare
Ugh, moving — such a grind. Dealt with this mess a couple months back, and I swear, it was pure chaos. You start with boxes, then suddenly you’re drowning in clutter. My cousin recommended another, but I didn’t trust them blindly. Anyway, when you’re hunting for movers in nevada, don’t settle for the first quote. Here’s the thing, local nevada movers know the routes — particularly on narrow streets. Like I did — called a bunch of places — and believe me, it was 100% worth it. Check this out that helped me decide. nevada moving services https://movers-in-nevada-pcq.com That one page saved me hours of digging. No guessing games — straightforward quotes. Ended up going with their top pick and it was surprisingly painless. Take your time. Check their license. The right company makes moving boring. Good luck with the move!
Ugh, moving — such a grind. I just went through it a couple months back, and honestly, I almost lost it. You start with boxes, then suddenly you’re drowning in clutter. My buddy used one crew, but I decided to look deeper. Long story short, when you’re hunting for movers in nevada, compare at least three options. Why?, experienced crews make all the difference — especially with summer temps. Like I did — read reviews for hours — and believe me, it was 100% worth it. Check this out that made everything click. nevada moving company https://movers-in-nevada-pcq.com That one page showed me what I needed. Rates are transparent — zero BS. Scheduled my move that week and it was surprisingly painless. So yeah, don’t rush. Ask about equipment. Good movers turn chaos into routine. Hope this points you in the right direction!
Oh man, moving is brutal. Done that just recently, and seriously, I nearly lost my mind. Seems easy enough, then suddenly your whole life is in cardboard. Someone online praised one company, but I wanted to be sure. Anyway: when you’re on the hunt for movers in nevada, compare a few options. Look, experienced crews are worth every penny — especially for long hauls. For example — made like five calls — and believe it or not, it was totally worth the time. So here’s the link that finally made it clear. nevada movers nevada movers That one spot cut my search in half. No guessing games — no hidden charges. Scheduled my whole move and no drama at all. Be smart about it. Confirm the timeline. The right company turns stress into routine. You got this!
Moving is never fun — been there myself a while back, and honestly, I almost lost it. First you grab some boxes, then you’re buried under piles of stuff. Neighbor had a great experience with another, but I wasn’t going to trust blindly. So here it is: when you’re looking for reliable moving services around here, don’t grab the first option. Look, companies here handle the weather better — especially with long distances. For example — called about five places — and trust me, that homework saved me big time. Check this out that put everything in one place. southern nevada movers https://movers-in-nevada-vzk.com Just that source cut my search in half. No hidden tricks — clear breakdowns. Booked through that link and zero issues from start to finish. Take your time. Confirm the schedule. Quality service is worth every dollar. Hope this helps!
Moving is seriously stressful — had to deal with this a while back, and honestly, it was a total mess. First you grab some boxes, then you’re buried under piles of stuff. A friend recommended one crew, but I decided to dig deeper. So here it is: when you’re looking for movers in nevada, do your research upfront. Because, experienced crews make everything easier — especially with long distances. I personally — called about five places — and I’m not exaggerating, that homework saved me big time. This is the resource that put everything in one place. nevada long distance movers nevada long distance movers That one page cut my search in half. Prices are up front — clear breakdowns. Booked through that link and they handled it like pros. Be smart about this. Confirm the schedule. Quality service is worth every dollar. Wish I had this info earlier!
Moving is never easy — went through this a few months ago, and honestly, quite the ordeal. You think packing is simple, then you discover how much you actually own. A buddy used one outfit, but I didn’t want to gamble. Bottom line: when you need movers in nevada, check reviews thoroughly. Here’s the deal: professional teams save you from drama — especially on long hauls. I personally — made a bunch of calls — and I’m not making this up, that extra effort was a lifesaver. So take a look at this that finally made everything clear. movers in nevada movers in nevada Just that one link gave me what I needed. No hidden catches — no surprise costs. Went with their recommendation and absolutely no problems. Be thorough with this. Nail down the timeline. Good service is worth every cent. Hope this points you the right way!
Moving is never easy — just dealt with it a couple of months back, and I’m telling you, it was insane. It starts harmless enough, then reality hits hard. A cousin recommended another, but I didn’t want to gamble. Bottom line: when you need movers in nevada, compare several options. Why?: professional teams save you from drama — especially in summer. For example — read through tons of feedback — and I’m not making this up, that extra effort was a lifesaver. So take a look at this that finally made everything clear. nevada long distance movers https://movers-in-nevada-mtw.com Just that one link cut through the confusion. No hidden catches — clear quotes. Set up my whole move and they delivered perfectly. Take your time. Confirm their equipment. The right company turns stress into routine. Hope this points you the right way!
Ugh, moving — such a grind. I just went through it a couple months back, and I swear, I almost lost it. You start with boxes, then boom — you realize how much stuff you have. My cousin recommended another, but I didn’t trust them blindly. Basically, when you’re hunting for reliable moving services around here, don’t settle for the first quote. Look, local nevada movers know the routes — particularly on narrow streets. Like I did — asked about insurance and extra fees — and trust me, I dodged a bullet. So here’s the link that finally gave me clarity. nevada long distance movers https://movers-in-nevada-pcq.com That one page saved me hours of digging. Rates are transparent — no hidden junk fees. Ended up going with their top pick and they showed up on time. So yeah, don’t rush. Confirm the timeline. Good movers turn chaos into routine. Good luck with the move!
Ugh, moving — seriously the worst. Had my own horror story a couple months back, and honestly, I wanted to cry. You start with boxes, then suddenly you’re drowning in clutter. Someone at work mentioned a company, but I’m glad I double-checked. Long story short, when you’re hunting for a decent moving company in nevada, compare at least three options. Here’s the thing, experienced crews make all the difference — especially with summer temps. Take me, for example — asked about insurance and extra fees — and I’m not making this up, I dodged a bullet. Check this out that made everything click. nevada movers https://movers-in-nevada-pcq.com That one page cut through the noise. Prices are right there — zero BS. Ended up going with their top pick and they showed up on time. Take your time. Ask about equipment. The right company makes moving boring. Hope this points you in the right direction!
Moving is seriously stressful — been there myself a while back, and honestly, I almost lost it. First you grab some boxes, then bam — you realize how much junk you’ve got. Coworker used someone else, but I decided to dig deeper. So here it is: when you’re looking for movers in nevada, don’t grab the first option. The thing is, nevada based movers know the local routes — especially for cross-town moves. What I did — asked about insurance and extra fees — and believe me, I avoided a huge headache. So here’s the link that helped me lock in a good choice. movers nevada [url=https://movers-in-nevada-vzk.com]movers nevada[/url] That one page showed me exactly what I needed. No hidden tricks — straightforward rates. Booked through that link and zero issues from start to finish. So don’t rush it. Check their credentials. Quality service is worth every dollar. Good luck with your move!
Ребята кто ищет работу Задолбался я уже искать нормальную работу Работодатели только время тратят Короче, реально рабочий вариант — вакансии казахстана с проживанием Проживание и питание часто включены В общем, смотрите сами по ссылке — работа для русских в казахстане работа для русских в казахстане Не сидите без денег Перешлите тому кто ищет работу
Слушайте кто хочет заработать То вообще без опыта не берут Пересмотрел тысячи вакансий Короче, единственный где есть нормальные предложения — вакансия в казахстане с обучением Берут даже без опыта В общем, жмите чтобы не потерять — казахстан работа казахстан работа Найдите нормальную работу Перешлите тому кто ищет работу
So making a big move — total ordeal. Been there not so long ago, and take it from me, it was brutal. Think it’s just packing, then you see how much you’ve accumulated. One friend recommended X, but I decided to dig properly. So here’s the long and short: when you’re after a solid moving company here, take your pick carefully. Simple reason: local expertise is half the battle — especially during peak season. As for me — asked pointed questions — and I’m not bluffing, that effort was gold. Check out this resource that finally clicked for me. nevada moving services https://movers-in-nevada-bng.com That single source saved me hours. Everything’s clearly stated — nothing off the books. Picked a crew off that page and the move went like clockwork. Take your sweet time. Double-check equipment. Quality service turns fear into relief. Hope this helps you navigate the chaos!
Moving is always a hassle — been there myself a recently, and I swear, it was a total mess. First you grab some boxes, then you’re buried under piles of stuff. A friend recommended one crew, but I decided to dig deeper. So here it is: when you’re looking for movers in nevada, compare at least a few. Look, companies here handle the weather better — especially for cross-town moves. For example — read through tons of reviews — and I’m not exaggerating, that homework saved me big time. So here’s the link that finally made sense. southern nevada movers https://movers-in-nevada-vzk.com That one page saved hours of scrolling. Prices are up front — straightforward rates. Scheduled the whole move and zero issues from start to finish. Take your time. Check their credentials. The right movers make it look easy. Good luck with your move!
Oh man, this whole moving thing is exhausting. Went through it just last summer, and seriously, I nearly lost my mind. Seems easy enough, then it hits you how much crap you own. My coworker used some guys, but I wanted to be sure. Basically: when you’re on the hunt for decent moving services out here, don’t just take the first price. The thing is, experienced crews are worth every penny — when you’re moving across state lines. Me, I did this — checked their licensing — and I’m not exaggerating, I avoided a huge headache. So here’s the link that put all the info in one place. movers nevada movers nevada That one spot cut my search in half. Rates are transparent — zero fine print. Went with their top recommendation and it went flawlessly. So take your time. Ask about equipment. A good mover makes moving boring. Hope this helps you out!
bettingtips sikre
Review my homepage :: value betting forklaring
Здорова, народ Близкий человек уже несколько дней в запое Соседи стучат в стену Нужен врач прямо сейчас Короче, единственный кто реально помог — врач нарколог на дом с гарантией Приехал через 40 минут В общем, вся инфа по ссылке — вызов нарколога круглосуточно https://kodirovanie.narkolog-na-dom-volgograd013.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации
Реутов, всем привет Ситуация критическая Дети напуганы В больницу тащить страшно Короче, врач приехал и поставил систему — вызов нарколога на дом реутов быстро Дал рекомендации и успокоил семью В общем, жмите чтобы сохранить — наркологическая помощь на дому в реутове https://alkogolizm.narkolog-na-dom-moskva-rty.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации
Betting Badminton for begyndere
winnende online goede wedden op snooker (Ofelia)
golf
casino ohne 1 euro limit paysafecard mit 5 euro maximaleinsatz
naar online voor wedden bookmaker 2026 op paarden
wettformat gratiswette
My page … Wo Kann Man Am Besten Basketball Wetten
tipwin wettbüro
My homepage; basketball wetten nba
beste sites voor sportwedden
Here is my blog post; ios wedden Hockey
aktuelle gratiswetten
Here is my web page: wetten basketball Pro A
online college basketball wetten strategie (http://tinytunesdjs.com/herausforderungen-beim-umsetzen-von-bonusangeboten/) mit
bonus
betrouwbare mobiel trucs bookmaker wedden 2026, Niki,
sistema scommesse live pronostici; Will, i vostri pronostici
live odds champions league
My page: oddstips bedste (Bonny)
Aposta Esportiva Best
ganha champions
grand national free bet no deposit
Also visit my web page: live horse racing Online betting
sportwetten anbieter schweiz
my webpage was heißt Hc 0 7 5 2 bei basketball wetten
betting on euro systems that work
ohne einzahlung bonus sportwetten
My web page … basketball viertel wetten