---
name: "ldap2fai"
section: "1"
platform: "linux"
package: "argonaut-fai-nfsroot"
version: "0.9.1-4"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ldap2fai"
---

# ldap2fai(1)

read FAI config from LDAP and create config space.

## NAME

ldap2fai - read FAI config from LDAP and create config space.

## SYNOPSIS

ldap2fai \[-hnv\] \[-c config\_space\] \[-h hostname\] \[-m mac\_address \| -i ip\_address\]

## OPTIONS

**-h**\
     print out this help message

**-v**\
     be verbose (multiple v's will increase verbosity)

**-d**\
     dry run (includes verbose)

**-c**\
     output dir (default: /var/lib/fai/config)

**-h**\
     check hostname

**-m**\
     mac address

**-i**\
     ip address

## DESCRIPTION

ldap2fai is a script to read the fai config space from LDAP and create it on the disk.

## BUGS

Please report any bugs, or post any suggestions, to the fusiondirectory mailing list fusiondirectory-users or to \<https://forge.fusiondirectory.org/projects/argonaut-agents/issues/new\>

## LICENCE AND COPYRIGHT

This code is part of FusionDirectory \<http://www.fusiondirectory.org\>

- Copyright (c) 2008 Landeshauptstadt Munchen

  - Copyright (C) 2007-2010 The GOsa project

  - Copyright (C) 2011-2014 FusionDirectory project

  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.
