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

Well... your lines are not in order, you don't have hyphens between
operations, you're missing some colons as delimiters, and you have some
things out in the middle of nowhere. I'd guess the following will work,
but I haven't tested it:

dn: cn=name1,ou=staff,o=ldap
changetype: modify
add: objectClass
objectClass: posixAccount
- -
add: gidNumber
gidNumber: 670
- -
add: homeDirectory
homeDirectory: /home/directory/stuff
- -
add: uidNumber
uidNumber: 00012345


Good luck.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQKbW7AAoJEF+XTK08PnB5l54P/1ld5z5A7sSMCHHzF5Ci/L+j
xea74GJ5Y6KHqmr+9B717EvohtqoyLVuWyVZ3EOMWRmGip9KSR d41us9d8TsiJe4
Ogv2i7FQORn8R0b2tCZcclTd9CqIR7i/hj8mgiC0VNQpOxe8V1AuM2+6bm+ezkMb
aXxiCikGXdM+jcC27YJ6rLLVF+vI+aJnRfvpgv7hyx2PkaRcnv Wgt4/RvE7tsiq5
WJivmINzmVgC/ssd0viztbaRjvSSlt7bYpVIG7fVhMTn1BEUZkNhS2bOIbdb2pJ 5
JitiHubgdEkXP/nQyoIPBLfx4Zysu5qDuQeEXJ59h1+jfUrvidVv3OqIX7KSh7PE
maIq81eBxJLIUAr/CObv7AKjIM2a6m1ftG8mvDB0A0k5l/0iWJsbqdZwqEEl0gL6
zLHCJr/RqOvuY9KU9PTAz8+3JUBqqsue0APkdDdDutpKBHStiEpSjFxwK oBP0C2r
0isnX7wT+zKSgqgoOpYq8FFdKBqScjpDfvXHYLeUNMMnLAsuz+ Wbi/HZnQAgNu/R
0SwvgsSJEUDFCS2Ei47h+IdMAJk8O6wRwTr7NhMvgjqQGBtai2 fTO5jlTB6uv6ct
eIOyBe8t8k+enaQVKBPabRR8BJZAMlCIdCHKB3zY+Vdv5ZoS0u W2QPvkN5vTJyJF
1OQM+EE9LJEM66hqVErT
=Qdhm
-----END PGP SIGNATURE-----