Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71011 - Location of smbpasswd changed on samba 3.0.8
Summary: Location of smbpasswd changed on samba 3.0.8
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 14:10 UTC by Robert S
Modified: 2004-11-13 02:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert S 2004-11-12 14:10:00 UTC
I upgraded samba to samba-3.0.8 from a previous version.  I was unable to open up any samba shared on a windows client.  I got the following message in my samba log:

[2004/11/13 08:47:19, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(195)
  startsmbfilepwent_internal: file /var/lib/samba/private/smbpasswd did not exist. File successfully created.

I assume this is the new location of the smbpasswd file in the new version.  I've fixed the problem by putting the following in my smb.conf:

smb passwd file = /etc/samba/private/smbpasswd

Is the new location going to be permanent.  I personally think that /etc/samba/private is superior because I back up my /etc/once a week.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2004-11-13 02:03:00 UTC
See bug 70265: due to better FSH compliancy, /etc/samba/private was moved to /var/lib/samba/private (there's a note about this in the new ebuild).
Should you need the older location, it is sufficient to make a symbolic link:
'ln -s /etc/samba/private /var/lib/samba/private'