Hello guys, I am a newbie and trying to mount a shared drive on my Win2K machine to my RH7.0 box. using (mount -t smbfs -o username=username //station1/d_drive /mnt/station1 It then asks me for a password, type in my username password, then access denied..why ? I'm able to mount a win98 system no problem using the same command line. Please help ??? I also tried with the administrator username for the win2k system, still no go... R?mi Lagac?
On Thu, 26 Apr 2001, Remi Lagace wrote:> Hello guys, > > I am a newbie and trying to mount a shared drive on my Win2K machine to my > RH7.0 box. > using (mount -t smbfs -o username=username //station1/d_drive /mnt/station1 > > It then asks me for a password, type in my username password, then access > denied..why ?A common thing is the need to specify the domain (workgroup). Try using -o username=username,workgroup=domain And if that fails, see if smbclient can connect you (that would point at a smbmount bug). /Urban
--- Urban Widmark <urban@teststation.com> wrote:> On Thu, 26 Apr 2001, Remi Lagace wrote: > > > Hello guys, > > > > I am a newbie and trying to mount a shared drive > on my Win2K machine to my > > RH7.0 box. > > using (mount -t smbfs -o username=username > //station1/d_drive /mnt/station1 > > > > It then asks me for a password, type in my > username password, then access > > denied..why ? > > A common thing is the need to specify the domain > (workgroup). Try using > -o username=username,workgroup=domain > > And if that fails, see if smbclient can connect you > (that would point at > a smbmount bug). > > /UrbanHi Urban, here is the command to shere the win2k. First U confirm R there any shered on the win2k server or not(like d_drive) so try with this command. smbmount //win2kserver/d_drive /mnt/staion1 -o username=blah -o password=secret good luck. A.Ramesh __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
The actual problem was with the smb.conf file. I uncommented "security = share" "encrypt passwords yes" in smb.conf and that did the trick. thanks --- Urban Widmark <urban@teststation.com> wrote:> On Thu, 26 Apr 2001, Remi Lagace wrote: > > > Hello guys, > > > > I am a newbie and trying to mount a shared drive > on my Win2K machine to my > > RH7.0 box. > > using (mount -t smbfs -o username=username > //station1/d_drive /mnt/station1 > > > > It then asks me for a password, type in my > username password, then access > > denied..why ? > > A common thing is the need to specify the domain > (workgroup). Try using > -o username=username,workgroup=domain > > And if that fails, see if smbclient can connect you > (that would point at > a smbmount bug). > > /Urban > > > -- > To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba _______________________________________________________ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca