| Misadventures Installing SAMBA 2.2 on OS X Server 10.04 (includes Apple's SAMBA v2.0.9) (Best viewed at 1024x768 or higher resolution.)
|
| First you might ask, why try this at all? Like most system administrators, I hate the idea of maintaining multiple user lists across multiple servers, and I hoped that by making my OS X Server box a Primary Domain Controller (PDC), I could rid my network of Windows servers that don't share user lists through NetInfo (someone please let me know if you discover how to do it through LDAP). I failed at doing this, although the info I acquired may prove useful to others. I ended up figuring out a good way to import the user lists into NT and OS X from an Excel file that can be exported into a batch file. Email me if you want a copy.
The SAMBA included with OS X 10.0.3 and below is v2.0.7. SAMBA gets updated to v2.0.9 with OS X 10.0.4, but this version of SAMBA still can't act as a PDC, nor can it be configured with the SAMBA Web Administration Tool (SWAT). After I installed SAMBA 2.2 over the OS X version I was thrilled to be able to use SWAT because it offers so many more options than the OS X Server Admin Application. BUT, if you use any of these options, or even edit smb.conf directly, your changes get erased and all the work you put into smb.conf is overwritten by a default version. Eventually even SAMBA 2.2 itself got mysteriously erased and replaced with version 2.0.7. SWAT will also stop working. Either NetInfo or ServerAdmin must be responsible for this. I didn't want to mess with them. Since my Mac OS thought I already had everything updated, I could no longer use Software Update to get back to SAMBA version 2.0.9 (included with Server Update 10.0.4), AND other problems appeared that prevented me from launching apps unless I logged in as root. I basically hosed my system and had to reinstall from scratch. Note that this version of SAMBA runs fine on Mac OS X Consumer (not server), but Apple told me OS X Consumer is limited to 10 simultaneous AFP clients. I haven't verified this to be true - it may merely be a licensing issue - but more than 10 users don't work with classic Mac OS unless you install AppleShare IP. If you are ambitious enough to continue where I left off, this information may be helpful to you. I would begin by disabling the Server Admin SAMBA module (***** see below right). The reason I didn't do this is because I wanted Server Admin to create SAMBA shares for me automatically to match my Mac OS user shares. As I mentioned, I ended up using a Windows NT PDC after all this work :-(.
|
| SAMBA v2.2 (Installer v2.1 for OS X Consumer) | SAMBA v2.0.9 (Bundled with OS X Server 10.0.4) |
|---|---|
File Locations: From my PowerBook G3 (OS X Consumer 10.0.4)./Library/StartupItems/SAMBA/SAMBA
StartupParameters.plist
/usr/local/samba/bin/convert_smbpasswd
make_printerdef
make_smbcodepage
make_unicodemap
nmbd
nmblookup
rpcclient
smbcacls
smbclient
smbcontrol
smbd (the SAMBA Daemon)
smbpasswd
smbspool
smbstatus
smbtar
swat
testparm
testprns
/usr/local/samba/lib/smb.conf (SAMBA config. file)
/usr/local/samba/lib/codepages/codepage.437
codepage.737
codepage.775
codepage.850
codepage.852
codepage.857
codepage.861
codepage.866
codepage.932
codepage.936
codepage.949
codepage.950
codepage.1251
unicode_map.437
unicode_map.737
unicode_map.775
unicode_map.850
unicode_map.852
unicode_map.857
unicode_map.861
unicode_map.866
unicode_map.932
unicode_map.936
unicode_map.949
unicode_map.950
unicode_map.ISO8859-1
unicode_map.ISO8859-2
unicode_map.ISO8859-5
unicode_map.ISO8859-7
unicode_map.ISO8859-9
unicode_map.ISO8859-13
unicode_map.ISO8859-15
unicode_map.KOI8-R
/usr/local/samba/man/man1/findsmb.1
make_smbcodepage.1
make_unicodemap.1
nmblookup.1
rpcclient.1
smbcacls.1
smbclient.1
smbcontrol.1
smbrun.1
smbsh.1
smbstatus.1
smbtar.1
testparm.1
testprns.1
wbinfo.1
/usr/local/samba/man/man5/lmhosts.5
smb.conf.5
smbpasswd.5
/usr/local/samba/man/man7/samba.7
/usr/local/samba/man/man8/nmbd.8
smbd.8
smbmnt.8
smbmount.8
smbpasswd.8
smbspool.8
smbumount.8
swat.8
winbindd.8
/usr/local/samba/private/MACHINE.SID
secrets.tdb
/usr/local/samba/removesamba
/usr/local/samba/swat/help/*
images/*
include/*
using_samba/*
* HTML documentation and web administration.
Files not listed.
/usr/local/samba/var/locks/brlock.tdb
browse.dat
connections.tdb
locking.tdb
messages.tdb
nmbd.pid
ntdrivers.tdb
printing.tdb
share_info.tdb
SHARE_MEM_FILE
SHARE_MEM_FILE.processes
smbd.pid
STATUS..LCK
unexpected.tdb
/usr/local/samba/var/log.nmb
log.nmbd
log.smb
log.smbd
|
File Locations: "virgin" configuration - Windows service never started on OS X Server G4./usr/local/samba/bin/addtosmbpass
convert_smbpasswd
make_printerdef
make_smbcodepage
make_unicodemap
nmbd
nmblookup
rpcclient
smbclient
smbd (the SAMBA Daemon)
smbpasswd
smbspool
smbstatus
smbtar
swat
testparm
testprns
/usr/local/samba/lib/smb.conf (SAMBA config. file)
/usr/local/samba/lib/codepages/codepage.437
codepage.737
codepage.775
codepage.850
codepage.852
codepage.857
codepage.861
codepage.866
codepage.932
codepage.936
codepage.949
codepage.950
codepage.1251
unicode_map.437
unicode_map.737
unicode_map.850
unicode_map.852
unicode_map.861
unicode_map.866
unicode_map.932
unicode_map.936
unicode_map.949
unicode_map.950
unicode_map.ISO8859-1
unicode_map.ISO8859-2
unicode_map.ISO8859-5
unicode_map.ISO8859-7
unicode_map.ISO8859-9
unicode_map.KOI8-R
/usr/local/samba/private/ (looks empty)
/usr/local/samba/swat/help/*
images/*
include/*
using_samba/*
* HTML documentation and web administration.
Files not listed.
SWAT does not work on OSXSX
(i.e. localhost:901 not found)
/usr/local/samba/var/
(empty by default - this is where log files go)
/usr/share/man/man1/make_smbcodepage.1
smbclient.1
smbrun.1
smbsh.1
smbstatus.1
smbtar.1
/usr/share/man/man5/smb.conf.5
smbpasswd.5
/usr/share/man/man8/smbd.8
smbmnt.8
smbmount.8
smbpasswd.8
smbspool.8
smbumount.8
/usr/local/share/" " (this path contains aliases
to the /usr/share/man/* files above)
-->> Lookie Here!!
/System/Library/PrivateFrameworks/SMBDefines.framework/...
...Headers/ (alias to version A dir. below)
...PrivateHeaders/ (alias to ?? - undefined)
...Resources/ (alias to version A dir. below)
...SMBDefines (alias to version A file below)
...Versions/A/Headers/SMBAttributes.h
SMBEvents.h
SMBPreferences.h
SMBServerControl.h
...Versions/A/Resources/Info-macos.plist
version.plist
...Versions/A/SMBDefines
...Versions/Current (alias to version A dir. above)
/System/Library/ServerAdmin/Apache.rasplug
AppleFileServices.rasplug
DHCP.rasplug
DNS.rasplug
FTP.rasplug
IPFilter.rasplug
LogView.rasplug
MM.rasplug
MailX.rasplug
NFS.rasplug
Print.rasplug
Privileges.rasplug
SLP.rasplug
Samba.rasplug *****
ServerInfo.rasplug
UsersGroups.rasplug
|
| There may be more files I haven't found yet. |
|---|
Last updated on the sixteenth of August, 2001.
Please use this contact form if you have any further questions.