🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #118

adding multiple attributes to multiple existing entries

#118
From: Phoenix
Date: Thu, 01 Jul 2004 08:44
14 lines
1286 bytes
Hi!

I'm a newbie at ldap and the problem I face now is that I have to add
certain attributes to already existing entries.
ie, right now I have a populated ou=People with 50+ users...and I want
to add the  samba attributes like "sambaHomePath:", "sambaHomeDrive:"
etc..etc..to these already existing users.
How do I proceed?

Is there a program/commandline way to add these attributes in a
"batch", in an automated way? (I would find it tedious to edit an ldif
file for every user)

Any help is appriciated.
Technical Details
Message-ID: <cc0isg$s9j@odah37.prod.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 103627,fb3f45fa8975802c,start
X-Google-Attributes: gid103627,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail
From: "Phoenix" <phoenixx_@hotmail.com>
Newsgroups: fj.net.ldap
Subject: adding multiple attributes to multiple existing entries
Date: 1 Jul 2004 01:44:00 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <cc0isg$s9j@odah37.prod.google.com>
NNTP-Posting-Host: odah37.prod.google.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1088671440 6448 127.0.0.1 (1 Jul 2004 08:44:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 1 Jul 2004 08:44:00 +0000 (UTC)
User-Agent: G2/0.1