Bug 5706 - Cannot join Solaris Samba server to Windows 2003 AD
Summary: Cannot join Solaris Samba server to Windows 2003 AD
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: net utility (show other bugs)
Version: 3.0.31
Hardware: Sparc Windows 2003
: P3 major
Target Milestone: none
Assignee: Jim McDonough
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 19:05 UTC by Mario Piazzese
Modified: 2008-08-21 17:08 UTC (History)
0 users

See Also:


Attachments
Dump of smb.conf and detailed dump of failure (126.00 KB, text/plain)
2008-08-19 19:08 UTC, Mario Piazzese
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Piazzese 2008-08-19 19:05:17 UTC
I have compiled Samba 3.0.31 with the following options:
./configure --prefix=$INSTALL_BASE --localstatedir=$INSTALL_BASE/lib --with-logfilebase=/usr/local/logs/samba --with-privatedir=$INSTALL_BASE/private --with-pam --with-acl-support --with-quotas --with-included-popt --with-winbind --with-libiconv=/usr/local --with-readline=/opt/sfw CFLAGS="-O3 -m64"

Version compiles successfully. My OS is Solaris 10 8/07 on a SPARC platform. Without starting Samba services I run the following command to join the Windows 2003 Domain and fails:
crashnburn# /local/samba/bin/net rpc join -U mpiazzes -S arctic.sewl.com.au
Connection failed: NT_STATUS_UNSUCCESSFUL

This works fine under version 3.0.30. Also I have diagnosed the problem to reside in the file source/utils/net.c (if you use the file from 3.0.30, it joins OK).
Comment 1 Mario Piazzese 2008-08-19 19:08:59 UTC
Created attachment 3496 [details]
Dump of smb.conf and detailed dump of failure

I have attached the debugging output of the net command.
Comment 2 Guenther Deschner 2008-08-21 17:08:38 UTC
Fixed in git already, will be in 3.0.32