Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

IRC clients: Invalid username

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> IRC clients: Invalid username Page: [1]
Login
Message << Older Topic   Newer Topic >>
IRC clients: Invalid username - Nov. 1, '05, 2:56:27 AM   
wysoft

 

Posts: 12
Joined: Jul. 14, '05,
From: Washington State, USA
Status: offline
I'm using a couple of IRC clients, bitchx and xaric. They worked previously until I joined a domain, and now my user name is prepended with either the domain name or the local computer name. Most IRC servers don't like seeing the extra info in the username, e.g. "KOMPUTEN+wysoft" for my local machine, and call it an "invalid username," preventing me from joining.

Is there a way to strip the leading information from the username for some processes without modifying the application's code?

< Message edited by wysoft -- Nov. 1, '05, 2:57:36 AM >
Post #: 1
RE: IRC clients: Invalid username - Nov. 1, '05, 3:02:35 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
Yes.
Change the registry entry for PrincipalDomain in HKLM\Software\Microsoft\Services for Unix
to the local machine name. If the key doesn't exist (and it likely doesn't) then create it.
The key is a string.
Now reboot for the change to take effect.

(in reply to wysoft)
Post #: 2
RE: IRC clients: Invalid username - Nov. 1, '05, 3:04:11 AM   
wysoft

 

Posts: 12
Joined: Jul. 14, '05,
From: Washington State, USA
Status: offline
Thanks Rodney. I noticed that setting the env variable USER to just "wysoft" also temporarily removed the leading text for certain programs.

(in reply to Rodney)
Post #: 3
RE: IRC clients: Invalid username - Nov. 1, '05, 3:14:14 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
Depends on the program.
Any program that's grabbing environment variables can be "tricked" just by changing that var.
But others using the API's (e.g. getpwuid(getuid())) won't fall for this.
The registry change aligns this. Refer to the "getpdomain" manual page for more info.

(in reply to wysoft)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> IRC clients: Invalid username Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031