Commit d2163166 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #3479 Getting rid of samba RDN

parent 53316d4f
...@@ -1036,7 +1036,6 @@ function get_ou($name) ...@@ -1036,7 +1036,6 @@ function get_ou($name)
'printerRDN' => 'ou=printers,ou=systems,', 'printerRDN' => 'ou=printers,ou=systems,',
'phoneRDN' => 'ou=phones,ou=systems,', 'phoneRDN' => 'ou=phones,ou=systems,',
'componentRDN' => 'ou=netdevices,ou=systems,', 'componentRDN' => 'ou=netdevices,ou=systems,',
'sambaMachineAccountRDN' => 'ou=computers,',
'mobilePhoneRDN' => 'ou=mobile,ou=systems,', 'mobilePhoneRDN' => 'ou=mobile,ou=systems,',
'inventoryRDN' => 'ou=inventory,', 'inventoryRDN' => 'ou=inventory,',
...@@ -1105,7 +1104,6 @@ function get_ou($name) ...@@ -1105,7 +1104,6 @@ function get_ou($name)
} }
} }
/*! /*!
* \brief Get the OU for users * \brief Get the OU for users
* *
...@@ -1118,7 +1116,6 @@ function get_people_ou() ...@@ -1118,7 +1116,6 @@ function get_people_ou()
return get_ou('userRDN'); return get_ou('userRDN');
} }
/*! \brief Get the OU for groups /*! \brief Get the OU for groups
* *
* Function for getting the groupRDN * Function for getting the groupRDN
...@@ -1130,20 +1127,6 @@ function get_groups_ou() ...@@ -1130,20 +1127,6 @@ function get_groups_ou()
return get_ou('groupRDN'); return get_ou('groupRDN');
} }
/*!
* \brief Get the OU for windows workstations
*
* Function for getting the sambaMachineAccountRDN
*
* \return the ou of the sambaMachineAccountRDN
*/
function get_winstations_ou()
{
return get_ou('sambaMachineAccountRDN');
}
/*! \brief Return a base from a given user DN /*! \brief Return a base from a given user DN
* *
* \code * \code
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment