[Samba] Re: Winbind: login cannot find name for group ID XXXXX ONLY RedHat 8

2003-02-19 Thread David Boynton
Yeah, now I get segmentation faults in rpm and tripwire.  I'm sure there's 
other surprises in store, too!

IBM just partnered with United Linux. :)


Dave


On Wednesday 19 February 2003 11:01 am, Chris de Vidal wrote:
 Downgrading back to glibc-2.2.93-5.. too many things
 were broken with 2.3.1-46.  Perhaps I missed a
 dependancy?  rpm didn't complain, and I didn't have to
 force install it.

 Thanks for the info though.. Debian looks better every
 day (:

 /dev/idal


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Re: Winbind: login cannot find name for group ID XXXXXONLY RedHat 8

2003-02-18 Thread David Boynton
We were right.  I posted the bug on Bugzilla and RedHat's solution was to 
upgrade glibc to the one distributed with rawhide.  Version 2.3.1-46.  This 
fixed the problem.


Dave

On Friday 14 February 2003 09:20 am, Chris de Vidal wrote:
 --- David Boynton [EMAIL PROTECTED] wrote:
  Short version:  I think it's a problem with RedHat
  8's glibc and not Samba.
  I've submitted a report to Bugzilla as I'm not
  tinkering with glibc on a server! :)

 And I don't know enough about glibc to tinker, either.
  I had a hunch it was a RedHat library problem but
 wasn't sure.

 Seems like there's alot of weird things in RH8.  It's
 still usable, just weird little things like this all
 over.  I'm hoping 8.1 is better.

 Thanks Dave,
 /dev/idal

 __
 Do you Yahoo!?
 Yahoo! Shopping - Send Flowers for Valentine's Day
 http://shopping.yahoo.com

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Re: Winbind: login cannot find name for group ID XXXXXONLY RedHat 8

2003-02-14 Thread David Boynton
Well I finally had time to look at this and I think I found the problem.  When 
glibc passes a buffer to winbind to hold the group membership the buffer is 
too small.  fill_grent() in libnss_winbind rightfully returns NSS_TRYAGAIN 
and sets errno to ERANGE.  This *should* make glibc realloc the buffer and 
try again, but it looks like it never does.

Short version:  I think it's a problem with RedHat 8's glibc and not Samba.  
I've submitted a report to Bugzilla as I'm not tinkering with glibc on a 
server! :)


Dave

On Tuesday 28 January 2003 12:00 pm, Rene Brask Soerensen wrote:
 David Boynton [EMAIL PROTECTED] writes:
  Sigh...
 
  I also have the same problem.  Unfortunately I was distracted last week
  while I was looking into it.  It seems that the communication between the
  nsswitch module and winbindd is broken.  On my box Winbind sees all the
  groups fine, but the function getpwent() seems broken (somewhere).  I
  think I'm going to try rebuilding from source and seeing if that fixes
  the problem.
 
  Has anyone else experienced this?  If so, do you hold the same contempt
  for RedHat 8.0 that I do? :)

 Same problem here, also on RedHat 8.0

 If you solve it will you then post the solution ;)

 Thanks

 Regards Rene

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] domain users in local groups with Winbind/Samba/Redhat

2003-02-14 Thread David Boynton
Well, I got this to work once by manually editing the /etc/group file, like 
adding the line:

localgroup:x:gid: domain+user1,domain+user2,etc

I don't know if this is a safe thing to do, however. :)


Dave


On Friday 14 February 2003 03:37 am, Matthias Rutzki wrote:
 Hi,

 I am running a Samba 2.2.7a on Redhat 7.3 in a NT domain. For
 authentication I am using the domainusers.This is done by Winbind 2.2.7a
 which verifies the existens of the users on the PDC. So I dont't have to
 create local users (/etc/passwd) for users who want to connect to the
 shares in the smb.conf. I authorise them by adding valid users =
 domain+domainuser to the smb.conf. This works very well.
 Now my problem:
 By writing valid users = @localgroup or +localgroup
 I can authorise local groups (/etc/group) to connect to the shares.
 Now I want to add the domainusers to some local groups.Putting the
 domainusers in groups should save much time because otherwise I have to add
 each domainuser for every share seperatly.
 E.g. valid users = domain1+domainuser domain2+domainuser2
 I have tried it with: usermod -g localgroup domain+domainuser
 which ends in this message: usermod: domain+domainuser not found
 /etc/passwd I know this is message is right because there is no domainuser
 in
 /etc/passwd. But how can I assort the domainusers?
 Is there a way to use groups of domainusers who are verified by winbind in
 the smb.conf?

 Thank you for your efforts.

 Greetings

 Matthias

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Winbind: login cannot find name for group ID XXXXX ONLYRedHat 8

2003-01-28 Thread David Boynton
Sigh...

I also have the same problem.  Unfortunately I was distracted last week while 
I was looking into it.  It seems that the communication between the nsswitch 
module and winbindd is broken.  On my box Winbind sees all the groups fine, 
but the function getpwent() seems broken (somewhere).  I think I'm going to 
try rebuilding from source and seeing if that fixes the problem.

Has anyone else experienced this?  If so, do you hold the same contempt for 
RedHat 8.0 that I do? :)



David Boynton
Senior Network Administrator
Arizona State University West Library
[EMAIL PROTECTED]



On Tuesday 28 January 2003 09:02 am, Chris de Vidal wrote:
 My RedHat 8.0 workstation doesn't want to play nice
 with Winbind.  The rest of our Samba servers (on
 RedHat 7.3) are working fine, and I am familiar with
 setting up Winbind.

 Samba: 2.2.7a (RPM from Samba.org.  RedHat's RPMs do
 same thing.)
 Kernel 2.4.20
 NT 4 domain

 I'd copied the pam and smb.conf from a working box in
 testing.  Getent passwd and group works, BUT getent
 group 'Domain Users' does not (perhaps this is
 related??).  However, getent group | grep 'Domain
 Users' works.  getent group any other group works.

[snip]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] 'net rpc trustdom establish' not yet working?

2002-06-11 Thread David Boynton

Hi all,

I've been messing this this for the last few hours trying to trust an NT
domain.  I make it down to where it says Success! and the domain trust is
added to the secrets.tdb file.  However, connecting with rpclient and doing
'enumtrust' gives back no results.  I also don't have the trusted domain
available for login on my workstation.

Oh yeah, I'm using Redhat 7.3 with Samba 3.0 alpha 17.


Thanks in advance!
Dave

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba