[Samba] userou= question

Rowland penny rpenny at samba.org
Sun Oct 11 12:25:18 UTC 2020

On 11/10/2020 12:42, Robert Wooden via samba wrote:
> All is going well with samba-tool create [user] except for userou=USEROU.
> How is "userou=" intended to be configured?

Lets start with the other mistakes you have first:

You do not put the users password here (if that is what you are trying 
to do): --password=PASSWORD1

It goes here: samba-tool user create USERNAME PASSWORD

You have: --home-drive=M

It should be: --home-drive=M: (note the ':' at the end)

Now we come to the OU.

You show two variants of your OU: OU=Mmbrs-folder-redirection and 

If your OU is at 
then you should be using something like 
--userou='OU=DmnMmbrs-folder-redirection,OU=CompanyName' or to put it 
another way, it is the OU's DN with the base DN removed.

The OU path must exist, it will not be created.


More information about the samba mailing list