Linux --> NT mount problem

Kenneth Noel noelk at bc.edu
Tue Jan 30 12:51:04 GMT 2001


A colleague of mine found the answer to my post through trial and error.  I
thought I had tried the same.

mount -t smbfs -o username=username/domain //server/share /mnt/point

NOTE: username/domain is backwards from the way you do it on nt.

For those who care...

Ken



> I am also experiencing the same problem I think.  When I try to mount and NT
> server fs by not using a local account on the server smbclient and mount
> cannot resolve domain\username syntax.  If mount PDC's and BDC's using local
> admin accounts that works fine.  If I try to mount member servers or
> workstations by using domain account information I cannot mount the fs.
>
> I don't know if this is the same problem but it sounds like it.  I hope I see
> someone post a response that makes it work.
>
> Ken
>
> >===== Original Message From Chris Odgers <Chris.Odgers at sausage.com> =====
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >the 'unknown parameter' informational message refers to your smb.conf
> >file, i'm not sure but i don't think there's a 'domain controller'
> >parameter in smb.conf.  that's being ignored though.
> >
> >sometimes I find that I've got to specify the DOMAIN\ bit of the
> >login name as well, otherwise it thinks youre trying to log into the
> >local SAM.  For troubleshooting purposes, as well, it might be worth
> >trying that (as long as the machine in question isn't a BDC and you
> >actually know a local login).
> >
> >Hope this helps,
> >
> >Chris
> >
> >> -----Original Message-----
> >> From: Earnshaw, Mike [mailto:earnshawm at wa.switch.aust.com]
> >> Sent: Friday, January 12, 2001 2:25 PM
> >> To: 'Chris Odgers'
> >> Subject: RE: Linux --> NT mount problem
> >>
> >>
> >> Chris,
> >>
> >> Thanks for the info. The results I get using the *correct*
> >> credentials are ...
> >>
> >> Unknown parameter encountered: "domain controller"
> >> Ignoring unknown parameter "domain controller"
> >> Added interface ip=10.0.1.6 bcast=10.0.1.255 nmask=255.255.255.0
> >> session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> >>
> >> I tried using the -N option immediately after //server/service in
> >> my smbclient command as per the man page with no change in
> >> results. I also
> >> tried dropping the -N and removing the password from
> >> 'user%password' and
> >> at the password prompt entered the correct details, again no change
> >> in results.
> >>
> >> Read the man pages for both smbmount and smbclient and there does
> >> not appear any more switches I can include to try and force the
> >> issue.
> >>
> >> Thanks
> >>
> >> Mike
> >>
> >>
> >> #-----Original Message-----
> >> #From: Chris Odgers [mailto:Chris.Odgers at sausage.com]
> >> #Sent: Friday, 12 January 2001 10:38 AM
> >> #To: 'Earnshaw, Mike'
> >> #Cc: 'samba-ntdom at samba.org'
> >> #Subject: RE: Linux --> NT mount problem
> >> #
> >> #
> >> #-----BEGIN PGP SIGNED MESSAGE-----
> >> #Hash: SHA1
> >> #
> >> #NT servers usually don't respond to session requests when queried
> >> via #their fqdn (which isn't usually the same as their netbios
> >> name.)
> >> #
> >> #I don't know how you'd do it via fstab, but I have success
> >> connecting #to offsite NT servers using the syntax:
> >> #
> >> #smbclient //netbios-target-name/sharename -U user%password -I
> >> #dest.ip.add.ress
> >> #
> >> #i'm 99% sure that smbmount, at least in some revisions, supports
> >> this #syntax.
> >> #
> >> #> -----Original Message-----
> >> #> From: Earnshaw, Mike [mailto:earnshawm at wa.switch.aust.com]
> >> #> Sent: Friday, January 12, 2001 1:37 PM
> >> #> To: Samba (E-mail)
> >> #> Subject: Linux --> NT mount problem
> >> #>
> >> #>
> >> #> G'day
> >> #>
> >> #> I am trying to connect to an NT server that is in a different
> >> #> network to
> >> #> mine. I can do this via native NT if I supply the correct
> >> #> credentials. The aim is to allow access to this NT resource from
> >> a #> Linux
> >> #> mount point
> >> #> to people who do not have NT on their desktops but Win9x. I have
> >> #> permission to access the NT share and using Linux permissions
> >> #> I want to
> >> #> give select users access also.
> >> #>
> >> #> I have Samba 2.0.5a. I added the following to my /etc/fstab ...
> >> #>
> >> #> //<FQDN>/<sharename>  /mnt/projects  smbfs
> >> #>
> >> auto,suid,uid=500,gid=500,workgroup=***,username=***,password=*** 0
> >> #> 0
> >> #>
> >> #> (where *** is replaced with relevant details). Then ...
> >> #>
> >> #> [root at datasrv /root]# mount /mnt/projects
> >> #> [root at datasrv /root]# Unknown parameter encountered: "domain
> >> #> controller"
> >> #> Ignoring unknown parameter "domain controller"
> >> #> Added interface ip=10.0.1.6 bcast=10.0.1.255 nmask=255.255.255.0
> >> #> session request to PROJECTS.<PART OF FQDN> failed
> >> #> session request to *SMBSERVER failed
> >> #> smbmount: login failed
> >> #> Could not umount /mnt/projects: Device or resource busy
> >> #> smbmount: exit
> >> #>
> >> #> Yet if I try the same syntax of /etc/fstab with a local NT
> >> #> server I get
> >> #> a lot closer to a solution. I thought this may have been a
> >> #> broadcast kind of issue across routers, but it worked OK from
> >> #> within NT and the two NT domains are *not* trusted, but have
> >> #> separate user accounts in each.
> >> #>
> >> #> Any guidance appreciated. Thanks.
> >> #>
> >> #> --------------------------------------------------------------
> >> #> ----------
> >> #> -----
> >> #> Mike Earnshaw      | Tech support is a fine art      | e-mail
> >> #> in header
> >> #>  Computer Systems  | which once mastered, virtually  | Tel :
> >> #> +61 8 9256
> >> #> 0023
> >> #>   Support          | ensures loss of sanity.         | Fax :
> >> #> +61 8 9256
> >> #> 1199
> >> #> --------------------------------------------------------------
> >> #> ----------
> >> #> -----
> >> #>    ,-._|\    Union Switch & signal
> >> #>   /      \   24 Bannick Court
> >> #>   *_.--._/   Canning Vale, WA 6155, Western Australia
> >> #>         v
> >> #> --------------------------------------------------------------
> >> #> ----------
> >> #> -----
> >> #>
> >> #
> >> #-----BEGIN PGP SIGNATURE-----
> >> #Version: PGPfreeware 6.5.3 for non-commercial use
> ><http://www.pgp.com>
> >#
> >#iQA/AwUBOl3hZa5S0FuupP0+EQKrjACg9YMRWO0v4nSdhej4CtcSgjpTv9cAn1fE
> >#GpUjFwq2xJWOuOqn21nhFb9T
> >#=oeAy
> >#-----END PGP SIGNATURE-----
> >#
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
> >
> >iQA/AwUBOl3s9q5S0FuupP0+EQK9gQCgwSg6VMiGcgy1jneIU04qnr6HJ/8AoOPC
> >wvNmd0AojOLXjTuJK2yxxrIq
> >=IOW0
> >-----END PGP SIGNATURE-----
>
> Kenneth Noel
> Boston College
> Information Technology
> Systems Programmer
> 617 552-8511
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noelk.vcf
Type: text/x-vcard
Size: 290 bytes
Desc: Card for Kenneth Noel
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20010130/338da0ff/noelk.vcf


More information about the samba-ntdom mailing list