Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Attaching from an application.

1 view
Skip to first unread message

William Kistler

unread,
Nov 20, 2000, 3:00:00 AM11/20/00
to
I have been asked to write an application launching script which
attaches to a Novell server as a specific user when the application is
launched. I was wondering if there is any way to use the attach command
to do this. I have tried the syntax "ATTACH APPS01/username;password"
which returns an unknown error and prompts for password. I can do this
through a WinBatch script, however I have been asked not to use this
product. I believe the server is a 3.1 server and the end user will be
running Windows 95. Thanks in advance for any help. Also, if you know
this cannot be done (and are certain) I would appreciate that info as
well.


* Sent from Novell Discussion Forums http://novell.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Don Crawford

unread,
Nov 20, 2000, 3:00:00 AM11/20/00
to
To William Kistler:

> I have been asked to write an application launching script which
> attaches to a Novell server as a specific user when the application is
> launched. I was wondering if there is any way to use the attach command
> to do this. I have tried the syntax "ATTACH APPS01/username;password"
> which returns an unknown error and prompts for password. I can do this
> through a WinBatch script, however I have been asked not to use this
> product. I believe the server is a 3.1 server and the end user will be
> running Windows 95. Thanks in advance for any help. Also, if you know
> this cannot be done (and are certain) I would appreciate that info as
> well.
>

Whatever you do, you'll probably end up with the password compromised. Try
piping the password to login rather than entering it on the ATTACH line.


-- Don Crawford
Novell Support Connection SysOp

Shaun Pond

unread,
Nov 20, 2000, 7:00:01 PM11/20/00
to
William,
where are you issuing this command? You can only do this in the login
script if you wish to include the password.

Shaun Pond
Novell Support Connection SysOp

Don Crawford

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to
To Shaun Pond:

> where are you issuing this command? You can only do this in the login
> script if you wish to include the password.
>

When did that change occur? You used to be able to pipe the password to the
ATTACH command. Of course, it is not a recommended procedure for security
reasons, but...

William Kistler

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to
This command is being issued from a .bat file when a desktop ikon is
clickked. I can't use login as I don't wish to logoff my current
connection. I just need to attach a drive as a specific user (not the
logged in user) and pass the password with the bat file rather than
have the user running the application logon manually in a dos window
first.

Shaun Pond

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to
Don,
oh yes, you can pipe it through DOS, but not in one command like
William was trying to do

Shaun Pond

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to
William,
well you can't pass the password in the way that you want to - my
suggestions are:
1) attach the user at login time, but this may use up more licenses
that you can afford
2) set the account to require no password, but that's a security
breach.
3) set up an account on the second server for each user who requires
access, and attach them at login time, and they can keep their
passwords in sync.
4) set up a batch file, like Don suggests:
"echo PW |attach server/user"

Shaun Pond

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to
Don,
oh yes, you can pipe it through DOS, but not in one command like
William was trying to do

Shaun Pond
Novell Support Connection SysOp


Shaun Pond

unread,
Nov 21, 2000, 3:00:00 AM11/21/00
to

Shaun Pond
Novell Support Connection SysOp


Don Crawford

unread,
Nov 22, 2000, 3:00:00 AM11/22/00
to
To Shaun Pond:

> oh yes, you can pipe it through DOS, but not in one command like
> William was trying to do
>

My memory said you could do it all in one line...

Don Crawford

unread,
Nov 22, 2000, 3:00:00 AM11/22/00
to
To Shaun Pond:

> oh yes, you can pipe it through DOS, but not in one command like
> William was trying to do
>

He said, repeating himself! <g,d&rvf!>

Don Crawford

unread,
Nov 22, 2000, 3:00:00 AM11/22/00
to
To Shaun Pond:

I thought it was my eyes, but you ARE stuttering! <G>

Barry Schnur

unread,
Nov 23, 2000, 1:02:16 AM11/23/00
to
>
> My memory said you could do it all in one line...

Well, you'd best have a stern chat with it...


Barry Schnur
Novell Support Connection Volunteer Sysop
http://support.novell.com/forums/
Please post replies ONLY via the Newsgroup

Barry Schnur

unread,
Nov 23, 2000, 1:02:43 AM11/23/00
to
These Novell employees and message counts...

Shaun Pond

unread,
Nov 23, 2000, 1:58:20 AM11/23/00
to
Don,
in the login script, yes...

Shaun Pond

unread,
Nov 23, 2000, 1:58:21 AM11/23/00
to
Don,
i thought you'd have forgotten it by now, so I thought you'd need
reminding.

Shaun Pond

unread,
Nov 23, 2000, 1:58:22 AM11/23/00
to
Barry,
you gotta do what you gotta do

Shaun Pond

unread,
Nov 23, 2000, 1:58:22 AM11/23/00
to
Don,
it was a bad day with my machine...

Don Crawford

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
To Barry Schnur:

> Well, you'd best have a stern chat with it...
>

Doesn't

ATTACH userid < password.txt

work? It always has.

Don Crawford

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
To Barry Schnur:

> These Novell employees and message counts...
>

Ain't that the truth! <G>

Don Crawford

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
To Shaun Pond:

> in the login script, yes...
>

Well, you provided one way and I thought you could also do it the way I posted
to Barry:

ATTACH userid < password.txt

At least that used to work...

Don Crawford

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
To Shaun Pond:

> i thought you'd have forgotten it by now, so I thought you'd need
> reminding.
>

Forgot what? Remind me... <G>

Don Crawford

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
To Shaun Pond:

> it was a bad day with my machine...
>

I knew that! It's just that you needed picking on! ;-)

Barry Schnur

unread,
Nov 27, 2000, 11:10:46 PM11/27/00
to
<g>

Barry Schnur

unread,
Nov 27, 2000, 11:15:00 PM11/27/00
to
>
> I knew that! It's just that you needed picking on! ;-)
>
That's always the case

Shaun Pond

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
Don,
of course that still will, it was just the format of the command that
was being used was script.

Shaun Pond

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
Don,
:-p

Shaun Pond

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
Don,
sorry? who are you?

Shaun Pond

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
Don,
what that day especially?

Don Crawford

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
To Barry Schnur:

> That's always the case
>

Of course!

Don Crawford

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
To Shaun Pond:

> of course that still will, it was just the format of the command that
> was being used was script.
>

OK, I suspect I was just missing something in what you said.

Don Crawford

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
To Shaun Pond:

> :-p
>

Yeah, well, I obviously need to get mine up a bit. I will miss you at BS.

Don Crawford

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
To Shaun Pond:

> sorry? who are you?
>

I seem to have forgotten that, as well!

Don Crawford

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
To Shaun Pond:

> what that day especially?
>

Yup!

Barry Schnur

unread,
Nov 30, 2000, 12:35:55 AM11/30/00
to
Need to know basis only.

Shaun Pond

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
Don,
that'll be something new <vbg>

Shaun Pond

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
Don,
but you won't miss my BS <G>

Shaun Pond

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
Barry,
I told myself, but now I have to kill me...

Don Crawford

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
To Shaun Pond:

> that'll be something new <vbg>
>

Huh? <G>

Don Crawford

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
To Shaun Pond:

> but you won't miss my BS <G>
>

Well, certainly not! I've even learned how to say BS in American Sign
Language (the OTHER sign language!) <G>

Barry Schnur

unread,
Dec 1, 2000, 12:54:04 AM12/1/00
to
> Well, certainly not! I've even learned how to say BS in American Sign
>Language (the OTHER sign language!) <G>
>
Something to use at mass, eh?

Barry Schnur

unread,
Dec 1, 2000, 12:54:35 AM12/1/00
to
<g>

Shaun Pond

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Don,
me too - was shown in "Children of a lesser god" <G>

Don Crawford

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
To Barry Schnur:

> Something to use at mass, eh?
>

You got that right! <G> (Well, judicious use, anyway.)

Don Crawford

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
To Shaun Pond:

> me too - was shown in "Children of a lesser god" <G>
>

Great movie! I learned it out of a book and found there are several ways to
convey the message! <G>

Barry Schnur

unread,
Dec 1, 2000, 8:37:39 PM12/1/00
to
>
> You got that right! <G> (Well, judicious use, anyway.)
>
Take care though, someone might have stole it from you...

Shaun Pond

unread,
Dec 3, 2000, 3:00:00 AM12/3/00
to
Don,
oh, was it a movie as well? <G> I saw it several times on the London
stage...

Don Crawford

unread,
Dec 4, 2000, 3:00:00 AM12/4/00
to
To Barry Schnur:

> Take care though, someone might have stole it from you...
>

Thhhhhpppppppt! <G>

Don Crawford

unread,
Dec 4, 2000, 3:00:00 AM12/4/00
to
To Shaun Pond:

> oh, was it a movie as well? <G> I saw it several times on the London
> stage...
>

Some of us are disadvantaged. I live in the cultural Mecca of Phoenix, AZ!

Barry Schnur

unread,
Dec 4, 2000, 9:30:23 PM12/4/00
to
>
> Some of us are disadvantaged. I live in the cultural Mecca of Phoenix, AZ!
><G>

Make that cultural Mesa of Phoenix.

Don Crawford

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
To Barry Schnur:

> Took you three days to pick up on that, were you asheep at the wheel?
>

No, I just saw it last night. I'm tied up in classes and can only get to the
forums sporadicly at the moment.

Don Crawford

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
To Barry Schnur:

> Make that cultural Mesa of Phoenix.
>

There's just not enough Muslim in you! OK, I'll make it Mesa, which is no
cultural Mecca, either! <G>

Barry Schnur

unread,
Dec 5, 2000, 11:02:27 PM12/5/00
to
>
> No, I just saw it last night. I'm tied up in classes and can only get to the
>forums sporadicly at the moment.

Yup, beware the sporadicliesiasts.

Shaun Pond

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
Don,
that explains a lot...

Don Crawford

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
To Barry Schnur:

> Yup, beware the sporadicliesiasts.
>

Hmmmmmmm......

Don Crawford

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
To Barry Schnur:

> Right, I leave derivative religions to the masses.
>

Zing!

Don Crawford

unread,
Dec 6, 2000, 3:00:00 AM12/6/00
to
To Shaun Pond:

> that explains a lot...
>

...or raises a lot of questions...

0 new messages