[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Using ldapmodify to modify multiple dn's
Separate different operations with a blank (i.e. before any new "dn: ..."
line).
p.
> Hi,
>
> I am trying to use ldapmodify to modify multiple dn's in my LDAP
> server. It doesn't seem to work. How do I achieve this?
>
> My LDIF looks like so:
>
> dn: uid=anil.atur,ou=people,dc=foo,dc=com
> changetype: modify
> replace: manager
> manager: uid=janardhan.rao,ou=people,dc=foo,dc=com
> -
> replace: l
> l: Bangalore
> -
> replace: st
> st: Karnataka
> -
> dn: uid=boomesh.v,ou=people,dc=foo,dc=com
> changetype: modify
> replace: manager
> manager: uid=shashishekhar.c,ou=people,dc=foo,dc=com
> -
> replace: l
> l: Bangalore
> -
> replace: st
> st: Karnataka
> -
> dn: uid=sudhanva.sd,ou=people,dc=foo,dc=com
> changetype: modify
> replace: manager
> manager: uid=seshadri.k,ou=people,dc=foo,dc=com
> -
> replace: l
> l: Bangalore
> -
> replace: st
> st: Karnataka
> -
>
> S.
> --
> "This is everybody's fault but mine!" -- Homer J. Simpson
>
--
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497