In a samba 3 Linux environment, "smbclient -L 127.0.0.1" displays "Domain=[netbios name] OS=[Unix] Server=[Samba 3.0.23c-2]" instead of "Domain=[workgroup] OS=[Unix] Server=[Samba 3.0.23c-2]". But in a samba 2 Linux environment, "smbclient -L 127.0.0.1" displays "Domain=[workgroup] OS=[Unix] Server=[Samba 2.2.7-security-rollup-fix]" and "smbclient -L <samba 3 server>" displays "Domain=[workgroup] OS=[Unix] Server=[Samba 3.0.23c-2]". Please check to see what makes the difference. Thanks. Tested with: Samba 3.0.23c on Fedora Core 6 Samba 2.2.7 on Redhat 7.3
One more thing to add on: if we use smbclient anonymously, then Domain will show workgroup as expected. Thanks.
Created attachment 4228 [details] Patch for 3.3 and 3.2 This fixes the problem for me in 3.2/3.3.
Created attachment 4229 [details] Patch for 3.4/master This fixes the problem for me in master/3.4. Jeremy.
I'll probably check this fix into 3.4 and above, as it's not a high enough priority fix to be backported to 3.3 or 3.2. However I'm providing the patch for those releases in case you want to use it yourself. Thanks for reporting the bug ! Jeremy.
Thank you for your response and patches. I'll try to find how to apply the patch to the samba rpm package ( The version of samba used in Fedora 10 is 3.2 ). Thank you once again for your sincere assistance.