View previous topic :: View next topic |
Author |
Message |
asiobob Veteran
Joined: 29 Oct 2003 Posts: 1375 Location: Bamboo Creek
|
Posted: Thu Dec 30, 2004 8:57 am Post subject: Samba question |
|
|
Hi all,
I'm planning on setting up a small Domain using SAMBA and gentoo.
I'm following this guide:
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2512421
At step 4 it it puts a bunch of commands into a script...
Code: | #!/bin/bash
#### Keep this as a shell script for future re-use
# First assign well known groups
net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmins
net groupmap modify ntgroup="Domain Users" unixgroup=users
net groupmap modify ntgroup="Domain Guests" unixgroup=nobody
# Now for our added Domain Groups
net groupmap add ntgroup="Designers" unixgroup=designers type=d
net groupmap add ntgroup="Engineers" unixgroup=engineers type=d
net groupmap add ntgroup="QA Team" unixgroup=qateam type=d |
Are these lost after a reboot? that is must the script be re run after a reboot? |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2022 Location: Vegas Baby!
|
Posted: Thu Dec 30, 2004 9:36 am Post subject: |
|
|
I"m not sure what this script really does but the point made here is is you plan on using samba as a PDC, you need to map your NT user groups to UNIX groups. These commands are run from command line just once...
Here, check this out. This might work better for you (just offering another choice) over the samba guide.
https://forums.gentoo.org/viewtopic.php?t=270569 |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20584
|
Posted: Thu Dec 30, 2004 7:31 pm Post subject: |
|
|
Moved from Gentoo Chat. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|