[Date Prev][Date Next]
Re: Cannot mount users's home directories
On Sunday, 6 May 2012 10:08:23 zingalo wrote:
> i have problems mounting on the client ubuntu the users's home
> directories that are on a server debian squeeze with ldap-samba.
> First of all, which is the correct syntax for homeDirectory attribute if
> that home is on a server. I wrote:
> homeDirectory: //192.168.5.219/users/username
$ ldapsearch -x -s base -b cn=Subschema attributetypes|perl -p0e 's/\n //g'|
attributeTypes: ( 18.104.22.168.22.214.171.124 NAME 'homeDirectory' DESC 'The absolute path
to the home directory' EQUALITY caseExactIA5Match SYNTAX
126.96.36.199.4.1.14188.8.131.52.26 SINGLE-VALUE )
Note, it does not say a URI or a <sic>Universal</sic> Naming Convention share
> but pam_mount tells me volume not found.
> am not sure of samba and smbldap configurations also. could you take a
> look of my conf files?
> this is smb.conf:
> path = /users/%u
> browseable = no
> writable = yes
> valid users = %S
> read only = no
> guest ok = no
> admin users = %u
> write list = %u
> read list = %u
> create mask = 0700
> directory mask = 0700
> and this is smbldap.conf:
> # Home directory
> # Ex: userHome="/home/%U"
Why not include your pam_mount configuration? You should be able to do
<volume fstype="cifs" server="192.168.5.219" path="%(USER)" mountpoint="~" />
Of course, I wonder about setups where the Unix side is Unixy for everything,
except the file sharing (hint: NFS, automount maps).