All the notes contained within this doc only apply to the v1.0b3 of the ADmitMac beta test. Future BETAs of this software may operate differently requiring different install and troubleshooting procedures. The concerns I've listed at the end of this document only apply to v1.0b3 of the BETA test. Please, do NOT email concerning troubleshooting. Send all your emails to: beta@thursby.com
Old beta1 docs can be found here. Note that the extensive error message section in the beta1 docs may no longer apply to later betas.
I've written a small Cocoa app called UserInfo v1.02. It simply collects things like user name, uid, home directory, etc. and places them into a convenient menu extra on the menu bar. Add it your loginItems and it will always be ready when you login. Alternately, place it in /Users/Shared, add it to loginItems, and then copy the loginItems preferences file to the UserTemplate directory. All new accounts created will have the loginItems preferences set to automatically run the program Additionally, I've added an Applescript to this download which collects the same information and creates a tab delimited text file with it. Click here to download.
Install/Configure
Troubleshoot/Debug
Misc
| -- Installation -- |
| -- Joining A Domain -- |
| -- Using a Network based Home Directory-- |
\\lilith.absynthespad.com\ritest This is the path to the home directory
SHARE. (You could also use the netbios form which would look like \\lilith\ritest
assuming you have WINS configured in ADmitMac. However, if the domain name
contains a "." or is longer than 15 characters DNS will be used
to find the server.) The actual location of the home directory was C:\Users\ritest.
When you do login with a home directory set in this manor a local home directory
is auto created and the Finder is directed to it. ADmitMac will create a folder
at the root named Domain in which is a Users folder. In that you'll find an
alias to the server based home directory.cifs://server/share/NOTE: You will NOT see an icon on your desktop when the home directory is mounted in this fashion. OS X "integrates" the home directory into the file system (like NFS). To test your home directory open a Finder window and click the Home button. If Home is empty put a file into it. Select "Connect to Server" from the Go menu in Finder and connect to your home directory using AFP. Check if the file you uploaded is present. Alternately, you could always use a PC to check this.
| -- Getting Local Admin Rights-- |
Thrusby is looking into a way of getting local admin rights through AD but for now there is a workaround:
su to login as root.nicl . append /groups/admin users <username> where
<username> is the short name of the directory account you want to have
local admin rights.NOTE: To remove an AD account from the admin group su then
type:
nicl . delete /groups/admin users <username>
| -- Enable Crash Reporting -- |
Thursby asks that we enable crash reporting just in case a crash actually occurs. This way if a crash does occur some log of it will remain.
/Library/Logs/CrashReporter.| -- Enable Tracing -- |
For additional troubleshooting information you can enable an option called tracing.
/var/log/system.logTo start the tcpdump trace, follow these instructions:
/tmp/admitmac.trc| -- Using Lookupd -- |
A handy troubleshooting tool is lookupd. Lookupd allows you to query the NetInfo/LDAP/Directory Access hiearchy so that you can see if the domain data is being found and what that data looks like.All commands in lookupd are case sensitive so make sure to capitalize as needed. To use it just:
lookupd -d <return>? <return> for a list of commands.userWithName: <domainuseraccount>
This will tell you if the <domainuseraccount> is being seen. If its
not you have either mispelled the user account short name or your machine
isn't connecting to the domain.| -- Checking Your DNS -- |
To make sure DNS is working properly, launch the terminal application (/Applications/Utilities). At the command prompt, enter:
nslookup
You should see a "> " prompt appear. At these prompts, enter these commands:
set querytype=SRV
_ldap._tcp.domain
and/or_kerberos._udp.domain
Replace domain with your actual AD domain name. For example, use _ldap._tcp.students.school.edu
if your Active Directory domain is students.school.edu You should see a list
of domain controllers appear. If you don¹t, then your
domain controller is probably using a different DNS server than your Macintosh.
You can try this with the domain name "kerygma.org". You should get these results:
[paul0:~] nelson% nslookup
Default Server: xxxx.xxxx.xxxx
Address: xxx.xxx.xxx.xxx
> set querytype=SRV
> _ldap._tcp.kerygma.org
Server: xxxx.xxxx.xxxx
Address: xxxx.xxxx.xxxx
Non-authoritative answer:
_ldap._tcp.kerygma.org priority = 0, weight = 100, port= 389
host = kerygma-server.kerygma.org
Authoritative answers can be found from:
kerygma.org nameserver = BS.THURSBY.COM
kerygma.org nameserver = NS-B.THURSBY.COM
kerygma-server.kerygma.org internet address = 208.7.44.6
NS-B.THURSBY.COM internet address = 208.7.44.3- for additional information you can enter:
_kerberos._udp.kerygma.org
You should see a list of domain controller(s) with these commands. If not, then something is wrong with your DNS setup. You might try seeing if your Mac is using the same DNS server as that of your domain controller(s). If you did get a list of DCs, next try checking your reverse lookup. ADmitMac relies on being able to reverse lookup your domain controller(s). This means that you should be able to determine the name of a domain controller from it's IP address. To check for this, use these commands, you enter the IP address of a domain controller that was returned in the list above. For example, kerygma.org has one domain controller named "kerygma-server.kerygma.org" and the above info shows that this server's IP address is 208.7.44.6 (second from the last line of output).
>set querytype=A
> 208.7.44.6
Server: xxxx.xxxx.xxxx
Address: xxxx.xxxx.xxxx
Name: kerygma-server.kerygma.org
Address: 208.7.44.6
I¹ve shown how to use nslookup to do DNS queries just like the ADmitMac does. If you get these queries to return the proper info, then joining with ADmitMac should find your domain.
NOTE: ADmitMac's reliance on reverse lookups is different that PC clients. PC clients don¹t rely on this ability. ADmitMac uses OpenLDAP and Kerberos software provided on the Mac platform by Apple and MIT. These libraries rely on reverse DNS lookups when making a kerberized LDAP connection. This reliance is not desirable, and hopefully future versions will avoid reverse lookups altogether.
| -- Troubleshooting -- |
"How do I get rid of a non-existent domain?"
Simply delete your /etc/krb5.keytab file from the Terminal application (assuming
you don¹t use it for anything but ADmitMac). ADmitMac beta5 will allow
you to delete domains without having to do this.
"How can I get local admin rights using a domain account?""When
I'm installing ADmitMac I get 'DAVE cannot run with Apple's Windows Filesharing
turned on. Please disable Windows Filesharing in the Sharing preferences.' "
This message, which should say ADmitMac instead of DAVE indicates that
Samba (a.k.a. Windows File Sharing ) program was running at the time of install.
To verify, open a Terminal (Applications/Utilities/Terminal ) and type the following
commands:
ps ax | grep nmbd <enter>
ps ax | grep smbd <enter>
Note: The '|' characters are pipe symbols, not the letter 'i' or 'L'.
If either of those two commands show any output that looks "similar" to the following line, then Samba is on.
451 ?? S 0:00.68 nmbd
If you don't see any output after using those commands, check if there is a file in the /tmp folder called com.thursby.samba_active. Delete it and try installing again. If you do see this output try checking disabling Windows File Sharing in System Preferences/Sharing.
"How can I make OS X ignore WINS information from DHCP?"
This is not the greatest solution for you by any means, but it is a workaround.
"My Mac is locking up on 'waiting for network file services'"
This tends to be caused by a DirectoryAccess configuration (ADmitMac, LDAP,
whatever) causing the Mac to get stuck. This can be either caused by misconfiguration
or possibly some network/DNS issue. You can "reset" your DirectoryAccess
setting by:
"How do I uninstall ADmitMac?"
Run the install program. From the popup menu select Uninstall.
"How do I manually uninstall ADmitMac?"
Please avoid doing this. ADmitMac comes with its own uninstall program (see
above). If your Mac is locking on 'waiting for network file services' consider
"resetting" your DirectoryAccess (see further above).
To manually remove ADmitMac you only have to remove the following items:
/Library/DirectoryServices/PlugIns/CIFSPlugIn.dsplug
/Library/StartupItems/CIFS
However, if you really want to pristinely remove all files, you will need to delete all of the following:
/sbin/mount_cifs
/System/Library/Filesystems/DAVE
/System/Library/Extensions/NetBIOS.kext
/System/Library/Extensions/cifs.kext
/Library/Application Support/ADmitMac
/Library/DirectoryServices/PlugIns/CIFSPlugIn.dsplug
/Library/Documentation/Help/ADmitMac.help
/Library/Frameworks/Thursby.framework
/Library/PreferencePanes/MyNetworkAccount.prefpane
/Library/Printers/DAVE
/Library/StartupItems/CIFS
/Application/Utilities/ADmitMac Network Utility
/System/Library/Extensions.kextcache
/Library/Preferences/com.thursby.*
/usr/libexec/cups/backend/cifs
/tmp/com.thursby.DAVE.cifsd.API
/tmp/com.thursby.DAVE.cifsd_dns_helper
Depending on how you have used the product, you may also need to remove the following files:
~/Library/Application Support/ADmitMac/ADmitMacConfigTool
~/Library/Application Support/ADmitMac/PluginConfigHelperTool
~/Library/Preferences/com.thursby.ADmitMacConfiguration.plist
~/Library/Preferences/com.thursby.ADmitMacNetworkUtility.plist
Keep in mind that if you do not run the actual uninstaller, you will need to
go into Directory Access at some point and
remove the authentication paths from the Authentication and Contacts tabs. Also,
if you wish to use Apple's built-in SMB service after you remove these files,
you will need to manually check that box in Directory Access (these steps are
done by the uninstaller, typically).
"I have a Windows Server 2003 (formerly Windows .NET Server)
and I can't mount CIFS shares."
Verify that digital signing is not set to be required by the server. There is
one security policy that says it is required (server-side) and one that says
to use it if it can be used (server-side). If the one specifying that it is
required is enabled, then you will not be able to connect to it.
"I'm having problems accessing resources using DAVE or ADmitMac
but my PCs are fine."
If you have digital signing enabled in AD neither ADmitMac or DAVE will work
properly. See issue above.
"How do I completely remove my kerberos settings?"
You need to delete two files as the root user (either sudo or su).
/Library/Preferences/edu.mit.Kerberos
/etc/krb5.keytab
The next time you join an AD domain using ADmitMac these files will be regenerated. If you join an NT domain kerberos is not used. If you already have Kerberos settings backup the file and add them back in later.
"I'm unable to join the domain."
This problem can occur if you don't have reverse DNS lookup or if its configured
incorrectly. Make sure that you have a proper reverse DNS record for the DC
you are trying to join the domain from. If you
Your DNS server must return a service record for your domain controller. If you are using a Microsoft DNS server (like the one that ships with Windows 2000 server) this is handled automatically. If you are using something else make sure it supports service records and is configured correctly. I don't have any specifics on this but I suspect the Microsoft web site and many other places have the information.
Its possible if WINS is being used that the WINS server detected on install doesn't contain the record for finding the DC for your domain. You can manually change the WINS server by loading DirectoryAccess, configure ADmitMac, and then select Preferences from the ADmitMac menu. NOTE: If DHCP is pushing WINS configuration down the WINS entries you put in maybe overwritten Check for another troubleshooting tip on how to work around DHCP pushed WINS configuration.
"I've joined the domain successfully but I can't login to it."
"I get the KDC has no support for encryption type error."
This seems to occur when you reference an AD account that Kerberos just can't
communicate with. Resetting the password for the account using a PC can fix
this. I've also discovered the Administrator account on my test rig causes this
error. The work around I came up with was to create a separate test account
and add it to the Domain Admins group.
"I can't get the Mac to mount its home directory from the
server."
When you configure the user's profile tab select Connect in the Home Folder
section. Ignore the drive letter unless you plan on using a PC with this account
as well. Enter a path to the home directory CIFS share, the form I used was:
\\lilith.absynthespad.com\ritest This is the path to the home directory
SHARE. The actual location of the home directory was C:\Users\ritest. When you
do login with a home directory set in this manor a local home directory is auto
created and the Finder is directed to it. ADmitMac will create a folder at the
root named Domain in which is a Users folder. In that you'll find an alias to
the server based home directory. Why this is done or what interaction takes
place between the two I don't know. If you still can't get the home directory
to work login with a local account and then check if you can CIFS mount the
home directory share from there. Press CMD-K and in the connection dialog enter:
cifs://server/share/
"I'm receiving the error clock skew too great. What is this?"
This means there is a time difference between the domain controller and
the client Mac that is too great to allow Kerberos pre-authentication. If the
two times are more than 5 minutes (or so) off, this error will be given. Change
the time
on one of the machines so they are more closely matched.In a production network
you might consider network based time sources (NNTP). In an AD network, I believe,
any DC can be used as a time source though you should be certain the DC you
use has the resources available to handle Mac time syncs.
| -- Common Mistakes -- |
| -- Why ADmitMac is better than LDAPv3 -- |
| -- ADmitMac or DAVE?-- |
Since both ADmitMac and DAVE accomplish similar tasks you might wonder why one or the other. Thursby's response was the following:
ADmitMac is targeted towards labs/corporate desk/laptops where:
DAVE is targeted (and priced) toward the end user who has their 'own' Mac. You get the ability to browse and mount/print SMB resources. You also get preference panes to change your workgroup, NetBIOS name, interfaces, etc. which may be useful if you are constantly roaming between radically different Windows networks, and the ability to configure your machine as an SMB file/print server.
If you have ADmitMac, and don't need the DAVE server functionality then you shouldn't be missing anything.
| -- Things Of Interest -- |
If the mount URL (Connect To Window, Terminal Window, or Home Directory
path) contains a DFS Link we will translate it before we do the mount.
If you mount a DFS Root then once you double click on a DFS Link
we will mount it on the desktop. The folder you opened will be empty, but
the Link will be mounted on the Desktop. We (Thursby) would like to change
this in the future so you will be able to just drill down the DFS links
path.
04/28/03 - Updates
04/18/03 - Updates
04/16/03 - Updates
04/15/03 - Updates
04/11/03 - Upated
04/10/03 - Created Document