Sponsored Content
Full Discussion: School me on LDAP queries
Top Forums Shell Programming and Scripting School me on LDAP queries Post 302905657 by Chubler_XL on Thursday 12th of June 2014 09:46:39 PM
Old 06-12-2014
Try downloading the application called GetMyDN.exe in domain to get your own Distinguished Name. Then the last part before the "User Accounts" or such is you value you want to start your ldapsearch at.

For example it may return something like this

Code:
 CN=Sudo user,OU=Information Technology,OU=New York,OU=Corporate Services,OU=User Accounts,OU=Acme Group,DC=acme,DC=local

It can be downloaded from

http://download.softerra.com/files/GetMyDN.zip


replace ACME\sudo with your login, format is DOMAIN\userid. The assumption here is that you have access to browse the domain.
This User Gave Thanks to Chubler_XL For This Post:
 

5 More Discussions You Might Find Interesting

1. OS X (Apple)

school unix

i have really no administrative privileges at my school how can i add my self to passwd and create a root account? (6 Replies)
Discussion started by: shanepowell
6 Replies

2. Shell Programming and Scripting

Help with school homework

ok its a simple script, but i can't get it to run right. i'm totally lost. can anyone help me with this. heres the question........create a shell script called minute.bash that starts the command labs/bash/count.sh and lets it run for 1 minute and then stops it. count.sh is a simple... (1 Reply)
Discussion started by: AtomJ22
1 Replies

3. Shell Programming and Scripting

School assignment

Hi, I have assignment from school. Please help me write the script for following example Using "eval", write a program called "recho" that prints its arguments in reverse order. For example, $recho one two three should produce three two one (1 Reply)
Discussion started by: sdp5628
1 Replies

4. UNIX for Advanced & Expert Users

something like LDAP Administrator 2011.1 "LDAP-SQL" but for the CLI

Hi I am searching a tool like "LDAP Administrator 2011.1"/ "LDAP-SQL" but for the CLI. Wish to use LDAP-SQL in scripts (non Windows GUI environment) http://ldapadministrator.com/resources/english/2011.1/images/sqlquery_large.png Softerra LDAP Administrator 2011.1 - What's New OS is... (2 Replies)
Discussion started by: slashdotweenie
2 Replies

5. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies
MIRRORTOOL(1)							OMT documentation.						     MIRRORTOOL(1)

NAME
mirrortool.pl - OpaL Mirror Tool (OMT) DESCRIPTION
Creates a mirror of a webpage. It has a number of features such as link rewriting and more. (See the options below). USAGE
mirrortool.pl [options] [url] [options] [url] [...] OPTIONS
--images : Include <img src=xxx>:s in the download. (default) --noimages : Do not include <img src=xxx>:s in the download. --depth n : Maximum recursion depth. (default 1) --store "regexp" : Files matching regexp are actually stored locally. : It is possible to | separate (with or). --rewrite "from=>to" : Urls are rewritten using this rules. : It is possible to | separate (with or). : Do not rewrite the dir, because that it will affect : later lookup. Have to fix this sometime. --what "regexp" : Files matching regexp are downloaded and traversed. : It is possible to | separate (with or). --dir basedir : Where to store local files. --nohostcheck : Do not check if url points to other host. --notreecheck : Do not check if url points to other dirtree. --force : Overwrite all files. --debug : Print debug-messages. --retry n : Number of times an url will be retried (default 1) --auth user:pass : use Basic Authentication --proxy url : Use a proxy server (like http://u:p@localhost/). --help : Print this text. AUTHOR
Ola Lundqvist <opal@lysator.liu.se> SEE ALSO
mirrortool.pl(1) perl v5.8.8 2002-04-15 MIRRORTOOL(1)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy