Skip to content

Commit

Permalink
Update ldap_definitive_client.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrl39 authored Jun 3, 2024
1 parent 854f148 commit 3730ac5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/scripts/ldap_definitive_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ if [ ! -d "/etc/avahi/services" ]; then
sudo mkdir -p /etc/avahi/services
fi

# Crear el archivo de servicio LDAP para Avahi
echo "Creando el archivo de servicio LDAP para Avahi..."
sudo tee /etc/avahi/services/ldap.service > /dev/null <<EOF
# Crear el archivo de servicio Clientes para Avahi
echo "Creando el archivo de servicio Clientes para Avahi..."
sudo tee /etc/avahi/services/clientes.service > /dev/null <<EOF
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">LDAP Server</name>
<name replace-wildcards="yes">Clientes Service</name>
<service>
<type>_ldap._tcp</type>
<port>389</port>
<type>_clientes._tcp</type>
<port>12345</port>
</service>
</service-group>
EOF
Expand Down

0 comments on commit 3730ac5

Please sign in to comment.