[Samba] Back to 3.0.1, Winbind and Solaris 9

Ganguly, Sapan Sapan.Ganguly at thalesgroup.com
Thu Jan 29 17:15:24 GMT 2004


The size of my libnss_winbind.so is 29k and my pam_winbind.so is 27k.  Are
yours this size?  

I seem to remember that from a previous compile that libnss_winbind.so was
about 737k.


-----Original Message-----
From: Patrik Gustavsson [mailto:Patrik.Gustavsson at Sun.COM] 
Sent: 29 January 2004 14:07
To: Ganguly, Sapan
Cc: 'Samba'; 'richard.huber at sun.com'
Subject: RE: [Samba] Back to 3.0.1, Winbind and Solaris 9



/lib is symlink to /usr/lib

The 32 bits pam libs are installed in /usr/lib/security and 64 bits are
installed in /usr/lib/security/sparcv9

If you want to know if your libs are 32 or 64 bits, run file command,

# file /usr/lib/security/pam_winbind.so.1
/usr/lib/security/pam_winbind.so.1:     ELF 32-bit MSB dynamic lib SPARC
Version 1, dynamically linked, not stripped

# file /usr/lib/security/sparcv9/pam_unix.so.1 
/usr/lib/security/sparcv9/pam_unix.so.1:        ELF 64-bit MSB dynamic
lib SPARCV9 Version 1, dynamically linked, not stripped

I think the compiler is compiling 32 bits by default.

/Patrik

On Thu, 2004-01-29 at 14:31, Ganguly, Sapan wrote:
> Ah, I compiled with gcc 3.3.2.  My machine is an Enterprise 220R so I 
> guess I would have compiled in 64 bit by default right?  How do I 
> force it to compile everything in 32 bit?  I think I installed the OS 
> to be compatible with 32 bit apps.
> 
> I have the same symbolic links as you but what is 
> /usr/lib/security/sparcv9 for?
> 
> What is the difference between /usr/lib/security and /lib/security?
> 
> 
> 
> -----Original Message-----
> From: Patrik Gustavsson [mailto:Patrik.Gustavsson at Sun.COM]
> Sent: 29 January 2004 12:46
> To: Ganguly, Sapan
> Cc: 'Patrik Gustavsson'; 'Samba'; 'richard.huber at sun.com'
> Subject: RE: [Samba] Back to 3.0.1, Winbind and Solaris 9
> 
> 
> Ok,
> 
> Lets take a step back,
> 
> I have used the pam.conf file on both 3.0.1 and 3.0.2rc1 and it works.
> 
> The libraries is 32 bits and is installed in /usr/lib/security and has 
> been compiled with gcc 3.2.3.
> 
> The only thing I have changed is that Samba is compiling 
> pam_winbind.so instead of pam_winbind.so.1, so I renamed 
> pam_winbind.so to pam_winbind.so.1 in /usr/lib/security and created a 
> symlink from pam_winbind.so to pam_winbind.so.1
> 
> lrwxrwxrwx   1 root     other         16 Jan 26 14:13 pam_winbind.so ->
> pam_winbind.so.1
> -rwxr-xr-x   1 root     other      27904 Jan 28 15:25 pam_winbind.so.1
> 
> /Patrik
> On Thu, 2004-01-29 at 12:29, Ganguly, Sapan wrote:
> > Hello Patrik,
> > 
> > Yes, I used your pam.conf and I have the patch installed.  I can't
> > think what else the problem could be.
> > 
> > I can't see what happens after I type in my password.  Pamlog looks
> > like this -
> > 
> > Jan 29 11:28:27 sun001 login: [ID 634615 auth.debug]
> > pam_authtok_get:pam_sm_authenticate: flags = 0
> > Jan 29 11:28:31 sun001 login: [ID 378613 auth.debug] pam_dhkeys: 
> > user
> > ganguly not found Jan 29 11:28:31 sun001 login: [ID 896952 auth.debug] 
> > pam_unix_auth: entering
> > pam_sm_authenticate()
> > Jan 29 11:28:31 sun001 login: [ID 219349 auth.debug] pam_unix_auth: 
> > user ganguly not found Jan 29 11:28:31 sun001 pam_winbind[1138]: [ID 
> > 572310 auth.info] Verify user `ganguly'
> > Jan 29 11:28:31 sun001 pam_winbind[1138]: [ID 614614 auth.notice] user
> > 'ganguly' granted acces
> > Jan 29 11:28:31 sun001 login[1138]: [ID 509786 auth.debug] roles
> > pam_sm_authenticate, service = teln
> > et user = ganguly ruser = not set rhost = pc8723_w2k.uk.trt.thales
> > 
> > It tells me that the user is granted access but then nothing 
> > happens,
> > I don't get a shell even though I have an entry in smb.conf 'template 
> > shell = /bin/bash'
> > 
> > Strange huh?
> > 
> > -----Original Message-----
> > From: Patrik Gustavsson [mailto:Patrik.Gustavsson at Sun.COM]
> > Sent: 29 January 2004 11:13
> > To: Ganguly, Sapan
> > Cc: 'Samba'; 'richard.huber at sun.com'; 'Patrik.Gustavsson at Sun.COM'
> > Subject: Re: [Samba] Back to 3.0.1, Winbind and Solaris 9
> > 
> > 
> > Did you use the pam.conf file I sent you ?
> > 
> > I will attached again.
> > 
> > Do you have patch 113476-08 or later installed ?
> > 
> > 
> > /Patrik
> > On Thu, 2004-01-29 at 11:26, Ganguly, Sapan wrote:
> > > I've gone back to 3.0.1 to try and get winbind to work with my
> > > Solaris
> > > 9 machine and NT4 domain.  Everything works except user 
> > > authentication.  The wbinfo and getent commands do what they are 
> > > supposed to.
> > > 
> > > I've included a truss of 'su - ganguly'
> > > 
> > > According to pamlog, the user 'ganguly' has been granted access 
> > > but
> > > it
> > > is still hanging.
> > > 
> > > How do I do a truss of a telnet login?
> > > 
> > > I'm hoping some one out there is good with Solaris.
> > > 
> > > Can you help?
> > > 
> > > Thanks,
> > > Sapan
> > > 
> > > 
> > > __________________________________________________________________
> > > __
> > > __
> > > 
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> --
> "In a world without fences who needs Gates"
> Patrik Gustavsson, Senior Technical Consultant
> patrik.gustavsson at sun.com     Telephone: +46 60 671540
> http://glen.sweden            Mobile: +46 70 3551040
> SUN MICROSYSTEMS              Fax: +46 60 671550
> --------------------------------------------------------------
-- 
"In a world without fences who needs Gates"
Patrik Gustavsson, Senior Technical Consultant
patrik.gustavsson at sun.com     Telephone: +46 60 671540
http://glen.sweden            Mobile: +46 70 3551040
SUN MICROSYSTEMS              Fax: +46 60 671550
--------------------------------------------------------------



More information about the samba mailing list