Thread:Extension talk:LDAP Authentication/Undefined Index: ws Domain error?/reply

Sorry, forgot the debug log, its below 2011-09-28 08:32:16 wikidb: 1.2e Entering validDomain 2011-09-28 08:32:16 wikidb: 1.2e User is not using a valid domain. 2011-09-28 08:32:16 wikidb: 1.2e Setting domain as: invaliddomain 2011-09-28 08:32:16 wikidb: 1.2e Entering allowPasswordChange 2011-09-28 08:32:16 wikidb: 1.2e Entering modifyUITemplate 2011-09-28 08:32:32 wikidb: 1.2e Entering validDomain 2011-09-28 08:32:32 wikidb: 1.2e User is using a valid domain (hmrcmis). 2011-09-28 08:32:32 wikidb: 1.2e Setting domain as: hmrcmis 2011-09-28 08:32:32 wikidb: 1.2e Entering getCanonicalName 2011-09-28 08:32:32 wikidb: 1.2e Username isn't empty. 2011-09-28 08:32:32 wikidb: 1.2e Munged username: Cg10223 2011-09-28 08:32:32 wikidb: 1.2e Entering authenticate 2011-09-28 08:32:32 wikidb: 1.2e 2011-09-28 08:32:32 wikidb: 1.2e Entering Connect 2011-09-28 08:32:32 wikidb: 1.2e Using TLS or not using encryption. 2011-09-28 08:32:32 wikidb: 1.2e Using servers:  ldap://11.111.111.11:111 2011-09-28 08:32:32 wikidb: 1.2e Connected successfully 2011-09-28 08:32:32 wikidb: 1.2e Entering getSearchString 2011-09-28 08:32:32 wikidb: 1.2e Doing a straight bind 2011-09-28 08:32:32 wikidb: 1.2e userdn is: Cg10223@hmrcmis.net 2011-09-28 08:32:32 wikidb: 1.2e 2011-09-28 08:32:32 wikidb: 1.2e Binding as the user 2011-09-28 08:32:32 wikidb: 1.2e Bound successfully 2011-09-28 08:32:32 wikidb: 1.2e Entering getUserDN 2011-09-28 08:32:32 wikidb: 1.2e Created a regular filter: (sAMAccountName=Cg10223) 2011-09-28 08:32:32 wikidb: 1.2e Entering getBaseDN 2011-09-28 08:32:32 wikidb: 1.2e basedn is not set for this type of entry, trying to get the default basedn. 2011-09-28 08:32:32 wikidb: 1.2e Entering getBaseDN 2011-09-28 08:32:32 wikidb: 1.2e basedn is ou=End User,dc=hmrcmis,dc=net 2011-09-28 08:32:32 wikidb: 1.2e Using base: ou=End User,dc=hmrcmis,dc=net 2011-09-28 08:32:32 wikidb: 1.2e Fetched username is not a string (check your hook code...). This message can be safely ignored if you do not have the SetUsernameAttributeFromLDAP hook defined. 2011-09-28 08:32:32 wikidb: 1.2e Pulled the user's DN: CN=CG10223,OU=NoRoamingProfile,OU=Relaxed,OU=Accounts,OU=End User,DC=hmrcmis,DC=net 2011-09-28 08:32:32 wikidb: 1.2e Entering getGroups 2011-09-28 08:32:32 wikidb: 1.2e Entering checkGroups 2011-09-28 08:32:32 wikidb: 1.2e Entering getPreferences 2011-09-28 08:32:32 wikidb: 1.2e Entering synchUsername 2011-09-28 08:32:32 wikidb: 1.2e Authentication passed 2011-09-28 08:32:32 wikidb: 1.2e Entering updateUser 2011-09-28 08:32:32 wikidb: 1.2e Entering allowPasswordChange