Samba 3.6.5 install problems


 
Thread Tools Search this Thread
Operating Systems Solaris Samba 3.6.5 install problems
# 1  
Old 06-05-2012
Samba 3.6.5 install problems

Hi all, I'm trying to update my samba 3.5.10 to 3.6.5 due to security CVE issued with 3.5.

I downloaded and unzipped, did the make and make install and the ./configure.
I didn't use any changes to it and it said it installed correctly added it to my path and it looks like it's operating correctly.

This is my first install from source type install and I'm really really confused.
if I use smbclient -L //server/servershare -U username it connects correctly to the domain, and shows all available shares, however; typing smbclient -V gives me 3.5.10.

If I goto the install path of where this new version was installed of /usr/local/samba/bin/smbclient -V it gives me 3.6.5 but I receive the error of NT_STATUS_LOGON_FAILURE.

I don't know honestly what I'm doing wrong, and after trying countless things I've realized a few things.

1: samba is installed in multiple places.

/usr/bin/smbclient gives 3.5.10
/usr/sfw/bin/smbclient gives 3.5.10
/usr/local/samba/bin/smbclient gives 3.6.5

2: It appears, while I did install it, it didn't install correctly due to it being in multiple places.

3: something somewhere is incorrect but I don't know what to do to fix it.

Is there an easy way to fix this? If so, I would really appreciate some help.

Thanks,
Matt

---------- Post updated at 01:36 PM ---------- Previous update was at 07:19 AM ----------

if I run ./configure --prefix=/usr/sfw --with-configdir=/etc/sfw --with-winbind --with-ads --with-ldap --with-krb5=/usr/lib/krb5
I receive an error once the config gets around to the AD and ldap.
checking for ldap_initalize ... no
configure error: active directory support requires ldap_initalize.

So, I'm not sure what library I need to inlcude.
my $LDFLAGS = -L/usr/local/lib am I missing something elsE?
# 2  
Old 06-05-2012
Isn't there a binary you can download from somewhere instead of building it by hand?
# 3  
Old 06-05-2012
Yes, but it doesn't close the CVE that is an open finding, which is why I need to install the 3.6.5. Unless you know of where I can download it and update via package add.

Mind you this server is completely closed off from the outside world.
# 4  
Old 06-06-2012
If it's not actually critical, my advice would be to wait until you can get the update from official sources. Building it yourself is prone to all sorts of pitfalls, is prone to install things in weird places(meaning, you can end up with two different versions installed simultaneously and part-overlapping each other), and bypasses your usual package manager in ways likely to cause problems.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 06-07-2012
Yeah, that's what we're going to do. We realized it would require updates to OpenLDAP and a bunch of other crap to make this work.

Thank you for the advice.
# 6  
Old 06-07-2012
Hey Matty, did you manage with version 3.5 to auth throught AD?
Im trying to understand (not clear to me...) the reason you upgraded...
# 7  
Old 06-14-2012
I was able to connect with the command of smbclient -L//servername/severshare -U username / password and it brings up smb:/> so I can copy move and see files.

I can connect using my AD username / PW is that what you're asking?


The reason for upgrading was the CVE was released and was considered a category I finding. It was determined here, the workaround listed as setting parm = no is suffice enough for us and we will wait until Oracle releases an actual package update.

Thank you all for the help on this.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Baffled by problems with ssh and samba

I have made a complete botch of trying to install both ssh and samba, having followed numerous tutorials - all claiming to be easy to follow and stating that it is easy. The last attempt @ ssh was going really well until the copy id stage roy@roy-1011PX:~$ ssh-copy-id -i /home/roy/.ssh/id_dsa.pub... (8 Replies)
Discussion started by: Royalist
8 Replies

2. Solaris

samba error after install with pkgadd

Hello this is samiulla. i face this issue. i installed samba with pkgadd after i install i add paths for that. -bash-3.00# echo $PATH /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/samba/sbin:/usr/local/samba/bin/ -bash-3.00# when enter this commad smbd -D i got this error smbd -D... (3 Replies)
Discussion started by: samiulla
3 Replies

3. AIX

Installing SAMBA problems

I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies

4. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

5. UNIX for Dummies Questions & Answers

Samba pre-install questions.

Greetings, I hope this is the right forum. I am looking to install Samba on my Linux box on my home network. I'm pretty sure I can deal with the how, I'm just not certain of the what. ok I'm using Debian lenny with no GUI. I have apt working and I've successfully installed and used one package... (10 Replies)
Discussion started by: fguy
10 Replies

6. UNIX for Advanced & Expert Users

Samba: Install w/o Root

I've had some recent success compiling some simple programs to my home directory without root access (wget, screen, less). My Question is this: Can I compile a complex program like Samba WITHOUT root access to my home directory? Or are the multiple library dependencies going to cause an issue?... (2 Replies)
Discussion started by: goldfish
2 Replies

7. AIX

Samba install on AIX 5.2

Ok I'm still trying to figure AIX out, I was used to HP-UX until they switched our server to AIX in February and all of the other servers are Linux which appears to be much more friendly. AIX is, well, NOT. I am trying to install Samba so I can copy files onto a Windows SQL server - that's all... (5 Replies)
Discussion started by: rball
5 Replies

8. AIX

Install Samba

Hello Can someone help how to install samba on aix 5.3, I go to tha samba page and i download two files opt-samba-base.tar.gz opt-samba-3.0.28-AIX5.tar.gz and I read the readme file but there is a file that miss and I dont know if I need to do this necessary "You can now verify... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

9. UNIX for Dummies Questions & Answers

samba PROBLEMS

i am run SUSE 6.4 with apache that i built and maintain to serve my dads website, (www.farragutmarine.com for anyone who cares) anyway i am running samba and i have a huge problem, throughout the day, everything goes fine, but then my server will come to a grinding halt, if i try to telnet in or... (4 Replies)
Discussion started by: norsk hedensk
4 Replies
Login or Register to Ask a Question