patch for supporting SMB on Solaris host
Quoted 12 lines · ---- Paul Brook
Quoted 10 lines · Paul Brook
Review
Quoted 7 lines · Ben Taylor
Seeing as there is some working going on in the Solaris QEMU port again, here's a real short patch to support Samba working on a Solaris Host.
(quoted diff) +2
-0+#ifdef __sun__ + snprintf(smb_cmdline, sizeof(smb_cmdline), "/bin/env LC_ALL=C
/usr/sfw/sbin/smbd-s %s",(quoted diff) +2
-0+ smb_conf); +#elseWhy does this have anything to do with solaris?
Quoted 2 lines
Sorry, I was unclear. The
/usr/swfbif is obviously a Solaris hack, and I think this is a bad way of implementing this.
Well, I suppose I can write a configure hack to replace to definte the smbd binary, which will take about 30 seconds, hoping you'll find that more digestable.
Quoted 1 line
I don't see why the
/bin/envLC_ALLbits have anything to do with Solaris.
Let me inject a little humor. I'm american and speak only one language. The guy who did the patch is in germany and did it for a reason, though he never explained to me.
In meantime, I will resubmit the patch without the /bin/env LC_ALL bits, hopefully to your liking and if it breaks on Solaris for some other reason, I'll be able to argue with you why it needs to be there.