#18908 - 2002-03-21 02:38 PM
Getting group information w/o a domain controller
|
mobious
Fresh Scripter
Registered: 2002-03-20
Posts: 11
|
Hi,
I was wondering if there is any way to use the ingroup function if you do not have a domain controller (giant file/print server)?
Thanks
|
|
Top
|
|
|
|
#18909 - 2002-03-21 02:40 PM
Re: Getting group information w/o a domain controller
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Where do the "groups" live that you want to check using "Ingroup"?
|
|
Top
|
|
|
|
#18910 - 2002-03-21 03:20 PM
Re: Getting group information w/o a domain controller
|
mobious
Fresh Scripter
Registered: 2002-03-20
Posts: 11
|
They live on the fileserver itself, our company is rolling out win2k servers and without active directory as file/print servers.
|
|
Top
|
|
|
|
#18911 - 2002-03-21 03:23 PM
Re: Getting group information w/o a domain controller
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Try: if ingroup ("Servername\administrators") ? "in there - 1" endif
OR
if ingroup ("\\Servername\administrators") ? "in there - 2" endif
The "\\" should not matter
|
|
Top
|
|
|
|
#18912 - 2002-03-21 03:28 PM
Re: Getting group information w/o a domain controller
|
mobious
Fresh Scripter
Registered: 2002-03-20
Posts: 11
|
I tried the \\servername\groupname and it didn't work.
I also found that on nt\xp machines it would work providing the group was a local group.
|
|
Top
|
|
|
|
#18914 - 2002-03-21 03:57 PM
Re: Getting group information w/o a domain controller
|
mobious
Fresh Scripter
Registered: 2002-03-20
Posts: 11
|
We're not logging into the server we're authenticating against the server the workstation username / password matches the server and they can then get access to file/print
|
|
Top
|
|
|
|
#18915 - 2002-03-21 04:09 PM
Re: Getting group information w/o a domain controller
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
mobious, if you are trying to get a generic script running for users in this environment, you have a big problem. I was under the impression you were trying to write an Admin script where you want to check group for a person logging onto the Server.
Without a domain, where are the users logging on? How do you plan to run a script? Without a domain there is no single identity for a user. How do plan on setting up security? There are many questions here. [ 21 March 2002, 16:09: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#18917 - 2002-03-21 06:07 PM
Re: Getting group information w/o a domain controller
|
mobious
Fresh Scripter
Registered: 2002-03-20
Posts: 11
|
The reason that they didn't want to use active directory is because I'm the only one familiar with it, I would rather do this with ad but this is what they wanted, I'm just trying to implement it.
The script I have works fine except for specific groups that need specific printers etc.
Thanks for the help
|
|
Top
|
|
|
|
#18918 - 2002-03-22 01:43 PM
Re: Getting group information w/o a domain controller
|
Dean R
Starting to like KiXtart
Registered: 2002-03-15
Posts: 115
Loc: Ireland, but Im an Aussie
|
Why not just have a NT pdc sitting by itself at the side? Your machines can then all be W2k, you wont need AD and you still have your groups. Of course I have to say, have a bdc there too, just in case. You are going to be a busy person if you are going to stick with what you have.
_________________________
--------------------------------
When you can take this stone from my hand Gwasshoppa you are read...
*yoink*
Gwasshoppa?
Gwasshoppa? Where did you go?
---------------------------------
|
|
Top
|
|
|
|
#18919 - 2002-03-22 01:46 PM
Re: Getting group information w/o a domain controller
|
Dean R
Starting to like KiXtart
Registered: 2002-03-15
Posts: 115
Loc: Ireland, but Im an Aussie
|
Your PDC does not have to be your file/print, as long as it is relatively capable of handling NT server.
_________________________
--------------------------------
When you can take this stone from my hand Gwasshoppa you are read...
*yoink*
Gwasshoppa?
Gwasshoppa? Where did you go?
---------------------------------
|
|
Top
|
|
|
|
#18920 - 2002-03-22 02:21 PM
Re: Getting group information w/o a domain controller
|
coxmcse
Fresh Scripter
Registered: 2002-01-18
Posts: 25
Loc: Maryland, USA
|
Yeah, have an NT4 PDC and a smile... don't forget a BDC to do a little C.Y.A for the Admin. And if the network is small enough, having a Win2K domain controller is not a big issue at all... you don't have to use active directory if you don't want to.
_________________________
E. Cox
Baltimore, MD
If a man does his best, what else is there? George S. Patton
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 302 anonymous users online.
|
|
|