Koozali.org: home of the SME Server

Xubuntu-Ubuntu 12.04 join error - Worked around

Offline nicolatiana

  • *
  • 724
  • +0/-0
Xubuntu-Ubuntu 12.04 join error - Worked around
« on: November 10, 2013, 11:25:30 AM »
I've tried to join an Xubuntu 12.04 desktop to Sme - Samba according to http://wiki.contribs.org/Client_Authentication:Ubuntu#Ubuntu_12.04_LTS_Authentication .
In the past I did it succefully with Xubuntu 11 and  Ubuntu 10.04 but this time when trying to join with  "net rpc join -D <WORKGROUP> -U admin" i get a  "session setup failed: NT_STATUS_LOGON_FAILURE" login/password not valid.
I've followed correctly the howto and testparm parses smb.conf without error.
I've solved adding "manually" on Sme the machine account.
Quote
useradd -d /dev/null -s /bin/false pc-name$
smbpasswd -a -m pc-name
Then all went smoothly: I joined and completed the "Authentication Modifications" tasks and I've been able to auto-mount user homes and iBays and add a sudoer.
The Samba installed are:
- on SME 8 side: 3.6.6-0.136.el5 (for all packages) - e-smith-samba.noarch 2.2.0-59.el5.sme
- on Xubuntu 12.04 side: 2:3.6.3-2ubuntu2.8
Can anyone confirm this problem ?
Eventually i'll add a note to the above howto.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline _alex

  • ****
  • 103
  • +0/-0
Re: Xubuntu-Ubuntu 12.04 join error - Worked around
« Reply #1 on: November 12, 2013, 04:21:50 PM »
Nicola,

FIY, I have just joined an Ubuntu 12.04 machine, same samba versions as You, it went well as per the wiki, I didn't needed to create the account manually on the sme server

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Xubuntu-Ubuntu 12.04 join error - Worked around
« Reply #2 on: November 12, 2013, 10:27:05 PM »
Many thanks for Your reply; I'll make further investigations.

Nicola
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline nicolatiana

  • *
  • 724
  • +0/-0
Re: Xubuntu-Ubuntu 12.04 join error - Worked around
« Reply #3 on: November 25, 2013, 08:59:50 AM »
I made two further join in a "physic" environment and they both went fine; I'll try to understand what was affecting within the VM.

In the test I discovered an issue to be considered Joining laptops with wLan connection.
It seems that wLan starts (and gets IP) after the authentication attemp so resolving in an authentication failure.
Here:
http://nixliving.blogspot.it/2010/02/start-your-wireless-connection-on-boot.html
there is some suggestions, the very hard is removing network manager  :shock: in Ubuntu. To be tested this too.

Nicola
« Last Edit: November 25, 2013, 09:04:54 AM by nicolatiana »
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.