[Samba] winbind and Solaris 9 with AD

Unix Service (ANTS) Unix.Services at ants.co.uk
Mon Jan 19 20:45:55 GMT 2004


Looked through source and noticed there were some debug entries at level 10
for winbind - so upped log level and this time I get this:

[2004/01/19 18:18:47, 10] nsswitch/winbindd.c:(305)
  process_request: request fn CREATE_USER
[2004/01/19 18:18:48, 3] nsswitch/winbindd_acct.c:(875)
  [17805]: create_user: user=>(test7), group=>()
[2004/01/19 18:18:48, 5] libads/ldap_utils.c:(52)
  Search for (objectCategory=user) gave 18764 replies
[2004/01/19 18:18:48, 5] nsswitch/winbindd_acct.c:(521)
  wb_getgrnam: Did not find group (nobody)



-----Original Message-----
From: Patrik Gustavsson [mailto:Patrik.Gustavsson at Sun.COM] 
Sent: 19 January 2004 14:39
To: Unix Service (ANTS)
Cc: 'samba at lists.samba.org'
Subject: Re: [Samba] winbind and Solaris 9 with AD


Hi,

I have the following libraries and links in /usr/lib and 
it works:

libnss_winbind.so
libnss_winbind.so.1 -> libnss_winbind.so
nss_winbind.so.1 -> libnss_winbind.so

/Patrik
On Mon, 2004-01-19 at 13:13, Unix Service (ANTS) wrote:
> Hi
> 
> have been trying to get winbind working on Solaris 9 but to no effect.
> 
> version info:
> 
> samba: 3.0.0
> openldap: 2.1.23
> kerberos: MIT 1.3.1
> 
> Have followed the instructions in every howto, usenet posting I could
> find:
> 
> nscd not running
> created relevant links in /lib and /lib/security/sparcv9 applied patch 
> for nsswitch as recommended
> 
> kinit -e works
> net ads join works
> wbinfo -t works
> wbinfo -u gives list of all users in all trusted domains getent 
> doesn't work samba authentication doesn't work - get the following in 
> winbindd.log:
> 
> [2004/01/19 10:59:27, 5] nsswitch/winbindd_pam.c:(379)
>   NTLM CRAP authentication for user [DEV]\[test7] returned 
> NT_STATUS_OK (PAM: 0) [2004/01/19 10:59:27, 3] 
> nsswitch/winbindd_acct.c:(875)
>   [ 3551]: create_user: user=>(test7), group=>()
> [2004/01/19 10:59:27, 5] nsswitch/winbindd_acct.c:(521)
>   wb_getgrnam: Did not find group (nobody)
> 
> my smb.conf is:
> 
> workgroup = DEV
> #workgroup = DEV.ANTS.AD.ANPLC.CO.UK
> realm = DEV.ANTS.AD.ANPLC.CO.UK
> security = ADS
> password server = lonsd010.dev.ants.ad.anplc.co.uk
> dns proxy = no
> idmap gid = 70000-80000
> idmap uid = 800000-900000
> winbind cache time = 15
> winbind use default domain = yes
> winbind enum users = yes
> winbind enum groups = yes
> encrypt passwords = yes
> log level = 9
> 
> [temp]
> path = /tmp
> read list = @users
> 
> [docs]
> path = /var/tmp/samba-3.0.0
> read list = @users
> 
> I would appreciate any pointers as to further debugging I could do or 
> possible problems as being able to use winbind to deal with samba 
> authentication would make life a great deal easier.
> 
> 
> 
> 
> **********************************************************************
> *****
> This communication (including any attachments) contains confidential
information.  If you are not the intended recipient and you have received
this communication in error, you should destroy it without copying,
disclosing or otherwise using its contents.  Please notify the sender
immediately of the error.
> 
> Internet communications are not necessarily secure and may be 
> intercepted or changed after they are sent.  Abbey National Treasury 
> Services plc does not accept liability for any loss you may suffer as 
> a result of interception or any liability for such changes.  If you 
> wish to confirm the origin or content of this communication, please 
> contact the sender by using an alternative means of communication.
> 
> This communication does not create or modify any contract and, unless 
> otherwise stated, is not intended to be contractually binding.
> 
> Abbey National Treasury Services plc. Registered Office:  Abbey 
> National House, 2 Triton Square, Regents Place, London NW1 3AN.
Registered in England under Company Registration Number: 2338548.  Regulated
by the Financial Services Authority (FSA).
>
***************************************************************************
-- 
"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
--------------------------------------------------------------



***************************************************************************
This communication (including any attachments) contains confidential information.  If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents.  Please notify the sender immediately of the error.

Internet communications are not necessarily secure and may be intercepted or changed after they are sent.  Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes.  If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.

This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.

Abbey National Treasury Services plc. Registered Office:  Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN.  Registered in England under Company Registration Number: 2338548.  Regulated by the Financial Services Authority (FSA).
***************************************************************************



More information about the samba mailing list