Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Samba] Samba4 home share problem

1 view
Skip to first unread message

Daniel Müller

unread,
Apr 30, 2013, 1:56:31 AM4/30/13
to
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: mue...@tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-...@lists.samba.org [mailto:samba-...@lists.samba.org] Im
Auftrag von Csányi Krisztián
Gesendet: Samstag, 23. März 2013 20:34
An: sa...@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

unread,
Apr 30, 2013, 2:53:01 AM4/30/13
to
On 30 April 2013 06:56, Daniel Müller <mue...@tropenklinik.de> wrote:
> Need to be: [home] not [homes]


http://www.sloop.net/smb.conf.html#SECTION DESCRIPTIONS

shows [homes] not singular [home]

HTH DaveP

--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Ricky Nance

unread,
Apr 30, 2013, 8:32:08 AM4/30/13
to
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

steve

unread,
Apr 30, 2013, 8:58:44 AM4/30/13
to
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
0 new messages