Displaying 20 results from an estimated 200 matches similar to: "Problems configuring samba with pam_mysql auth - NT_STATUS_NO_SUCH_USER / NT_STATUS_LOGON_FAILURE"
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 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 Jan 15
1
pam auth with mysql
hi list,
since, days i?m trying to auth. samba users with pam using mysql
without any result
this is my /etc/pam.d/samba:
#@include common-auth
#@include common-account
#@include common-session
auth required pam_mysql.so user=root passwd=** db=samba table=users usercolumn=login passwdcolumn=password crypt=1
account required pam_mysql.so user=root passwd=** db=samba table=users
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 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
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
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",
2002 Jun 25
0
openssh-3.3p1 and pam_mysql
hello,
i have found that openssh 3.3p1 doesn't work with pam_mysql (latest). it
works perfectly until i upgrade openssh to 3.3p1.
logs:
Jun 25 21:15:01 host sshd[29839]: Accepted password for testicek from ip port 36488 ssh2
Jun 25 21:15:01 host sshd[29850]: PAM _pam_init_handlers: no default config /etc/pam.d/other
Jun 25 21:15:01 host sshd[29850]: PAM error reading PAM configuration file
2011 Dec 13
0
proftpd graphical clients not working
Hello list,
With my latest proftpd server graphical client error on list (ls) directory:
Error: Could not read from socket: ECONNRESET - Connection reset by peer
Error: Disconnected from server
Error: Failed to retrieve directory listing
So far I've tried both filezilla and cyberduck.
But command line ftp works completely:
[dunphy at BAM-025715-TD:~] #ftp jfweb
Connected to jfweb.
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
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 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
2005 Mar 22
3
PAM fails to change user password
Hi, freebsd-security.
I have FreeBSD 5.3-STABLE.
When I try to change user's password (via passwd) I recieve the
following:
passwd: entry inconsistent
passwd: pam_chauthtok(): error in service module
passwd: in pam_sm_chauthtok(): pw_copy() failed
and password stays unchanged.
There are no other errors in the authorization system at all.
Contents of /etc/pam.d stayed unchanged (compared to
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
2011 Aug 26
1
mysql authentication in proftpd
Hello list,
I was able to get passive mode worked out. I'm really glad I was able to do this. I'm able to log into the ftp server, list directories, enter subdirectories and upload/download files. However my next task is to enable virtual users using mysql. I have installed proftpd-mysql and enabled the sql modules in the config.
I found a good article on how to do this here:
2007 May 17
0
samba + mysql
Hi,
what is the preferred way for Samba password mysql backend?
samba-bdb[-mysql] or pam_mysql?
Thanks,
David