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
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
server.
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!
Helmut
Hi Helmut,
i wrote this script:
#!/bin/bash
Login="rw,file_mode=0644,dir_mode=0755,username=zingalo,password=****,noserverino"
smbmount //192.168.5.219/users/zingalo /mnt/samba/Dati
zingalo is user registered on ldap server. in his homeAttribute i wrote
//192.168.5.219/users/zingalo.
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:
http://pastebin.com/k0dQq6NN
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba