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
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
Fredrik Malmström
2005-Dec-22 17:01 UTC
[Samba] Sharing out unix home directory via samba
-----Original Message----- From: Count Of Dracula [mailto:countofdracula@gmail.com] Sent: den 22 december 2005 08:58 To: samba@lists.samba.org Subject: [Samba] Sharing out unix home directory via samba 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 -------- 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!