[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Mounting Resources From NT4 Domain

Posted on 2004-10-21
Medium Priority
Last Modified: 2010-03-18
I have been able to get Mandrake 10.1 Community to authenicate from my NT4 and W2K domain controllers. I am also able to browse the network and see all hte clients and servers so I know I have that part all setup right. ( Took a bit but got it) Anyways using Samba as a client and not a server can anyone tell me how to map the printers and drives from the NT profile to the linux box.
John Doe uses a NT4 roaming profile. In his NT profile he prints to //server1/printer and has drive mappings o: //server1/shared

I would also like the mapping (mount) to show up on the users desktop as a drive letter.

I want to do this with no user interaction at all when they log on with the exception of they having to authenicate at the logon prompt.

In a nutshell what I am trying to accomplish is loading the devices from the users NT Roaming profile onto the linux box.
Question by:ecrit
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 51

Expert Comment

ID: 12389839
for mounting use smbmount
printers are configured in your prefered pprinting system: CUPS, lpr or lpd

> .. loading the devices from the users NT Roaming profile onto the linux box.
beside some proprietary products, AFAIK you're stuck to samba/smbclient

Author Comment

ID: 12396518
I figured that but is there a way to have samba or to pass to samba %username %passowrd of the user logging on.
like if I used the  option smbclient \\ntserver\share  -U|--user=LOGNAME[%password]
I would need to map 3 drives on 3 different servers at login time oblivious to the user logging in.
LVL 51

Accepted Solution

ahoffmann earned 600 total points
ID: 12398937
> need to map 3 drives on 3 different servers at login time oblivious to the user logging in.
and what is the problem to write the prooper commands in the login rc-file (.csh.login, .profile, whateverfileforyourshell)?

Also, stolen from man smbclient:

    -U username[%pass]
              A third option is to use a credentials  file  which
              contains the plaintext of the domain name, username
              and password. This option is  mainly  provided  for
              scripts  where  the  admin doesn't wish to pass the
              credentials on the command line or via  environment
              variables.  If  this  method  is used, make certain
              that the permissions on the  file  restrict  access
              from unwanted users. See the -A for more details.

              Be cautious about including passwords in scripts or
              in the PASSWD environment variable. Also,  on  many
              systems  the  command line of a running process may
              be seen via the ps command to be safe always  allow
              smbclient  to  prompt for a password and type it in
LVL 51

Expert Comment

ID: 12398942
you also may use smbclien's -s option (man smbclient again;-)

Author Comment

ID: 12398949
 Thanks for all the help. I figured as much. I will just have to make it as easy as possiblr for the user. I can't even concider keeping any type of plain text file of the username and passwords.

 Thanks again.

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question