diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-10 01:21:46 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-10 01:21:46 +0800 |
commit | 30876e0d14b1ac0bb110dc8a1635eb434205f5fb (patch) | |
tree | 6b4042ba9aa3cfbb35e91bc98fc928fce0854b0c /addressbook/gui/component/addressbook-storage.h | |
parent | 44f7f1b1aeed1f1ec213fdacd1d1af5bc59be95d (diff) | |
download | gsoc2013-evolution-30876e0d14b1ac0bb110dc8a1635eb434205f5fb.tar.gz gsoc2013-evolution-30876e0d14b1ac0bb110dc8a1635eb434205f5fb.tar.zst gsoc2013-evolution-30876e0d14b1ac0bb110dc8a1635eb434205f5fb.zip |
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
Diffstat (limited to 'addressbook/gui/component/addressbook-storage.h')
-rw-r--r-- | addressbook/gui/component/addressbook-storage.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/addressbook/gui/component/addressbook-storage.h b/addressbook/gui/component/addressbook-storage.h index f2a1910e13..8f260b9d07 100644 --- a/addressbook/gui/component/addressbook-storage.h +++ b/addressbook/gui/component/addressbook-storage.h @@ -49,18 +49,13 @@ typedef struct { AddressbookSourceType type; char *name; char *description; - struct { - char *path; - } file; - struct { - char *host; - char *port; - char *rootdn; - AddressbookLDAPScopeType scope; - AddressbookLDAPAuthType auth; - char *binddn; /* used in AUTH_SIMPLE */ - gboolean remember_passwd; - } ldap; + char *host; + char *port; + char *rootdn; + AddressbookLDAPScopeType scope; + AddressbookLDAPAuthType auth; + char *email_addr; /* used in AUTH_SIMPLE */ + gboolean remember_passwd; char *uri; /* filled in from the above */ } AddressbookSource; |