Götz Reinicke - IT Koordinator
2013-Dec-03 16:13 UTC
[Samba] Same home path on multiple servers - how to ?
Hi, I have a samba 3.6 PDC with ldap backend. Now I'd like to add an other storage samba server which uses the same home directory structure as the PDC. I have configured the new server using winbind, so the users can log in with the password stored in ldap. But the home directory stored in ldap is not used; the new server searches in /home/UID or /home/DOMAIN/uid. Any hints? Or suggestions? Thanks and regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt
On Tue, 2013-12-03 at 17:13 +0100, G?tz Reinicke - IT Koordinator wrote:> > Error verifying signature: parse > error > --------------ms080500010006020805090209 > Content-Type: text/plain; charset=ISO-8859-15 > Content-Transfer-Encoding: quoted-printable > and paid via Amazon checkout. I want to check I ordered the correct size. SHQ have not sent co > Hi, > > I have a samba 3.6 PDC with ldap backend. > > Now I'd like to add an other storage samba server which uses the same > home directory structure as the PDC. > > I have configured the new server using winbind, so the users can log in > with the password stored in ldap. > > But the home directory stored in ldap is not used; the new server > searches in /home/UID or /home/DOMAIN/uid. > > Any hints? Or suggestions?Hi Is the home directory you want stored in ldap? If so, why not use sssd or nss-ldapd to pull it from ldap rather than relying on the defaults in Samba? Don't forget to change nsswitch.conf accordingly. HT Steve
What is the output of getent passwd. It should be the right home directories of the domain users: EX: merz:x:36261:513:Rosemarie Merz:/windows/winuser/merz:/bin/bash <-- Does the paths exist on your member-server? Are there settings in the smb.conf of the MS which point to another place? If the settings are empty it should point to the ldap home dir. Greetings Daniel ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von G?tz Reinicke - IT Koordinator Gesendet: Dienstag, 3. Dezember 2013 17:13 An: Samba List Betreff: [Samba] Same home path on multiple servers - how to ? Hi, I have a samba 3.6 PDC with ldap backend. Now I'd like to add an other storage samba server which uses the same home directory structure as the PDC. I have configured the new server using winbind, so the users can log in with the password stored in ldap. But the home directory stored in ldap is not used; the new server searches in /home/UID or /home/DOMAIN/uid. Any hints? Or suggestions? Thanks and regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt