Page 1 of 1

AdiumX and Ichat server

Posted: Wed May 25, 2005 4:08 pm
by BLeyran
I am new to this forum...I wanted to know if anyone in this forum is using or knows someone that is using adium with and Ichat server on Mac OS X Server (Tiger). I have a few questions to ask. If I am in the wrong forum, please point me in the right direction. Thank you for your time. :?:

Posted: Wed May 25, 2005 5:48 pm
by jmelloy
I think iChat server is a Jabber server, so you can probably connect with a Jabber account.

Posted: Wed May 25, 2005 6:08 pm
by xpander
Indeed it is Jabber. I run an an iChat server at work, so if you have any questions, feel free to ask.

Posted: Wed May 25, 2005 11:18 pm
by BLeyran
xpander wrote:Indeed it is Jabber. I run an an iChat server at work, so if you have any questions, feel free to ask.
Is your work running the Ichat (Jabber) server in "Standalone" or "Open Directory Master/Replica" mode? We use a IM software called Qucik Conference (QC) and it has some very important limitations. One of the major limitations is that it does not support NAT over a firewall to remote locations. One of the nice features is that it is a client/server program and when you add the QC client on a machine, it automatically populates the users over. Another nice feature is that it has a signle window for all IM conversations. Thus, you can chat with anyone on the list withouht having to add and "authenticate" each user. All the documentation on this new Ichat server says is that it uses "Open Directory" to allow users in a internal network to chat amongst each other. Depending on which client you choose to use (i.e. Adium...in our case), the ichat server does not allow you to populate users on the internal network on to your client "Contact" screen...unless I am wrong. May I ask what IM client your company is using for chat? The Apple server support say that this IChat server is new to them and that they are learning also. Please give me your expert opinion on this. Thanks.

Posted: Thu May 26, 2005 1:02 pm
by xpander
It's hardly an expert opinion, I am in the process of converting from a standalone configuration to an Open Directory format. Our network is mostly (95%) PC's running XP Pro. OUr server and my computers are the only macs. On the PC we use Pandion for our client, and I use Adium. The only thing that I had to change was making the clients use a secure connection via ssl. Otherwise, configuration was painless (especially after i installed Bonjour [ a dumb name in my opinion but that's another topic ] on all the PC's in our office. When I fully convert over to our new setup, I'll be sure to post my experiences.

Posted: Thu May 26, 2005 6:28 pm
by BLeyran
xpander wrote:It's hardly an expert opinion, I am in the process of converting from a standalone configuration to an Open Directory format. Our network is mostly (95%) PC's running XP Pro. OUr server and my computers are the only macs. On the PC we use Pandion for our client, and I use Adium. The only thing that I had to change was making the clients use a secure connection via ssl. Otherwise, configuration was painless (especially after i installed Bonjour [ a dumb name in my opinion but that's another topic ] on all the PC's in our office. When I fully convert over to our new setup, I'll be sure to post my experiences.
Please do send me your opinions and experiences about Ichat server and Adium...if you decidde to use Adium. My company is an all Mac shop and my previous experience was an all Windows shop. Previous to working here, I never knew a Mac client/server environment existed. Anyways, are you an Adium Developer? It says "Adium Dev" under your username. If you are...can you tell me if there is a way to disable the "Authorize" feature when you add a new contact to your contact list with Adium? Thanks.

Ichat Server

Posted: Thu Jun 02, 2005 10:55 pm
by BLeyran
Have you had the chance to test the Adium client out with the iChat server. Just want to know if you had any experiences to post. Thanks.

Posted: Fri Jun 03, 2005 8:19 am
by evands
I don't believe anyone on the dev team is running 10.4 Server.

The "Authorize" function is inherent to the Jabber protocol I believe, though it is possible some sort of configuration could make it not be needed.

Posted: Fri Jun 03, 2005 5:44 pm
by BLeyran
evands wrote:I don't believe anyone on the dev team is running 10.4 Server.

The "Authorize" function is inherent to the Jabber protocol I believe, though it is possible some sort of configuration could make it not be needed.
Would you be able to point me in the right direction as to how I can remove that "Authorize/Deny" function so that we can just populate the list of Jabber accounts over. Thanks for your help.

Posted: Fri Jun 03, 2005 8:52 pm
by xpander
I connect to iChat server at work, and Adium works fine, but there is the issue of the authorization. I know Pandion (windows client) lets you set whether or not you want to recieve auth requests, so it is possible to get by them.

Posted: Fri Jun 03, 2005 10:16 pm
by BLeyran
xpander wrote:I connect to iChat server at work, and Adium works fine, but there is the issue of the authorization. I know Pandion (windows client) lets you set whether or not you want to recieve auth requests, so it is possible to get by them.
I'm sure there is a way to get by the "Authorization". I just need someone to show me how...I have to source code for Adium. I'm sure it is in there somewhere. Any help would be appreciated. Thank you.

Posted: Fri Jun 03, 2005 10:23 pm
by evands
BLeyran wrote:
xpander wrote:I connect to iChat server at work, and Adium works fine, but there is the issue of the authorization. I know Pandion (windows client) lets you set whether or not you want to recieve auth requests, so it is possible to get by them.
I'm sure there is a way to get by the "Authorization". I just need someone to show me how...I have to source code for Adium. I'm sure it is in there somewhere. Any help would be appreciated. Thank you.
Are you wanting it just to automatically authorize anyone who wants to add you?

Posted: Fri Jun 03, 2005 11:34 pm
by BLeyran
Yes, I would like it to just add the contact without having the Jabber client ask to "Authorize/Deny" to contact. It will be a "pain in the butt" to have to add 80-100 contacts and the Jabber client asking to Authorize/Deny" each time. Do you follow me? We want to use the Adium client as our internal IM. There will be no connecting to outside Jabber, MSN, Aim, etc. servers. Thanks.

Posted: Sat Jun 04, 2005 7:37 am
by evands
BLeyran wrote:Yes, I would like it to just add the contact without having the Jabber client ask to "Authorize/Deny" to contact. It will be a "pain in the butt" to have to add 80-100 contacts and the Jabber client asking to Authorize/Deny" each time. Do you follow me? We want to use the Adium client as our internal IM. There will be no connecting to outside Jabber, MSN, Aim, etc. servers. Thanks.
You'd have to talk to someone who knows about Jabber servers to see if you could just disable the authorization request. However, if you're willing to roll your own Adium build, you could pretty easily make a version which just authorizes when it is asked rather than prompting the user to decide.

These instructions go alongside the 0.82 source, which is not posted as a direct download yet as 0.82 hasn't been released. See http://trac.adiumx.com/wiki/GettingAdiumSource for information on how to get the source; to get 0.8x source, substitute adium-0.8 for adium in the terminal line including svn co.

In the file EGaimAuthorizationRequestWindowController.m, in adium-0.8/Plugins/Gaim Service, replace the method

Code: Select all

+ (void)showAuthorizationRequestWithDict:(NSDictionary *)inInfoDict
{
	ESGaimAuthorizationRequestWindowController	*controller;
	
	controller = [[self alloc] initWithWindowNibName:@"GaimAuthorizationRequestWindow"
											withDict:inInfoDict];
	
	[controller showWindow:nil];
	[[controller window] makeKeyAndOrderFront:nil];	
}
with

Code: Select all

+ (void)showAuthorizationRequestWithDict:(NSDictionary *)inInfoDict
{
	ESGaimAuthorizationRequestWindowController	*controller;
	
	controller = [[self alloc] initWithWindowNibName:@"GaimAuthorizationRequestWindow"
											withDict:inInfoDict];
	
	[controller window];
       [controller authorize:nil];
}

Posted: Tue Jun 07, 2005 12:28 am
by BLeyran
You'd have to talk to someone who knows about Jabber servers to see if you could just disable the authorization request. However, if you're willing to roll your own Adium build, you could pretty easily make a version which just authorizes when it is asked rather than prompting the user to decide.

These instructions go alongside the 0.82 source, which is not posted as a direct download yet as 0.82 hasn't been released. See http://trac.adiumx.com/wiki/GettingAdiumSource for information on how to get the source; to get 0.8x source, substitute adium-0.8 for adium in the terminal line including svn co.

In the file EGaimAuthorizationRequestWindowController.m, in adium-0.8/Plugins/Gaim Service, replace the method

Code: Select all

+ (void)showAuthorizationRequestWithDict:(NSDictionary *)inInfoDict
{
	ESGaimAuthorizationRequestWindowController	*controller;
	
	controller = [[self alloc] initWithWindowNibName:@"GaimAuthorizationRequestWindow"
											withDict:inInfoDict];
	
	[controller showWindow:nil];
	[[controller window] makeKeyAndOrderFront:nil];	
}
with

Code: Select all

+ (void)showAuthorizationRequestWithDict:(NSDictionary *)inInfoDict
{
	ESGaimAuthorizationRequestWindowController	*controller;
	
	controller = [[self alloc] initWithWindowNibName:@"GaimAuthorizationRequestWindow"
											withDict:inInfoDict];
	
	[controller window];
       [controller authorize:nil];
}
[/quote]

Do you happen to know what version of the Jabber server in running on Tiger (OS X 10.4)? I heard they were running Jabber 1.x on the Tiger iChat server server and not the latest version of Jabber (2.x). Do you think I can look for this code (in the Jabber Tiger Server)....if it is written the same way...and replace with the code you suggested? Is it even worth looking into it? The thought of building our own stand-a-lone Jabber server has crossed my path. I just thought the Jabber server running in Tiger would be suuficient enough to meet our needs...turns out I was half wrong. Thanks.

Posted: Thu Jun 09, 2005 1:00 am
by evands
BLeyran wrote:Do you happen to know what version of the Jabber server in running on Tiger (OS X 10.4)?
No idea.
Do you think I can look for this code (in the Jabber Tiger Server)....if it is written the same way...and replace with the code you suggested?
The code change suggested above is for Adium, not jabberd (the Jabber server). It is a just a hack to part of Adium's interface code which effectively clicks "authorize" automatically (without showing the authorize window) when an authorization request comes up. It wouldn't apply to the Jabber server.

Posted: Thu Jun 09, 2005 9:00 pm
by BLeyran
Sorry, I must have misunderstood what you were saying. I ended up copying the code down and giving it to one of our programmers to look into. Anyways, thanks again for your advice. We will definitley give it a shot and I can post an outcome...if you like. Thanks.[/code]