[Samba] Problems accessing Windows shares 3.5.8 vs 3.6.3

April 16th, 2012 - 09:20 am ET by Christopher Davis | Report spam
I am trying to get Samba up and working on Solaris 10.

I have a seperate discussion going on about my problems getting Samba 358 on
Solaris 10 to authenticate to a Windows 2008R2 domain (See XXXX)



As a different solution I have downloaded the source code for 3.6.3 and
compiled it The provlem I am having is it won't work with my Windows machines
at all

i.e. Using the 3.5.8 binary I can do a smbclient -L dc1 -U bob and it will
return the list of shares. Using the 3.6.3 binary with the same config file I
get NT_STATUS_LOGON_FAILURE

It was compile with the following options:

./configure --prefix=/samba.test --with-automount --with-ldap=/usr/local

Most of the pre-reqs came from the sunfreeware site except for libintl
(gettext) which I downloaded and compiled as the one from sunfreeware would
not link correctly.

I have also followed the notes I found somewhere that had me change the
makefile:

1: search for -lthread and add -lintl after it for every instance
2: search for -Wl,-z,defs and remove them all

This allows me to successfully compile Samba However - no windows client (or
for that matter no other version of samba I have) can talk to these samba
serversris ONLY the smbclient from 3.6.3 will work


Any ideas why this is the case?
What else can I send along to help?

Thanks,
Chris

To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Gaiseric Vandal
April 16th, 2012 - 09:50 am ET | Report spam
Had you compiled 3.5.8 from source, or was this the Sun bundled
person. You may have noticed that Oracle provides 119757-21 /
119758-21 to upgrade to 3.5.10, although I don't see anything in the
readme about it fixing issues with Win 2008 R2.


Does smbclient work if you specify host IP instead of host name? I
found compiling Samba on Solaris to be very difficult. I had issues
with remote clients that could connect by IP but not by name.
Problems went away with the Oracle provided build.

What happens if you create an anon share on the win server and then try
connecting with out specifying a user name?

Did you try watching the traffic with tcpdump? Are the win machines
responding at all? Are there entries of interest in the Windows server
logs? Is samba trying to use NTLMv2 ?

On 04/16/12 09:18, Christopher Davis wrote:
I am trying to get Samba up and working on Solaris 10.

I have a seperate discussion going on about my problems getting Samba 358 on
Solaris 10 to authenticate to a Windows 2008R2 domain (See XXXX)



As a different solution I have downloaded the source code for 3.6.3 and
compiled it The provlem I am having is it won't work with my Windows machines
at all

i.e. Using the 3.5.8 binary I can do a smbclient -L dc1 -U bob and it will
return the list of shares. Using the 3.6.3 binary with the same config file I
get NT_STATUS_LOGON_FAILURE

It was compile with the following options:

./configure --prefix=/samba.test --with-automount --with-ldap=/usr/local

Most of the pre-reqs came from the sunfreeware site except for libintl
(gettext) which I downloaded and compiled as the one from sunfreeware would
not link correctly.

I have also followed the notes I found somewhere that had me change the
makefile:

1: search for -lthread and add -lintl after it for every instance
2: search for -Wl,-z,defs and remove them all

This allows me to successfully compile Samba However - no windows client (or
for that matter no other version of samba I have) can talk to these samba
serversris ONLY the smbclient from 3.6.3 will work


Any ideas why this is the case?
What else can I send along to help?

Thanks,
Chris




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

Similar topics