I have made some changes to try and get the PDC working and now I am down to one thing where I believe the problem lies. All such documents on the setup show that the addition of users to the PDC should be added to passwd as well as LDAP but for my system that is not the case. I am running the listed software: Fedora Core 4 OpenLDAP 2.2.23 Samba 3.0.14a This is what currently happens when I run the command: [root@Fedora4 log]# smbclient //pdc-srv/testuser1 -U testuser1 Password: session setup failed: NT_STATUS_LOGON_FAILURE The user testuser1 is listed in the ldap database but now in the passwd database. I am obviously missing something important to link the two but I do not know what. Any help on the matter is appreciated.
Adam Gritt schrieb:> I have made some changes to try and get the PDC working and now I am > down to one thing where I believe the problem lies. All such > documents on the setup show that the addition of users to the PDC > should be added to passwd as well as LDAP but for my system that is > not the case. I am running the listed software: > > Fedora Core 4 > OpenLDAP 2.2.23 > Samba 3.0.14a > > This is what currently happens when I run the command: > [root@Fedora4 log]# smbclient //pdc-srv/testuser1 -U testuser1 > Password: > session setup failed: NT_STATUS_LOGON_FAILURE > > The user testuser1 is listed in the ldap database but now in the > passwd database. I am obviously missing something important to link > the two but I do not know what. Any help on the matter is > appreciated.the same question as before: does "getent passwd" list that user? if so, try doing: root# su some_user_from_etc_passwd someuser$ su testuser1 <- the user from LDAP password: testuser1$ does it work for you? -- Tomek WPKG - install software on your Samba clients http://wpkg.org
That is where the problem lies. They are not showing up there but I am not sure why. All the services are setup to communicate as they should based on the examples. On 6/22/05, Tomasz Chmielewski <mangoo@mch.one.pl> wrote:> Adam Gritt schrieb: > > I have made some changes to try and get the PDC working and now I am > > down to one thing where I believe the problem lies. All such > > documents on the setup show that the addition of users to the PDC > > should be added to passwd as well as LDAP but for my system that is > > not the case. I am running the listed software: > > > > Fedora Core 4 > > OpenLDAP 2.2.23 > > Samba 3.0.14a > > > > This is what currently happens when I run the command: > > [root@Fedora4 log]# smbclient //pdc-srv/testuser1 -U testuser1 > > Password: > > session setup failed: NT_STATUS_LOGON_FAILURE > > > > The user testuser1 is listed in the ldap database but now in the > > passwd database. I am obviously missing something important to link > > the two but I do not know what. Any help on the matter is > > appreciated. > > the same question as before: > > does "getent passwd" list that user? > > if so, try doing: > > root# su some_user_from_etc_passwd > someuser$ su testuser1 <- the user from LDAP > password: > testuser1$ > > does it work for you? > > > -- > Tomek > WPKG - install software on your Samba clients > http://wpkg.org > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
On 6/23/05, Tomasz Chmielewski <mangoo@mch.one.pl> wrote:> Adam Gritt schrieb: > > authconfig/authentication tools to setup authentication but there > > isn't a tool I could find that would do automatic setup of the LDAP > > server, only HTTP, DNS, SMB and NFS. > > I don't use Fedora, but maybe you're missing some packet like nss_ldap > and/or pam_ldap? > > -- > Tomek > WPKG - install software on your Samba clients > http://wpkg.org >I have solved my problem with being able to open the shadow file. Turns out that SELinux was still turned on. I have gotten that fixed.