[Samba] Problems with homes after updating to 3.0 (debian)

John H Terpstra jht at samba.org
Mon Sep 29 22:34:04 GMT 2003


On Tue, 30 Sep 2003, Michael Ott wrote:

> Hello!
>
> After upgrading my sid (debian) to samba-3.0 i cannot connect to my
> homes-dir. I have the same configuration using with 2.2.
>
> I do not know, where is my error. I will send you my smb.conf hopping
> you can help me

Remove the "Valid users = %S" and iut should work. This is a known bug and
will be fixed in 3.0.1. If you need the %S macro meantime, please do a
search on this list for the patch that was posted last week.

PS: The samba-3.0.0 CVS tree already has the patch applied.

- John T.

>
>
> [global]
>   panic action = /usr/share/samba/panic-action %d
> 	netbios name = zolnott01
>   workgroup = DROW
> 	server string = File- & Printserver Zolnott [%v]
> 	syslog = 0
> 	debuglevel = 0
> 	dead time = 15
> 	message command = /bin/bash -c '/usr/X11R6/bin/xterm -T "WinPopup-Message" \
> 	-e /usr/bin/vim %s; rm %s' &
> 	auto services = pub cms
> 	security = domain
> 	username level = 8
> 	username map = /etc/samba/smbusers
> 	password level = 8
> 	encrypt passwords = true
>   passdb backend = smbpasswd guest
>   passdb backend = tdbsam:/etc/samba/passdb.tdb smbpasswd:/etc/samba/smbpasswd unixsam
> 	smb passwd file = /etc/samba/smbpasswd
> 	null passwords = yes
>   passwd program = /usr/bin/passwd %u
> 	passwd chat = *new*password* %n\n *new*password* %n\n *changed*
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	password server = 127.0.0.1
> 	hosts allow = 192.168.
> 	printing = cups
>
> 	wins support = yes
> 	wins proxy = yes
>
> 	os level = 65
> 	domain master = yes
> 	preferred master = yes
>
> 	domain logons = yes
> 	logon script = %a.bat
> 	logon path = \\%N\profile\%U
> 	logon drive = H:
> 	logon home = \\%N\%U
> 	add user script = /usr/sbin/useradd -d /dev/null -g zolnott -c 'User Account %u' -s /bin/false -M %u
> 	add machine script = /usr/sbin/useradd -d /dev/null -g zolnott -c 'Machine Account %u' -s /bin/false -M %u
>
>
> [homes]
> 	comment = Home-Directory of %S
> 	path = %H
> 	browsable = no
> 	writable = yes
> 	valid users = %S
> 	locking = no
> 	create mode = 0644
> 	directory mode = 744
>
>                                                                .--.
>                                                               |o_o |
>                                                               ||_/ |
> CU                                                           //   \ \
>                                                             (|     | )
>   Michael                                                  /'\_   _/`\
>                                                            \___)=(___/
> --
>   /-----------------------------------------------------\
>   |  Michael Ott, Glockenhofstr. 29a, 90478 Nuernberg   |
>   | e-mail: michael at ZolnOtt.de, Tel. +49 9 11 41 88 576 |
>   \-----------------------------------------------------/
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list