Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
d2163166
Commit
d2163166
authored
Mar 14, 2017
by
Côme Chilliet
Browse files
Fixes #3479 Getting rid of samba RDN
parent
53316d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/functions.inc
View file @
d2163166
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment