Mount SMB Share as root
Hi All,
I'm currently working on migrating some machines from Snow Leopard to Lion, and I have a bunch of postimaging scripts that are fired on first boot. The first script automatically mounts an SMB share to copy the rest of the postimaging scripts and run them. However it would seem that it is no longer possible to mount an SMB share as root (root as in running sudo -i as an admin account to get to a root shell, or running the command prefixed with sudo) as it fails with "mount_smbfs: server rejected the connection: Authentication error". As far as I can tell, the request is not actually making it to the SMB server, as there is no log entries indicating a failure for this particular user to logon.
Is this a known issue, and is there a workaround? I can run the same command as an admin user, but that is not the point, and please don't suggest that I don't use root as was done here.
TIA
Mac mini, Mac OS X (10.7.3)