[Samba] User's home folders

zingalo lozingalo at gmail.com
Thu May 3 01:45:45 MDT 2012


On 05/03/2012 08:24 AM, Daniel Müller wrote:
> If you have samba/ldap running and the users home directories are listed in
> ldap.
> The homes should be mounted on logon.
> Other way you have [homes] and [user_data] described in your smb.conf
> and [netlogon]. In netlogon there should be a batch-file to mount your
> shares at logon.
> Have a look: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
>
> Good Luck
> Daniel
>
> -----------------------------------------------
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: mueller at tropenklinik.de
> Internet: www.tropenklinik.de
> -----------------------------------------------
> -----Ursprüngliche Nachricht-----
> Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
> Auftrag von zingalo
> Gesendet: Mittwoch, 2. Mai 2012 17:33
> An: samba at lists.samba.org
> Betreff: Re: [Samba] User's home folders
>
> Thanks!
> i have a second question. sorry if i didn't write before.
> My server has samba, smbldap-tools and ldap installed.
> On the server i have a public directory /user_data with some documents
> available to everyone of domain and the directory i told you "/usersHomes"
> where i'll make every directory for every user. (ex:
> /usersHomes/username). /user_data doesn't need authentication but a user can
> enter in his home directory only.
>
> I don't understand how these directory will be mount from the clients after
> the user login.
> What are the possibility?
> - insert in /etc/fstab two line to mount the /user_data and /usersHomes?
> - or autofs?
>
> Thanks again
>
>
> On 05/02/2012 05:02 PM, Aaron E. wrote:
>> No Problem,,,, You'll just need the proper filesystem iee ext3, ext4
>> on the partition your home folders will be on..
>>
>> On 05/02/2012 10:52 AM, zingalo wrote:
>>> Hi,
>>>
>>> i have a debian server with 2 hd, sda and sdb.
>>> Debian is installed in sda1.
>>> I'll create an home folder for every user. He will login into this
>>> from the clients. Could be a problem creating and using on sdb where
>>> there is not the operating system?
>>>
>>> Thanks
>>
>>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
>
Hi,
yes, home directories are specified in the homeDirectory attribute as:

//amahoro/users/zingalo

but after logging this creates the same directory on the client and this 
is wrong.

The home directories must be mounted at login time and i wouldn't add a 
line on /etc/fstab for every home of every user on every client!!!
Do you know another way?



More information about the samba mailing list