Anonymous_User Absent Member.
Absent Member.
3957 views

NetStorage and %LOGIN_NAME

Sorry about the repost (from 6x.storage-media). Didn't get any takers
there and it's somewhat time sensitive. -Thanks.


Greetings. We are still using the %LOGIN_NAME variable to map our
user's home directories. We cannot use %CN becuuse many of our users
have longer login names but the home directories have a max of 8
characters. Also, for some reason a good number of users don't have the
home directory attribute set in eDir (don't ask, I have no idea).

We'd like to implement NetStorage/NetDrive however when a user logs in
the drive mapping for the home directory using the %LOGIN_NAME variable
returns a "Bad request!" apache error page. If the home dir attribute
is set the Home mapping works fine. I can't use a line in the login
script to skip the F: drive mapping when using NetStorage because so
many users do not have the home dir attribute set.

Any suggestions to get this variable to work?

Thanks,

Travis
Labels (2)
0 Likes
19 Replies
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:

>We'd like to implement NetStorage/NetDrive however when a user logs in
>the drive mapping for the home directory using the %LOGIN_NAME variable
>returns a "Bad request!" apache error page.


it has been several years since I played with NetStorage but I don't
remember seeing that problem - I will ask someone.

--
Joe Moore
Novell Support Forums SysOp
http://just.fdisk-it.com
http://www.caledonia.net/jmdns.html
http://www.caledonia.net/nesadmin.html
http://www.caledonia.net/jmttb.html
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Thanks!!!

Joseph Moore [SysOp] wrote:
> Travis Montgomery wrote:
>
>> We'd like to implement NetStorage/NetDrive however when a user logs in
>> the drive mapping for the home directory using the %LOGIN_NAME variable
>> returns a "Bad request!" apache error page.

>
> it has been several years since I played with NetStorage but I don't
> remember seeing that problem - I will ask someone.
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:

> Also, for some reason a good number of users don't have the
> home directory attribute set in eDir


first suggestion I got was to populate this value - if you have JRB Utilities it is quick, painless and easy

--
Joe Moore
Novell Support Forums SysOp
http://just.fdisk-it.com
http://www.caledonia.net/jmdns.html
http://www.caledonia.net/nesadmin.html
http://www.caledonia.net/jmttb.html
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Quick and painless if all the users' home directories were in the same
place and/or the tree design wasn't a total mess. Long story short,
this will be a big deal, I ran a report and we're talking about 1400+
users w/o the attribute....

I'll do it if I have to but my preference would be to get the
%login_name variable working so I can make the powers that be happy by
introducing NS quickly then I can attack the tree/edir issues as I have
the time.

Any info you can find would be greatly appreciated!

Travis

Joseph Moore [SysOp] wrote:
> Travis Montgomery wrote:
>
>> Also, for some reason a good number of users don't have the
>> home directory attribute set in eDir

>
> first suggestion I got was to populate this value - if you have JRB Utilities it is quick, painless and easy
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:

>Any info you can find would be greatly appreciated!


from Marcel:

As far as I know, Netstorage has its own login script processor and may
not have exactly the same functionality . In fact, if you look at the TID
Shaun supplied, it seems that none of the standard variables are supplied.
Only the NDS attributes seem to be available as variables. Now LOGIN_NAME
is not an NDS attribute but one of those internal variables of the Novell
login processor, and as such, it seems "normal" that it doesn't work.

and from Novell:

Because it is not implemented. Usually %CN and %HOME_DIRECTORY take care of
any needs. However I have already read your reasons for not using this. I
have send some information of to the developer and we will see what he has
to say.
NetStorage implements %name as referring to an attribute of the user object.
LOGIN_NAME is not an attribute of the user object.


--
Joe Moore
Novell Support Forums SysOp
http://just.fdisk-it.com
http://www.caledonia.net/jmdns.html
http://www.caledonia.net/nesadmin.html
http://www.caledonia.net/jmttb.html
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:

>Thanks!!!


no problem - but you won't like the answer 😞


--
Joe Moore
Novell Support Forums SysOp
http://just.fdisk-it.com
http://www.caledonia.net/jmdns.html
http://www.caledonia.net/nesadmin.html
http://www.caledonia.net/jmttb.html
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:

>Long story short, this will be a big deal, I ran a report and we're
>talking about 1400+ users w/o the attribute....


ugh - sethome from JRB Utilities is supposed to make even that mess a cake
walk - not cheap, but well worth the money

--
Joe Moore
Novell Support Forums SysOp
http://just.fdisk-it.com
http://www.caledonia.net/jmdns.html
http://www.caledonia.net/nesadmin.html
http://www.caledonia.net/jmttb.html
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Yeah, I used it once in a past job but there all users home directories
where in the same spot. Here the home directory structure mirrors the
tree structure. I think I'd have to run the process once for each user
context (about 50...). Well, that and I'd have to buy the software....

Thanks,

Travis

Joseph Moore [SysOp] wrote:
> Travis Montgomery wrote:
>
>> Long story short, this will be a big deal, I ran a report and we're
>> talking about 1400+ users w/o the attribute....

>
> ugh - sethome from JRB Utilities is supposed to make even that mess a
> cake walk - not cheap, but well worth the money
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

These both make perfect sense (except for the part about Shaun's TID).
I'd be interested in hearing if the developer has anything to say.

Thanks again,

Travis

Joseph Moore [SysOp] wrote:
> Travis Montgomery wrote:
>
>> Any info you can find would be greatly appreciated!

>
> from Marcel:
>
> As far as I know, Netstorage has its own login script processor and may
> not have exactly the same functionality . In fact, if you look at the
> TID Shaun supplied, it seems that none of the standard variables are
> supplied. Only the NDS attributes seem to be available as variables. Now
> LOGIN_NAME is not an NDS attribute but one of those internal variables
> of the Novell login processor, and as such, it seems "normal" that it
> doesn't work.
>
> and from Novell:
>
> Because it is not implemented. Usually %CN and %HOME_DIRECTORY take care of
> any needs. However I have already read your reasons for not using this. I
> have send some information of to the developer and we will see what he has
> to say.
> NetStorage implements %name as referring to an attribute of the user
> object.
> LOGIN_NAME is not an attribute of the user object.
>
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Travis Montgomery wrote:
> Yeah, I used it once in a past job but there all users home directories
> where in the same spot. Here the home directory structure mirrors the
> tree structure. I think I'd have to run the process once for each user
> context (about 50...). Well, that and I'd have to buy the software....
>
> Thanks,
>
> Travis
>
> Joseph Moore [SysOp] wrote:
>> Travis Montgomery wrote:
>>
>>> Long story short, this will be a big deal, I ran a report and we're
>>> talking about 1400+ users w/o the attribute....

>>
>> ugh - sethome from JRB Utilities is supposed to make even that mess a
>> cake walk - not cheap, but well worth the money
>>

How about using the free version of HOMES.EXE available from the
coolsolutions tools area:
http://www.novell.com/coolsolutions/tools/14026.html

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

I'll check it out. thanks!

Chriss Perks wrote:
> Travis Montgomery wrote:
>> Yeah, I used it once in a past job but there all users home
>> directories where in the same spot. Here the home directory structure
>> mirrors the tree structure. I think I'd have to run the process once
>> for each user context (about 50...). Well, that and I'd have to buy
>> the software....
>>
>> Thanks,
>>
>> Travis
>>
>> Joseph Moore [SysOp] wrote:
>>> Travis Montgomery wrote:
>>>
>>>> Long story short, this will be a big deal, I ran a report and we're
>>>> talking about 1400+ users w/o the attribute....
>>>
>>> ugh - sethome from JRB Utilities is supposed to make even that mess a
>>> cake walk - not cheap, but well worth the money
>>>

> How about using the free version of HOMES.EXE available from the
> coolsolutions tools area:
> http://www.novell.com/coolsolutions/tools/14026.html
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

Thanks!

Joseph Moore [SysOp] wrote:
> Travis Montgomery wrote:
>
>> (except for the part about Shaun's TID)

>
> certainly - http://support.novell.com/docs/Tids/Solutions/10068983.html
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NetStorage and %LOGIN_NAME

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.