05-18-2010
UNIX Script to query Active Directory: give cn (NT login name) and receive mail (Email address)
Hi folks
I need to write UNIX script (with ldapsearch) to query Active Directory. Input is NT login name and output is Email address.
Attached a screenshot of Sysinternals "AD Explorer". I need to do the same in CLI.
I am absolute LDAP/ldapsearch noob.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am not sure if it is a good question or not.
Is there a unix utility which can be configured with exchange server and then receive e-mails?
Thanks! (4 Replies)
Discussion started by: DejaVu
4 Replies
2. Shell Programming and Scripting
Hi guys,
I have a question about the returning message of the mailx command.
if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message?
Thanks... (3 Replies)
Discussion started by: sheenshine
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
First post!
I have just discovered that I can use unix to send mail to a mail address. I normally use entourage for my mail.
This unix mail is very intriguing to me, but something is not working... I tried the search, but could not find the answer...
This works:
(in terminal)... (1 Reply)
Discussion started by: bjorn
1 Replies
4. Shell Programming and Scripting
Hi All,
I have sent a mail to my gmail id using the below command.
echo " " | mailx -s "sub" myid@gmail.com
I didn't get any error notification. But still I didn't receive that mail still..
please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.... (1 Reply)
Discussion started by: little_wonder
1 Replies
5. Shell Programming and Scripting
well, I have a script with this code inside:
nohup /usr/sbin/auditstream | /usr/sbin/auditselect -m -e "event== USER_Create || event== USER_Remove || event== USER_Change || event== GROUP_Create || event== GROUP_Remove || event== GROUP_Change || event== PASSWORD_Change " | /usr/sbin/auditpr -h... (4 Replies)
Discussion started by: iga3725
4 Replies
6. Red Hat
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
0 Replies
7. Shell Programming and Scripting
Hi expert
I wish to start a shell script when I receive an email.
I modified the aliases file and I add this string
as400nag: "|/home/nag-script/startstop/AS400-Boot.sh
The solution works .
When the as400nag user receive an email the
/home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies
8. Proxy Server
Hi,
is that possible to login to solaris 11.1 authenticate with windows active directory? the user id is created in the windows active directory.
Environment:
Solaris 11.1
Windows 2012 Active Directory (3 Replies)
Discussion started by: freshmeat
3 Replies
9. Forum Support Area for Unregistered Users & Account Problems
Neo
Thanks for your reply to my original post, entitled "Problem changing the email address associated with my unix.com account".
I am unable to reply to you in that thread, as I am unable to log-on to unix.com!
From what you said about purging dormant accounts, it is likely that my account... (1 Reply)
Discussion started by: irb
1 Replies
LEARN ABOUT DEBIAN
mp4art
MP4ART(1) MP4v2 Utilities MP4ART(1)
NAME
mp4art - manual page for mp4art - MP4v2 2.0.0
SYNOPSIS
mp4art [OPTION]... ACTION file...
DESCRIPTION
For each mp4 (m4a) file specified, perform the specified ACTION. An action must be specified. Some options are not applicable for some
actions.
ACTIONS
--list list all covr-boxes
--add IMG
add covr-box from IMG file
--replace IMG
replace covr-box with IMG file
--remove
remove covr-box
--extract
extract covr-box
ACTION PARAMETERS
--art-any
act on all covr-boxes (default)
--art-index IDX
act on covr-box index IDX
OPTIONS
-z, --optimize
optimize mp4 file after modification
-y, --dryrun
do not actually create or modify any files
-k, --keepgoing
continue batch processing even after errors
-o, --overwrite
overwrite existing files when creating
-f, --force
force overwrite even if file is read-only
-q, --quiet
equivalent to --verbose 0
-d, --debug NUM
increase debug or long-option to set NUM
-v, --verbose NUM
increase verbosity or long-option to set NUM
-h, --help
print brief help or long-option for extended help
--version
print version information and exit
DEBUG LEVELS (for raw mp4 file I/O)
0 supressed
1 add warnings and errors (default)
2 add table details
3 add implicits
4 everything
VERBOSE LEVELS
0 warnings and errors
1 normal informative messages (default)
2 more informative messages
3 everything
mp4art - MP4v2 2.0.0 June 2012 MP4ART(1)