[Samba] User's home folders

Helmut Hullen Hullen at t-online.de
Thu May 3 03:37:00 MDT 2012

Hallo, zingalo,

Du meintest am 03.05.12:

>>> yes, home directories are specified in the homeDirectory attribute
>>> as:

>>> //amahoro/users/zingalo

>> That's the samba notation. //$SERVER/$SHARE

> You mean my notation is wrong?

No - that's one kind of notation.
When this share is mounted then you see this notation in the first  
column of "df".

>> What tells
>>          df

> df on the client?

> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda5             44186760   4018224  37923928  10% /
> udev                   1539868         4   1539864   1% /dev
> tmpfs                   618748       864    617884   1% /run
> /dev/sda4            195262036 186862356   8399680  96%
> /media/44A936374932B99A

No samba share is mounted, the client can't access its home share on the  

>> But a simple script should do the job. It should mount the special
>> home share via "cifs".
>> Have you tried my proposal?

> i never did a script to do this. I think the script should have some
> variables to recognize username and password typed on login. i don't
> where start!

For the first try just replace the variables with constants, p.e. your  
username (on the server), your password (on the server) etc.

Viele Gruesse!

More information about the samba mailing list