I have the following shell script to map a drive to a windows machine:
It works fine and the share mounts, but for some reason I get this error:
4615: session request to 192.168.2.5 failed (Called name not present)
4615: session request to 192 failed (Called name not present)
Well the mounting works fine. I just don't know why I get those errors. I use IP because for some reason Samba isn't recognizing the machine names on the network.
I use this little script to mount a samba share (in this case, the default windows shares like C$, D$, etc).
Of course, you may be able to replace "xpserver" in the SERVER_NAME variable with an IP address, or machine name.
Most of it is "filler", but the line
does all the actual work, and allows the command to be run as a regular user, as long as they know the root password. It keeps passwords secure rather than saving it as plain text in a variable.
You could modify the smbmount command to read
of course, instead of using the default "dollar" shares.
I've got a Solaris 10 server that got a corrupted root filesystem. After being forced to run fsck against it, the OS is now up and the filesystem read/writable.
However, ssh from any account other than root fails with the following error:
PTY allocation request failed on channel 0
On the... (0 Replies)
Hi Experts,
I have a code like this.
=====
#include....
int main()
{
int count = 0;
while(1){
printf("\n Interation number is: %d \n ",count);
rv = system(" test.sh > log.txt " );
if (-1 == rv)
{
printf("Could not generate static log: error... (12 Replies)
Hello Admins,
Anybody faced this issue while logging through ssh on solaris:
I am getting this error now. I was able to logged in before. Now I am getting this error.
Any idea? (3 Replies)
Hi,
i got the following error when i tried to access the cygwin x server from a windows XP PC.
"xdmcp fatal error session failed session 23 failed for display"
Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Hi,
we have re installes our Windows domain and Activedirectory, and from then until now we can not mount shared windows filesystems on Linux server and we receive :
mount -t smbfs -o username=user1,password=xxxxx //xxx.16.0.xxx/dir
/mnt/dir
3550: session setup failed: ERRDOS - ERRnoaccess... (0 Replies)
Hi,
I issue smbclient on a Linux REd hat server :
smbclient -L ***.16.0.42 -U domaine/Administrator
Password:
Domain= OS= Server=
Domain= OS= Server=
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC distant
... (0 Replies)
Hi,
on a Linux RED HAT I issue the following to mount a shared filesystem on a Win server 2003 and it fails :
# smbmount //172.16.0.42/eb_depot /mnt/eb_depot -o username=domaine/Administrateur rw
Password:
30494: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection... (0 Replies)
Hi,
While I am trying SFTP my machine to another unix machine ,
it was working fine till 10 min back.
But now i am getting the below error
"Request for subsystem 'sftp' failed on channel 0"
Could you please someone help me to solve or analyise the root cause...
Cheers:b:,
Mahiban (0 Replies)