Knowledge Partner Knowledge Partner
Knowledge Partner
1086 views

When is preferred e-mail address written back to the directory?

GW 2014

In the Admin Console, or via the REST API, it is possible to set a
preferred e-mail ID and preferred e-mail internet domain for a given
object. Why would this be necessary? Because GW is really neat and lets
you easily handle users from multiple internet domains (novell.com,
suse.com, netiq.com, etc.) at the same time, in the same system. Further,
it lets users of all systems get e-mails from all domains if wanted, which
really worked well when Novell was acquiring companies, and then when they
were acquired; if a user changed from novell.com to suse.com, their old
e-mail (targeted for the old address) still reached them. Smart smart smart.

If I set somebody to have a preferred address, specifically via REST
(because that is how the IDM driver for GW 2014 does it), their directory
address (in eDirectory) is not updated, though obviously a preferred
domain should be the one advertised in a directory (or so seems obvious to
me). If I use the REST API to tell GW to "commit" this change, then it
goes ahead and updates the directory; thanks Morris for fixing this in the
thread before this one: https://forums.novell.com/showthread.php?t=482628

My question (finally): Does GW automatically do a commit after some period
of time? Can it? I'm asking because I do not want to need to do this
manually, though I could with the IDM driver when pushing a value over to
GW; it would be nicer if GW would do the work for me and push back its
correct value (it is authoritative or e-mail addresses after all) back to
eDirectory as if I had asked it to commit. Perhaps I am just not patient
enough and eventually it will do so, but if so how is that configured?

--
Thanks.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: When is preferred e-mail address written back to the directory?


Short answer is no. There is no scheduled address publishing to the directory, It's only done when there is a trigger activated by changing something in either the Internet Addressing options, or if you go to the directory definition in the admin console.



You could create a cron job and do a publish for the system. you could put this curl command in a script for the cron job to run:



curl -k --user gwadmin:pwd -X POST -H "Content-type:application/json" --data "{\"commit\":true}" https://10.10.10.10:9710/gwadmin-service/system/directories/mydirectory/publish





--Morris






>>> ab<ab@no-mx.forums.novell.com> 3/23/2015 9:49 PM >>>



GW 2014

In the Admin Console, or via the REST API, it is possible to set a
preferred e-mail ID and preferred e-mail internet domain for a given
object. Why would this be necessary? Because GW is really neat and lets
you easily handle users from multiple internet domains (novell.com,
suse.com, netiq.com, etc.) at the same time, in the same system. Further,
it lets users of all systems get e-mails from all domains if wanted, which
really worked well when Novell was acquiring companies, and then when they
were acquired; if a user changed from novell.com to suse.com, their old
e-mail (targeted for the old address) still reached them. Smart smart smart.

If I set somebody to have a preferred address, specifically via REST
(because that is how the IDM driver for GW 2014 does it), their directory
address (in eDirectory) is not updated, though obviously a preferred
domain should be the one advertised in a directory (or so seems obvious to
me). If I use the REST API to tell GW to "commit" this change, then it
goes ahead and updates the directory; thanks Morris for fixing this in the
thread before this one: https://forums.novell.com/showthread.php?t=482628

My question (finally): Does GW automatically do a commit after some period
of time? Can it? I'm asking because I do not want to need to do this
manually, though I could with the IDM driver when pushing a value over to
GW; it would be nicer if GW would do the work for me and push back its
correct value (it is authoritative or e-mail addresses after all) back to
eDirectory as if I had asked it to commit. Perhaps I am just not patient
enough and eventually it will do so, but if so how is that configured?

--
Thanks.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.