[Samba] Sharing out unix home directory via samba

Dennis B. Hopp dhopp at coreps.com
Thu Dec 22 12:37:45 GMT 2005


Count Of Dracula wrote:

>Hello
>
>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
>exist.
>
>Thanks
>
>Regards,
>
>Komal
>
># Global parameters
>[global]
>        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
>
>[homes]
>        comment = Home Directories
>        read only = No
>        browseable = No
>
>[printers]
>        comment = All Printers
>        path = /var/spool/samba
>        printable = Yes
>        browseable = No
>  
>
What is the output of

getent passwd <username>

substituting <username> for one of the users in question.

--Dennis


More information about the samba mailing list