Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Thu Dec 30, 2004 8:57 am    Post subject: Samba question Reply with quote

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
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2022
Location: Vegas Baby!

PostPosted: Thu Dec 30, 2004 9:36 am    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20584

PostPosted: Thu Dec 30, 2004 7:31 pm    Post subject: Reply with quote

Moved from Gentoo Chat.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum