Hmm. Now that I went and got it ... I'm still a bit stumped as to getting this all set up.
I've got Samba 2.2.2 running on things other than Empegs, so I have a partial clue here. What I'm looking for is more specific steps to get through the following:
- Format and setup directories on /dev/hda2
- Files to pick out of the samba-2.0.7 build
- Where to place said files
- Where to obtain libraries that are required and not in this build (if any)
UPDATE: I'm further along now. Here's the lowdown:
- Using elvis-tiny (renamed to vi) for an editor
- Moved various files from tar.gz into place (using an existing samba install as a guideline), placing into /drive0/samba (as that appears to be the way it was compiled)
- Created codepage 850 files (normal and Unicode) like so: make_smbcodepage c 850 codepage_def.850 codepage.850; make_unicodemap 850 CP850.TXT unicode_map.850
- Placed library files in /drive0/samba/lib as needed - so far only libcrypt.so.1; also pointing LD_LIBRARY_PATH to samba lib, plus PATH includes samba bin for testing things out (actually, I could symlink libcrypt.so.1 into /lib - I don't want to drop stuff into the main partition directly, 'tis all)
- Using ldd from Frank's debian archive (actually a shell script, had to strip CRs from it first) to reality-check binaries - all libraries are in place!
- Created various etc files (under samba/etc, symlinked to the real /etc for now) like passwd, group, shadow (is that even in Debian?), nsswitch.conf and hosts
- Tried starting daemons via: /drive0/samba/bin/smbd -D -s/drive0/samba/smb.conf; /drive0/samba/bin/nmbd -D -l/drive0/samba/var/log -s/drive0/samba/smb.conf
Having done all that (and I also kicked up the log level to 4, BTW), I'm currently getting snagged at the hostname resolution point (nsswitch.conf has hosts resolving via files first, hence an /etc/hosts entry).
Another interesting one - I since dropped shadow (seeing that shadow passwords are most likely NOT enabled anyway - hope I'm right on that one) and I still can't get smbpasswd to complete. It complains about there not being a root entry in /etc/passwd ... only there is.
Any takers? I think I'm getting closer, but you know what they say about horseshoes and so on and so-forth ...