WhereBob
In Runtime
- Messages
- 108
I'm trying to add a group into my my mangement OU. I am using notepad to create a text file with the .ldf extension but I need to save the file as an LDIF file and not a text file. I don't have this option in my "save as" in either notepad, wordpad or word.
I have saved it as "all files" and "text file" types but when I use ldifde -i -f at the command prompt it can't read and import the file. I assume this is because the file though is saved with the .ldf extension the format of the file is not LDIF.
Any ideas how I can save the file in LDIF file type or get ldifde to open this file? I have tried online converters but none support LDIF or LDF
I using windows server 2003
Thanks
Notepad text file contents:
______________
dn: CN=Management,OU=Marketing,DC=contoso,DC=com
changetype: add
cn: Mangement
objectClass: group
samAccountName: Marketing
__________________________
Saved as Newgroup.ldf
I get "unable to read the import file newgroup.ldf."
I know there are other ways to create a group in an OU but this is for a class
I have saved it as "all files" and "text file" types but when I use ldifde -i -f at the command prompt it can't read and import the file. I assume this is because the file though is saved with the .ldf extension the format of the file is not LDIF.
Any ideas how I can save the file in LDIF file type or get ldifde to open this file? I have tried online converters but none support LDIF or LDF
I using windows server 2003
Thanks
Notepad text file contents:
______________
dn: CN=Management,OU=Marketing,DC=contoso,DC=com
changetype: add
cn: Mangement
objectClass: group
samAccountName: Marketing
__________________________
Saved as Newgroup.ldf
I get "unable to read the import file newgroup.ldf."
I know there are other ways to create a group in an OU but this is for a class