Re: [Samba] pdbedit - question on migration

2005-03-31 Thread jonlists
Didn't have the ldap machine suffix set. thanks for the input. 
Oversight on my part.

Jon Johnston
Creative Business Solutions
IBM, Microsoft, Novell/Suse, Sophos Consultants
http://www.cbsol.com
blog:http://bingo.cbsol.com

Tony Earnshaw [EMAIL PROTECTED] wrote on 03/30/2005 03:32:41 PM:

 jonlists:
 
  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.
 
  Samba version is 3.09
 
 Why not? Who said computers were different from people, anyway?
 
 What does 'ldap machine suffix say in your smb.conf?
 
 --Tonni
 
 -- 
 mail: [EMAIL PROTECTED]
 http://www.billy.demon.nl
 
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] pdbedit - question on migration

2005-03-30 Thread jonlists
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. 

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

2005-03-30 Thread John H Terpstra
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


Re: [Samba] pdbedit - question on migration

2005-03-30 Thread jonlists
[EMAIL PROTECTED] wrote on 03/30/2005 
02:54:54 PM:

 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.

Aha! I have not since the implication is that is where pdbedit would be 
looking. 
In fact, I was hoping to be able to do this using Yast only, and have the 
end user use Yast for user and group creation, Samba management. 

I notice that the Samba 3 By Example guide recommend use of nis.schema 
instead of the Suse standard. I would assume that is because the scripts 
prefer this schema. 

My main problem is that I must provide a simple to use interface for 
Samba/Server/User management. I've been testing (playing with?) LAM, and 
trying to get IMC running (isn't working on SLES9). 

To be blunt, I'd rather we were using eDirectory and iManager for all of 
this, but in this case, I don't get a choice. 

Thank you.. 
 
 
  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
-- 
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

2005-03-30 Thread Tony Earnshaw
jonlists:

 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.

 Samba version is 3.09

Why not? Who said computers were different from people, anyway?

What does 'ldap machine suffix say in your smb.conf?

--Tonni

-- 
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl


-- 
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 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