[Samba] Sharing out unix home directory via samba

Fredrik Malmström fredrik at figure-art.nu
Thu Dec 22 17:00:30 GMT 2005

-----Original Message-----
From: Count Of Dracula [mailto:countofdracula at gmail.com] 
Sent: den 22 december 2005 08:58
To: samba at lists.samba.org
Subject: [Samba] Sharing out unix home directory via samba


Sharing out unix home directory via samba.  Home directory is /home/%
username% . However, samba insists on sharing this directory as /home/%
domain%/%username% .  So a user can see their home directory as server
%username% from windows.  But, when they click on it, they get an error
and the samba log says that the share /home/%domain%/%username% doesn't




# Global parameters
        workgroup = NAMEPROTECT.COM
        realm = NAMEPROTECT.COM
        server string = Samba Server
        security = ADS
        password server = badger.nameprotect.com
        log file = /var/log/samba/smbd.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        dns proxy = No
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        cups options = raw

        comment = Home Directories
        read only = No
        browseable = No

        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No


Im not sure but i think this with /home/[DOMAIN]/[username] have
something to do with winbind, because by default winbind users are
listed under /home/[DOMAIN]/[username]

But I have never had this problem.

Regards Fredrik!

More information about the samba mailing list