Displaying 20 results from an estimated 200 matches similar to: "pam auth with mysql"
2005 Jun 04
2
pam mysql authentication
Hello
I am trying to use pam to authenticate dovecot again a mysql database.
In /etc/pam.d/dovecot i have:
auth optional pam_mysql.so host=localhost db=maildb user=mailro \
passwd=xxx table=users usercolumn=address passwdcolumn=passwd \
where="disabled is NULL and deleted = ''" crypt=1
account required pam_mysql.so host=localhost db=maildb
2008 Nov 25
1
Problems configuring samba with pam_mysql auth - NT_STATUS_NO_SUCH_USER / NT_STATUS_LOGON_FAILURE
Hello everyone,
First of all...sorry for this monster post, but I have tried to insert every potentially useful information. :)
The last days I vainly tried to implement a samba server with MySQL authentication on one of our servers (Debian 2.6.27.5). The server shall provide fileshare services to some Mac clients (OS 10.4.11). Mail is already running with pam_mysql auth against the mail user
2007 May 12
0
valid/invalid users problem
Hello,
I have a weird problem with valid/invalid users settings in smb.conf
file. It started when I migrated to another machine and started to use
pam_mysql. I used samba's internal smbpasswd before. The smb.conf stayed
almost the same. But I just don't understand how could pam_mysql cause this.
Without "valid users" in config, I can login with any account present in
my DB
2005 Dec 31
1
can't switch off login debuggin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I tried the change from cyrus to dovecot. This was just some days ago
and I'm really happy. Just a little problem. For testing I switched on
some login debugging. Now I can't switch it off. Dovecot seems to ignore
the "no" in the config file.
<snip>
auth_verbose = no
auth_debug = no
</snip>
That is what I get
2005 Aug 02
2
VSFTP/MySQL
Hi guys,
Just a quick question, I've been slowly moving all my user services to
mysql backend, I realise it's probably not as good a choice as LDAP, but
you tend to stick with what you know.
To that end I want to setup both Apache and VSFTP to use mysql db for
virtual users. Basically I want to create virtual users that are locked
into their own home dir and have apache use mysql to
2004 Dec 29
0
dovecot_auth / pam_mysql login errors
I am getting this errors at the maillog file :
Dec 29 12:22:10 websrv dovecot-auth: pam_sm_authenticate called.
Dec 29 12:22:10 websrv dovecot-auth: host changed.
Dec 29 12:22:10 websrv dovecot-auth: database changed.
Dec 29 12:22:10 websrv dovecot-auth: dbuser changed.
Dec 29 12:22:10 websrv dovecot-auth: dbpasswd changed.
Dec 29 12:22:10 websrv dovecot-auth: table changed.
Dec 29 12:22:10 websrv
2005 Jun 22
0
crypt password authenticate method (passdb or pam)?
Hi,
I'm trying to put my samba to authenticate users into a mysql database.
I've started to use passdb and I did mapped the main fields and also did
some change at pdb_sql.c code to match my needs.
Well, the problem is that I can't found a way to use crypt passwords
with mysql using pdb_mysql, actually the type of passwords I'm allowed
to use are "plain password",
2004 Mar 15
1
Help with dovecot+passwd+pam_mysql
Hi again,
I'm on Freebsd 4.x and instead of using the mysql patch, it seems like
it would be easier to just use "auth_passdb = pam *" with the pam_mysql
drop-in.
I'm not really a pam.conf writing expert though. Here's what it
currently contains (works for /etc/passwd users)
imap auth required pam_unix.so
imap account required pam_unix.so
2006 Sep 12
1
postconf: /usr/lib/mysql/libmysqlclient.so.14: no version information available (required by postconf)
One of my servers is complaining with this error now that I have updated
to CentOS 4.4.
I am now running postfix-2.2.10-1.RHEL4.2.mysql_pgsql.c4 from the
centosplus repository.
I had been running postfix-2.1.5-4.2.RHEL4.mysql.centos4 from the
centosplus repository.
I also have the following MySQL related packages installed:
mysql-devel-5.0.22-1.centos.1
pam_mysql-0.6.0-1
2004 Dec 24
1
openssh authentication for non-system users
Hello,
I am trying to write an PAM module for openssh, which should
authenticate users using an MySQL database (it is based on pam_mysql).
The problem is that I do not know what is necessary to authenticate
successfully users, which do not have entries in /etc/passwd, for them I
get invalid user :(.
I will greatly appreciate any info on the matter. I have been pulling
my hair out for almost
2002 Dec 10
1
Samba with Mysql as backend and VIRTUAL users.
Hello samba experts,
I want to configure samba with mysql as backend. I searched on google
and i found some info about this subject but it seems to be not really
what i nedd. I said this because i found few howtos about how to
configure samba to read password from mysql database to authenticate
users. Is good but not enough. I don't want shell users with different
password for samba!!! I
2001 Nov 01
0
"not authorized to login" and libpam-mysql
Hi all,
I get the error message "not authorized to login from this station".
This is not fixed as suggested in past posts (encrypt = no,
NT4_plainpassword.reg).
I have libpam-mysql installed. And it never even gets called for
authentication from the NT machine! If I connect from the local PC with
smbclient //server/share password -U user
I get the following in syslog (I turned on
2010 Feb 02
3
Contribution for Wiki CentOS - Virtual Hosting with VSFTPD and MySQL on CentOS 5 - HowTO Tutorial
Hello
I am Thomas, alias Han Solo registered to wiki.centos.org with email
libnacom{}gmail.com.
I would like to contribute HowTO TUTORIAL for *Virtual Hosting with VSFTPD
and MySQL on CentOS 5*
which I posted in CentOS forums - link
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=24559&forum=38
Can I or someone post to WIKI for all others out there to help out
configuring it,
1999 Oct 23
2
How can I Authenticate via MySQL ?
Hi ,
I want to set up my Redhat 6.0 Linux machine to Authenticate username and
password and other information for user that received from /etc/passwd &
/etc/shadow from MySQL server . How Can I do that ?
any Refrences or Manual for this is helpfull :)
Thanx
Hamid Hashemi
2007 Aug 07
1
postfix+mysql
Hi
Howto install postfix-mysql and pam-mysql from repository yum
PD. excuse my English, I I speak Spanish
2005 Jul 27
1
Dovecot, Postfix, Mysql and Virtual Users
I have been reading up :
http://wiki.dovecot.org/moin.cgi/DovecotPostgresql to create virtual users
who can access the email.
Can i follow these steps with a few changes to get to use mysql instead of
Postgresql ?
Also i dont know if u all can help.. but i have tried to do :
SASL2 authentication configuration in main.cf(Postfix):
smtpd_recipient_restrictions = permit_sasl_authenticated,
2003 Nov 25
2
PDC Machine Trust Accounts
I read in the Samba HOWTO Collection that every machine in the domain
needs to have a corresponding UNIX account. Does this mean whenever I
add a machine to the network, I must create a UNIX account for each
one?? Am I supposed to create Unix accounts for my users as well?
Doesn't this defeat the purpose of using a centralized authentication
backend such as LDAP or MySQL?
2004 Jun 18
2
4.x, PAM, password facility
Hi,
I've been playing around with pam_mysql, and have it working for
interactive logins (backed by /etc/passwd entries for uid/gid w/*'d
password field) and it works well so far.
Looking at the source to the module, it does support password changing.
So I put in the following entry in pam.conf:
sshd password required pam_mysql.so user=root db=pam table=users crypt=1
However,
2005 Jan 14
0
Strange behavior of mysql 4.1.8/9 + dovecot 1.0-test58~test61 on Fedora 3 x86_64 machine
I've built & configured the dovecot to use mysql as the passdb and
userdb. However, dovecot-auth always claims that the username/password
of mysql server is wrong (access denied by mysql server) during the
connection. When I set the password to NULL, it can successfully connect
to mysql server! I am 100% sure that I typed the correct password (by
copy & paste), and I can successfully
2005 Jan 14
0
Strange behavior of mysql 4.1.8/9 + dovecot1.0-test58~test61 on Fedora 3 x86_64 machine
Some additional tests. I tried to add a test connection in the main.c under auth, which should be the main file of dovecot-auth. The test connection is done as the first statement in the int main() function. However, it still reports that the connection fails due to access denied. What should I do?? Any suggestions are welcomed.
-----Original Message-----
From: dovecot-bounces at dovecot.org