LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2006, 04:36 PM   #1
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Rep: Reputation: 15
Samba + Unix GID + windows Groups


Hi all,

I am trying to get samba to put users into /home/GROUP/username when they loging but it doesn't seem to be working. Also, what other file would I have to modify to get linux to obey the same rules?

Thanks

Never mind about the Linux thing....I don't know what I was thinking...

Last edited by dvishloff; 08-22-2006 at 04:38 PM.
 
Old 08-22-2006, 05:07 PM   #2
dvishloff
Member
 
Registered: Jun 2003
Location: Saskatchewan
Distribution: Gentoo, Smoothwall, CentOS, FreeBSD
Posts: 35

Original Poster
Rep: Reputation: 15
Update

just a question...but would samba recognize template homedir = /home/%G/%U ? If not then that might be my problem...and if it is, is there a way I can script something to the effect of:

If user is member of group1 then
template homedir=/home/group1/username
If user is member of group2 then
template homedir=/home/group2/username

also something of an update to an update, it seems that %G or %g returns the GID and not the group name, is there any way around this?

Last edited by dvishloff; 08-22-2006 at 05:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
Basic Question Unix (Groups) tostay2003 Linux - Software 2 08-16-2006 12:02 PM
Problem with Winbind mapping GID to Windows groups Thakowbbery Linux - Networking 0 08-29-2005 10:19 AM
A problem with UNIX users groups pedrosan Linux - Newbie 4 06-09-2004 09:00 PM
Windows Services for Unix NFS or Samba flysideways Linux - Networking 0 04-12-2004 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration