Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: kmcelwain on May 28, 2004, 11:28:10 PM

Title: Samba 3 Upgrade
Post by: kmcelwain on May 28, 2004, 11:28:10 PM
Has anyone updated to Samba 3.0 yet successfully?

I tried and I got an error message right at the end.  I'm not sure if it took or not.  I'm going to check next week.  Something took affect because I was able to join a WinXP box to the domain.  However now I'm getting a unable to find network and it's doing some pretty weird things with synchronization.  If someone has found easy instructions on performing this upgrade then lets post it.

If someone else has done it....lets get it documented.  Lots of people are probably waiting with baited breath.
Title: Samba 3 Upgrade
Post by: ergozd on May 31, 2004, 01:49:01 PM
I have upgraded to jprice samba3 RPMS

http://mirror.contribs.org/smeserver/contribs/jprice/alpha/samba-3.0.0-3beta3/

PS : I am running these at home with only a few users and NOT seen any problem so far, pls use them at your own risk. :-)

Best rgds, Ergin
Title: i tried no luck
Post by: ddelorme on June 01, 2004, 03:45:40 PM
I tried the up date pu got failed dep..
here is my out put any suggestions
rpm -Uvh samba-*
error: failed dependencies:
        libacl.so.1   is needed by samba-3.0.0-3beta3es1
        libattr.so.1   is needed by samba-3.0.0-3beta3es1
an again
rpm -Uvh samba-common-3.0.0-3beta3es1.i386.rpm
error: failed dependencies:
        samba-common = 2.2.8a is needed by samba-client-2.2.8a-1es1
        samba-common = 2.2.8a is needed by samba-2.2.8a-1es1
Title: Samba 3 Upgrade
Post by: ergozd on June 01, 2004, 04:35:56 PM
Try installing libacl

http://rpmfind.net//linux/RPM/redhat/8.0/i386/libacl-2.0.11-2.i386.html
Title: Samba 3 Upgrade
Post by: djohen on June 19, 2004, 03:19:59 AM
Does this work for the Domain controller as well?

I remember me installing samba3 rpm before, but after the domain logon was broke.(didn't look further into it)
Title: Samba 3 Upgrade
Post by: Anonymous on June 19, 2004, 06:04:17 PM
Here's what I did:
I installed the following RPM's:
libacl-2.0.11-2.i386.rpm
libattr-2.0.8-3.i386.rpm
samba-3.0.0-3beta3es1.i386.rpm
samba-client-3.0.0-3beta3es1.i386.rpm
samba-common-3.0.0-3beta3es1.i386.rpm

Using these commands:

[root@server samba]# rpm -Uvh lib*.rpm
[root@server samba]# rpm -Uvh samba*.rpm
[root@server samba]# /etc/rc.d/init.d/smb restart
[root@server samba]# /sbin/e-smith/signal-event ibay-modify

I got the first 2 rpm's from Darrell May's samba contrib here:
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/samba/
And the Samba RPM's from jprices' contrib:
http://mirror.contribs.org/smeserver/contribs/jprice/alpha/samba-3.0.0-3beta3/

Seems to have worked pretty well. I read Darrell's well written howto:
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/samba-howto.html
as well as all the other posts here I could find doing a search on "samba."
I was having the "classic" can't join a win2k PC to the domain without standing on my head during a full moon and holding my mouth just the right way problem :)

I'll do some testing and let you know how well it worked.
Title: Samba 3 Upgrade
Post by: arnoldob on June 21, 2004, 07:06:57 PM
Sorry I didn't login on the last post above. I did run into a problem with the upgrade. When logged in on my SME domain as admin I do not have admin rights on my local PC. No user has admin rights when logged in on the domain. How do I correct this? Any suggestions?

Thanks
Arnoldo Bertoncini
http://www.bertoncini.net
Title: Samba 3 Upgrade
Post by: wyron on June 21, 2004, 07:14:18 PM
Quote from: "arnoldob"
No user has admin rights when logged in on the domain. How do I correct this? Any suggestions?

Login as local Administrator on the W2K-box, and add the domain user you need, to the Administrators group.
This can be done in the control panel or under 'Administration' when you right-click 'This Computer'.
I hope this was the answer you needed ?
Title: Samba 3 Upgrade
Post by: arnoldob on June 22, 2004, 02:35:21 AM
Cheers! That did the trick. Prior to that I also had add a root samba user again and make sure any shares were disconnected. Also had to delete old machine accounts (same as the netbios name with $ appended) from SME (samba lost them in the upgrade) for my client boxes. I switched to an unused workgroup instead of the domain on the client machines, rebooted then rejoined the domain. After that everything seemed happy.

I think I may have created more work for myself because I lost my samba user information somewhere along the line. In my case it was not too bad because there are only 3 win2k clients on the domain. There is probably a better way to handle the samba upgrde that someone could suggest. It would be really cool if there was a panel add-on to handle the samba admin and stuff, but that's beyond my abilites at the moment. Oh well, I learned how to do something new even if it was the hard way :)
Title: Uh oh...
Post by: sgt-spam on July 09, 2004, 04:50:38 PM
Using the custom 6 ISO...

Went through with the RPM upgrades listed above and now I can't browse the network to the SME box.  Other changes included two template modifications to enable the storage of printer drivers on SME - found the link here in the forums.

Any thoughts as to what I could have messed up?


Thanks.
Title: Samba 3 Upgrade
Post by: stephen noble on July 11, 2004, 10:09:03 AM
the rpms mentioned here are 2003 versions
if you want to play with samba a later version may have more features, (which may require new template fragments)

i d/l'd the latest rh7.3 samba3 rpm from samba.org
it required one extra rpm that you will have if you installed cups

samba.org   depending on mirror ...
samba/ftp/Binary_Packages/RedHat/RPMS/i386/7.3/samba-3.0.4-1_rh73.i386.rpm
is one 21.8 mb file

http://mirror.contribs.org/smeserver/contribs/rvandenaker/beta/e-smith-cups/SME_6.0/
cups-lib from memory

installed these 2 files
created a new ibay to regenerage samba config

and samba continued to work as it was.
ie shares and cups printing in a workgroup
more complicated setups may fail (or may work)


stephen noble
Title: Samba 3 Upgrade
Post by: sgt-spam on July 12, 2004, 02:57:44 PM
Thanks for the help Stephen.

I downloaded and installed the RPM you mentioned.  Also re-installed CUPS.

The SME is prompting for authentication (our NT 4 domain accounts are manually synchronized with the SME), and I can't seem to find an account that works.  Also, still unable to browse the SME box - error message is something to the point of "server not configured for transactions".

I'm almost ready to do a backup, reload the box, and restore user data / mail.  My only concern is what samba data is backed up, and whether it will cause me headaches after a restore...

Name resolution, etc., seems to be OK, and errors relating to Linux in general I located on Google point to samba.

Is there a way to wipe the samba config and just start over?  I'm fairly new to SME, which is my other problem.  :-)


Thanks again.
Title: Samba 3 Upgrade
Post by: stephen noble on July 12, 2004, 11:37:14 PM
Is there a way to wipe the samba config and just start over? I'm fairly new to SME, which is my other problem.

did you meam
rpm -e samba
then rpm -Uvh the three samba rpms from the install CD

or
delete any custom templates
/sbin/e-smith/signal-event console-save and reboot
Title: Thanks!
Post by: sgt-spam on July 13, 2004, 09:54:43 PM
:-)

I followed through with the second suggestion, and it's working again!  THANK YOU!  Moved the custom templates out of that directory, did the console-save, and restarted the machine.  After reinstalling Samba browsing is OK.

Now I'm struggling with CUPS, but I think that's a different thread.

Again, thanks for your help!
Title: Re: Samba 3 Upgrade
Post by: ddelorme on October 23, 2004, 05:19:17 PM
Quote from: "kmcelwain"
Has anyone updated to Samba 3.0 yet successfully?

I tried and I got an error message right at the end.  I'm not sure if it took or not.  I'm going to check next week.  Something took affect because I was able to join a WinXP box to the domain.  However now I'm getting a unable to find network and it's doing some pretty weird things with synchronization.  If someone has found easy instructions on performing this upgrade then lets post it.

If someone else has done it....lets get it documented.  Lots of people are probably waiting with baited breath.


I had the same problem the smb.cfg has a few changes between versions i took it off my system then found the problem.