Linux - Server This forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
11-29-2007, 11:31 PM
#1
Member
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 469
Rep:
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]?
12-01-2007, 07:09 AM
#2
Member
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176
Rep:
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.
12-03-2007, 09:43 PM
#3
Member
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 469
Original Poster
Rep:
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?
12-04-2007, 02:07 AM
#4
Member
Registered: Jul 2007
Location: Bangladesh/Sylhet
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 176
Rep:
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......
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 08:45 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News