[Samba] help with default setting from samba4 to RATS user mananager

Gregory Sloop gregs at sloop.net
Mon Mar 31 09:06:36 MDT 2014

LPHvB> Hai, 
LPHvB> ( Debian / sernet-samba 4.1.6 ) 
LPHvB> Im working on the member server join now, and almost finished. 
LPHvB> But when i create a new user in the AD and when i go to the
LPHvB> unix tab.  ( using the windows RATS tools ) 
LPHvB> There i want samba to adapt the settings i want, like: 
LPHvB>         template shell = /bin/bash
LPHvB>         template homedir = /home/samba/DOMAINNAME/USERNAME
LPHvB> but when lways the from the account manager in windows these back. 
LPHvB> /bin/sh
LPHvB> /home/username 
LPHvB> sure i can manualy correct this, but i would be nice if it's isnt needed.
LPHvB> I tried it with these settings in al my servers, but didnt help. 
LPHvB> how/where can i set my usersettings so the windows usermanager
LPHvB> adapts these when i want set the new user settings. 
LPHvB> And last question, from the usermanager, there is no option to
LPHvB> create an OU in AD ? or im i missing something? 
LPHvB> Thanks in advance. 

I don't know if it works with the Unix extensions - but I tend to
create a "template" user in the Windows Admin tool and then "copy"
that user when creating a new user. This will copy all the relevant
details from the copied "template" user for the new user. [Right click
on the "template" user - and copy. (I don't think that's the exact text, but I
don't recall exactly what the menu says...)]

This includes things like the default group etc. So, I expect it will
work properly for the Unix extended attribs too. [In any case, it's
simply two minutes to try.]


More information about the samba mailing list