Bluehost.com Web Hosting $6.95

[Samba] problem with [homes] share for users with unix logins

This is a discussion on [Samba] problem with [homes] share for users with unix logins within the Samba forums, part of the Networking and Network Related category; I have the [homes] section set up in my smb.conf so that \\server.name\user connects to the user'...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008
Wes Modes
 
Posts: n/a
Default [Samba] problem with [homes] share for users with unix logins

I have the [homes] section set up in my smb.conf so that
\\server.name\user connects to the user's home directory. Since I am
using OpenLDAP as a backend via smbldap-tools, for most users the home
directory comes from the homeDirectory variable in OpenLDAP.

However, when I have a user who also has a login on the samba machine,
that is, an entry in /etc/passwd, Samba seems to ignore the value of
homeDirectory and use the entry in /etc/passwd instead.

Here is the section from smb.conf

[homes]
comment = %u's Personal Share Directory

browseable = no
valid users = %S @admin
write list = %S @admin
create mask = 0600
directory mask = 0700

I even tried adding the line

path = /data/home/%S

to the [homes] section, but it seems to be ignored.

Any suggestions how I can make Samba prefer the value in HomeDirectory
over /etc/passwd?

Wes

--

Wes Modes
Server Administrator & Programmer Analyst
McHenry Library
Computing & Network Services
Information and Technology Services
459-5208
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0