[Samba] guess account

Rowland Penny rowlandpenny at googlemail.com
Mon Dec 1 07:42:18 MST 2014


On 01/12/14 14:16, jacek burghardt wrote:
> Can you show me how rewrite my smb.conf to setup samba as standalone 
> domain controller.
>
>
 From what you originally posted, you have a 2012 AD DC and you now want 
to get your domain users to have guest access to another standalone server.

So, all you need is:

[global]
         workgroup = HEBE
         realm = HEBE.US
         server string = %h ArchLinux Host
         security = user
         map to guest = Bad User

[share]
         path = /path/to/share
         guest ok = yes

Now, provided you do not add any users to the 'standalone' server, 
everybody and his dog should be able to connect to the share.

Rowland


More information about the samba mailing list