This structure is provided because the calls to SetUser/GetUser/etc use some of the values that are set BEFORE the functions are called. What we really need is a function like 'SetDomain' where we can rewrite the storing of the information from the registry to LDAP.
Any ideas? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joseph Mann Sent: Tuesday, December 31, 2002 9:28 AM To: [EMAIL PROTECTED] Subject: Re: [IMail Forum] Problems changing external databases >>it does not include functions for anything domain >>related. Sure it does... hoststructs.h typedef struct _IMAILHOSTINFO { char szHostName[MAX_HOSTNAME+1]; char szAliases[MAX_ALIAS+1]; char szIPAddr[16]; char szTopDir[MAX_DIRNAME+1]; char szUserDB[MAX_DIRNAME+1]; DWORD dwNotifyPercent; DWORD dwMaxOutboundSize; DWORD dwSubMailboxFlag; char szNotifyAddress[256]; DWORD dwMaxSize; DWORD dwMaxMsgs; DWORD dwMaxSingleMsg; int nFlags; DWORD dwMaxUsers; DWORD dwCurUsers; DWORD dwEx1; DWORD dwEx2; DWORD dwVirus; } IMAILHOSTENTRY, FAR * LPIMAILHOSTENTRY; -- Joe M. Tuesday, December 31, 2002, 8:56:15 AM, you wrote: BB> Is there any way to store the info that is in IMail\Domains\* in an external BB> database, so that no domain specific information is in registry? BB> What we are doing is re-writing ODBCUSER.DLL to connect to an LDAP Directory BB> instead of SQL. However ODBCUSER.DLL only includes functions for accessing BB> the user settings...it does not include functions for anything domain BB> related. I'd love if we could also move those domain settings to LDAP. BB> Bill BB> -----Original Message----- BB> From: [EMAIL PROTECTED] BB> [mailto:[EMAIL PROTECTED]]On Behalf Of Sanford BB> Whiteman BB> Sent: Tuesday, December 31, 2002 12:13 AM BB> To: Troy Hilton BB> Subject: Re: [IMail Forum] Problems changing external databases >> Here's the question: Any idea of how to find the "hard link" to the >> SQL7 database? BB> All the info is in the IMail\Domains\<domain> key: there's nowhere BB> else that the services look for ODBCUSER.DLL params. If it looks right BB> in there, you need to make sure you restart all of your services. Also BB> double-check to make sure you don't have multiple DSNs by the same BB> name, but just one System DSN. BB> -Sandy BB> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html BB> List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ BB> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ BB> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html BB> List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ BB> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
