12-08-2010
Run the following command:
ls-secldapclntd and post the output.
Thanks.
Might as well post your /etc/security/ldap/ldap.cfg and /usr/lib/security/methods.cfg.
Along with the stanza for /etc/security/user for the user "test"
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
2. Linux
HI,
How can I restrict normal user from doing 'poweroff' ?
Regards
JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies
3. Shell Programming and Scripting
Got a cron to run everyday under my user. this cronjob runs a script from my /home/jack/scripts/run.sh
clear
#
# su to root and run a script, return with result
# su -
# passwd
# run /getfile.sh
# return with result
# the result will copy 2 files from /prod/app/logs/ and... (0 Replies)
Discussion started by: karthikn7974
0 Replies
4. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
5. Shell Programming and Scripting
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies
6. UNIX for Dummies Questions & Answers
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
user>
while I'd like it to be as
user@host>
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
2 Replies
7. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
8. Solaris
:confused: I installed latest version of java ( jre 1.6) on Solaris Machine ......when I run java -version as root, shows the latest version but when I run java -version as normal user, shows the old / previous version
What should I do to fix this ...should show the latest version... (3 Replies)
Discussion started by: frintocf
3 Replies
9. UNIX for Dummies Questions & Answers
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
10. Shell Programming and Scripting
Hi,
I am trying to schedule a script that starts on reboot.I came across chkconfig utility to schedule scripts on reboot.
Problem here is can i how to use this chkconfig to schedule a script that runs a s normal user.
Or if there is any other function to schedule on reboot as normal user... (4 Replies)
Discussion started by: praveena kotapa
4 Replies
LEARN ABOUT CENTOS
net::ldap::control::assertion
Net::LDAP::Control::Assertion(3) User Contributed Perl Documentation Net::LDAP::Control::Assertion(3)
NAME
Net::LDAP::Control::Assertion - LDAPv3 Assertion Control
SYNOPSIS
use Net::LDAP;
use Net::LDAP::Control::Assertion;
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
$assert = Net::LDAP::Control::Assertion->new( assertion => '(sn=Jensen)' );
my $mesg = $ldap->modify( "cn=Barbara Jensen, o=University of Michigan, c=US",
replace => { givenName => "Babs" },
control => $assert );
DESCRIPTION
"Net::LDAP::Control::Assertion" provides an interface for the creation and manipulation of objects that represent the "Assertion Control"
as described by RFC 4528.
The "Assertion Control" allows the client to specify a condition, an assertion, that must be TRUE for the operation to be processed
normally. Otherwise, the operation is not performed. For instance, the control can be used with the Modify operation to perform atomic
"test and set" and "test and clear" operations.
The control is appropriate for both LDAP interrogation and update operations, including Add, Compare, Delete, Modify, ModifyDN (rename),
and Search.
CONSTRUCTOR ARGUMENTS
In addition to the constructor arguments described in Net::LDAP::Control the following are provided.
assertion => FILTER
A filter specifying the assertion that must evaluate to TRUE in order to make the operation process normally.
METHODS
As with Net::LDAP::Control each constructor argument described above is also available as a method on the object which will return the
current value for the attribute if called without an argument, and set a new value for the attribute if called with an argument.
SEE ALSO
Net::LDAP, Net::LDAP::Control, http://www.ietf.org/rfc/rfc4528.txt
AUTHOR
Peter Marschall <peter@adpm.de>
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>
COPYRIGHT
Copyright (c) 2011 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
perl v5.16.3 2013-06-07 Net::LDAP::Control::Assertion(3)