Hi Guys,
I'm attempting to setup a Samba domain controller/pdc using tdbsam passdb backend. Its for a really small workgroup that I would like to centralise a bit more.
I am following along http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html
and http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#fast-engoffice-shares.
I'm coming unstuck with samba.org's documentation (Example: Engineering Office) when it comes to creating groups and locations for files in the /usr/local/etc/smb.conf
I have attempted the following:
Create FreeBSD system group named ntadmins
[CMD=""]pw groupadd ntadmins[/CMD]
Add a FreeBSD system user to the group ntadmins
[CMD=""]pw groupmod ntadmins -m michael[/CMD]
Assign FreeBSD system groups to NT groups
[CMD=""]net groupmap add ntgroup="Domain Admins" unixgroup=ntadmins rid=512 type=d[/CMD]
[CMD=""]net groupmap add ntgroup="Domain Users" unixgroup=users rid=513 type=d[/CMD]
[CMD=""]net groupmap add ntgroup="Domain Guests" unixgroup=nobody rid=514 type=d[/CMD]
(If following the samba.org document I omit the "type=d" to "type=" I receive "unknown group type", my guess is this is a typo.
The second "net groupmap..." fails because I don't have a freeBSD system group of "users". Do I need to create this group and then add all accounts that require samba access?)
The samba.org tutorial then states to create folder structures to support NETLOGON share and Profiles, I'm not too sure if I should follow its advice here though or if the folders should be placed in directories specific to freeBSD?
Thanks in advance.
Regards,
Michael.
I'm attempting to setup a Samba domain controller/pdc using tdbsam passdb backend. Its for a really small workgroup that I would like to centralise a bit more.
I am following along http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-samba.html
and http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#fast-engoffice-shares.
I'm coming unstuck with samba.org's documentation (Example: Engineering Office) when it comes to creating groups and locations for files in the /usr/local/etc/smb.conf
I have attempted the following:
Create FreeBSD system group named ntadmins
[CMD=""]pw groupadd ntadmins[/CMD]
Add a FreeBSD system user to the group ntadmins
[CMD=""]pw groupmod ntadmins -m michael[/CMD]
Assign FreeBSD system groups to NT groups
[CMD=""]net groupmap add ntgroup="Domain Admins" unixgroup=ntadmins rid=512 type=d[/CMD]
[CMD=""]net groupmap add ntgroup="Domain Users" unixgroup=users rid=513 type=d[/CMD]
[CMD=""]net groupmap add ntgroup="Domain Guests" unixgroup=nobody rid=514 type=d[/CMD]
(If following the samba.org document I omit the "type=d" to "type=" I receive "unknown group type", my guess is this is a typo.
The second "net groupmap..." fails because I don't have a freeBSD system group of "users". Do I need to create this group and then add all accounts that require samba access?)
The samba.org tutorial then states to create folder structures to support NETLOGON share and Profiles, I'm not too sure if I should follow its advice here though or if the folders should be placed in directories specific to freeBSD?
Thanks in advance.
Regards,
Michael.