LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-19-2010, 08:42 PM   #1
LMW
Member
 
Registered: Oct 2010
Location: Russia / USA
Distribution: Arch Linux
Posts: 36

Rep: Reputation: 2
Samba doesn't create user profiles on the fly


Hi there!

I've got Samba server running on CentOS box. Everything works fine when I use "path" parameter, but I think Samba should create /home dirs for clients automatically.
It should look like this:
Quote:
comment = Home Directory of '%u'
valid users = @"Domain Group"
browseable = no
writable = yes
create mask = 0600
directory mask = 0700
"smbclient -L //sambaserver" shows that homedir exists, but still it's not possible to mount it. Maybe I'm doing something wrong. Any suggestions?
 
Old 11-20-2010, 09:09 PM   #2
LMW
Member
 
Registered: Oct 2010
Location: Russia / USA
Distribution: Arch Linux
Posts: 36

Original Poster
Rep: Reputation: 2
That's the 4th forum I've posted my question on. However, noone could answer.

Here's the answer:

I've changed Samba [homes] section to look like this:

[homes]
comment = Home Directory
path = /home/%U
valid users = +"Domain Linux"
write list = +"Domain Linux"
browseable = no
read only = no

Everything works now.
 
  


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
Importing local user profiles to samba ifeatu Linux - Server 2 03-22-2010 12:19 AM
roaming profiles on samba ; how can rights be created on the fly ? knuck71 Linux - Server 1 02-12-2009 04:13 AM
Samba, roaming profiles, user access, printing and folder redirection... GD_19 Linux - Networking 1 08-30-2005 01:16 AM
Linux Samba - XP User Profiles masmit_999 Linux - Newbie 1 05-19-2005 09:06 PM
Samba 2.2.8a: How to migrate user profiles from a Broken domain to a new one ferrantepunto Linux - Software 0 06-11-2004 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:47 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