LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-30-2007, 12:31 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Samba Roaming Profiles


Hey guys im trying to setup roaming profile on my samba domain server i have these setup in the smb.conf

Quote:
[global]
.
..
..
..
..
logon path = \\%L\profiles\%u\%m

[profiles]

path = /home/samba-ntprof
but when i logged an error appears saying that the roaming profile cant be located....


also whats the difference of the logon path and the [profiles]?
 
Old 12-01-2007, 08:09 AM   #2
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
add following lines to ur global section..

Quote:
logon script = %u.bat
logon path = \\%L\Profiles\%u
Add this line to u r Profiles ..

Quote:
[Profiles]
comment = public profile
path = /home/samba-ntprof
read only = No
create mask = 0600
directory mask = 0700
profile acls = Yes
browseable = No

And Finally add a new share

Quote:
[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = No
guest ok = Yes
browseable = No
share modes = No
Change as per as required.

Hope it will work If not then post all of ur Global section.
 
Old 12-03-2007, 10:43 PM   #3
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Problem solved.....


i only specify these on the smb.conf

Quote:
logon path = \\%L\profiles\%u\%m

[profiles]

path = /samba
also is the use of these necessary?

Quote:
[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = No
guest ok = Yes
browseable = No
share modes = No
also is this "%u.bat" in the logon script also necessary? and is it created automatically?
 
Old 12-04-2007, 03:07 AM   #4
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
I m happy that u can solved ur problem.

No its not necessary. But Its helpfull for user to Remember map network drive when logon.If u want u have to create manually this share.

/home/netlogon


%u.bat
It should create automatically If not,
parheps u have to create some text file like xxx.bat where xxx is ur user name under netlogon dir.


all the best of u......
 
  


Reply


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
Samba With Roaming Profiles blackfish Linux - Server 1 03-31-2007 05:05 PM
Samba personal roaming profiles leiw Linux - General 1 11-04-2006 11:52 PM
samba pdc roaming profiles help chm0d Linux - Networking 1 04-19-2005 03:24 AM
samba, roaming profiles help. mehesque Linux - Networking 0 05-03-2004 09:07 PM
Samba roaming profiles absco Linux - Networking 1 08-25-2003 11:44 AM


All times are GMT -5. The time now is 11:07 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration