10-21-2011
Do you have LDAP supported on your server, are users logging in through LDAP also?
Also, can you paste the output of /etc/auto_home.
Regards,
Vishal
10 More Discussions You Might Find Interesting
1. Solaris
O/S: Solaris 9
Architecture: SPARC
The man page for useradd states, "The new login remains locked until the passwd(1) command is executed."
This is a problem for me when accessing remotely via SSH and creating a new account from the console with useradd. As soon as I try to login into the... (3 Replies)
Discussion started by: tuxsun1
3 Replies
2. Programming
I have string named texts which consist of section label “BOOK-SEC-“. Section starts from 1 to n, where n is a number. For this example conside the value of n is 9. That is, the string variable looks like
“BOOK-SEC-1... (2 Replies)
Discussion started by: SamRoj
2 Replies
3. Shell Programming and Scripting
hi guys im a newbie at scripting and am writhing a basic phone dir script to teach myself scripting now the problem i have is i need to make sure the tel number entered to the script is only 8 digits and the first number is not a zero. to use the script i do this ./dir.sh "name" 12345678 can... (3 Replies)
Discussion started by: zappedback
3 Replies
4. UNIX for Dummies Questions & Answers
Hello all
I am having problems using a bash script to read the input from the user and checking that its a valid number. I only want the user to input a maximum of a 3 number string (321 , 521 , 871 etc.). Anything longer or that includes a chararcter or symbol will display an error message.
... (8 Replies)
Discussion started by: ChrisHoogie
8 Replies
5. Shell Programming and Scripting
Hi. I have a problem with my homework. I have to do a Script that will tell me the number of users that are logged in on my system through a network and find out their IP's.
Can you give me an idea?
Thanks (1 Reply)
Discussion started by: mitzu
1 Replies
6. Shell Programming and Scripting
Hello folks
I Hope everyone is fine. I am calculating number of bytes calculation from apache web log.
awk '{ sum += $10 } END { print sum }' /var/httpd/log/mydomain.log
7.45557e+09
it show above number, what should i do it sow number like 7455, i mean if after decimal point above 5 it... (5 Replies)
Discussion started by: learnbash
5 Replies
7. Shell Programming and Scripting
Hi
actually what happen i have taken a value from database table and stored in variable and that value is 20100601 000000 but this value is stored as string value in database table so
after storing this value in variable a when i did operation on this a variable like
a=`expr ${a} +1`
i m... (1 Reply)
Discussion started by: aishsimplesweet
1 Replies
8. UNIX for Advanced & Expert Users
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Discussion started by: BRH
2 Replies
9. Solaris
:wall:i want to create a user in solaris whose password expires after every 30 minutes and he has to change his password after evry thirty minutes.How can we do that?:confused:
thanx and regards,
shekhar (17 Replies)
Discussion started by: shekhar_4_u
17 Replies
10. Shell Programming and Scripting
Hi,
I was trying to format my number like i=1 to 000001 using the below method.
typeset -Z6 i (sorry, corrected)
My shell is K, is not doing, it is supposed to do
Thanks in advance (6 Replies)
Discussion started by: ezee
6 Replies
LEARN ABOUT OPENDARWIN
ldap_abandon
LDAP_ABANDON(3) Library Functions Manual LDAP_ABANDON(3)
NAME
ldap_abandon, ldap_abandon_ext - Abandon an LDAP operation in progress
LIBRARY
OpenLDAP LDAP (libldap, -lldap)
SYNOPSIS
#include <ldap.h>
int ldap_abandon(LDAP *ld, int msgid);
int ldap_abandon_ext(LDAP *ld, int msgid,
LDAPControl *sctrls[], LDAPControl *cctrls[]);
DESCRIPTION
The ldap_abandon() routine is used to abandon or cancel an LDAP operation in progress. The msgid passed should be the message id of an
outstanding LDAP operation, as returned by ldap_search(3), ldap_modify(3), etc.
ldap_abandon() checks to see if the result of the operation has already come in. If it has, it deletes it from the queue of pending mes-
sages. If not, it sends an LDAP abandon operation to the the LDAP server.
The caller can expect that the result of an abandoned operation will not be returned from a future call to ldap_result(3).
ldap_abandon_ext() is equivalent to ldap_abandon() except that it allows server and client controls to be passed in sctrls and cctrls,
respectively.
ERRORS
ldap_abandon() returns 0 if everything goes ok, -1 otherwise, setting ld_errno with an appropriate LDAP error code.
ldap_abandon_ext() directly returns an LDAP error code indicating success or failure of the operation.
See ldap_error(3) for details.
SEE ALSO
ldap(3), ldap_result(3), ldap_error(3)
ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.1.X RELEASEDATE LDAP_ABANDON(3)