Daniel Thielking
2014-May-28 10:23 UTC
[Samba] Automaticaly create User-Home directories for NFS
Hello, I have a problem with my Samba4 AD-Controller and NFS. We want to distribute a NFS-Share for our home directory. The problem is that the client is trying to create it on the fly for the first user login but you get 'Permission denied' because of the root_spuash option of the NFS-Server. My question: Is there any posibillity that the normal home directory is created after adding a new user to the ActiveDirectory? -- _____________________________________________________ Auszubildender Fachinformatiker f?r Systemintegration RWTH Aachen Lehrstuhl f?r Integrierte Analogschaltungen Raum 24C 313 Walter-Schottky-Haus Sommerfeldstr. 24 D-52074 Aachen www.ias.rwth-aachen.de Email: Daniel.Thielking at ias.rwth-aachen.de Phone: +49-(0)241-80-27771 FAX: +49-(0)241-80-627771 _____________________________________________________
Daniel Müller
2014-May-28 10:58 UTC
[Samba] Automaticaly create User-Home directories for NFS
Do you use rsat from windows to create the users? Smb.conf: [home] path=/your/home/path read only= no In rsat create the new user/password then klick on properties choose profile, choose connect with, fill in \\youradc\home\%username% 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 Daniel Thielking Gesendet: Mittwoch, 28. Mai 2014 12:23 An: samba at lists.samba.org Betreff: [Samba] Automaticaly create User-Home directories for NFS Hello, I have a problem with my Samba4 AD-Controller and NFS. We want to distribute a NFS-Share for our home directory. The problem is that the client is trying to create it on the fly for the first user login but you get 'Permission denied' because of the root_spuash option of the NFS-Server. My question: Is there any posibillity that the normal home directory is created after adding a new user to the ActiveDirectory? -- _____________________________________________________ Auszubildender Fachinformatiker f?r Systemintegration RWTH Aachen Lehrstuhl f?r Integrierte Analogschaltungen Raum 24C 313 Walter-Schottky-Haus Sommerfeldstr. 24 D-52074 Aachen www.ias.rwth-aachen.de Email: Daniel.Thielking at ias.rwth-aachen.de Phone: +49-(0)241-80-27771 FAX: +49-(0)241-80-627771 _____________________________________________________ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
On Wed, 2014-05-28 at 12:23 +0200, Daniel Thielking wrote:> Hello, I have a problem with my Samba4 AD-Controller and NFS. We want to > distribute a NFS-Share for our home directory. The problem is that the > client is trying to create it on the fly for the first user login but > you get 'Permission denied' because of the root_spuash option of the > NFS-Server. My question: Is there any posibillity that the normal home > directory is created after adding a new user to the ActiveDirectory?Hi We just nfs3 mount the home folder on the DC un-kerberised and script to add the home directory right after we know the uid:gid pair from samba-tool user add. I don't think you'll be able to do it from rsat. You only need the mount the few seconds it takes to create or delete users. HTH Steve