1831645 Members
3272 Online
110029 Solutions
New Discussion

Re: SAMBA

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

SAMBA

I just set up SAMBA for the first time. Pretty easy:

Question:

Can I map an NT group to a unix user?
If so, how would I do this? I know you can map nt users to unix users. If I map the NT group to the unix user, than I only have to administer the accounts on the NT side(Domain)
UNIX IS GOOD
6 REPLIES 6
Arockia Jegan
Trusted Contributor

Re: SAMBA


Did you try "net groupmap" command? That will help you if you want to map the NT group with Unix group.

Arockia.
Geoff Wild
Honored Contributor

Re: SAMBA

Well, with a username.map file, you can just map all your nt id's to a single unix id.

unixid = ntid1, ntid2, ntid3

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor

Re: SAMBA

For more information, click here.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8724-90001/B8724-90001_top.html&con=/hpux/onlinedocs/B8724-90001/00/00/5-con.html&toc=/hpux/onlinedocs/B8724-90001/00/00/5-toc.html&searchterms=nt%7cintegration%7cconfiguration%7csamba&queryid=20030723-132244

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nobody's Hero
Valued Contributor

Re: SAMBA

arockia,

where do I find the net groupmap command. I dont see it anywhere.
UNIX IS GOOD
Wouter Jagers
Honored Contributor

Re: SAMBA

Indeed. Might be worth to check some documentation on winbind.

http://fre-ks.greatplains.net/samba/winbind.html

http://www.redhat.com/archives/pam-list/2003-January/msg00019.html

..and of course the docs that came with your samba distribution.

Let us know if you get it done, I haven't seen it work on an HPUX yet !

(no intend to scare you, but we didn't get it working.. prepare to spend some time on it ;-)

regards
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Darren Prior
Honored Contributor
Solution

Re: SAMBA

Hi Robert,

There's a couple of options which might achieve what you're after.

1) If you only have a couple of NT groups you could set up a share for each group. Each share would point to the same path, but would map the NT group to a single unix user using "username map" and "force user". In this way any one from the specific group writes to the share as a specific unix user.

2) Within "username map" you can map an NT group to a unix group.
ie: ourteam = @NTteam

See smb.conf man page or the O'Reilly Using Samba book for usage of these parameters.

regards,

Darren.
Calm down. It's only ones and zeros...