🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Phoenix Thu, 01 Jul 2004 08:44
adding multiple attributes to multiple existing entries
#118
Author: 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.
Re: adding multiple attributes to multiple existing entries
#119
Author: Benedikt Panzer
Date: Fri, 16 Jul 2004 10:09
18 lines
1797 bytes
Hi Phoenix,

> and I want to add the  samba attributes like 
 > "sambaHomePath:", "sambaHomeDrive:"
> etc..etc..to these already existing users.

First, you have to look for a schema that contains those attributes you 
like to add. You could write your own schema but there must already be 
something meeting your needs. Your ldap server must be able to work with 
that schema.

> Is there a program/commandline way to add these attributes in a
> "batch", in an automated way?

There's a ldap interface your almost every scripting or programming 
language. If you know perl I'd recommend that.

Cheers, Ben
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads