Failed To Open /etc/samba/secrets.tdb Error Unable To Open Secrets Database
Contents |
people Affects Status Importance Assigned to Milestone samba (Ubuntu) Edit Confirmed Undecided Unassigned Edit You need to log in to smbclient failed to open var lib samba private secrets tdb change this bug's status. Affecting: samba (Ubuntu) Filed here secrets.tdb location by: Sven.Frings When: 2014-06-08 Confirmed: 2014-12-17 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex
Samba Secrets.tdb Missing
Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Confirmed Undecided
Create Secrets Tdb
Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Hey Ubuntu Samba Bug i found one strange bug in samba after i uninstall samba from my ubuntu laptop and pdb backend samba_dsdb did not correctly init reinstall samba to readd one of my folders t samba duringg the process to add my user name to samba,samba says to me cant open var/lib/samba and so on wasn´t possible to solve this problem with reinstall samba on my ubuntu 14.04 system ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: samba 2:4.1.6+dfsg-1ubuntu2.14.04.1 ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9 Uname: Linux 3.13.0-24-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 Date: Sun Jun 8 22:17:46 2014 InstallationDate: Installed on 2014-04-17 (51 days ago) InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2) ProcEnviron: LANGUAGE=de_DE TERM=xterm PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash RelatedPackageVersions: nautilus 1:3.10.1-0ubuntu9.1 gvfs 1.20.1-1ubuntu1 SambaClientRegression: Yes SourcePackage: samba UpgradeStatus: No upgrade log present (probably fresh install) Tags: trusty amd64 apport-bug Edit Tag help Sven.Frings (svenkirk) wrote on 2014-06-08: #1 Dependencies.txt Edit (5.3 KiB, text/plain; charset="utf-8") SambaInstalledVersions.txt Edit (385 bytes, text/plain; charset="utf-8") Chad West (yesterdayjones) wrote on 2014-07-24: #2 Try a
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Add Samba User
Discuss the workings and policies of this site About Us Learn smbpasswd more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server samba list users Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a https://bugs.launchpad.net/bugs/1327846 minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to recreate samba secrets.tdb file up vote 2 down vote favorite While trying to setup samba on an NFS server I deleted (don't ask) the /var/lib/samba/ contents and now when I http://serverfault.com/questions/405301/how-to-recreate-samba-secrets-tdb-file try to start samba, this messages appears : [2012/07/06 08:19:07.528973, 0] passdb/secrets.c:73(secrets_init) Failed to open /var/lib/samba/private/secrets.tdb [2012/07/06 08:19:07.689735, 0] passdb/secrets.c:73(secrets_init) Failed to open /var/lib/samba/private/secrets.tdb [2012/07/06 08:19:07.690078, 0] smbd/server.c:1240(main) ERROR: smbd can not open secrets.tdb So how do I recreate the secrets.tdb file and the rest of the needed files if any ? samba centos6 share|improve this question asked Jul 6 '12 at 6:25 drcelus 99421024 add a comment| 1 Answer 1 active oldest votes up vote 7 down vote accepted Use smbpasswd which will create the file if it doesn't exist when you add a new user ls -l /var/lib/samba/private/secrets.tdb ls: cannot access /var/lib/samba/private/secrets.tdb: No such file or directory smbbpasswd iain New SMB password: Retype new SMB password: ls -l /var/lib/samba/private/secrets.tdb -rw-------. 1 root root 45056 Jul 6 07:54 /var/lib/samba/private/secrets.tdb share|improve this answer answered Jul 6 '12 at 6:55 Hangin on in quiet desperation 88.2k9115201 2 This only works is the directory /var/lib/samba/private exists. If it doesn't just make it via mkdir then execute the smbpasswd -a user –Karl Morrison
Technology - unRAID Server Community » Legacy Support (unRAID 5 and Older) » General Support (V5 and Older) » [SOLVED] Samba http://lime-technology.com/forum/index.php?topic=10713.0 is stopped, Shared drives will not be visible on the LAN. « previous next » Send this topic Print Pages: [1] Go Down Author Topic: [SOLVED] Samba is stopped, http://www.overclock.net/t/968625/samba-not-working-on-opensuse Shared drives will not be visible on the LAN. (Read 7094 times) Scottathon Member Posts: 54 [SOLVED] Samba is stopped, Shared drives will not be visible on the LAN. « failed to on: February 02, 2011, 05:38:31 PM » Hello,My first unRAID system has been going swimmingly ever since I put it together a few weeks ago, but I've hit a snag when I rebooted this evening. I can't access any network shares, as it appears that Samba stopped working. In unMENU, it says this at the top: "STARTED, 11 disks in failed to open array. Parity is Valid:. Last parity check < 1 day ago with no sync errors. ; SAMBA is STOPPED, Shared drives will not be visible on the LAN."I've read through the forum for solutions, and I have tried the following:Running chkdsk on the flash drive on my Windows machine (There were no errors)Verifying that I can write to the flash drive (I can)Hitting the Start Samba button in unMENURunning "/root/samba restart" over PuTTYRebooting several timesCan someone suggest something else to try? I have attached my log; though, there aren't any red entries when I view the syslog in unMENU.I am running version 4.7-beta1.Thanks for any advice,Scott syslog-2011-02-02.txt (72.23 kB - downloaded 102 times.) « Last Edit: February 03, 2011, 03:48:11 PM by Scottathon » Logged Joe L. Global Moderator Hero Member Posts: 18900 Re: Samba is stopped, Shared drives will not be visible on the LAN. « Reply #1 on: February 02, 2011, 05:57:56 PM » Quote from: Scottathon on February 02, 2011, 05:38:31 PMHello,My first unRAID system has been going swimmingly ever sinc
Not working on openSUSE Featured SponsorsSponsor ShowcasesSound BlasterFeenixAsusIn WinView MoreSelect OneAquatuningAsusFeenixIn WinSound Blaster Recent Reviews See All the Latest Reviews Nixeus 24in, 1920x1080, Full HD, 144Hz, FreeSync, LED Backlight... Reviewed by bluedevil Review Provided by Nixeus Technology. This review is part of the Overclock.net, Overclock Labs program. Full Review Cherry MC 4000 Reviewed by Ino. [Overclock Labs] Cherry MC 4000 Review Cherry offered two of their current office mice for review so I decided to give them both a shot. This review is for the wired MC4000 model. The mouse... Full Review DEMCiflex Dust Filter Reviewed by The Sandman After researching filters (for weeks) these were my weapon of choice and just thought I'd share the experience. I run a super tower Xigmatek Elysium case... Full Review ADATA Technology SU800 SSD Review Reviewed by Jedson3614 SSDs are a required upgrade with how much lower the cost per Gigabyte is today. If you're wondering what's changed in the storage market after the past few years, there has been some... Full Review be quiet! Silent Base 600 - Red Reviewed by Duality92 A big thank you to Be Quiet! for supplying me with this case for review. General Specifications PSU form factor: ATX PS/2 PSU Compatibility: 290mm without bottom fan, 160mm with fan... Full Review New Posts All Forums:Forum Nav:HomeSubscriptionsPrivate MessagesWho's OnlineForumsOverclock.net ForumNew MembersOverclock.net Related News and InformationOverclock.net Member PollsOverclock.net Contests and PromotionsForum Platform Help and Discussion Bugs and Technical IssuesSubmit a Bug ReportResolved IssuesOverclockers CareOverclock.net Folding@Home TeamTeam CompetitionGPU Folding TeamsOriginal Folding TeamsCommunity Folding ProjectFolding@Home Guides and TutorialsOverclock.net BOINC TeamBOINC Guides and TutorialsHardware OptimizationIndustry New