On 01/12/14 01:56, Silvio Giunge wrote:> Rowland Penny <rowlandpenny <at> googlemail.com> writes: > >> On 27/11/14 17:10, Silvio Giunge Silva a.k.a kanazuchi wrote: >>> Hi people,when i try to start the samba-tool to do anything, it > returns me a error on passdb importI'm >> trying to find a answer on the list but nothing that can resolve > my problem. >>> the follow errors is in below >>> [2.2-BETA][root <at> pfSense.localdomain]/root: samba- > toolTraceback (most recent call last): File >> "/usr/local/bin/samba-tool", line 36, in <module> from > samba.netcmd.main import cmd_sambatool File >> "/usr/local/lib/python2.7/site-packages/samba/netcmd/main.py", > line 24, in <module> from >> samba.netcmd.delegation import cmd_delegation File >> "/usr/local/lib/python2.7/site- > packages/samba/netcmd/delegation.py", line 23, in <module> from >> samba import provision File >> "/usr/local/lib/python2.7/site- > packages/samba/provision/__init__.py", line 46, in <module> >> from samba.samba3 import smbd, passdb File >> "/usr/local/lib/python2.7/site-packages/samba/samba3/__init__.py", > line 29, in <module> import >> passdbImportError: /usr/local/lib/libsmbconf.so.0: Undefined > symbol "yp_match" >> Hi, could you post a bit more info, i.e. have you provisioned > samba ? >> what version of samba ?, what OS ?, what are you trying to do ?. >> >> Also please post your smb.conf >> >> Rowland >> > Hi Rowland > > I'm using pfSense 2.2 on FreeBSD 10.1 and samba4. > I think that this problem is because any lib is missing, i think > that can be anything with NIS > > >OK, where did you get samba4 from, is it a package from FreeBSD, or did you compile it yourself ? If you compiled it yourself, what packages did you install before the compile ? How did you provision samba4 ? Rowland