Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Tim Bates
dogbert wrote: Ok, a little update on this issue. I've changed the various common-* within /etc/pam.d and I've obtained the following. Now I can connect with ssh or su with a user defined in ldap as long as this user is present also in /etc/passwd. It seems that the system check for the user ac

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
Ok, a little update on this issue. I've changed the various common-* within /etc/pam.d and I've obtained the following. Now I can connect with ssh or su with a user defined in ldap as long as this user is present also in /etc/passwd. It seems that the system check for the user account in /etc/pa

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Tim Bates
dogb...@infinito.it wrote: Thanks Oliver, I will check all the files in /etc/pam.d Check /etc/nsswitch.conf first. I think it may be your first problem. I think that if I can succeed in authenticating via shell or ssh I can then rule-out pam issues and work on samba configuration. You need

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
mba] Samba+Ldap problems Data: 03/06/09 12:42 > > > Hi, > > > I'm trying to use it to > > login via ssh. This user cannot authenticate. > > Here is the result from auth.log and some configurations files > > This is not a samba problem but a SSH/Ubuntu/L

Re: [Samba] Samba+Ldap problems

2009-06-03 Thread Olivier Nicole
Hi, > I'm trying to use it to > login via ssh. This user cannot authenticate. > Here is the result from auth.log and some configurations files This is not a samba problem but a SSH/Ubuntu/Ldap problem :) You need both packages pam_ldap AND nss_ldap. You need to configure both (configuration is

[Samba] Samba+Ldap problems

2009-06-03 Thread dogbert
I'm trying to trobuleshoot my previuos problem from the basics. I've a box setup with Ubuntu, samba and ldap. I have a lot of problems with user authentications. I'm checking if LDAP and PAM ar working together. I've added an user to ldap with smbldap-useradd command (as posix account) and I'm try

[Samba] Re: Samba/Ldap problems with Versions > 3.0.24

2008-03-31 Thread Markus Kahle
Hi, Adam Tauno Williams wrote: we have similiar problems with samba+ldap after updating to 3.0.27. But in our case, the following ldap-Attributes won't get updated: sambaPwdMustChange sambaPwdCanChange only sambPwdLastSet gets altered. in newly created accounts the two Attributes even won't be

Re: [Samba] Re: Samba/Ldap problems with Versions > 3.0.24

2008-03-18 Thread Tomasz Chmielewski
Mario Gzuk schrieb: Hi, Am Montag, den 17.03.2008, 13:41 -0400 schrieb Adam Tauno Williams: we have similiar problems with samba+ldap after updating to 3.0.27. But in our case, the following ldap-Attributes won't get updated: sambaPwdMustChange sambaPwdCanChange only sambPwdLastSet gets altered

Re: [Samba] Re: Samba/Ldap problems with Versions > 3.0.24

2008-03-18 Thread Mario Gzuk
Hi, Am Montag, den 17.03.2008, 13:41 -0400 schrieb Adam Tauno Williams: > > we have similiar problems with samba+ldap after updating to 3.0.27. > > But in our case, the following ldap-Attributes won't get updated: > > sambaPwdMustChange > > sambaPwdCanChange > > only sambPwdLastSet gets altered. >

Re: [Samba] Re: Samba/Ldap problems with Versions > 3.0.24

2008-03-17 Thread Adam Tauno Williams
> we have similiar problems with samba+ldap after updating to 3.0.27. > But in our case, the following ldap-Attributes won't get updated: > sambaPwdMustChange > sambaPwdCanChange > only sambPwdLastSet gets altered. > in newly created accounts the two Attributes even won't be created !? > I already

[Samba] Re: Samba/Ldap problems with Versions > 3.0.24

2008-03-17 Thread Markus Kahle
Hi ! we have similiar problems with samba+ldap after updating to 3.0.27. But in our case, the following ldap-Attributes won't get updated: sambaPwdMustChange sambaPwdCanChange only sambPwdLastSet gets altered. in newly created accounts the two Attributes even won't be created !? I already ch

[Samba] Samba/Ldap problems with Versions > 3.0.24

2008-03-17 Thread Mario Gzuk
Hi, we have a samba/ldap domain. After upgrading to versions greater than 3.0.24, there are problems with the timestamps which are correct set in the LDAP tree. Here are 2 examples: --- Example 1: Password can change=not empty LDAP: sambaPwdLastSet:

Re: [Samba] Samba+LDAP problems

2007-11-08 Thread Edmundo Valle Neto
Marcelo Mogrovejo escreveu: Hi John... John H Terpstra wrote: (...) I mean that i don't know why the user linux is not created, why i don't see him with getent passwd. The command work fine without errors. So all of this means smbldap-tools is broken ?? No, it means your NSS is either

Re: [Samba] Samba+LDAP problems

2007-11-08 Thread Marcelo Mogrovejo
Hi John... John H Terpstra wrote: On Wednesday 07 November 2007 19:00, Marcelo Mogrovejo wrote: Hello... Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: Hello Edmundo (...) So, yes, i have configured this file already: passwd: compat ldap shadow: compa

Re: [Samba] Samba+LDAP problems

2007-11-08 Thread Marcelo Mogrovejo
Hello... Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: Hello Edmundo (...) So, yes, i have configured this file already: passwd: compat ldap shadow: compat ldap group: compat ldap I have downloaded the libnss-ldap file too but it's the same... Yes, this package must be installe

Re: [Samba] Samba+LDAP problems

2007-11-07 Thread Marcelo Mogrovejo
Hello... Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: Hello Edmundo (...) So, yes, i have configured this file already: passwd: compat ldap shadow: compat ldap group: compat ldap I have downloaded the libnss-ldap file too but it's the same... Yes, this package must be installe

Re: [Samba] Samba+LDAP problems

2007-11-06 Thread Edmundo Valle Neto
Marcelo Mogrovejo escreveu: Hello Edmundo (...) So, yes, i have configured this file already: passwd: compat ldap shadow: compat ldap group: compat ldap I have downloaded the libnss-ldap file too but it's the same... Yes, this package must be installed too, nsswitch.conf says where to r

Re: [Samba] Samba+LDAP problems

2007-11-06 Thread Marcelo Mogrovejo
Hello Edmundo Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: (...) Have you configured NSS? "gentent passwd" shows the user? NSS is the same of /etc/nsswitch.conf ?? Yes, its the configuration file of NSS, it says from which base the information are readed, when using LDAP it needs

Re: [Samba] Samba+LDAP problems

2007-11-04 Thread Edmundo Valle Neto
Marcelo Mogrovejo escreveu: (...) Have you configured NSS? "gentent passwd" shows the user? NSS is the same of /etc/nsswitch.conf ?? Yes, its the configuration file of NSS, it says from which base the information are readed, when using LDAP it needs to read from LDAP too. No, getent passw

Re: [Samba] Samba+LDAP problems

2007-11-01 Thread Marcelo Mogrovejo
Edmundo Valle Neto wrote: Marcelo Mogrovejo escreveu: Hi (...) I read this documents and i begin again with samba+ldap... This time i have not problems, except when i try to create an user for testing. I create a testuser and i add a password for his but when i try to login with this user, h

Re: [Samba] Samba+LDAP problems

2007-11-01 Thread Edmundo Valle Neto
Have you configured NSS? "gentent passwd" shows the user? Its "getent". Edmundo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba+LDAP problems

2007-11-01 Thread Edmundo Valle Neto
Marcelo Mogrovejo escreveu: Hi (...) I read this documents and i begin again with samba+ldap... This time i have not problems, except when i try to create an user for testing. I create a testuser and i add a password for his but when i try to login with this user, hi doesn't login... for exam

Re: [Samba] Samba+LDAP problems

2007-10-31 Thread Marcelo Mogrovejo
Hi (...) I read this documents and i begin again with samba+ldap... This time i have not problems, except when i try to create an user for testing. I create a testuser and i add a password for his but when i try to login with this user, hi doesn't login... for exameple with command "su testuse

Re: [Samba] Samba+LDAP problems

2007-10-30 Thread Marcelo Mogrovejo
Edmundo Valle Neto wrote: If it was asked to the list answer to the list please, other people can not guess what was already answered. Sending it back ... (...) Trying to add anything else works? with de command line a don't know how add another thing, but with phpldapadmin i can add for ex

Re: [Samba] Samba+LDAP problems

2007-10-29 Thread Edmundo Valle Neto
If it was asked to the list answer to the list please, other people can not guess what was already answered. Sending it back ... (...) Trying to add anything else works? with de command line a don't know how add another thing, but with phpldapadmin i can add for example users. The best doc

Re: [Samba] Samba+LDAP problems

2007-10-28 Thread Edmundo Valle Neto
Celodrake escreveu: Hello there... Hi. My name is Marcelo, i am new in this list. I don't know if here is the right place for asking about samba + LDAP, if not, sorry... Yes, it is. I am finishing to implement a samba server with ldap support but, when i want to add some group to the sam

[Samba] Samba+LDAP problems

2007-10-28 Thread Celodrake
Hello there... My name is Marcelo, i am new in this list. I don't know if here is the right place for asking about samba + LDAP, if not, sorry... I am finishing to implement a samba server with ldap support but, when i want to add some group to the samba domain i obtain the following error me

[Samba] LDAP problems clarified, in relation to MS ADS.

2006-07-13 Thread Greg Folkert
I am subscribed to another list for the Exim MTA. I have been experiencing a similar problem to it for quite a long time. I believe the patch supplied by Alain Williams <[EMAIL PROTECTED]> and his discussion on the list mail could be quote relevant to Samba. Here is the start of the thread. http

[Samba] LDAP problems

2005-03-26 Thread Jean-Michel Caricand
Hi, I have a problem with LDAP authentication. I get this message : "session setup failed: NT_STATUS_LOGON_FAILURE". When I use pdbedit -vL, I show my user : --- Unix username: ludovic NT username: ludovic Account Flags:[U ] User SID:

[Samba] LDAP problems: samba searches whole database

2004-10-15 Thread werner maes
Hello I use samba-3.0.7 & openldap 2.2.13. When I try to join a machine-account to the domain, I always get the message "the specified user does not exist". What happens? when I try to join, it seems like the whole samba database is being searched. ldap.log (below) Oct 15 17:25:30 linsam-15 slapd