11-22-2015
Without knowing the infrastructure of the LDAP system, if that's just text config files: yes, your request should be doable. Give some more details.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
When shutting down a freshly installed version of 5.7 on a Compaq server I get two messages:
INIT: failed to write of utmpx entry: "s0"
and:
INIT: failed to write of utmpx entry: "fw"
then I can continue with the shutdown. When I bring the system back up it has not saved any of my... (2 Replies)
Discussion started by: DarkLord
2 Replies
2. SCO
I had a drive go bad. I have replaced the drive and have my system up. I have a 1-to-1 mirror raid. My mirrored boot drive brings the system up. I issued a reboot command. The system comes up gives me a login prompt and generates the error: failed write of utmpx entry:"i2".
What is i2? (1 Reply)
Discussion started by: jwideman
1 Replies
3. Programming
Hi i try to use the function putpwent to write a simple
entry in "/etc/passwd" putpwnet returns 0 as it works but
notething writes to /etc/passwd. What have i missed?
My os
--------
root@nighter-laptop:/home/nighter/labb# uname -a
Linux nighter-laptop 2.6.22-14-generic #1 SMP Sun Oct 14... (5 Replies)
Discussion started by: nighter
5 Replies
4. Shell Programming and Scripting
Can anyone provide me a shell script to edit a xml file and delete one entry.
To do manually i can edit(vi editor) the file and 'dd' will delete the file.But I wiluld to know if I can do with a script.
Thanks in advance
Tannu (6 Replies)
Discussion started by: tannu
6 Replies
5. Shell Programming and Scripting
Hi All,
I want to detect each new file coming / getting created in unix directory.
When every new file came to directory, i have to get its details like its size , date and time stamp and store it into another file.
Could any one please tell me , how i can achieve that?
Thanks. (13 Replies)
Discussion started by: james_1984
13 Replies
6. Programming
hi ,
I have 4 tables
1.table 1
2.table 2 ==> delete from here
3.table 3
4.table 4
table 2 & table 3 has pk_fk relationship
table 1 & table 4 ha spk_fk relationship
basically i wanted to do physical delete few rows from table 2 (Parent),
it should delete from... (0 Replies)
Discussion started by: balajikalai
0 Replies
7. Shell Programming and Scripting
Hi Ladies and Gents,
Explanation of my question with an example:
Let's consider the script: backup_every_hour.sh
#!/bin/bash
rsync -auv $dir $backup_dir >> backup_every_hour_script.log
Each time this script is called there will be a new entry at the end of the file... (1 Reply)
Discussion started by: freddie50
1 Replies
8. Shell Programming and Scripting
Dear Experts.
I need to add/modify the entries in the DNS server and this has to be achieved using shell script and below is the requirement, could you please let me know if a shell script can be written for this task?
1. Log in to primary DNS server
2. Check /etc/named.conf if zone is... (4 Replies)
Discussion started by: VKIRUPHAKARAN
4 Replies
9. Solaris
Hi
I have a root script which is setting up user and his dirs and so on. After I create user and set up all the necessary I have to manually set user password. I try all possible ways what google find me and nothing works for me. If maybe one of you have a solution for my problem it will be... (1 Reply)
Discussion started by: Jaffakeks
1 Replies
10. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
LEARN ABOUT REDHAT
ldap_delete_s
LDAP_DELETE(3) Library Functions Manual LDAP_DELETE(3)
NAME
ldap_delete, ldap_delete_s - Perform an LDAP delete operation
SYNOPSIS
#include <ldap.h>
int ldap_delete_s(ld, dn)
LDAP *ld;
char *dn;
int ldap_delete(ld, dn)
LDAP *ld;
char *dn;
DESCRIPTION
The ldap_delete_s() routine is used to perform an LDAP delete operation synchronously. It takes dn, the DN of the entry to be deleted. It
returns an LDAP error code, indicating the success or failure of the operation.
The ldap_delete() routine is used to perform an LDAP delete operation asynchronously. It takes the same parameters as ldap_delete_s(), but
returns the message id of the request it initiated. The result of the delete can be obtained by a subsequent call to ldap_result(3).
ERRORS
ldap_delete_s() returns an LDAP error code which can be interpreted by calling one of ldap_perror(3) and friends. ldap_delete() returns -1
if something went wrong initiating the request. It returns the non-negative message id of the request if things went ok.
SEE ALSO
ldap(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.0.27-Release 22 September 1998 LDAP_DELETE(3)