Hi all,
thanks for you replay, I think I found a solution, I build some php
script around the famous smbldap tools and it look likes that it works
for me .
The data comes from a csv file, this part isnt finished but I think I
will run.
Andreas
Am 06.12.2011 21:54, schrieb Mauricio Tavares:
On Tue, Dec 6, 2011 at 3:30 PM, Raffael Sahli public@raffaelsahli.com wrote:
Where does all the user data come from?
Just create a bash script or what else....
I would agree. Main question would be whether you would do a
ldapadd per user or run a big one. Just force them all change their
password on first login and you should be set.
On 06.12.2011 20:59, Andreas Rudat wrote:
Hello,
I have 100 users which I have to add into my ldap database, how can I do
that? With a ldif file?
Like that?
dn: cn=John Doe, ou=Rochester, o=IBM, c=US
objectclass: person
objectclass: inetOrgPerson
objectclass: top
objectclass: organizationalPerson
objectclass: ePerson
cn: John Doe
sn: Doe
uid: jdoe
userpassword: secretpass
I think its realy horrible if I want to add 100 users in this way?
thanks
--
Raffael Sahli
public@raffaelsahli.com
Switzerland
--
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.17 (MingW32)
mQGNBE6jHfABDACyzFkn6k+OtbRANjKZ6NEQOxnnsBSBSs6sT9EBF0U3MnnYW3/p
YTW+7aUa/1FZTOWt9wb9H7t0SOqpgqUBmRo/sPteepXblnDaGEh8tzIWfaC9MKc1
QobU5zK9KcDKrs3SyGXEPOOQM8QdtE8KfSJFdUxfanFJUbfTbxq5Gqz1eaU4cWxp
gR6GeVYnd11J8AdDDwkjPjx4ZJ5guZ+D646Qi3CT7KT6y8sXVPwpNA3CvGweYX0r
STKyBf+nlQtOtByrgZW7BiSAxilYUL4mGE4KmuYAadJ+O6X7NOtz3OQaWgSGjqxH
YxDu6orTzL4/csjoVXS9dgeGkhLJgAg72a2yxA4tx/8IXrGp3JVGYGEY2kYcq3k9
jq5hJezoy6s1N//mgm5KaB84zrU5cUcu8kXDppmnp7eXUPnBqj2g2O82buBNa48S
wAtnbY4K5fbcnog8g6ouYXpAJo9yHcj+wraQ8+TNFx5nbkg3fZKuf3UeyL3dPKXf
wsKehnZ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