Winbind Auth with PXE booted diskless clients
Posted: 2010/04/29 05:35:28
Hey All,
In short we are booting Centos 5.4 over PXE to a bunch of diskless clients. Once they are booted - we can login (as local root account) and RDP to windows machines using rdesktop as we require.
The next step of the project is to get user authentication to the Windows Domain controller working for the PXE image.
To do so - we continued with our physical install of Centos 5.4 (used to create the pxe image with rsync as per the wiki page for diskless clients) by following through [url=http://www.linuxmail.info/active-directory-integration-samba-centos-5/]this page[/url]. AD auth works perfect on this box (it has a local HDD install of centos obviously).
Once we rsync'd the changes over to the pxeboot location - and rebooted one of the diskless pxe clients - we get issues.
The issue is that winbind seems to start - however the file "/etc/samba/secrets.tdb" cant be read. We tried removing this file that the PXE clients use and recreating it using
[code]touch /etc/samba/secrets.tdb[/code]
however still get the same issue.
So my question is - is it indeed possible to get a PXE booted diskless client to auth using winbind to a windows Domain controller ? We could create local users with the same username/password on the Centos PXE image however that would become tedious when users come and go - and it shouldn't be rocket science to get it working right ?
In short we are booting Centos 5.4 over PXE to a bunch of diskless clients. Once they are booted - we can login (as local root account) and RDP to windows machines using rdesktop as we require.
The next step of the project is to get user authentication to the Windows Domain controller working for the PXE image.
To do so - we continued with our physical install of Centos 5.4 (used to create the pxe image with rsync as per the wiki page for diskless clients) by following through [url=http://www.linuxmail.info/active-directory-integration-samba-centos-5/]this page[/url]. AD auth works perfect on this box (it has a local HDD install of centos obviously).
Once we rsync'd the changes over to the pxeboot location - and rebooted one of the diskless pxe clients - we get issues.
The issue is that winbind seems to start - however the file "/etc/samba/secrets.tdb" cant be read. We tried removing this file that the PXE clients use and recreating it using
[code]touch /etc/samba/secrets.tdb[/code]
however still get the same issue.
So my question is - is it indeed possible to get a PXE booted diskless client to auth using winbind to a windows Domain controller ? We could create local users with the same username/password on the Centos PXE image however that would become tedious when users come and go - and it shouldn't be rocket science to get it working right ?