Re: [Samba] Migrating /etc/shadow passwords to LDAP

2003-10-17 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Date: Thu, 16 Oct 2003 12:25:48 +0200 (CEST)
 From: Dani Pardo [EMAIL PROTECTED]
 Subject: [Samba] Migrating /etc/shadow passwords to LDAP
 To: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: TEXT/PLAIN; charset=US-ASCII


   Hi!. Since now, I was using a Workgroup with samba 2.2, and samba
 was using  /etc/passwd for user accounts (plain text passwords). Now I'm
 migrating to  LDAP, and I'm looking for a way to migrate the passwords
 without every user typing the password again..
 It seems that idealix's scripts (smbldap-migrate-accounts.pl) will
 migrate from a previous NT based PDC.. but it's not my case.
 Any suggestion? Thanks!

If you're running samba-2.2.x compiled with LDAP support, you probably
want to read this article:

http://www.mandrakesecure.net/en/docs/samba-pdc.php

The next article
(http://www.mandrakesecure.net/en/docs/samba-ldap-advanced.php) also has
some tricks to make life easier, so read it before you start ...

Regards,
Buchan


- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/j9earJK6UGDSBKcRAsVKAKCX/OnZi2SQCCTyKSKNaplxQeP+aACbBciC
jnfJO1M5T67Giff+lUjy838=
=05bW
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Migrating /etc/shadow passwords to LDAP

2003-10-16 Thread Dani Pardo

Hi!. Since now, I was using a Workgroup with samba 2.2, and samba
was using  /etc/passwd for user accounts (plain text passwords). Now I'm
migrating to  LDAP, and I'm looking for a way to migrate the passwords
without every user typing the password again..
It seems that idealix's scripts (smbldap-migrate-accounts.pl) will
migrate from a previous NT based PDC.. but it's not my case.
Any suggestion? Thanks!

-- 
Dani Pardo, [EMAIL PROTECTED]
Enplater S.A

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Migrating /etc/shadow passwords to LDAP

2003-10-16 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dani Pardo írta:
|   Hi!. Since now, I was using a Workgroup with samba 2.2, and samba
| was using  /etc/passwd for user accounts (plain text passwords). Now I'm
| migrating to  LDAP, and I'm looking for a way to migrate the passwords
| without every user typing the password again..
| It seems that idealix's scripts (smbldap-migrate-accounts.pl) will
| migrate from a previous NT based PDC.. but it's not my case.
| Any suggestion? Thanks!
|
There are the openldap-migration scripts from www.padl.com, they should
do the trick. Then there are some scripts in samba/scripts (exact
location may differ) with which you could migrate your smbpasswd file.
I did it with this tools.
Good Luck!

Geza Gemes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/joaW/PxuIn+i1pIRAuPSAJ9teo+szQ5s+TmPuxkNVi1Z8/McagCgmPwr
qn5/55yI+y6p51Q6jh+PHCk=
=fUDN
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Migrating /etc/shadow passwords to LDAP

2003-10-16 Thread Dani Pardo
On Thu, 16 Oct 2003, Gémes Géza wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Dani Pardo írta:
 | Hi!. Since now, I was using a Workgroup with samba 2.2, and samba
 | was using  /etc/passwd for user accounts (plain text passwords). Now I'm
 | migrating to  LDAP, and I'm looking for a way to migrate the passwords
 | without every user typing the password again..
 | It seems that idealix's scripts (smbldap-migrate-accounts.pl) will
 | migrate from a previous NT based PDC.. but it's not my case.
 | Any suggestion? Thanks!
 |
 There are the openldap-migration scripts from www.padl.com, they should
 do the trick.

  Yep, they do the trick of exporting the posixAccount, the user, se
below.

 Then there are some scripts in samba/scripts (exact
 location may differ) with which you could migrate your smbpasswd file.
 I did it with this tools.

  When I have the (normal) user in LDAP, i must run pdbedit -a or
smbpasswd -a  user in order to add the needed samba attributes of the
ldap samba.schema. Ok, but smbpassword or pbedit ask me to enter the
password, and I don't know the passord of my users, so I was wondering if
there is any tool to export them.. but I think it's impossible, I'll have
to ask all my users to go and type-in their password.



-- 
Dani Pardo, [EMAIL PROTECTED]
Enplater S.A

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba