As reported on News groups, there seem to exist a problem affecting mounting Windows shares with smb-client. It looks there's no time out here. Example. When I put mount -t smbfs commands in /etc/rc.d/rc.local to mount four Windows shares, the system hangs during the boot proces, never making to the login screen.
I've had the same trouble.
This seems to be NPTL-related: smbmount (which is invoked by mount) apparently needs to have LD_ASSUME_KERNEL set to 2.4.1.
This is what I did:
1. Renamed /usr/bin/smbmount to /usr/bin/smbmount.orig
2. Created a new script at /usr/bin/smbmount like this:
#!/bin/bash LD_ASSUME_KERNEL=2.4.1 exec -a $0 /usr/bin/smbmount.orig "$@"
3. chmod +x /usr/bin/smbmount
...and all of a sudden smbmount (and mount -t smbfs, autofs with smbfs, etc.) works for me. Might be worth a try.
/dan -- Dan Holmsand