Importing users

View: New views
7 Messages — Rating Filter:   Alert me  

Importing users

by Leopold Palomo-Avellaneda-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

we are migrating our ldap server to another, changing the base name and some
attributes but we would like to import the uid and password of our users.

We have be able to import the users, with their uid and all the significant
information but we have found that:

- We cannot erase multiple users. We don't know why, but if we select some
users and mark delete, LAM doesn't erase them. We have to manually erase them
one by one.

- We have not be able to import the password field. We have test the
userPassword label, posix_userpassword, etc and no import.

Any idea?

Regards,

Leo

--
--
Linux User 152692
Catalonia

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Roland Gruber (LAM) :: Rate this Message:

| View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Leo,

On 20.04.2012 14:10, Leopold Palomo-Avellaneda wrote:
> - We cannot erase multiple users. We don't know why, but if we
> select some users and mark delete, LAM doesn't erase them. We have
> to manually erase them one by one.

did you use the delete button on the top of the page? The icon at each
user entry only deletes a single user.
Do you run LAM 3.7?


> - We have not be able to import the password field. We have test
> the userPassword label, posix_userpassword, etc and no import.

How do you import the users, do you use LAM file upload (CSV file) or
the import function in tree view?

If you are migrating a whole server you may want to check the tools
"slapcat" and "slapadd" which can dump/load an OpenLDAP database.


Best regards

Roland
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+SsSoACgkQq/ywNCsrGZ7+RACfSDP10YtHULMlBfY8zagiotEM
Lq0AnistxQqGCWr0jRv7l644lmLpTa/P
=Okhy
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Leopold Palomo-Avellaneda-2 :: Rate this Message:

| View Threaded | Show Only this Message

A Dissabte, 21 d'abril de 2012, Roland Gruber va escriure:
> - gpg control packet
> Hi Leo,

first of all, sorry for an in concrete mail. After sent it I thought that I
should have add more info.

> On 20.04.2012 14:10, Leopold Palomo-Avellaneda wrote:
> > - We cannot erase multiple users. We don't know why, but if we
> > select some users and mark delete, LAM doesn't erase them. We have
> > to manually erase them one by one.
>
> did you use the delete button on the top of the page? The icon at each
> user entry only deletes a single user.


yes,  I have used the delete button on the top of the page.


> Do you run LAM 3.7?

no, 3.6-1. Your debian package running in a squeeze box.

>
> > - We have not be able to import the password field. We have test
> > the userPassword label, posix_userpassword, etc and no import.
>
> How do you import the users, do you use LAM file upload (CSV file) or
> the import function in tree view?

LAM file upload (CSV file).

>
> If you are migrating a whole server you may want to check the tools
> "slapcat" and "slapadd" which can dump/load an OpenLDAP database.

no, because we have changed the schema ...

do you think that the import function in the tree view will work better?

Best regards

Leo


--
--
Linux User 152692     PGP: 0xF944807E
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Roland Gruber (LAM) :: Rate this Message:

| View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Leo,

On 21.04.2012 23:55, Leopold Palomo Avellaneda wrote:
> yes,  I have used the delete button on the top of the page.
>
>
>> Do you run LAM 3.7?
>
> no, 3.6-1. Your debian package running in a squeeze box.

I am not 100% sure if there was a bug in 3.6 but in 3.7 multi-delete
works. 3.7 also fixes some other problems.


>>> - We have not be able to import the password field. We have
>>> test the userPassword label, posix_userpassword, etc and no
>>> import.
>>
>> How do you import the users, do you use LAM file upload (CSV
>> file) or the import function in tree view?
>
> LAM file upload (CSV file).

The column must be named "posixAccount_password". Please use the
sample CSV on the upload page as template.
You will need the clear text passwords. Otherwise, LAM will hash the
existing password hashes again. If you only have hashed passwords in
your old database you can set the password hashing in the LAM server
profile to PLAIN, this will not change the password values in the CSV.


> do you think that the import function in the tree view will work
> better?

This will upload LDIF files. It depends what is easier for you to
generate. LDIF is more flexible but CSV can be edited in a simple
spreadsheet application.


- --

Best regards

Roland Gruber


LDAP Account Manager
http://www.ldap-account-manager.org/

Want more? Get LDAP Account Manager Pro!
http://www.ldap-account-manager.org/lamcms/lamPro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+T5M4ACgkQq/ywNCsrGZ5MlQCfbjdvmWMnn4T9bwNbOvYxfxkt
AFsAn3vuQgj3c4StDPrTmPhBnTHzk9at
=YAra
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Leopold Palomo-Avellaneda-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Roland,

A Diumenge 22 Abril 2012, Roland Gruber va escriure:

> Hi Leo,
>
> On 21.04.2012 23:55, Leopold Palomo Avellaneda wrote:
> > yes,  I have used the delete button on the top of the page.
> >
> >
> >> Do you run LAM 3.7?
> >
> > no, 3.6-1. Your debian package running in a squeeze box.
>
> I am not 100% sure if there was a bug in 3.6 but in 3.7 multi-delete
> works. 3.7 also fixes some other problems.

Well, I'm using now lam 3.7-1 and still fails. Maybe it's a problem of the
kind of users that have some strange field and do some problem.

>
> >>> - We have not be able to import the password field. We have
> >>> test the userPassword label, posix_userpassword, etc and no
> >>> import.
> >>
> >> How do you import the users, do you use LAM file upload (CSV
> >> file) or the import function in tree view?
> >
> > LAM file upload (CSV file).
>
> The column must be named "posixAccount_password". Please use the
> sample CSV on the upload page as template.
> You will need the clear text passwords. Otherwise, LAM will hash the
> existing password hashes again. If you only have hashed passwords in
> your old database you can set the password hashing in the LAM server
> profile to PLAIN, this will not change the password values in the CSV.

Ok, this has been worked.


>
> > do you think that the import function in the tree view will work
> > better?
>
> This will upload LDIF files. It depends what is easier for you to
> generate. LDIF is more flexible but CSV can be edited in a simple
> spreadsheet application.

My test importing with ldif files failed. However the CSV import has worked.

Still worried me the delete function. Please, could you look on it?

Regards,

Leo


--
--
Linux User 152692
Catalonia

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Roland Gruber (LAM) :: Rate this Message:

| View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Leo,

On 23.04.2012 10:05, Leopold Palomo-Avellaneda wrote:
>> I am not 100% sure if there was a bug in 3.6 but in 3.7
>> multi-delete works. 3.7 also fixes some other problems.
>
> Well, I'm using now lam 3.7-1 and still fails. Maybe it's a
> problem of the kind of users that have some strange field and do
> some problem.

maybe your Apache has Suhosin protection activated. This can cause
this behaviour.

See:

http://www.ldap-account-manager.org/static/doc/manual/ch01.html#idp5317888


- --

Best regards

Roland Gruber


LDAP Account Manager
http://www.ldap-account-manager.org/

Want more? Get LDAP Account Manager Pro!
http://www.ldap-account-manager.org/lamcms/lamPro
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+W57EACgkQq/ywNCsrGZ6x2ACZAYoQbz+p1hVO6XrGe/WuNKgA
jaQAnRj1Sl+bZfz4XugO3PNjnJB3vpnf
=e7c+
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public

Re: Importing users

by Leopold Palomo-Avellaneda-2 :: Rate this Message:

| View Threaded | Show Only this Message

A Dimarts 24 Abril 2012, Roland Gruber va escriure:

> Hi Leo,
>
> On 23.04.2012 10:05, Leopold Palomo-Avellaneda wrote:
> >> I am not 100% sure if there was a bug in 3.6 but in 3.7
> >> multi-delete works. 3.7 also fixes some other problems.
> >
> > Well, I'm using now lam 3.7-1 and still fails. Maybe it's a
> > problem of the kind of users that have some strange field and do
> > some problem.
>
> maybe your Apache has Suhosin protection activated. This can cause
> this behaviour.
>
> See:
>
> http://www.ldap-account-manager.org/static/doc/manual/ch01.html#idp5317888


ok, now re-reading the mail I understood what you said. Not needed finally. I
could import the users more or less.

Thanks.


--
--
Linux User 152692
Catalonia

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lam-public mailing list
Lam-public@...
https://lists.sourceforge.net/lists/listinfo/lam-public