A while ago i posted that i couldn't get samba working from Windows XP clients. I finally get it working just by adding the base dc and binddn stuff in ldap.conf I guess it is mandatory as i couldn't get samba working without it. MY question is: how come doesn't it figure in the documentation, it might be useful for beginners.
Thomas Vito wrote:> I finally get it working just by adding the base dc and binddn stuff in > ldap.conf > > I guess it is mandatory as i couldn't get samba working without it. MY > question is: how come doesn't it figure in the documentation, it might be > useful for beginners. >This has relatively little to do with samba, it is an NSS configuration file. I've had a quick flick through the docs and I can't see any explicit instructions on how to set up NSS, only things saying that is needs to be done and that PADL nss_ldap is the preferred way of doing it. Presumable PADL have their own docs. *Michael Heydon - IT Administrator * michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>
"Thomas Vito" <shoktai@gmail.com> wrote in message news:619cf3c0808120336t2e74d62fg2a3383618f4373d@mail.gmail.com...> A while ago i posted that i couldn't get samba working from Windows XP > clients. > I finally get it working just by adding the base dc and binddn stuff in > ldap.conf > > I guess it is mandatory as i couldn't get samba working without it. MY > question is: how come doesn't it figure in the documentation, it might be > useful for beginners. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >This is clearly stated in the documentation. Sample files are provided. The documentation also talks alot about using the getent command to test the ldap configuration. Until the getent passwd and getent group commands work, there is little to be gained by moving forward. Incorrect configuration of nss_ldap is perhaps the most common reason for Samba authentication to fail.