Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2004, 09:31 AM   #1
LQ Newbie
Registered: Oct 2002
Distribution: Mandrake 9.x
Posts: 18

Rep: Reputation: 0
samba and groups! save my life please!

hey all, im trying to point samba to the directory where my profiles are stored using the %g variable

so in the logon path in the smb.conf file i put

but when i go to login i get the error message "windows cannot create profile directory \\xen\netlogon\root which means that it thinks the user is in the root group which they are not

is there something wrong with the %g variable? it isnt picking up the login scripts either so im assuming there is but have no idea what.

id be extremely grateful if someone could point me in the right direction ive been through all the man pages and googled around like a man possessed

many thanks
Old 01-12-2004, 12:17 PM   #2
LQ Newbie
Registered: Jan 2004
Location: Netherlands
Distribution: Gentoo 1.4
Posts: 26

Rep: Reputation: 15
Why don't you use the username to store the profile in a certain dir? That can be done with the %U option.

%g is the groupname of the process, which is the Samba server, which is root. You should use %G if you want the group name of the user (%U). The config is case sensitive.


%U = Username
%G = Groupname
%D = domain name

I hope this helps you, btw I got this from man smb.conf, you can use testparm to see which config defaults samba chooses for things you did not specify in you smb.conf.

testparm <enter>



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux save my life nldw General 3 10-06-2004 12:13 PM
plz save my hardisk's life byronliu Linux - Laptop and Netbook 7 02-03-2004 06:50 PM
Samba groups TheRealDeal Linux - General 5 09-17-2003 01:13 AM
Samba and WinXP groups? rob_lnb Linux - Networking 1 07-07-2003 05:20 AM
samba sharing with groups Mr-TY Linux - Newbie 2 06-18-2003 03:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 PM.

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