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

[Samba] 4.4.3 on CentOS 6: no guest login

109 views
Skip to first unread message

Tom Yates

unread,
May 13, 2016, 9:00:03 AM5/13/16
to
I have built 4.4.3 on CentOS 6, with a fairly minimalist smb.conf,
provisioned the domain as per the wiki [1], and cannot get past test one:

[root@frodo ~]# smbclient -L localhost -U%
Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]
tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED

I can get output if I specify a username, and give a password, but
anonymous access seems to be blocked.

[root@frodo etc]# smbclient -L localhost -Ugeoff
Enter geoff's password:
Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]

Sharename Type Comment
--------- ---- -------
netlogon Disk
sysvol Disk
big Disk
IPC$ IPC IPC Service (Samba 4.4.3)
Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]

Server Comment
--------- -------

Workgroup Master
--------- -------

My smb.conf, such as it is (I have redacted the domain name):

[root@frodo etc]# cat smb.conf
# Global parameters
[global]
netbios name = FRODO
realm = ADTEST.XXXX.CO.UK
workgroup = ADTEST
dns forwarder = 212.23.3.100
server role = active directory domain controller
idmap_ldb:use rfc2307 = yes
log level = 1
guest ok = yes

[netlogon]
path = /usr/local/samba/var/locks/sysvol/adtest.xxxx.co.uk/scripts
read only = No

[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No

[big]
path = /big
read only = No


Am I misunderstanding the wiki? Or is this test unimportant, and I
should just move on? Thanks for any light anyone can shed.


--

Tom Yates - http://www.teaparty.net

[1]
https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Rowland penny

unread,
May 13, 2016, 9:20:02 AM5/13/16
to
Might be a stupid question, but have you started Samba?

Rowland

Tom Yates

unread,
May 14, 2016, 2:40:03 AM5/14/16
to
On Fri, 13 May 2016, Rowland penny wrote:

> Might be a stupid question, but have you started Samba?

> On 13/05/16 13:34, Tom Yates wrote:
>>
>> [root@frodo etc]# smbclient -L localhost -Ugeoff
>> Enter geoff's password:
>> Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]
>>
>> Sharename Type Comment
>> --------- ---- -------
>> netlogon Disk
>> sysvol Disk
>> big Disk
>> IPC$ IPC IPC Service (Samba 4.4.3)
>> Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]
>>
>> Server Comment
>> --------- -------
>>
>> Workgroup Master
>> --------- -------

I think that shows it's running, no?


--

Tom Yates - http://www.teaparty.net

Rowland penny

unread,
May 14, 2016, 7:20:03 AM5/14/16
to
On 14/05/16 07:31, Tom Yates wrote:
> On Fri, 13 May 2016, Rowland penny wrote:
>
>> Might be a stupid question, but have you started Samba?
>
>> On 13/05/16 13:34, Tom Yates wrote:
>>>
>>> [root@frodo etc]# smbclient -L localhost -Ugeoff
>>> Enter geoff's password:
>>> Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]
>>>
>>> Sharename Type Comment
>>> --------- ---- -------
>>> netlogon Disk
>>> sysvol Disk
>>> big Disk
>>> IPC$ IPC IPC Service (Samba 4.4.3)
>>> Domain=[ADTEST] OS=[Windows 6.1] Server=[Samba 4.4.3]
>>>
>>> Server Comment
>>> --------- -------
>>>
>>> Workgroup Master
>>> --------- -------
>
> I think that shows it's running, no?
>
>


OK, I can confirm this, I was using 4.4.2 and running the same command,
I got this:

root@dc1:~# smbclient -L localhost -U%
Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.4.2]

Sharename Type Comment
--------- ---- -------
netlogon Disk
sysvol Disk
IPC$ IPC IPC Service (Samba 4.4.2)
Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.4.2]

Server Comment
--------- -------

Workgroup Master
--------- -------

A short while later, after I updated to 4.4.3, nothing else changed:

root@dc1:~# smbclient -L localhost -U%
Domain=[SAMDOM] OS=[Windows 6.1] Server=[Samba 4.4.3]
tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED

It seems there is a bug report for a similar problem, see:
https://bugzilla.samba.org/show_bug.cgi?id=11858

The release notes for 4.4.3 seems to suggest this is supposed to be fixed:

Stefan Metzmacher <me...@samba.org>
.......
* BUG 11858: Allow anonymous smb connections.

Rowland

Tom Yates

unread,
May 16, 2016, 5:30:03 AM5/16/16
to
On Sat, 14 May 2016, Rowland penny wrote:

> On 14/05/16 07:31, Tom Yates wrote:
>> On Fri, 13 May 2016, Rowland penny wrote:
>>
>> > Might be a stupid question, but have you started Samba?
>>
>> > On 13/05/16 13:34, Tom Yates wrote:
>> > [stuff deleted]
I, too, can confirm that going back to samba 4.4.2 fixes the problem.
Thank you!


--

Tom Yates - http://www.teaparty.net

0 new messages