Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Domain authentication fails on Samba 3.0.24 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Feb 16, 2007 9:59 am    Post subject: Domain authentication fails on Samba 3.0.24 [Solved] Reply with quote

Hi,

I have recently upgraded Samba like I usually do when a new version comes out. However, this time when I try to mount a share from a windows machine I get prompted for a username/password instead of the PDC handling the authentication like before.

If I downgrade to Samba-3.0.22-r3 without changing any of my config files or use flangs everything works fine! :-(

Here is the emerge options used in the downgrade:

Code:
[ebuild     UD] net-fs/samba-3.0.22-r3 [3.0.24] USE="acl -async -automount -cups -doc -examples (-fam%) kerberos -ldap -ldapsam% -libclamav% mysql%* -oav pam -postgres% python -quotas readline (-selinux) -swat -syslog winbind xml%*" LINGUAS="(-ja%) (-pl%)" 17,148 kB

Total: 1 package (1 downgrade), Size of downloads: 17,148 kB


Does anyone know of a new "default" option that I need to disable for this to work?


Last edited by richard.scott on Tue Mar 27, 2007 8:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
RaymaN
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2002
Posts: 93
Location: Earth, Europe, Germany, Berlin

PostPosted: Fri Feb 16, 2007 3:25 pm    Post subject: Reply with quote

the same problem here! :( any ideas?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Feb 16, 2007 3:41 pm    Post subject: Reply with quote

RaymaN wrote:
the same problem here! :( any ideas?


I mean this in the nicest possible way: Phew 8O .... I thought I was the only one!

I've stuck with Samba-3.0.22-r3 for now :? ..... its not a fix, but my server is in constant use!!
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Feb 22, 2007 6:20 pm    Post subject: Reply with quote

Apparently its user error!

https://bugs.gentoo.org/show_bug.cgi?id=167735

I have no idea yet what to change tho :oops:
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Thu Feb 22, 2007 7:15 pm    Post subject: Reply with quote

Release Notes for Samba 3.0.23b
Quote:
Since Samba 3.0.8, it has been recommended that all domain accounts
listed in smb.conf on a member server be fully qualified with the
domain name. This is now a requirement.

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Feb 22, 2007 7:35 pm    Post subject: Reply with quote

darkphader wrote:
Release Notes for Samba 3.0.23b
Quote:
Since Samba 3.0.8, it has been recommended that all domain accounts
listed in smb.conf on a member server be fully qualified with the
domain name. This is now a requirement.

Chris


<whistling> oops, thanks Crhis.....I must have skipped over that part thinking it was directly to do with an older version :oops:

I'll test this tomorrow and mark the ticket as solved once I'm happy!

Many thanks for your help :)
Back to top
View user's profile Send private message
nianderson
Guru
Guru


Joined: 06 May 2003
Posts: 369
Location: Lawrence, KS

PostPosted: Tue Mar 27, 2007 7:00 pm    Post subject: Reply with quote

So did that solve it for you?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Mar 27, 2007 8:23 pm    Post subject: Reply with quote

nianderson wrote:
So did that solve it for you?


It sure did, using domain+username in my config fixed it!

feel a bit of a muppet now :oops:
Back to top
View user's profile Send private message
nianderson
Guru
Guru


Joined: 06 May 2003
Posts: 369
Location: Lawrence, KS

PostPosted: Wed Mar 28, 2007 12:22 am    Post subject: Reply with quote

can you post snippets of what you fixed? Ive got some issue with upgrading to .24

Code:

ldap_initialize: Bad parameter to an ldap r
outine


does that look similar to what you were getting?
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed Mar 28, 2007 10:04 am    Post subject: Reply with quote

nianderson wrote:
can you post snippets of what you fixed? Ive got some issue with upgrading to .24

Code:

ldap_initialize: Bad parameter to an ldap r
outine


does that look similar to what you were getting?


Nope, I was only getting an authentication fail for a domain user trying to access a share. I found out that I need to use the following in my smb.conf:

Code:
[global]
winbind use default domain = yes
winbind separator = +


and the change this in the share config:

Code:
valid users = r.scott


To this:

Code:
valid users = DOMAIN+r.scott


Once I did that, it all worked again.

Perhaps there is a similar thing for doing ldap lookups?

From doing a quick google I found the following:

http://www.mail-archive.com/samba@lists.samba.org/msg82548.html

it suggests using the following in your [global] area:

Code:
passdb backend = ldapsam:ldap://ldapmaster1.biochem.mpg.de:389/


Sorry I can't be any more help, I don't use LDAP as yet :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum