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
I was trying to get the schema.ActiveDirectory to work on a freshly installed and promoted windows server 2022.
According to the schema i have to do the following:
#
# Active Directory Schema for sudo configuration (sudoers)
#
# To extend your Active Directory schema, run one of the following command
# on your Windows DC (default port - Active Directory):
#
# ldifde -i -f schema.ActiveDirectory -c "CN=Schema,CN=Configuration,DC=X" #schemaNamingContext
By changing ##schemaNamingContext to "##schemaNamingContext" it runs without issues
PS C:\Users\Administrator.DC01.001> ldifde -i -f schema.ActiveDirectory -c "CN=Schema,CN=Configuration,DC=X" "#schemaNamingContext"
Connecting to "DC01.ad.domain.com"
Logging in as current user using SSPI
Importing directory from file "schema.ActiveDirectory"
Loading entries.............
12 entries modified successfully.
The command has completed successfully
The text was updated successfully, but these errors were encountered:
I was trying to get the schema.ActiveDirectory to work on a freshly installed and promoted windows server 2022.
According to the schema i have to do the following:
docs/schema.ActiveDirectory
However, upon trying this i get:
Fix
By changing ##schemaNamingContext to "##schemaNamingContext" it runs without issues
The text was updated successfully, but these errors were encountered: