Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283571 - example smbusers config file comes with net-fs/samba-server-3.3.7 has wrong syntax
Summary: example smbusers config file comes with net-fs/samba-server-3.3.7 has wrong s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 06:10 UTC by Kraml Liu
Modified: 2009-09-15 15:41 UTC (History)
0 users

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 Kraml Liu 2009-09-03 06:10:31 UTC
The example config file /etc/samba/smbusers comes with samba-server-3.3.7 has wrong syntax, its content is:

-----------------------------------------------------
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-server/files/3.3/smbusers,v 1.1 2009/06/26 20:24:11 patrick Exp $

# Syntax:
#   Unix_name: SMB_name1 SMB_name2 ...

root: Administrator admin
nobody: guest pcguest smbguest
------------------------------------------------------

While the correct syntax should be:
Unix_name = SMB_name1 SMB_name2 ...

i.e. the separator is "=" not ":". It is correct in older samba package.

If an admin followed the example it will render the username map configuration totally unusable.

Reproducible: Always
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2009-09-15 15:41:04 UTC
Thanks for the report!
Commited