Hey,
This may be a dumb question... I'm trying to set up 1.0 with a static
userdb, and I'm getting stuck. I have:
userdb static {
args = uid=500 gid=500 home=/domains/%d/%n
}
When I attempt to log in as, say, kyle at memoryhole.net (via telnet, so
I *know* I'm logging in as that user), the debug log says that it
thinks my home directory is "/domains//kyle".
I even tried, just to check what might be going on:
args = uid=500 gid=500 home=/domains/%u/%d/%n
It then thought my home directory was "/domains/kyle//kyle".
Can anyone help me? Where might that be getting cleared?
~Kyle
--
The more men you make free, the more freedom is strengthened and the
... greater is the security of the State.
-- Frederick Douglas, Nov 17, 1864
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20070417/192798fc/attachment.bin>
On Tue, 2007-04-17 at 19:04 -0600, Kyle Wheeler wrote:> args = uid=500 gid=500 home=/domains/%d/%n > } > > When I attempt to log in as, say, kyle at memoryhole.net (via telnet, so > I *know* I'm logging in as that user), the debug log says that it > thinks my home directory is "/domains//kyle".Your passdb drops the domain out. This is usually caused by SQL password_query: # The "user" column is needed to make sure the username gets used with exactly # the same casing as it's in the database. Note that if you store username and # domain in separate fields, you most likely want to return a combination of # them as the "user" column, otherwise the domain gets stripped. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070418/df10c92d/attachment.bin>