courier-authlib problems loading libmysqlclient.so.14 and libcourierauthcommon.so.0
I am having problems with mysql authentication using courier-authlib (authdaemond). This is getting really frustrating. The error I am getting is:
Aug 28 17:48:48 www authdaemond: modules="authmysql", daemons=5
Aug 28 17:48:48 www authdaemond: Installing libauthmysql
Aug 28 17:48:48 www authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory
I then did a ldd on /usr/lib/courier-authlib/libauthmysql.so.0 (this is the only libauthmysql.so.0 on the system).
It gave me the error that libmysqlclient.so.14 and libcourierauthcommon.so.0 could not be found. I searched the filesystem for these libraries and found them. I did an ldd on each of them and they loaded correctly. I also made sure that these libraries are on the ld.so.config as well as checking to make sure they are listed on a ldconfig -v.
It appears that the libraries are there and will load properly, but -- for some reason -- the library libauthmysql.so.0 can not find them. This is really weird -- they are listed in the ld cache (as shown by the ldconfig -v) but the library libauthmysql.so.0 does not see them.....
Hi,
I got long list of referred file content:
CGTGCFTGCGTFREDG
PEOGDKGJDGKLJGKL
DFGDSFIODUFIODSUF
FSDOFJSODIFJSIODFJ
DSFSDFDFSDOFJFOSF
SDFOSDJFOJFPPIPIOP
.
.
.
Input file content:
>sample_1
SDFDSKLFKDSLSDFSDFDFGDSFIODUFIODSUFSDDSFDSSDFDSFAS (14 Replies)
I'm trying to install something on my server that requires mysqlclient, but looking at my RPM package list I have it ("MySQL-client-5.0.91-0.glibc23"). Doing a locate on libmysqlclient gives me this:
For some reason it looks like I'm missing libmysqlclient.so.16. Does anyone know why this... (6 Replies)
Hello !
I want to add vacation on postfix + Authlib (authmodulelist="authuserdb")
The user is in the /etc/courier/userdb file (no mysql)
i dont find example on net (only postfix alone or with mysql for) for install vacation for my user.
i've not user in /etc/passwd and /home
I dont... (0 Replies)
I am running postfix, courier-imap and Atmail Webmail client. I can telnet to port 143 I can send mail from the command line using the mail command to the user. When I try to login through webmail using the atmail client nothing happens. I check the the maillog and it shows the localhost address... (0 Replies)
Hello,
I want to use vacation autoreply with courier userdb
Users is in "/etc/courier/userdb"
I search on forum but dont find anything about (only found for local and mysql user)
How to configure an user to use vacation (or other stuff) to make autoreply with userdb ?
Plateform :... (0 Replies)
I am running Unbuntu Server. I have installed postfix and courie-imap. I cant seem to be able to login using imap. Login failed. I can telnet using imap. I have a valid user. Authdaemonrc is running using authpam which is the default. I am running atmail webclient. What else do I need to check? (0 Replies)
Like class loader in java, can we make a function loader in shell script, for this can someone throw some light on how internally bash runs a shell script , what happenes in runtime ...
thanks in advance.. (1 Reply)
I am running Freebsd 6.1, Postfix 2.2, and Courier-IMAP 4.1 I can telnet to port 143 I can't connect to IMAP server using microsoft outlook or any client. The authdaemon is running and working correctly I did netstat -an | grep -i list and it shows port 143 bound to the localhost 127.0.0.1. I can... (1 Reply)
I will be using postfix and courier-imap version 4.1. I never configured courier-imap. What configurations files do I have to configure and how do I start courier-imap. There isn't a authdaemonrc file in the courier-imap directorry. The files that are listed are
imapd
imap-ssl.dist... (0 Replies)
USERDB(8) Double Precision, Inc. USERDB(8)NAME
userdb - manipulate /etc/courier/userdb
SYNOPSIS
userdb {addr} set {field=value...}
userdb {addr} unset {field...}
userdb {addr} del
userdb {path/addr} [set | unset | del] ...
userdb -f {file} {adr} [set | unset | del] ...
userdb -show {path}
userdb -show {path} {addr}
userdb -show -f {file}
userdb -show -f {file} {addr}
DESCRIPTION
userdb is a convenient script to individually manipulate entries in /etc/courier/userdb. See makeuserdb(8)[1] for a description of its
contents. /etc/courier/userdb can always be edited using any text editor, but userdb is a convenient way to modify this file from another
script.
/etc/courier/userdb can also be a subdirectory, instead of a file. Specify foo/bar/addr to manipulate addr in the file
/etc/courier/userdb/foo/bar. You can also use the -f flag: -f /etc/courier/userdb/foo/bar is equivalent. Use whatever form makes the most
sense to you.
/etc/courier/userdb must not have any group or world permissions. That's because its contents may include system passwords (depending upon
the application which uses this virtual user account database).
Each line in /etc/courier/userdb takes following form:
addr specifies a unique virtual address. It is followed by a single tab character, then a list of field=value pairs, separated by vertical
slash characters. See makeuserdb(8)[1] for field definitions.
A text editor can be used to add blank lines or comments in /etc/courier/userdb. Any blank lines or comments are ignored by the userdb
script.
The names of the actual fields, and their contents, are defined entirely by applications that use the /etc/courier/userdb database, the
userdb command just adds or removes arbitrary fields.
For example:
userdb default/info set mail=/home/mail/info
This command accesses the address "info" in /etc/courier/userdb/default.
If the second argument to userdb is "set", the remaining arguments are taken as field=value pairs, which are added to the record for addr.
If there is no record for addr, a new record will be appended to the file. If addr exists, any existing values of any specified fields are
removed. If =value is missing, userdb stops and prompts for it. This is useful if you're setting a password field, where you do not want to
specify the password on the command line, which can be seen by the ps(1) command. If userdb is being executed by a script, the value can be
provided on standard input.
Use "unset" to delete fields from an existing record. Use "del" to delete all fields in the existing record, plus the record itself.
DISPLAYING /etc/courier/userdb
If the first argument to userdb is -show, userdb displays the contents of /etc/courier/userdb. If /etc/courier/userdb is a subdirectory,
path must refer to a specific file in /etc/courier/userdb. The -f option can be used instead of path in order to specify an arbitrary file.
If addr is not specified, userdb produces a list, on standard output, containing all addresses found in the file, on per line. If addr is
specified, userdb produces a list, on standard output, of all the fields in /etc/courier/userdb for this addr.
REBUILDING /etc/courier/userdb.dat
The actual virtual account/address database is /etc/courier/userdb.dat. This is a binary database file. /etc/courier/userdb is the plain
text version. After running userdb, execute the makeuserdb(8)[1] command to rebuild /etc/courier/userdb.dat for the changes to take effect.
BUGS
addr must be unique. If /etc/courier/userdb is a subdirectory, it's possible to create the same addr in different files in the
subdirectory. This is an error that is not currently detected by userdb, however the subsequent makeuserdb(8)[1] command will fail with an
error message.
FILES
/etc/courier/userdb - plain text file, or directory of plain text files
.lock.filename - lock file for filename
.tmp.filename - temporary file used to create new contents of filename
SEE ALSO makeuserdb(8)[1], userdbpw(8)[2]
NOTES
1. makeuserdb(8)
makeuserdb.html
2. userdbpw(8)
userdbpw.html
Double Precision, Inc. 08/23/2008 USERDB(8)