[Samba] Samba4 home share problem
Hi, I have installed Samba4 and the home share functionality is not working. Samba version: 4.0.1 OS: Debian Squeeze Kernel: 2.6.32-5-amd64 The smb.conf: [global] workgroup = TESZT realm = TESZT.HU netbios name = FILESERVER server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes log level = 3 syslog = 3 syslog only = yes logon path = # logon home = \\fileserver\homes\%U logon drive = H: logon script = %U.cmd [netlogon] path = /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts read only = No [sysvol] path = /opt/samba4/var/lib/samba/sysvol read only = No [homes] path = /home read only = no After a net use h: /home command on client I get this: System error 53 has occured. The network path was not found. The user I try: Administrator and the client OS is Windows XP Pro. I think the rights on the server are ok. When I try to set the home for Administrator in AD I get the answer: The system could not create the startfolder (\\fileserver\homes\Administrator), because can't find path. Is there anybody who can use this functionality? Please help. Thanks for the replies. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba4 home share problem
Hi, I have installed Samba4 and the home share functionality is not working. Samba version: 4.0.1 OS: Debian Squeeze Kernel: 2.6.32-5-amd64 The smb.conf: [global] workgroup = TESZT realm = TESZT.HU netbios name = FILESERVER server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes log level = 3 syslog = 3 syslog only = yes logon path = # logon home = \\fileserver\homes\%U logon drive = H: logon script = %U.cmd [netlogon] path = /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts read only = No [sysvol] path = /opt/samba4/var/lib/samba/sysvol read only = No [homes] path = /home read only = no After a net use h: /home command on client I get this: System error 53 has occured. The network path was not found. The user I try: Administrator and the client OS is Windows XP Pro. I think the rights on the server are ok. When I try to set the home for Administrator in AD I get the answer: The system could not create the startfolder (\\fileserver\homes\Administrator), because can't find path. Is there anybody who can use this functionality? Please help. Thanks for the replies. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
Need to be: [home] not [homes] And you are up and running --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Csányi Krisztián Gesendet: Samstag, 23. März 2013 20:34 An: samba@lists.samba.org Betreff: [Samba] Samba4 home share problem Hi, I have installed Samba4 and the home share functionality is not working. Samba version: 4.0.1 OS: Debian Squeeze Kernel: 2.6.32-5-amd64 The smb.conf: [global] workgroup = TESZT realm = TESZT.HU netbios name = FILESERVER server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes log level = 3 syslog = 3 syslog only = yes logon path = # logon home = \\fileserver\homes\%U logon drive = H: logon script = %U.cmd [netlogon] path = /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts read only = No [sysvol] path = /opt/samba4/var/lib/samba/sysvol read only = No [homes] path = /home read only = no After a net use h: /home command on client I get this: System error 53 has occured. The network path was not found. The user I try: Administrator and the client OS is Windows XP Pro. I think the rights on the server are ok. When I try to set the home for Administrator in AD I get the answer: The system could not create the startfolder (\\fileserver\homes\Administrator), because can't find path. Is there anybody who can use this functionality? Please help. Thanks for the replies. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
On 30 April 2013 06:56, Daniel Müller wrote: > Need to be: [home] not [homes] http://www.sloop.net/smb.conf.html#SECTION DESCRIPTIONS shows [homes] not singular [home] HTH DaveP > > > And you are up and running > > --- > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: muel...@tropenklinik.de > Internet: www.tropenklinik.de > --- > -Ursprüngliche Nachricht- > Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im > Auftrag von Csányi Krisztián > Gesendet: Samstag, 23. März 2013 20:34 > An: samba@lists.samba.org > Betreff: [Samba] Samba4 home share problem > > Hi, > > I have installed Samba4 and the home share functionality is not working. > > Samba version: 4.0.1 > OS: Debian Squeeze > Kernel: 2.6.32-5-amd64 > > The smb.conf: > [global] > workgroup = TESZT > realm = TESZT.HU > netbios name = FILESERVER > server role = active directory domain controller > server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, > winbind, ntp_signd, kcc, dnsupdate > load printers = no > printing = bsd > printcap name = /dev/null > show add printer wizard = no > disable spoolss = yes > log level = 3 > syslog = 3 > syslog only = yes > logon path = > # logon home = \\fileserver\homes\%U > logon drive = H: > logon script = %U.cmd > > [netlogon] > path = > /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts > read only = No > > [sysvol] > path = /opt/samba4/var/lib/samba/sysvol > read only = No > > [homes] > path = /home > read only = no > > After a net use h: /home command on client I get this: > System error 53 has occured. The network path was not found. > > The user I try: Administrator and the client OS is Windows XP Pro. > I think the rights on the server are ok. > When I try to set the home for Administrator in AD I get the answer: > The system could not create the startfolder > (\\fileserver\homes\Administrator), > because can't find path. > > Is there anybody who can use this functionality? > > Please help. > > Thanks for the replies. > > Chris > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
So for the homes (Yes HOMES not HOME) share to work you need winbind functioning (not necessarily pam auth, but at least winbind). You can follow http://wiki.samba.org/index.php/Samba4/Winbind ... If I get some time today I will write up some sharing stuff in the S4 howto. You will also need to add under [global] template homedir = /home/%U (if you want /home/username to work, it defaults to /home/DOMAIN/USERNAME or template homedir = /home/%D/%U ) Ricky On Tue, Apr 30, 2013 at 1:53 AM, Dave Pawson wrote: > On 30 April 2013 06:56, Daniel Müller wrote: > > Need to be: [home] not [homes] > > > http://www.sloop.net/smb.conf.html#SECTION DESCRIPTIONS > > shows [homes] not singular [home] > > HTH DaveP > > > > > > > > And you are up and running > > > > --- > > EDV Daniel Müller > > > > Leitung EDV > > Tropenklinik Paul-Lechler-Krankenhaus > > Paul-Lechler-Str. 24 > > 72076 Tübingen > > > > Tel.: 07071/206-463, Fax: 07071/206-499 > > eMail: muel...@tropenklinik.de > > Internet: www.tropenklinik.de > > --- > > -Ursprüngliche Nachricht- > > Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] > Im > > Auftrag von Csányi Krisztián > > Gesendet: Samstag, 23. März 2013 20:34 > > An: samba@lists.samba.org > > Betreff: [Samba] Samba4 home share problem > > > > Hi, > > > > I have installed Samba4 and the home share functionality is not > working. > > > > Samba version: 4.0.1 > > OS: Debian Squeeze > > Kernel: 2.6.32-5-amd64 > > > > The smb.conf: > > [global] > > workgroup = TESZT > > realm = TESZT.HU > > netbios name = FILESERVER > > server role = active directory domain controller > > server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, > drepl, > > winbind, ntp_signd, kcc, dnsupdate > > load printers = no > > printing = bsd > > printcap name = /dev/null > > show add printer wizard = no > > disable spoolss = yes > > log level = 3 > > syslog = 3 > > syslog only = yes > > logon path = > > # logon home = \\fileserver\homes\%U > > logon drive = H: > > logon script = %U.cmd > > > > [netlogon] > > path = > > /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts > > read only = No > > > > [sysvol] > > path = /opt/samba4/var/lib/samba/sysvol > > read only = No > > > > [homes] > > path = /home > > read only = no > > > > After a net use h: /home command on client I get this: > > System error 53 has occured. The network path was not found. > > > > The user I try: Administrator and the client OS is Windows XP Pro. > > I think the rights on the server are ok. > > When I try to set the home for Administrator in AD I get the answer: > > The system could not create the startfolder > > (\\fileserver\homes\Administrator), > > because can't find path. > > > > Is there anybody who can use this functionality? > > > > Please help. > > > > Thanks for the replies. > > > > Chris > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
On 30/04/13 14:32, Ricky Nance wrote: So for the homes (Yes HOMES not HOME) share to work you need winbind functioning (not necessarily pam auth, but at least winbind). You can follow http://wiki.samba.org/index.php/Samba4/Winbind ... If I get some time today I will write up some sharing stuff in the S4 howto. You will also need to add under [global] template homedir = /home/%U (if you want /home/username to work, it defaults to /home/DOMAIN/USERNAME or template homedir = /home/%D/%U ) Ricky @Ricky. Maybe you could you include information about being able to have whatever home directory you like by pulling unixHomeDirectory? It overcomes the restriction of the smb.conf template. I don't think the DC winbind does this yet so include a health warning too? Maybe this would be a good place to link out to: https://wiki.samba.org/index.php/Samba4/Domain_Member since the s4 howto seems to cater only for the DC (if it's the howto I think you have in mind) Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
Hi, Hi, I have installed Samba4 and the home share functionality is not working. Samba version: 4.0.1 OS: Debian Squeeze Kernel: 2.6.32-5-amd64 The smb.conf: [global] workgroup = TESZT realm = TESZT.HU netbios name = FILESERVER server role = active directory domain controller server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes log level = 3 syslog = 3 syslog only = yes logon path = # logon home = \\fileserver\homes\%U logon drive = H: logon script = %U.cmd [netlogon] path = /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts read only = No [sysvol] path = /opt/samba4/var/lib/samba/sysvol read only = No [homes] path = /home read only = no After a net use h: /home command on client I get this: System error 53 has occured. The network path was not found. The user I try: Administrator and the client OS is Windows XP Pro. I think the rights on the server are ok. When I try to set the home for Administrator in AD I get the answer: The system could not create the startfolder (\\fileserver\homes\Administrator), because can't find path. Is there anybody who can use this functionality? Please help. Thanks for the replies. Chris Samba 4.0.x has two operation modes: 1. Active directory domain controller 2. Member or standalone server (or classic (NT4 style) domain controller) 2. behaves the same way (regarding shares) as Samba 3.x.y 1. has some limitation in this regard, for example the missing home metashare (in 3.x.y you shouldn't specify a path as it would be deduced based on the connected users home directory) You could emulate a behavior similar to the 3.x.y one with the AD mode if you specify hide unreadable = yes and set the folder rights for each home directory accordingly. As a sidenote: 4.0.1 is quite old, especially if you want to run your AD DC as a fileserver at least 4.0.4 is recommended. Regards Geza Gemes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
Hi, It's ok now. I didn't use winbind. I have read theese: https://lists.samba.org/archive/samba/2013-February/171877.html https://wiki.samba.org/index.php/Samba4/Winbind https://wiki.samba.org/index.php/Samba4/Domain_Member#Make_domain_users.2Fgroups_available_locally_through_winbind. I get the solution from this howtos. Thanks 2013/3/24, Gémes Géza : > Hi, >> Hi, >> >> I have installed Samba4 and the home share functionality is not working. >> >> Samba version: 4.0.1 >> OS: Debian Squeeze >> Kernel: 2.6.32-5-amd64 >> >> The smb.conf: >> [global] >> workgroup = TESZT >> realm = TESZT.HU >> netbios name = FILESERVER >> server role = active directory domain controller >> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >> drepl, winbind, ntp_signd, kcc, dnsupdate >> load printers = no >> printing = bsd >> printcap name = /dev/null >> show add printer wizard = no >> disable spoolss = yes >> log level = 3 >> syslog = 3 >> syslog only = yes >> logon path = >> # logon home = \\fileserver\homes\%U >> logon drive = H: >> logon script = %U.cmd >> >> [netlogon] >> path = >> /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts >> read only = No >> >> [sysvol] >> path = /opt/samba4/var/lib/samba/sysvol >> read only = No >> >> [homes] >> path = /home >> read only = no >> >> After a net use h: /home command on client I get this: >> System error 53 has occured. The network path was not found. >> >> The user I try: Administrator and the client OS is Windows XP Pro. >> I think the rights on the server are ok. >> When I try to set the home for Administrator in AD I get the answer: >> The system could not create the startfolder >> (\\fileserver\homes\Administrator), >> because can't find path. >> >> Is there anybody who can use this functionality? >> >> Please help. >> >> Thanks for the replies. >> >> Chris > Samba 4.0.x has two operation modes: > 1. Active directory domain controller > 2. Member or standalone server (or classic (NT4 style) domain controller) > > 2. behaves the same way (regarding shares) as Samba 3.x.y > 1. has some limitation in this regard, for example the missing home > metashare (in 3.x.y you shouldn't specify a path as it would be deduced > based on the connected users home directory) > > You could emulate a behavior similar to the 3.x.y one with the AD mode > if you specify hide unreadable = yes and set the folder rights for each > home directory accordingly. > > As a sidenote: 4.0.1 is quite old, especially if you want to run your AD > DC as a fileserver at least 4.0.4 is recommended. > > Regards > > Geza Gemes > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba4 home share problem
This should be not >> [homes] --> but [home] and it should work --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropenklinik.de --- -Ursprüngliche Nachricht- Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im Auftrag von Krisztián Csányi Gesendet: Sonntag, 24. März 2013 12:17 An: Gémes Géza Cc: samba@lists.samba.org Betreff: Re: [Samba] Samba4 home share problem Hi, It's ok now. I didn't use winbind. I have read theese: https://lists.samba.org/archive/samba/2013-February/171877.html https://wiki.samba.org/index.php/Samba4/Winbind https://wiki.samba.org/index.php/Samba4/Domain_Member#Make_domain_users.2Fgr oups_available_locally_through_winbind. I get the solution from this howtos. Thanks 2013/3/24, Gémes Géza : > Hi, >> Hi, >> >> I have installed Samba4 and the home share functionality is not working. >> >> Samba version: 4.0.1 >> OS: Debian Squeeze >> Kernel: 2.6.32-5-amd64 >> >> The smb.conf: >> [global] >> workgroup = TESZT >> realm = TESZT.HU >> netbios name = FILESERVER >> server role = active directory domain controller >> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >> drepl, winbind, ntp_signd, kcc, dnsupdate >> load printers = no >> printing = bsd >> printcap name = /dev/null >> show add printer wizard = no >> disable spoolss = yes >> log level = 3 >> syslog = 3 >> syslog only = yes >> logon path = >> # logon home = \\fileserver\homes\%U >> logon drive = H: >> logon script = %U.cmd >> >> [netlogon] >> path = >> /opt/samba4/var/lib/samba/sysvol/fileserver.teszt.hu/scripts >> read only = No >> >> [sysvol] >> path = /opt/samba4/var/lib/samba/sysvol >> read only = No >> >> [homes] >> path = /home >> read only = no >> >> After a net use h: /home command on client I get this: >> System error 53 has occured. The network path was not found. >> >> The user I try: Administrator and the client OS is Windows XP Pro. >> I think the rights on the server are ok. >> When I try to set the home for Administrator in AD I get the answer: >> The system could not create the startfolder >> (\\fileserver\homes\Administrator), >> because can't find path. >> >> Is there anybody who can use this functionality? >> >> Please help. >> >> Thanks for the replies. >> >> Chris > Samba 4.0.x has two operation modes: > 1. Active directory domain controller > 2. Member or standalone server (or classic (NT4 style) domain > controller) > > 2. behaves the same way (regarding shares) as Samba 3.x.y 1. has some > limitation in this regard, for example the missing home metashare (in > 3.x.y you shouldn't specify a path as it would be deduced based on the > connected users home directory) > > You could emulate a behavior similar to the 3.x.y one with the AD mode > if you specify hide unreadable = yes and set the folder rights for > each home directory accordingly. > > As a sidenote: 4.0.1 is quite old, especially if you want to run your > AD DC as a fileserver at least 4.0.4 is recommended. > > Regards > > Geza Gemes > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba