[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Script for mass updates
- To: openldap-technical@openldap.org
- Subject: Script for mass updates
- From: Nick Milas <nick@eurobjects.com>
- Date: Wed, 1 Feb 2017 15:41:08 +0200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eurobjects.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BcIzRljM2weBYNdQ0kLITKHPsWRI3owb8RXUnj10TbU=; b=EBJBYoZHf/Y5wtDJbCBu9qaK5m ULrLdn9pb3Vl41CEila43ya3YaAEWxVNFJqbi4DKJhbEcZjXfEwYLhzWKqKkrk0JOkhsNFW0cO4BG dhVQRZV9omRQtZ8BlWs0N9gI0wNjRUqInLvVHwa9ojTAx4wnDFYew1aGsPN9IoucQooUflfpnaJhP 4hivZINBjHqViM7iqwGj46YhhHnt+LNRvmH8UdjsKCdBUMKAsvzqMfbeLy4t4BbOPZp+yiXgx29mN oeXmwgprUQhZVE4aMtml+nQx1jrwoEleoZiIXemaFyJqEyN+RyaxzeJcxnItn0Sfgkduj1ooNTFB5 PubCZv0w==;
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
Hello,
Does anyone have a ready-made script (e.g. bash) that would do the
following:
Loop on all entries in the ou=people branch where ou <> "system" {
If attribute DisplayName does not exist{
Set DisplayName to the value of attibute cn
}
}
I could do it with a bit of work, but it's urgent.
Any help will be appreciated!
Thanks in advance,
Nick