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

2005-03-30 Thread Collen
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)
[EMAIL PROTECTED] /usr/local/samba/bin# ./pdbedit -i mysql
Connecting to database server, host: 192.168.4.36, user: samba, password:
X, database: samba, port: 3306
Connecting to database server, host: 192.168.4.36, user: samba, password:
X, 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.
[EMAIL PROTECTED] /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 [EMAIL PROTECTED]:
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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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

2005-03-30 Thread Luís Miguel Silva
Hello all,
Well, what about mysql? :o)
[EMAIL PROTECTED] /usr/local/samba/bin# ./pdbedit -i mysql
Connecting to database server, host: 192.168.4.36, user: samba, password:
X, database: samba, port: 3306
Connecting to database server, host: 192.168.4.36, user: samba, password:
X, 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.
[EMAIL PROTECTED] /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 [EMAIL PROTECTED]:
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
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

+
| Luís Miguel Ferreira da Silva
| Network Administrator @ISPGaya
| Instituto Superior Politécnico Gaya
| Rua António Rodrigues da Rocha, 291/341
| Sto. Ovídio • 4400-025 V. N. de Gaia
| Tel: +351 223745730/3/5
| GSM: +351 912671471 +351 936371253
+

Este email foi enviado via o webmail do ISPGaya
Instituto Superior Politécnico Gaya
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba