Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smbmount problem 1

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
Hello,

I have a linux RHEL4 machine, trying to mount Windows XP SP2 or W2K shared direcotry.

running the following:
mount -t smbfs -o username=domain/username,password=password //PC-machine/shared_dir /mnt
- or -
smbmont -o username=domain/username,password=password //PC-machine/shared_dir /mnt

give me the same problem: "session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed."

I must say that running the following command works fine:
Smbclient –U domain/username //PC-machine/shared_dir

Where is the problem? on the linux side? the win side? I don't know

Should I configure the /etc/samba/smb.conf? I have no shared on the linux side.

Thanks in advance!!
 
I may ask also whether I have to join the Windows domain?
 
I never had this kind of problem, but I used to use the command with the " char and domain[red]\[/red]user:

mount -t smbfs -o username=[red]"[/red]domain[red]\[/red]username[red]"[/red],password=[red]"[/red]password [red]"[/red] //PC-machine/shared_dir /mnt

Chacal, Inc.[wavey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top