You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Everyone. Is there anyway to extract the user's first level of OU from DN?? I'd like to use it for mapping user's homedir(i.e. /home/$ou1/$cn). Thanks anyway!!
The text was updated successfully, but these errors were encountered:
I don't think there is a way currently to do that. Only attributes that are in the entry are available so unless the entry has a $ou attribute it will not work. If the position in the DN is fixed (e.g. no space differences and the OU value is always 3 characters you might be able to use (but this is really fragile):
Hello Everyone. Is there anyway to extract the user's first level of OU from DN?? I'd like to use it for mapping user's homedir(i.e. /home/$ou1/$cn). Thanks anyway!!
The text was updated successfully, but these errors were encountered: