[Samba] Problem to import passdb in samba-tool

Rowland Penny rowlandpenny at googlemail.com
Thu Nov 27 11:15:19 MST 2014

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


More information about the samba mailing list