Gentoo Archives: gentoo-user

From: David Obwaller <david.obwaller@×××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] setup samba server
Date: Tue, 06 Dec 2005 10:43:17
Message-Id: 20051206103638.GA26737@www.ee-software.at
1 Hi,
2
3 I'm trying to setup a samba server on my gentoo system to share a few different
4 directories. I want user authentication, so I can say user A has access to dir
5 nr.1, user B to dir nr.1 and nr.2 etc. and appropriately set permissions on the
6 gentoo server.
7
8 I started by using the default samba config (smb.conf) shipped with the gentoo
9 ebuild. In [global] I set
10
11 security = user
12 smb passwd file = /etc/samba/private/smbpasswd
13
14 and in the shares I set
15
16 public = no
17 writeable = yes
18 browseable = yes
19 printable = no
20 valid users = david
21
22 When I try to create a smb user with smbpasswd -a it tells me
23
24 # smbpasswd -a david
25 New SMB password:
26 Retype new SMB password:
27 Failed to initialise SAM_ACCOUNT for user david.
28 Failed to modify password entry for user david
29
30 Can anyone guide me to a correct setup. My research on google and groups.google
31 didn't help me much.
32
33 Thanks in advance for any hints.
34
35 David
36 --
37 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] setup samba server Ryan Viljoen <ravilj@×××××.com>
Re: [gentoo-user] setup samba server Ryan Viljoen <ravilj@×××××.com>