[Samba] pdbedit - question on migration what about mysql?

Collen collen at zeist.hermanjordan.nl
Thu Mar 31 07:02:51 GMT 2005


hehehehe..
Try setting up your smb.conf for using mysql,
or try compiling samba with the expsam mysql,
or by sure mysql is configed the right way (importing the example 
database from the samba dir)

basicly, my guesses is that samba did not find the mysql-passwd backend!
that's all.

Later
Collen

Luís Miguel Silva wrote:
> Hello all,
> 
> Well, what about mysql? :o)
> root at auth /usr/local/samba/bin# ./pdbedit -i mysql
> Connecting to database server, host: 192.168.4.36, user: samba, password:
> XXXXXXXXX, database: samba, port: 3306
> Connecting to database server, host: 192.168.4.36, user: samba, password:
> XXXXXXXXX, database: samba, port: 3306
> No identifier specified. Check the Samba HOWTO Collection for details
> pdb backend mysql did not correctly init (error was 
> NT_STATUS_INVALID_PARAMETER)
> Loading mysql failed!
> Can't initialize passdb backend.
> root at auth /usr/local/samba/bin#
> 
> PS: when i do a pdbedit -L all the accounts get listed!
> PS2: i also want to export onto a ldapsam db :oP
> 
> Best,
> Luís
> 
> Quoting John H Terpstra <jht at samba.org>:
> 
>> On Wednesday 30 March 2005 12:37, jonlists wrote:
>>
>>> question on pdbedit - when using it for a migration - existing data is
>>> stored in tdbsam.
>>>
>>> pbdedit -i tdbsam -e ldapsam
>>>
>>> It wants to take existing machine accounts and put them into an
>>> ou=Computers. I'd rather it put them in ou=People.
>>
>>
>> OK. How have you configured this in smb.conf and in the smbldap-tools 
>> scripts?
>>
>> - John T.
>>
>>>
>>> Samba version is 3.09
>>>
>>> Thanks.......
>>>
>>> Jon Johnston
>>> Creative Business Solutions
>>> IBM, Microsoft, Novell/Suse, Sophos Consultants
>>> http://www.cbsol.com
>>> blog:http://bingo.cbsol.com


More information about the samba mailing list