Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: gbl on September 08, 2003, 10:41:28 PM

Title: SME 5.6 & Samba 3
Post by: gbl on September 08, 2003, 10:41:28 PM
How to upgrade to Samba 3?

My SME Box is missing a Library.

Any Ideas?


Guenter
Title: Re: SME 5.6 & Samba 3
Post by: Klaus Eckert on September 09, 2003, 04:50:45 AM
my hint:
wait for the 6.x final.
maybe there is the new samba included...

cheers klaus
Title: Re: SME 5.6 & Samba 3
Post by: Greg Zartman on September 09, 2003, 08:43:48 AM
> my hint:
> wait for the 6.x final.
> maybe there is the new samba included...

Samba 3 isn't even final yet and  Mitel tends to be conservative about this sort of thing..  I highly doubt Samba 3 will show up in SME until it's been out on the street for awhile and well tested.

My best suggestion to get Samba 3 running on SME would be to start with redhat packages that are built on the version of redhat the SME is based on.  You may well need to install a few more libraries, but it should be apparent which are needed.

Greg Zartman
Title: Re: SME 5.6 & Samba 3
Post by: chris snow on September 15, 2003, 01:14:39 AM
I installed samba 3 ok on sme 6 beta 3.

You need to also install the cups-lib.  On my dev box, I used the libraries for redhat 7.3.  When I installed cups-lib, i used rpm -Uvh --nodeps .... (I was too lazy to install the tiff library).

Everything 'seems' to be working fine.  I have not modified anything else to make samba 3 work.

Regards,

Chris
Title: Re: SME 5.6 & Samba 3
Post by: Greg Zartman on September 15, 2003, 04:49:43 AM
Chris,

Have you tried integrating Samba 3 with a native Windows domain with active directory?  If so, what do you think?  Does all seem to work well?

I've yet to play with this beast.

Thanks.

Regards,

Greg Zartman
Title: Re: SME *6* & Samba 3
Post by: chris snow on September 15, 2003, 03:24:29 PM
Although the install was relatively smooth, I couldn't get a W2K machine to join the domain.  The W2K and log.nmbd, log.smbd error messages :

------------------------------------------------
Your computer could not be joined to the domain because the following error has occurred:

Logon failure: unknown user or bad password
------------------------------------------------
[root@sme root]# tail log.nmbd

  Samba server SME2 is now a domain master browser for workgroup C4P on subnet 192.168.0.3

  *****
[2003/09/15 04:12:34, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****

  Samba name server SME2 is now a local master browser for workgroup C4P on subnet 192.168.0.3

  *****
------------------------------------------------
[root@sme root]# tail log.smbd
[2003/09/15 04:12:11, 0] param/loadparm.c:lp_do_parameter(3147)
  Ignoring unknown parameter "character set"
[2003/09/15 04:12:11, 0] param/loadparm.c:map_parameter(2419)
  Unknown parameter encountered: "client code page"
[2003/09/15 04:12:11, 0] param/loadparm.c:lp_do_parameter(3147)
  Ignoring unknown parameter "client code page"
[2003/09/15 04:12:11, 0] param/loadparm.c:map_parameter(2419)
  Unknown parameter encountered: "domain admin group"
[2003/09/15 04:12:11, 0] param/loadparm.c:lp_do_parameter(3147)
  Ignoring unknown parameter "domain admin group"
Title: Re: SME 5.6 & Samba 3
Post by: gbl on September 16, 2003, 06:15:12 PM
@Author: chris snow (snowch_AT_care4pcs.com)

Can you tell me the Links of the RPM´s you used?


sincerly
Guenter
Title: Re: SME 5.6 & Samba 3
Post by: chris snow on September 17, 2003, 03:03:30 PM
From memory, I think it was:

# rpm -Uvh --nodeps ftp://fr.rpmfind.net/linux/redhat/updates/7.3/en/os/i386/cups-libs-1.1.14-15.4.i386.rpm
# rpm -Uvh --nodeps http://www.mirror.ac.uk/sites/ftp.samba.org/Binary_Packages/RedHat/RPMS/i386/7.3/samba-3.0.0rc4-1_rh73.i386.rpm

I hope that helps...
Title: Re: SME 5.6 & Samba 3
Post by: gbl on September 17, 2003, 03:07:51 PM
Thank you.

I will test it in a few days.


Guenter
Title: Re: SME 5.6 & Samba 3
Post by: gbl on September 17, 2003, 10:09:54 PM
Thank you.
It seems working - BUT:

# net join
says

2003/09/17 15:13:42, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(284)
  error setting trust account password: NT_STATUS_WRONG_PASSWORD
Unable to join domain SAMBATEST.

My Config Files are:

# /etc/smb.conf

security = ads
guest ok = no
map to guest = never
winbind separator = „\“
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes


# /etc/krb5.conf

[logging]
  default = FILE:/var/log/krb5/libs.log
  kdc = FILE:/var/log/krb5/kdc.log
  admin_server = FILE:/var/log/krb5/admin.log

[libdefaults]
  ticket_lifetime = 24000
  default_realm = < AD – DOMAINNAME (SAMBATEST.INT) >
  default_tgs_enctypes = des-cbc-crc des-cbc-md5
  default_tkt_enctypes = des-cbc-crc des-cbc-md5
  forwardable = true
  proxiable = true
  dns_lookup_realm = true
  dns_lookup_kdc = true

[realms]
  SAMBATEST.INT {
    kdc = smb6b3.sambatest.int:88
    default_domain = sambatest.int
  }

[domain_realm]
  .sambatest.int = SAMBATEST.INT
  sambatest.int = SAMBATEST.INT

[kdc]
  profile = /var/kerberos/krb5kdc/kdc.conf

[pam]
  debug = false
  ticket_lifetime = 36000
  renew_lifetime = 36000
  forwardable = true
  krb4_convert = false

ktpass .... was made on Windows DC and was successful.

Nameresolition works find over DNS!

Any Ideas?