The Samba-Bugzilla – Bug 5706
Cannot join Solaris Samba server to Windows 2003 AD
Last modified: 2008-08-21 17:08:38 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).
Created attachment 3496 [details]
Dump of smb.conf and detailed dump of failure
I have attached the debugging output of the net command.
Fixed in git already, will be in 3.0.32