LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-19-2012, 09:33 AM   #1
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Rep: Reputation: 20
Samba 3.0.33 (sorta) works, 3.5.4 doesn't


I'm trying to get a RHEL 5.4 base system to authenticate against a W2K8 domain

With the stock samba-3.0.33, I can use wbinfo and getent just fine, but I cannot actually authenticate. Googling finally led to a bug that strongly suggests that 3.0.33 cannot and will never be able to authenticate against W2K8, so I installed samba3x-3.5.4 Now, I cannot even join the domain. I get:

Failed to join domain: failed to lookup DC info for domain 'MY.DOMAIN' over rpc: Invalid workstation

Googling on that isn't turning up much of anything.

net ads status seems to work just fine.

/var/log/samba/log.winbindd says "Could not fetch our SID - did we join?" and "unable to initialize domain list"
 
Old 04-20-2012, 02:18 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
So you joined to the domain with samba 3.0.33 and installed 3.5.4. Maybe you need to remove the host completely from the domain before you start to join again.
 
Old 04-25-2012, 08:19 AM   #3
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by pan64 View Post
So you joined to the domain with samba 3.0.33 and installed 3.5.4. Maybe you need to remove the host completely from the domain before you start to join again.
Reinstalled host without samba-3.0.33 ever being on it, removed record from AD, installed samba3x-3.5.4, started winbind, attempted to join domain... and got the exact same error.
 
Old 04-25-2012, 08:25 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Here you can find some tips on it:
http://lists.samba.org/archive/samba...ad.html#162668
http://wiki.samba.org/index.php/Windows7
 
Old 04-25-2012, 11:19 AM   #5
jnojr
Member
 
Registered: Sep 2007
Location: Chandler, AZ
Posts: 227

Original Poster
Rep: Reputation: 20
Some smb.conf entries that are helping me make progress!

# deal with NSS and the whole UID/SID id mapping stuff
idmap backend = tdb
idmap uid = 2000000 - 2999999
idmap gid = 2000000 - 2999999
idmap config MYDOMAIN : backend = ad
idmap config MYDOMAIN : schema_mode = rfc2307
idmap config MYDOMAIN : readonly = yes
idmap config MYDOMAIN : range = 500 - 1999999
idmap cache time = 604800
idmap negative cache time = 20
winbind cache time = 600
winbind nss info = rfc2307
winbind expand groups = 2
winbind nested groups = yes
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind refresh tickets = yes
winbind offline logon = false
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.0, VirtualBox and USB Flash Drive Works (Sorta) tronayne Slackware 6 11-30-2009 07:37 AM
Load Balancing Works...Sorta caps_phisto Linux - Networking 9 10-09-2006 12:09 PM
Trying To Create Stop Motion Animation Using JPEG2YUV...sorta works bluefire Linux - General 1 08-16-2005 11:29 PM
sound works, sorta, must modprobe -r then reload. jdblick Linux - Newbie 1 09-21-2004 01:23 PM
Samba works -printing to XP doesn't xtec2 Linux - Networking 10 05-09-2004 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration