Networking
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Networking

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 25th, 2008, 09:00 PM
Luiz Morte
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
default domain

Hi list,

How can I set a default domain for authentication/pop3 in qmail-ldap?

For example, send a email with authentication, where I put only the
login (without domain) for SMTP_AUTH.

and

#telnet localhost 110 (using qmail-pop3d)
user login_only_without_domain
pass password

is this possible?

Thanks,
Luiz

Reply With Quote
  #2  
Old July 31st, 2008, 01:40 PM
Luiz Morte
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
default domain

Hugo Monteiro escreveu:
Luiz Morte wrote:
>>

>Hi list,
>>

>How can I set a default domain for authentication/pop3 in qmail-ldap?
>>

>For example, send a email with authentication, where I put only the
>login (without domain) for SMTP_AUTH.
>>

>and
>>

>#telnet localhost 110 (using qmail-pop3d)
>user login_only_without_domain
>pass password
>>

>is this possible?
>>

>Thanks,
>Luiz
>>


Hello Luiz,

Qmail-LDAP is suposed to do just that. Did you change the definition for
LDAP_UID in qmail-ldap.h?
The default ldap attribute used is "uid". So either have your user
entries with uid=userlogin, or if you want to use another one, you'll
have to change qmail-ldap.h and recompile.

Hello Hugo, Thanks for the answer.

in my servers, I always do that and that is the problem :)

In the file qmail-ldap.h, I always put uid=mail, because I have more then one domain.
The problem: user has a "main domain" and he would like to put only the login without
the domain for autentication. For the others domain, he will put the email. I don't know
if I have been clear.

The pop3, I installed courier-imap, because I have this parameter (DEFDMAIN), but for
auth-smtp, I couldn't do the save solution.

Has qmail-ldap a parameter like this? I couldn't find this.

Thanks any way.
Luiz Morte.



Regards,

Hugo Monteiro.
>

Reply With Quote
  #3  
Old July 31st, 2008, 01:40 PM
Russell Simpkins
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
default domain

Hugo Monteiro escreveu:
>Luiz Morte wrote:


Hi list,

How can I set a default domain for authentication/pop3 in qmail-ldap?

For example, send a email with authentication, where I put only the
login (without domain) for SMTP_AUTH.

and

#telnet localhost 110 (using qmail-pop3d)
user login_only_without_domain
pass password

is this possible?

Thanks,
Luiz

>>

>Hello Luiz,
>>

>Qmail-LDAP is suposed to do just that. Did you change the definition for
>LDAP_UID in qmail-ldap.h?
>The default ldap attribute used is "uid". So either have your user
>entries with uid=userlogin, or if you want to use another one, you'll
>have to change qmail-ldap.h and recompile.
>

Hello Hugo, Thanks for the answer.
>

in my servers, I always do that and that is the problem :)
>

In the file qmail-ldap.h, I always put uid=mail, because I have more then
one domain.
The problem: user has a "main domain" and he would like to put only
the login without
the domain for autentication. For the others domain, he will put the
email. I don't know
if I have been clear.
>

The pop3, I installed courier-imap, because I have this parameter
(DEFDMAIN), but for
auth-smtp, I couldn't do the save solution.
>

Has qmail-ldap a parameter like this? I couldn't find this.
>

Thanks any way.
Luiz Morte.

Luiz,

Change that users uid to be the login without the domain. That will solve
it for that user. All but my own account use the domain in the login.

Russ

Reply With Quote
  #4  
Old July 31st, 2008, 01:40 PM
Luiz Morte
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
default domain

Russell Simpkins escreveu:
>Hugo Monteiro escreveu:

Luiz Morte wrote:
Hi list,

How can I set a default domain for authentication/pop3 in qmail-ldap?

For example, send a email with authentication, where I put only the
login (without domain) for SMTP_AUTH.

and

#telnet localhost 110 (using qmail-pop3d)
user login_only_without_domain
pass password

is this possible?

Thanks,
Luiz

Hello Luiz,

Qmail-LDAP is suposed to do just that. Did you change the definition for
LDAP_UID in qmail-ldap.h?
The default ldap attribute used is "uid". So either have your user
entries with uid=userlogin, or if you want to use another one, you'll
have to change qmail-ldap.h and recompile.
>Hello Hugo, Thanks for the answer.
>>

>in my servers, I always do that and that is the problem :)
>>

>In the file qmail-ldap.h, I always put uid=mail, because I have more then
>one domain.
>The problem: user has a "main domain" and he would like to put only
>the login without
>the domain for autentication. For the others domain, he will put the
>email. I don't know
>if I have been clear.
>>

>The pop3, I installed courier-imap, because I have this parameter
>(DEFDMAIN), but for
>auth-smtp, I couldn't do the save solution.
>>

>Has qmail-ldap a parameter like this? I couldn't find this.
>>

>Thanks any way.
>Luiz Morte.


Luiz,

Change that users uid to be the login without the domain. That will solve
it for that user. All but my own account use the domain in the login.


I thought to do that or put a alias in each account. The problem is that solution I will
need to change my application.

Luiz.



Russ
>

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Networking > default domain


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT