kputer Posted August 30, 2005 Share Posted August 30, 2005 Hi all, I have a problem mapping a persistent drive to a NFS share on an sco unix server. If I go through the 'Map Network Drive' tool in windows explorer and map a drive to the unix share using a specific user name on that server everything is fine and I can write files there with the proper owner. But if I log off the windows box and relog on, the drive gets reconnected but with an anonymous user which of course messes things up. I have set up SFU with user name mapping on our domain server and on the local machine. I even used adavanced mapping for the specific user. Another way I tried was to use the mount command on the windows machine and this is what I get: C:\Documents and Settings\keithk>mount -u:strim \\ncfs2.ourdomain.com\share * Password: Network Error - 1326 Type 'NET HELPMSG 1326' for more information. I know the user name and password are correct as it worked ok with the explorer tool. Any suggestions on how to make this or maybe some other plan work would be great. Thanks, Kputer Link to comment https://www.neowin.net/forum/topic/365527-services-for-unix-problem/ Share on other sites More sharing options...
garethevans1986 Posted August 31, 2005 Share Posted August 31, 2005 OK Ive found this, but its a huge security risk if you leave your password in a BAT file or something......but it is possible to do so, OR.... you can make a VBS script, add password and encrypt it, see previous posts on the topic in the forum somewhere... Quote The syntax of this command is:NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]] [/uSER:[domainname\]username] [/uSER:[dotted domain name\]username] [/uSER:[username@dotted domain name] [/sMARTCARD] [/sAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] ChocIST Link to comment https://www.neowin.net/forum/topic/365527-services-for-unix-problem/#findComment-586460203 Share on other sites More sharing options...
Recommended Posts