RE: [Samba] samba passwords and ldap + telnet.. SOLVED
Hi, Thanks voor the answheres. I solved this problem, i use Delta-syncrepl to replicate my databases. then i us the readonly database. during the database sync something went wrong. I resetted my access log of the master database and this solved my problemen. The exact problem was, that the password fields and the login shell wasn't replicated. Louis -Oorspronkelijk bericht- Van: Michael Heydon [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 18 december 2007 0:10 Aan: L.P.H. van Belle CC: samba@lists.samba.org Onderwerp: Re: [Samba] samba passwords and ldap + telnet.. L.P.H. van Belle wrote: Hi all, This is maybe not the play to ask, but i'll just ask. I googled a lot but im stuck.. It's not really, this is a pam-ldap issue. The fact that one of the other servers connected to ldap runs samba is inconsequential. Im having samba 3.0.26a on a debian etch server with ldap. Im using a setup like the idealx setup. ( samba pdc + ldap ) I have replicated my ldap database to a other server. On this server im having a database application running and my users must login with telnet on this server. Now my problem, Everything works perfectly, exept 1 thing. my samba users are unable to login on server 2 with telnet. I have the pam modules configured, but im still unable to login. I have no errors, execpt 1. this one: Dec 17 08:52:38 ms249-lin-005 login[1680]: pam_ldap: error trying to bind as user uid=testuser,ou=Users,dc=locale,dc=domain,dc=internal (Invalid credentials) Dec 17 08:52:38 ms249-lin-005 login[1680]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=pts/1 ruser= rhost=PCNAME,locale,domain,internal user=testuser Dec 17 08:52:40 ms249-lin-005 login[1680]: FAILED LOGIN (1) on 'pts/1' from PCNAME,locale,domain,internal' FOR `testuser', Authentication failure It would appear that you are trying to bind to the LDAP server as the authenticating user. Does this work? (Try using an ldap client, something like LdapAdmin under Windows, and ensuring that the user can bind and access the relevent data from the directory). i've spent 2 days now and im cant find my problem. I hope someone on this list know the solution. I'm using md5 as encryption in pam-ldap. I hope someone can help me. Louis *Michael Heydon - IT Administrator * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba passwords and ldap + telnet..
Hi all, This is maybe not the play to ask, but i'll just ask. I googled a lot but im stuck.. Im having samba 3.0.26a on a debian etch server with ldap. Im using a setup like the idealx setup. ( samba pdc + ldap ) I have replicated my ldap database to a other server. On this server im having a database application running and my users must login with telnet on this server. Now my problem, Everything works perfectly, exept 1 thing. my samba users are unable to login on server 2 with telnet. I have the pam modules configured, but im still unable to login. I have no errors, execpt 1. this one: Dec 17 08:52:38 ms249-lin-005 login[1680]: pam_ldap: error trying to bind as user uid=testuser,ou=Users,dc=locale,dc=domain,dc=internal (Invalid credentials) Dec 17 08:52:38 ms249-lin-005 login[1680]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=pts/1 ruser= rhost=PCNAME,locale,domain,internal user=testuser Dec 17 08:52:40 ms249-lin-005 login[1680]: FAILED LOGIN (1) on 'pts/1' from PCNAME,locale,domain,internal' FOR `testuser', Authentication failure i've spent 2 days now and im cant find my problem. I hope someone on this list know the solution. I'm using md5 as encryption in pam-ldap. I hope someone can help me. Louis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba passwords and ldap + telnet..
L.P.H. van Belle wrote: Hi all, This is maybe not the play to ask, but i'll just ask. I googled a lot but im stuck.. It's not really, this is a pam-ldap issue. The fact that one of the other servers connected to ldap runs samba is inconsequential. Im having samba 3.0.26a on a debian etch server with ldap. Im using a setup like the idealx setup. ( samba pdc + ldap ) I have replicated my ldap database to a other server. On this server im having a database application running and my users must login with telnet on this server. Now my problem, Everything works perfectly, exept 1 thing. my samba users are unable to login on server 2 with telnet. I have the pam modules configured, but im still unable to login. I have no errors, execpt 1. this one: Dec 17 08:52:38 ms249-lin-005 login[1680]: pam_ldap: error trying to bind as user uid=testuser,ou=Users,dc=locale,dc=domain,dc=internal (Invalid credentials) Dec 17 08:52:38 ms249-lin-005 login[1680]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=pts/1 ruser= rhost=PCNAME,locale,domain,internal user=testuser Dec 17 08:52:40 ms249-lin-005 login[1680]: FAILED LOGIN (1) on 'pts/1' from PCNAME,locale,domain,internal' FOR `testuser', Authentication failure It would appear that you are trying to bind to the LDAP server as the authenticating user. Does this work? (Try using an ldap client, something like LdapAdmin under Windows, and ensuring that the user can bind and access the relevent data from the directory). i've spent 2 days now and im cant find my problem. I hope someone on this list know the solution. I'm using md5 as encryption in pam-ldap. I hope someone can help me. Louis *Michael Heydon - IT Administrator * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba passwords problems
Hi list I have some problems with my samba PDC. 1- The users can't change the password, i have configured: unix password sync passwd program passwd chat Im using whitebox 3.0 with samba 3.0.4-6.3E 2- How can i give privileges to a normal user ? 3- I need some good LDAP tutorial to setting up on my PDC. Thanks in advance Cristhian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba passwords gone haywire since upgrade (3.0.0-1)
hi all, i was running the previous RPM (samba-2.2.8a-2_rh73.i386.rpm) and have just upgraded to the 3.0.0-1. everything seemed to go smoothly. when I try to mount my media share from my other linux box, I get the following error: 1639: tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) I'm still running against my old smb.conf. I've run through the new one smb.conf.rpm (or whatever) and ammended it to match my configuration - and I get the identical results. I'm running share level security. when I check the %m log file, I see this, which looks wrong: [2003/09/25 14:54:50, 5] lib/username.c:Get_Pwnam(288) Finding user merlot [2003/09/25 14:54:50, 5] lib/username.c:Get_Pwnam_internals(223) Trying _Get_Pwnam(), username as lowercase is merlot [2003/09/25 14:54:50, 5] lib/username.c:Get_Pwnam_internals(239) Trying _Get_Pwnam(), username as uppercase is MERLOT [2003/09/25 14:54:50, 5] lib/username.c:Get_Pwnam_internals(247) Checking combinations of 0 uppercase letters in merlot [2003/09/25 14:54:50, 5] lib/username.c:Get_Pwnam_internals(251) Get_Pwnam_internals didn't find user [merlot]! you will notice below, on my machine called merlot, I am specifying user media - why is it looking for user merlot? [EMAIL PROTECTED] shiraz]# cat /bin/mount_media smbmount //shiraz/media /mnt/shiraz/ -o username=media also, in samba.log I'm getting: [2003/09/25 14:56:49, 5] passdb/pdb_interface.c:make_pdb_methods_name(455) pdb backend smbpasswd has a valid init [2003/09/25 14:56:49, 5] passdb/pdb_interface.c:make_pdb_methods_name(431) Attempting to find an passdb backend to match guest (guest) [2003/09/25 14:56:49, 5] passdb/pdb_interface.c:make_pdb_methods_name(452) Found pdb backend guest [2003/09/25 14:56:49, 5] passdb/pdb_interface.c:make_pdb_methods_name(455) pdb backend guest has a valid init why is it trying to use the guest user? my smb.conf on the share reads as follows: [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 any suggestions would help. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba passwords
Can we set expire policy for samba passwords and make it work or appear on windows 98 side, and making the communication between samba and windows. Please help... Gurnish -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba