On Fri, 15 Nov 2002, Juan Gaspar wrote:
>
> Hello pluggers,
hello.
>
> I have already a "dn: o=domain.com" in ldap.
>
> What I want next is a branch in that domain, like mis...
>
> How do I do that. How do I add an ou in ldap?
>
ldapadd -D <root DN> -w <password>
dn: ou=mis,o=domain.com
ou: mis
objectClass: organizationalUnit
^D
> I hope someone answer this, this is what happened if you dont pay enough attention
>to your instructor. hehehe
>
> Junix
>
> additionally,
>
> If I have to create an "ou.ldif" file and ldapadd it, can anyone write an example of
>that ou.ldap file.
>
it's much like the entry above. you'll just save it inside a file and add
it using: ldapadd -f <filename> -D <root DN> -w <password>
don't forget to separate each entry with a new line.
> ty d:-j
>
hope this helps,
ronald
--
[Never be afraid to try something new.
Remember, amateurs built the ark,
and professionals built the Titanic.]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]