[Samba] win host is not able to connect

2005-01-17 Thread Lukas Pataki
hi list,

ill using samba with pam an mysql
with the following smb.conf:


[global]
  log file = /var/log/samba/log.%m
  log level = 10
syslog = 10
workgroup = Workgroup
server string = samba file services at WORKGROUP-NAME
security = User
#must be set to 'no' to use PAM
encrypt passwords = No
   # update encrypted = No
allow trusted domains = Yes

[samba]
path = /home/samba
valid users = root,user1
writeable = Yes

=
now, i can auth with `smbclient -L localhost -U user1 -W WORKGROUP` without any 
problems and 
 pam is working fine.
But when i try to connect with a windows machine (same workgroup and user) the 
host is not able to connect to that server. only when i set
 encrypt passwords = Yes 
but in that case samba did not use the pam auth, only the own smbdpassdb.

Do i have to set another config option to?

thanks
luke
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] lanman,nt pass vs. mysqlpass

2005-01-16 Thread Lukas Pataki
hi list

i´ll use samba with pdb_mysql, but i´ve to use an existing
DB where the Password for the users are stored with the 
mysql password encyption like:
UPDATE `user` SET `password` = PASSWORD( 'quick' ) WHERE `uid` = '1';

Is there a way to tell samba to use this encryption rather than nt or lanmann?

thx.luke

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] pam auth with mysql

2005-01-15 Thread Lukas Pataki
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:

[EMAIL PROTECTED] common-auth
[EMAIL PROTECTED] common-account
[EMAIL PROTECTED] common-session
auth requiredpam_mysql.so   user=root passwd=** db=samba table=users 
usercolumn=login passwdcolumn=password crypt=1
account  requiredpam_mysql.so   user=root passwd=**  db=samba table=users 
usercolumn=login passwdcolumn=password crypt=1
password requiredpam_mysql.so   user=root passwd=**  db=samba table=users 
usercolumn=login passwdcolumn=password crypt=1
session  requiredpam_mysql.so   user=root passwd=**  db=samba table=users 
usercolumn=login passwdcolumn=password crypt=1

i see that pam is doing the right mysq_query
SELECT password FROM users WHERE login='root' 
but  i alwas getting a an error:
session setup failed: NT_STATUS_LOGON_FAILURE

without the mysql_auth in pam samba is working fine.

isn´t a solution for this?

thx
luke



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba