Hi All,
I am new to shell scripting.
Can someone let me know, how to check whether the user exists in the remote system?
I am building a new unix box and before I proceed installing the appliation , I want to check whether the required users are created in the system .
how to do this ?... (1 Reply)
Hi all,
I've been trying to find a good check I can put it in to a shell script to see if a given user exists.
Some of the things I've thought about is checking whether they have a home directory, but not all users have a home directory. I've thought about grepping the /etc/passwd file for... (4 Replies)
Hi All,
If ldap user is disabled on linux. Do you think ldap processes will still run while ldap user had been disabled?
Thanks for any comment you may add. (2 Replies)
Hello everyone, hoping you can provide some incite with a little problem I'm having..
I have the LDAP client configured and running on my AIX 5.3 server, which is authenticating against an eDirectory LDAP server. I can login via LDAP no problems on the AIX server with newly created users,... (4 Replies)
Hello!
I'm stuck with a problem that i can't solve. I'm very new to unix, linux and shell scripting i might add. I'm trying to create a script that will execute as follows:
First start the script - sh exist
Then the prompt asks the user to input a username to check if it exists within the... (6 Replies)
I am converting all users on all AIX systems to LDAP users. As such, I must delete the local user, and recreate the user via LDAP. When I delete the local user, all files and directories owned by the local user will revert to the UID. I need a script to find all files and directories belonging... (1 Reply)
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)
Hi all,
to find a user whether he had an account on AIX box i will use commands like
"finger" , "lsuser".
I am new to solaris and we are migrating to solaris.
now i am using " more /etc/passwd | grep -i <UserID> " to find a user present in that solaris box or not.
Are der any similar... (9 Replies)
How can I do a ldapsearch to find a DN for a user when I know the exact cn for that user out of active directory.
I have tried several different commands (hundreds) but need the -b with the full dn to perform the search using ldapsearch from AIX. I am trying to find the OU for a user and the... (1 Reply)
If I create a new user id test:
mkuser id=400 test
then I want it to LDAP user:
chuser -R LDAP SYSTEM=LDAP registry=LDAP test
It shows:
3004-687 User "test" does not exist.
How to do? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
LEARN ABOUT NETBSD
slapo-auditlog
SLAPO-AUDITLOG(5) File Formats Manual SLAPO-AUDITLOG(5)NAME
slapo-auditlog - Audit Logging overlay to slapd
SYNOPSIS
/etc/ldap/slapd.conf
/etc/ldap/slapd.d
DESCRIPTION
The Audit Logging overlay can be used to record all changes on a given backend database to a specified log file. Changes are logged as
standard LDIF, with an additional comment header giving the timestamp of the change and the identity of the user making the change.
For Add and Modify operations the identity comes from the modifiersName associated with the operation. This is usually the same as the
requestor's identity, but may be set by other overlays to reflect other values.
CONFIGURATION
This slapd.conf option applies to the Audit Logging overlay. It should appear after the overlay directive.
auditlog <filename>
Specify the fully qualified path for the log file.
olcAuditlogFile <filename>
For use with cn=config
EXAMPLE
The following LDIF could be used to add this overlay to cn=config (adjust to suit)
dn: olcOverlay=auditlog,olcDatabase={1}hdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcAuditLogConfig
olcOverlay: auditlog
olcAuditlogFile: /tmp/auditlog.ldif
FILES
/etc/ldap/slapd.conf
default slapd configuration file
/etc/ldap/slapd.d
default slapd configuration directory
SEE ALSO slapd.conf(5), slapd-config(5).
OpenLDAP 2012/04/23 SLAPO-AUDITLOG(5)