[Samba] User's home folders
lozingalo at gmail.com
Fri May 4 03:17:35 MDT 2012
On 05/03/2012 11:37 AM, Helmut Hullen wrote:
> Hallo, zingalo,
> Du meintest am 03.05.12:
>>>> yes, home directories are specified in the homeDirectory attribute
>>> 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 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%
> 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!
i wrote this script:
smbmount //192.168.5.219/users/zingalo /mnt/samba/Dati
zingalo is user registered on ldap server. in his homeAttribute i wrote
Trying the login on my laptop ubuntu 11.10 (client), black screen for
few seconds and it comes back to login screen without message.
I've seen syslog file lines during this operation, if you want please
take a look. I used pastebin because there are many lines:
More information about the samba