LDAP2FAI(1) User Contributed Perl Documentation LDAP2FAI(1)NAME
ldap2fai - read FAI config from LDAP and create config space.
ldap2fai [-hnvW] [-c config] [-D bind_dn ] [-w bind password] [-d dump_dir] [-H hostname] <MAC>
OPTIONS -h, --help
print out this help message
be verbose (multiple v's will increase verbosity)
dry run (includes verbose)
LDAP config file (default: /etc/ldap/ldap.conf)
output dir (default: /var/lib/fai/config)
prompt for password
read password from command line
ldap2fai is a script to create read the fai config from LDAP and create fai config space.
Please report any bugs, or post any suggestions, to the GOsa mailing list <firstname.lastname@example.org> or to
LICENCE AND COPYRIGHT
This code is part of GOsa (<http://www.gosa-project.org>)
Copyright (c) 2008 Landeshauptstadt MA~Xnchen
Copyright (c) 2008-2010 GONICUS GmbH
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
perl v5.10.0 2010-05-19 LDAP2FAI(1)
Check Out this Related Man Page
Net::LDAP::Extension::WhoAmI(3) User Contributed Perl Documentation Net::LDAP::Extension::WhoAmI(3)NAME
Net::LDAP::Extension::WhoAmI - LDAP "Who am I?" Operation
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
password => 'secret');
$mesg = $ldap->who_am_i();
die "error: ", $mesg->code(), ": ", $mesg->error() if ($mesg->code());
print "you are bound with authzId ", $mesg->response(), "
"Net::LDAP::Extension::WhoAmI" implements the "Who am I?" extended LDAPv3 operation as described in RFC 4532.
It implements no object by itself but extends the Net::LDAP object by another method:
Obtain the authorization identity which the server has associated with the user or application entity.
Norbert Klasen <email@example.com>,
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <firstname.lastname@example.org>
Copyright (c) 2002-2004 Graham Barr. 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::Extension::WhoAmI(3)
I have a config file (ip.config)that has the following fields with colon as delimeter.
yahoo.com:1919 ( host and port number)
How to read it in a perl script. I need to parse the host and port number in the perl script using split... (6 Replies)
how to read the variable from config file
eg: a.cfg below config file config file which contain
a.sh is shell script
echo "$a and $b"
if i run "a.sh 1.cfg" it works
but when i declare N number of variable it wont works..
can u please suggest for that ? (1 Reply)
im messing up somehwere...and can't seem to clean up the script...for it to work
1. check for today's file, and sleep 30 secs between retries
2. only allow 5 tries before script should fail.
3. if today's file found, wait 30 seconds for it to process..
count=0... (8 Replies)