Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190409 - error in Code Listing 4.1 (smb.conf) about guest account
Summary: error in Code Listing 4.1 (smb.conf) about guest account
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/quick-sa...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 14:01 UTC by Davide Cendron (RETIRED)
Modified: 2007-09-15 16:48 UTC (History)
1 user (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 Davide Cendron (RETIRED) gentoo-dev 2007-08-27 14:01:19 UTC
Hi, quick-samba-howto.xml has an error in Code Listing 4.1, where a smb.conf sample is showed.

There's the line

guest account = samba

but in a clean installation, after emerging samba, there isn't any "samba" user available, and the server fails to start, showing in error log something like

passdb/pdb_interface.c:guest_user_info(295)
guest_user_info: Unable to locate guest account [samba]!
smbd/server.c:main(960)
ERROR: failed to setup guest info.

A correct configuration for this statement could be:

guest account = nobody

or simply avoiding this statement, because the default for "guest account" (if not specified) is just "nobody".
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2007-09-15 16:43:56 UTC
Reassigning to me as Josh is away for the moment...
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2007-09-15 16:48:58 UTC
Confirmed and fixed in CVS.