---
name: "ldaprenamemachine"
section: "1"
platform: "linux"
package: "ldapscripts"
version: "2.0.8-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ldaprenamemachine"
---

# ldaprenamemachine(1)

renames a POSIX machine account in LDAP.

## NAME

ldaprenamemachine - renames a POSIX machine account in LDAP.

## SYNOPSIS

**ldaprenamemachine** \<old machinename with ending $**\|**uid\> \<new machinename with ending $\>

## OPTIONS

- **\<old machinename with ending $ \| uid\>**

  The old name or uid of the machine to rename.

- **\<new machinename with ending $\>**

  The new name of the machine.

## SEE ALSO

[ldaprenameuser(1)](/ldaprenameuser/1.md), [ldaprenamegroup(1)](/ldaprenamegroup/1.md), [ldapscripts(5)](/ldapscripts/5.md).

## AVAILABILITY

The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts is available on : **http://contribs.martymac.org**

## LIMITATIONS

Group entries will NOT be updated. This means several groups may contain machines that NO LONGER exist after having renamed a machine.

## BUGS

No bug known.
