Fixed files

This commit is contained in:
Gator96100 2021-04-10 22:19:50 +02:00
commit c8cd039387
3 changed files with 479 additions and 479 deletions

View file

@ -1,225 +1,225 @@
@echo off @echo off
setlocal EnableDelayedExpansion setlocal EnableDelayedExpansion
set "WD=%__CD__%" set "WD=%__CD__%"
if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\" if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\"
set "LOGINSHELL=bash" set "LOGINSHELL=bash"
set /a msys2_shiftCounter=0 set /a msys2_shiftCounter=0
rem To activate windows native symlinks uncomment next line rem To activate windows native symlinks uncomment next line
rem set MSYS=winsymlinks:nativestrict rem set MSYS=winsymlinks:nativestrict
rem Set debugging program for errors rem Set debugging program for errors
rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^<process-id^> rem set MSYS=error_start:%WD%../../mingw64/bin/qtcreator.exe^|-debug^|^<process-id^>
rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter rem To export full current PATH from environment into MSYS2 use '-use-full-path' parameter
rem or uncomment next line rem or uncomment next line
rem set MSYS2_PATH_TYPE=inherit rem set MSYS2_PATH_TYPE=inherit
:checkparams :checkparams
rem Help option rem Help option
if "x%~1" == "x-help" ( if "x%~1" == "x-help" (
call :printhelp "%~nx0" call :printhelp "%~nx0"
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
) )
if "x%~1" == "x--help" ( if "x%~1" == "x--help" (
call :printhelp "%~nx0" call :printhelp "%~nx0"
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
) )
if "x%~1" == "x-?" ( if "x%~1" == "x-?" (
call :printhelp "%~nx0" call :printhelp "%~nx0"
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
) )
if "x%~1" == "x/?" ( if "x%~1" == "x/?" (
call :printhelp "%~nx0" call :printhelp "%~nx0"
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
) )
rem Shell types rem Shell types
if "x%~1" == "x-msys" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams if "x%~1" == "x-msys" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams
if "x%~1" == "x-msys2" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams if "x%~1" == "x-msys2" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MSYS& goto :checkparams
if "x%~1" == "x-mingw32" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW32& goto :checkparams if "x%~1" == "x-mingw32" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW32& goto :checkparams
if "x%~1" == "x-mingw64" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW64& goto :checkparams if "x%~1" == "x-mingw64" shift& set /a msys2_shiftCounter+=1& set MSYSTEM=MINGW64& goto :checkparams
if "x%~1" == "x-mingw" shift& set /a msys2_shiftCounter+=1& (if exist "%WD%..\..\mingw64" (set MSYSTEM=MINGW64) else (set MSYSTEM=MINGW32))& goto :checkparams if "x%~1" == "x-mingw" shift& set /a msys2_shiftCounter+=1& (if exist "%WD%..\..\mingw64" (set MSYSTEM=MINGW64) else (set MSYSTEM=MINGW32))& goto :checkparams
rem Console types rem Console types
if "x%~1" == "x-mintty" shift& set /a msys2_shiftCounter+=1& set MSYSCON=mintty.exe& goto :checkparams if "x%~1" == "x-mintty" shift& set /a msys2_shiftCounter+=1& set MSYSCON=mintty.exe& goto :checkparams
if "x%~1" == "x-conemu" shift& set /a msys2_shiftCounter+=1& set MSYSCON=conemu& goto :checkparams if "x%~1" == "x-conemu" shift& set /a msys2_shiftCounter+=1& set MSYSCON=conemu& goto :checkparams
if "x%~1" == "x-defterm" shift& set /a msys2_shiftCounter+=1& set MSYSCON=defterm& goto :checkparams if "x%~1" == "x-defterm" shift& set /a msys2_shiftCounter+=1& set MSYSCON=defterm& goto :checkparams
rem Other parameters rem Other parameters
if "x%~1" == "x-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams if "x%~1" == "x-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams
if "x%~1" == "x-use-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams if "x%~1" == "x-use-full-path" shift& set /a msys2_shiftCounter+=1& set MSYS2_PATH_TYPE=inherit& goto :checkparams
if "x%~1" == "x-here" shift& set /a msys2_shiftCounter+=1& set CHERE_INVOKING=enabled_from_arguments& goto :checkparams if "x%~1" == "x-here" shift& set /a msys2_shiftCounter+=1& set CHERE_INVOKING=enabled_from_arguments& goto :checkparams
if "x%~1" == "x-where" ( if "x%~1" == "x-where" (
if "x%~2" == "x" ( if "x%~2" == "x" (
echo Working directory is not specified for -where parameter. 1>&2 echo Working directory is not specified for -where parameter. 1>&2
exit /b 2 exit /b 2
) )
cd /d "%~2" || ( cd /d "%~2" || (
echo Cannot set specified working diretory "%~2". 1>&2 echo Cannot set specified working diretory "%~2". 1>&2
exit /b 2 exit /b 2
) )
set CHERE_INVOKING=enabled_from_arguments set CHERE_INVOKING=enabled_from_arguments
rem Ensure parentheses in argument do not interfere with FOR IN loop below. rem Ensure parentheses in argument do not interfere with FOR IN loop below.
set msys2_arg="%~2" set msys2_arg="%~2"
call :substituteparens msys2_arg call :substituteparens msys2_arg
call :removequotes msys2_arg call :removequotes msys2_arg
rem Increment msys2_shiftCounter by number of words in argument (as cmd.exe saw it). rem Increment msys2_shiftCounter by number of words in argument (as cmd.exe saw it).
rem (Note that this form of FOR IN loop uses same delimiters as parameters.) rem (Note that this form of FOR IN loop uses same delimiters as parameters.)
for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1
)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams )& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams
if "x%~1" == "x-no-start" shift& set /a msys2_shiftCounter+=1& set MSYS2_NOSTART=yes& goto :checkparams if "x%~1" == "x-no-start" shift& set /a msys2_shiftCounter+=1& set MSYS2_NOSTART=yes& goto :checkparams
if "x%~1" == "x-shell" ( if "x%~1" == "x-shell" (
if "x%~2" == "x" ( if "x%~2" == "x" (
echo Shell not specified for -shell parameter. 1>&2 echo Shell not specified for -shell parameter. 1>&2
exit /b 2 exit /b 2
) )
set LOGINSHELL="%~2" set LOGINSHELL="%~2"
call :removequotes LOGINSHELL call :removequotes LOGINSHELL
set msys2_arg="%~2" set msys2_arg="%~2"
call :substituteparens msys2_arg call :substituteparens msys2_arg
call :removequotes msys2_arg call :removequotes msys2_arg
for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1 for %%a in (!msys2_arg!) do set /a msys2_shiftCounter+=1
)& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams )& shift& shift& set /a msys2_shiftCounter+=1& goto :checkparams
rem Collect remaining command line arguments to be passed to shell rem Collect remaining command line arguments to be passed to shell
if %msys2_shiftCounter% equ 0 set SHELL_ARGS=%* & goto cleanvars if %msys2_shiftCounter% equ 0 set SHELL_ARGS=%* & goto cleanvars
set msys2_full_cmd=%* set msys2_full_cmd=%*
for /f "tokens=%msys2_shiftCounter%,* delims=,;= " %%i in ("!msys2_full_cmd!") do set SHELL_ARGS=%%j for /f "tokens=%msys2_shiftCounter%,* delims=,;= " %%i in ("!msys2_full_cmd!") do set SHELL_ARGS=%%j
:cleanvars :cleanvars
set msys2_arg= set msys2_arg=
set msys2_shiftCounter= set msys2_shiftCounter=
set msys2_full_cmd= set msys2_full_cmd=
rem Setup proper title and icon rem Setup proper title and icon
if "%MSYSTEM%" == "MINGW32" ( if "%MSYSTEM%" == "MINGW32" (
set "CONTITLE=MinGW x32" set "CONTITLE=MinGW x32"
set "CONICON=mingw32.ico" set "CONICON=mingw32.ico"
) else if "%MSYSTEM%" == "MINGW64" ( ) else if "%MSYSTEM%" == "MINGW64" (
set "CONTITLE=MinGW x64" set "CONTITLE=MinGW x64"
set "CONICON=mingw64.ico" set "CONICON=mingw64.ico"
) else ( ) else (
set "CONTITLE=MSYS2 MSYS" set "CONTITLE=MSYS2 MSYS"
set "CONICON=msys2.ico" set "CONICON=msys2.ico"
) )
if "x%MSYSCON%" == "xmintty.exe" goto startmintty if "x%MSYSCON%" == "xmintty.exe" goto startmintty
if "x%MSYSCON%" == "xconemu" goto startconemu if "x%MSYSCON%" == "xconemu" goto startconemu
if "x%MSYSCON%" == "xdefterm" goto startsh if "x%MSYSCON%" == "xdefterm" goto startsh
if NOT EXIST "%WD%mintty.exe" goto startsh if NOT EXIST "%WD%mintty.exe" goto startsh
set MSYSCON=mintty.exe set MSYSCON=mintty.exe
:startmintty :startmintty
if not defined MSYS2_NOSTART ( if not defined MSYS2_NOSTART (
start "%CONTITLE%" "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! start "%CONTITLE%" "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS!
) else ( ) else (
"%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS! "%WD%mintty" -i "/%CONICON%" -t "%CONTITLE%" "/usr/bin/%LOGINSHELL%" --login !SHELL_ARGS!
) )
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
:startconemu :startconemu
call :conemudetect || ( call :conemudetect || (
echo ConEmu not found. Exiting. 1>&2 echo ConEmu not found. Exiting. 1>&2
exit /b 1 exit /b 1
) )
if not defined MSYS2_NOSTART ( if not defined MSYS2_NOSTART (
start "%CONTITLE%" "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! start "%CONTITLE%" "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS!
) else ( ) else (
"%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! "%ComEmuCommand%" /Here /Icon "%WD%..\..\%CONICON%" /cmd "%WD%\%LOGINSHELL%" --login !SHELL_ARGS!
) )
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
:startsh :startsh
set MSYSCON= set MSYSCON=
if not defined MSYS2_NOSTART ( if not defined MSYS2_NOSTART (
start "%CONTITLE%" "%WD%\%LOGINSHELL%" --login !SHELL_ARGS! start "%CONTITLE%" "%WD%\%LOGINSHELL%" --login !SHELL_ARGS!
) else ( ) else (
"%WD%\%LOGINSHELL%" --login !SHELL_ARGS! "%WD%\%LOGINSHELL%" --login !SHELL_ARGS!
) )
exit /b %ERRORLEVEL% exit /b %ERRORLEVEL%
:EOF :EOF
exit /b 0 exit /b 0
:conemudetect :conemudetect
set ComEmuCommand= set ComEmuCommand=
if defined ConEmuDir ( if defined ConEmuDir (
if exist "%ConEmuDir%\ConEmu64.exe" ( if exist "%ConEmuDir%\ConEmu64.exe" (
set "ComEmuCommand=%ConEmuDir%\ConEmu64.exe" set "ComEmuCommand=%ConEmuDir%\ConEmu64.exe"
set MSYSCON=conemu64.exe set MSYSCON=conemu64.exe
) else if exist "%ConEmuDir%\ConEmu.exe" ( ) else if exist "%ConEmuDir%\ConEmu.exe" (
set "ComEmuCommand=%ConEmuDir%\ConEmu.exe" set "ComEmuCommand=%ConEmuDir%\ConEmu.exe"
set MSYSCON=conemu.exe set MSYSCON=conemu.exe
) )
) )
if not defined ComEmuCommand ( if not defined ComEmuCommand (
ConEmu64.exe /Exit 2>nul && ( ConEmu64.exe /Exit 2>nul && (
set ComEmuCommand=ConEmu64.exe set ComEmuCommand=ConEmu64.exe
set MSYSCON=conemu64.exe set MSYSCON=conemu64.exe
) || ( ) || (
ConEmu.exe /Exit 2>nul && ( ConEmu.exe /Exit 2>nul && (
set ComEmuCommand=ConEmu.exe set ComEmuCommand=ConEmu.exe
set MSYSCON=conemu.exe set MSYSCON=conemu.exe
) )
) )
) )
if not defined ComEmuCommand ( if not defined ComEmuCommand (
FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu64.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu64.exe" /ve 2^>nul ^| find "REG_SZ"') DO (
set "ComEmuCommand=%%A" set "ComEmuCommand=%%A"
) )
if defined ComEmuCommand ( if defined ComEmuCommand (
call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%"
set MSYSCON=conemu64.exe set MSYSCON=conemu64.exe
) else ( ) else (
FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu.exe" /ve 2^>nul ^| find "REG_SZ"') DO ( FOR /F "tokens=*" %%A IN ('reg.exe QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ConEmu.exe" /ve 2^>nul ^| find "REG_SZ"') DO (
set "ComEmuCommand=%%A" set "ComEmuCommand=%%A"
) )
if defined ComEmuCommand ( if defined ComEmuCommand (
call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%" call set "ComEmuCommand=%%ComEmuCommand:*REG_SZ =%%"
set MSYSCON=conemu.exe set MSYSCON=conemu.exe
) )
) )
) )
if not defined ComEmuCommand exit /b 2 if not defined ComEmuCommand exit /b 2
exit /b 0 exit /b 0
:printhelp :printhelp
echo Usage: echo Usage:
echo %~1 [options] [login shell parameters] echo %~1 [options] [login shell parameters]
echo. echo.
echo Options: echo Options:
echo -mingw32 ^| -mingw64 ^| -msys[2] Set shell type echo -mingw32 ^| -mingw64 ^| -msys[2] Set shell type
echo -defterm ^| -mintty ^| -conemu Set terminal type echo -defterm ^| -mintty ^| -conemu Set terminal type
echo -here Use current directory as working echo -here Use current directory as working
echo directory echo directory
echo -where DIRECTORY Use specified DIRECTORY as working echo -where DIRECTORY Use specified DIRECTORY as working
echo directory echo directory
echo -[use-]full-path Use full current PATH variable echo -[use-]full-path Use full current PATH variable
echo instead of trimming to minimal echo instead of trimming to minimal
echo -no-start Do not use "start" command and echo -no-start Do not use "start" command and
echo return login shell resulting echo return login shell resulting
echo errorcode as this batch file echo errorcode as this batch file
echo resulting errorcode echo resulting errorcode
echo -shell SHELL Set login shell echo -shell SHELL Set login shell
echo -help ^| --help ^| -? ^| /? Display this help and exit echo -help ^| --help ^| -? ^| /? Display this help and exit
echo. echo.
echo Any parameter that cannot be treated as valid option and all echo Any parameter that cannot be treated as valid option and all
echo following parameters are passed as login shell command parameters. echo following parameters are passed as login shell command parameters.
echo. echo.
exit /b 0 exit /b 0
:removequotes :removequotes
FOR /F "delims=" %%A IN ('echo %%%1%%') DO set %1=%%~A FOR /F "delims=" %%A IN ('echo %%%1%%') DO set %1=%%~A
GOTO :eof GOTO :eof
:substituteparens :substituteparens
SETLOCAL SETLOCAL
FOR /F "delims=" %%A IN ('echo %%%1%%') DO ( FOR /F "delims=" %%A IN ('echo %%%1%%') DO (
set value=%%A set value=%%A
set value=!value:^(=x! set value=!value:^(=x!
set value=!value:^)=x! set value=!value:^)=x!
) )
ENDLOCAL & set %1=%value% ENDLOCAL & set %1=%value%
GOTO :eof GOTO :eof

View file

@ -1,253 +1,253 @@
# ========================================================================= # =========================================================================
# #
# Schema Extension for Cygwin User and Group auxiliary classes # Schema Extension for Cygwin User and Group auxiliary classes
# #
# Extend your Active Directory using # Extend your Active Directory using
# #
# ldifde -i -f <path>\<this>.ldif -b <username> <domain> <password> \ # ldifde -i -f <path>\<this>.ldif -b <username> <domain> <password> \
# -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext # -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext
# #
# Remember: # Remember:
# - you have to be schema admin for your active directory # - you have to be schema admin for your active directory
# - you have to run the above command directly from your schema master # - you have to run the above command directly from your schema master
# #
# For further information read # For further information read
# http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx # http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx
# #
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# #
# Explanation for the OIDs: # Explanation for the OIDs:
# #
# Value Meaning Description # Value Meaning Description
# 1 ISO Identifies the root authority. # 1 ISO Identifies the root authority.
# 3 IANA Group designation assigned by ISO. # 3 IANA Group designation assigned by ISO.
# 6.1.4.1.2312 Red Hat Organization assigned by IANA. # 6.1.4.1.2312 Red Hat Organization assigned by IANA.
# 15 Cygwin Assigned by Organization. # 15 Cygwin Assigned by Organization.
# Y Object Type Number defining the different object type # Y Object Type Number defining the different object type
# (category) such as classSchema or # (category) such as classSchema or
# attributeSchema. For example, 5 defines # attributeSchema. For example, 5 defines
# object class. # object class.
# Z Object Number identifying a particular object # Z Object Number identifying a particular object
# within the category. For example, the user # within the category. For example, the user
# class has the number 9 assigned to it. # class has the number 9 assigned to it.
# #
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Attribute definition for cygwinHome # Attribute definition for cygwinHome
dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-Home cn: cygwin-Home
attributeID: 1.3.6.1.4.1.2312.15.2.1 attributeID: 1.3.6.1.4.1.2312.15.2.1
# attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64 # attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64
# see http://technet.microsoft.com/en-us/library/cc961740.aspx # see http://technet.microsoft.com/en-us/library/cc961740.aspx
attributeSyntax: 2.5.5.12 attributeSyntax: 2.5.5.12
isSingleValued: TRUE isSingleValued: TRUE
adminDisplayName: cygwin-Home adminDisplayName: cygwin-Home
adminDescription: cygwin-Home adminDescription: cygwin-Home
oMSyntax: 64 oMSyntax: 64
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinHome lDAPDisplayName: cygwinHome
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attribute definition for cygwinShell # Attribute definition for cygwinShell
dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-Shell cn: cygwin-Shell
attributeID: 1.3.6.1.4.1.2312.15.2.2 attributeID: 1.3.6.1.4.1.2312.15.2.2
attributeSyntax: 2.5.5.12 attributeSyntax: 2.5.5.12
isSingleValued: TRUE isSingleValued: TRUE
adminDisplayName: cygwin-Shell adminDisplayName: cygwin-Shell
adminDescription: cygwin-Shell adminDescription: cygwin-Shell
oMSyntax: 64 oMSyntax: 64
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinShell lDAPDisplayName: cygwinShell
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attribute definition for cygwinGecos # Attribute definition for cygwinGecos
dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-Gecos cn: cygwin-Gecos
attributeID: 1.3.6.1.4.1.2312.15.2.3 attributeID: 1.3.6.1.4.1.2312.15.2.3
attributeSyntax: 2.5.5.12 attributeSyntax: 2.5.5.12
isSingleValued: TRUE isSingleValued: TRUE
adminDisplayName: cygwin-Gecos adminDisplayName: cygwin-Gecos
adminDescription: cygwin-Gecos adminDescription: cygwin-Gecos
oMSyntax: 64 oMSyntax: 64
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinGecos lDAPDisplayName: cygwinGecos
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attribute definition for cygwinFstab # Attribute definition for cygwinFstab
dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-Fstab cn: cygwin-Fstab
attributeID: 1.3.6.1.4.1.2312.15.2.4 attributeID: 1.3.6.1.4.1.2312.15.2.4
attributeSyntax: 2.5.5.12 attributeSyntax: 2.5.5.12
isSingleValued: FALSE isSingleValued: FALSE
adminDisplayName: cygwin-Fstab adminDisplayName: cygwin-Fstab
adminDescription: cygwin-Fstab adminDescription: cygwin-Fstab
oMSyntax: 64 oMSyntax: 64
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinFstab lDAPDisplayName: cygwinFstab
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attribute definition for cygwinUnixUid # Attribute definition for cygwinUnixUid
dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-UnixUid cn: cygwin-UnixUid
attributeID: 1.3.6.1.4.1.2312.15.2.5 attributeID: 1.3.6.1.4.1.2312.15.2.5
# attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2 # attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2
attributeSyntax: 2.5.5.9 attributeSyntax: 2.5.5.9
isSingleValued: TRUE isSingleValued: TRUE
adminDisplayName: cygwin-UnixUid adminDisplayName: cygwin-UnixUid
adminDescription: cygwin-UnixUid adminDescription: cygwin-UnixUid
oMSyntax: 2 oMSyntax: 2
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinUnixUid lDAPDisplayName: cygwinUnixUid
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attribute definition for cygwinUnixGid # Attribute definition for cygwinUnixGid
dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: attributeSchema objectClass: attributeSchema
cn: cygwin-UnixGid cn: cygwin-UnixGid
attributeID: 1.3.6.1.4.1.2312.15.2.6 attributeID: 1.3.6.1.4.1.2312.15.2.6
attributeSyntax: 2.5.5.9 attributeSyntax: 2.5.5.9
isSingleValued: TRUE isSingleValued: TRUE
adminDisplayName: cygwin-UnixGid adminDisplayName: cygwin-UnixGid
adminDescription: cygwin-UnixGid adminDescription: cygwin-UnixGid
oMSyntax: 2 oMSyntax: 2
searchFlags: 1 searchFlags: 1
lDAPDisplayName: cygwinUnixGid lDAPDisplayName: cygwinUnixGid
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# cygwin-User auxiliary class # cygwin-User auxiliary class
dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: classSchema objectClass: classSchema
cn: cygwin-User cn: cygwin-User
governsID: 1.3.6.1.4.1.2312.15.1.1 governsID: 1.3.6.1.4.1.2312.15.1.1
mayContain: cygwinHome mayContain: cygwinHome
mayContain: cygwinShell mayContain: cygwinShell
mayContain: cygwinGecos mayContain: cygwinGecos
mayContain: cygwinFstab mayContain: cygwinFstab
mayContain: cygwinUnixUid mayContain: cygwinUnixUid
rDNAttID: cn rDNAttID: cn
adminDisplayName: cygwin-User adminDisplayName: cygwin-User
adminDescription: cygwin-User adminDescription: cygwin-User
objectClassCategory: 3 objectClassCategory: 3
lDAPDisplayName: cygwinUser lDAPDisplayName: cygwinUser
name: cygwin-User name: cygwin-User
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# cygwin-Group auxiliary class # cygwin-Group auxiliary class
dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd changetype: ntdsschemaadd
objectClass: top objectClass: top
objectClass: classSchema objectClass: classSchema
cn: cygwin-Group cn: cygwin-Group
governsID: 1.3.6.1.4.1.2312.15.1.2 governsID: 1.3.6.1.4.1.2312.15.1.2
mayContain: cygwinUnixGid mayContain: cygwinUnixGid
rDNAttID: cn rDNAttID: cn
adminDisplayName: cygwin-Group adminDisplayName: cygwin-Group
adminDescription: cygwin-Group adminDescription: cygwin-Group
objectClassCategory: 3 objectClassCategory: 3
lDAPDisplayName: cygwinGroup lDAPDisplayName: cygwinGroup
name: cygwin-Group name: cygwin-Group
systemOnly: FALSE systemOnly: FALSE
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attach cygwin-User to User # Attach cygwin-User to User
dn: CN=User,CN=Schema,CN=Configuration,DC=X dn: CN=User,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify changetype: ntdsschemamodify
add: auxiliaryClass add: auxiliaryClass
auxiliaryClass: cygwinUser auxiliaryClass: cygwinUser
- -
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -
# Attach cygwin-Group to Group # Attach cygwin-Group to Group
dn: CN=Group,CN=Schema,CN=Configuration,DC=X dn: CN=Group,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify changetype: ntdsschemamodify
add: auxiliaryClass add: auxiliaryClass
auxiliaryClass: cygwinGroup auxiliaryClass: cygwinGroup
- -
dn: dn:
changetype: modify changetype: modify
add: schemaUpdateNow add: schemaUpdateNow
schemaUpdateNow: 1 schemaUpdateNow: 1
- -

View file

@ -1,3 +1,3 @@
 
H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H