Mart

I will put a sample of the ini file on the forum.

Here is the sample of my inin file.

# login.ini file for login processing V2.6.1
#
# Format of resource records is:
#
# [RESOURCE]
# Type of Resource
# CLASS=DISK|PRINT|COMMAND|MESSAGE
#
# Target ID to map share to
# TARGET=drive: | [LPT#:]
#
# Path to shared resource
# PATH=\\server\share[\path]
#
# Description of resource - renames drive map or displays a short message during mapping
# DESC=Description
#
# Process record if admin / if not guest / if guest
# PRIV=Admin|NoGuest|(blank)
#
# Process record only if member of at least one of listed groups
# GROUPS=CSV list of permitted group memberships
#
# Process record only if member of at least one of listed OUs

#
# By default, access is permitted if the user is a member of a defined Group or OU
# Set the logic to AND to require membership of both Group and OU specifications
# LOGIC=AND | OR
#
# Priority if multiple resources match - higher value wins. Used only for Drive and LPT#: mapping
# to resove target conflicts
# PRIORITY=#
#
# Process record only if one of the defined Connection Types
# CONNTYPE=CON ICA RDP
#
# Process if the local computer is a laptop, is not a laptop, or always
# LAPTOP = Y | N | (blank)
#
# Delay the specified number of seconds after displaying a message file
# DELAY=number
#
#
[COMMON]
# A short message to display when there's an error mapping a resource
HDMessage=Neem aub contact op met de helpdesk 088-1861300 als u een fout melding krijgt met inloggen!

# ConnType can be a list of session types - CON, RDP, and ICA - that are allowed to run login scripts
# Define as CON RDP to run only with direct Console and Terminal Service connections, and not Citrix
# Runs on all types if not defined.
ConnType=

# ClearDriveMappings is a boolean value that indicates if all drive mappings should be cleared
# when the login script starts
ClearDriveMappings=y

# IgnoreDriveMappings is a comma-delimited string listing the drive letters that should not be unmapped
# when ClearDriveMappings is true. This permits a set of drive letters that can be used for ad-hoc
# connections that will not be unmapped. Valid only when ClearDriveMappings is true.
# IgnoreDriveMappings=k

# ClearPrinterMappings is a boolean value that indicates if all printer mappings should be cleared
# when the login script starts. This is currently under development and has no effect.
ClearPrinterMappings=n

# ForceVisible is a boolean value that forces the login script to run in a maximized window
ForceVisible=y

# Minimum tune to display the login script window (in seconds)
# Insures that the window is displayed for at least "n" seconds in fast environments
MinimumDisplayTime=6

# FlushTokenCache defines the number of days before the Kixtart domain token cache should be cleared.
# If the value is 0 or not defined, the cache is never cleared. A value of -1 always clears the cache.
# The default value is 7. The actual value should be based on the number of AD changes made within
# a defined time, lowering this number when many changes are made.
FlushTokenCache=7

# OUOffset is a value that defines the field offset of the LDAP string where the user's OU is defined
# For example, if the DN is OU=users,OU=department xx,OU=DepartmentGroup,DC=domain,DC=com - the most specific
# OU field is "department xx", which has an index offset of 1. Most structures that have this format would
# use an offset of 1, if the structure looks like OU=department xx,OU=DepartmentGroup,OU=users... the offset
# would be zero instead.
OUOffset=1

# Version 2.6.0 introduces internationalization of messages. If the languageID is not specified,
# it defaults to 0 (US English). This setting only affects user messages and not debug messages.
# If LanguageID=-1 (negative one), then the language definitions in UserLang.kix will be loaded
# if present. If the file is not present, English will be used. You can also use the standard
# rewrite / lookup processing - &SITE:table&, &OU:table&, or &SUBNET:table& - to define languages
# by AD Site, OU, or network subnet. Failed or invalid lookups default to English.
LanguageID=0

# RunSilent will suppress all output when set to True (Y/N) - default is Display Messages (N)
# Even if RunSilent is true, MESSAGE class resources will display, and resource processing
# errors will cause an error message to display. RunSilent will also turn off the ForceVisible
# setting, but will not force the window to be minimized
RunSilent=N

# Allowed / Denied domains - comma-delimited lists of AD domain names that are allowed or denied
# This is useful in trusted domain situations where a user logs into a computer with trusted
# credentials. The computer does not have access to the user's home domain resources, so mapping
# of those resources should not be done. A list of allowed or denied domains can be defined, but
# only one or the other really makes sense - both are provided to permit using the shortest list.
AllowedDomains=DM001
DeniedDomains=ThatTrustedDomain

DEBUG=Y

########################################
# #
# resource mapping definitions follow #
# #
########################################

# [RESOURCE_ID]
# CLASS=DISK | PRINT | MESSAGE | COMMAND
# TARGET=drive letter | printer id (LPT#:)
# PATH=UNC path to resource | HOME
# DESC=description
# PRIV=Admin | Guest | NoGuest
# GROUPS=list of groups permitted to connect
# OUS=list of OUs permitted to connect
# PRIORITY=priority of resource when multiple PATHS are defined for one TARGET
# LAPTOP=Y|N| Process for laptop, non-laptop, or any system type
# LOGIC=AND|OR Defines the logic used to process both Group and OU access restrictions


[IBB Kondor]
CLASS=DISK
TARGET=F:
PATH=\\dc-034\netapps$
DESC=Netapps
CLASS=DISK
TARGET=G:
PATH=\\dc-034\USR$\%USERNAME%
DESC=USERSHARE AUTOCAD
CLASS=M:
PATH=\\dc-034\acad$
DESC=Autocad
CLASS=O:
PATH=\\DC-034\ACAD DIRECT$
DESC=AUTOCAD SYNCHRONISATIE
PRIV=GUEST
GROUPS=GS_IBB Kondor_ACAD
OUS=

[BEBOUW]
CLASS=DISK
TARGET=F:
PATH=\\dc-073\netapps$
DESC=Netapps
CLASS=DISK
TARGET=G:
PATH=\\dc-073\USR$\%USRENAME%
DESC=USERSHARE AUTOCAD
CLASS=N:
PATH=\\dc-073\acad$
DESC=Autocad
CLASS=O:
PATH=\\DC-073\ACAD DIRECT$
DESC=AUTOCAD SYNCHRONISATIE
PRIV=
GROUPS=GS_BEBOUW_ACAD
OUS=

[Van Agtmaal]
CLASS=DISK
TARGET=F:
PATH=\\dc-075\netapps$
DESC=Netapps
CLASS=DISK
TARGET=G:
PATH=\\dc-075\USR$\%USRENAME%
DESC=USERSHARE AUTOCAD
CLASS=N:
PATH=\\dc-075\acad$
DESC=Autocad
CLASS=O:
PATH=\\DC-075\ACAD DIRECT$
DESC=AUTOCAD SYNCHRONISATIE
PRIV=
GROUPS=GS_Van Agtmaal_ACAD
OUS=

#==========================================================
# MESSAGE OF THE DAY Definitions
# users will see all that they are allowed to, up to the first 10 defined

# MOTD for Admin group members
#[MOTD_ADMINS]
#CLASS=MESSAGE
#PRIV=ADMIN
#PATH=\\server\users\ADMIN.txt
#DESC=Admin Alert

# MOTD for associates group members
#[MOTD_Work]
#CLASS=MESSAGE
#PATH=\\server\users\MOTD.txt
#DESC=Message of the day
#GROUPS=associates



#==========================================================
# PRINT definitions
# CLASS=PRINT
# TARGET=LPT1: - LPT9: for 16b systems, null for 32b systems
# If TARGET is null, the resource will only be mapped on 32b systems
# PATH=\\server\printer_share
# PATH can also be the reserved word "DEFAULT", and the path defined in the LP
# environment variable will be used.
# PRIV=null (anybody) | ADMIN | NOGUEST
# GROUPS=comma-delimited list of groups whose members are allowed to connect to this resource
#
# Systems are prevented from mapping to localy defined printers.

# Lexmark Optra Se 3455 - HP/PCL
#[OPTRA_HP]
#CLASS=PRINT
#PATH=\\printserver\Optra
#GROUPS=+Site0 Users
#SETDEFAULT=Y

# Lexmark Optra Se 3455 - PostScript
#[OPTRA_PS]
#CLASS=PRINT
#PATH=\\printserver\OptraPS
#GROUPS=+Site0 Users

# Printer at site 1
#[Site1_Printer]
#CLASS=PRINT
#PATH=\\s1ps00\printer
#GROUPS=+Site1 Users
#SETDEFAULT=Y



#==========================================================
# COMMAND definitions
# CLASS=COMMAND
# PATH=\path\to\command
# PATH can be a physical path or a UNC
# PRIV=null (anybody) | ADMIN | NOGUEST
# GROUPS=comma-delimited list of groups whose members are allowed to execute this command

When i run the kixtart what's came with the download from glenn.

It will start reading the login.ini script and it stops by the first f: and says the script is done. But i don't see the mapping in net use and don't see the other drive mappings.

Can anybody see the error.

And sorry but the avatar is also my home town.
_________________________
Greetings

Bart Dirkx