Page 2 of 2 <12
Topic Options
#128038 - 2004-10-22 09:14 AM Re: Adding Users to ADSI ?
Chance Offline
Fresh Scripter

Registered: 2004-10-17
Posts: 12
Loc: Almere, The Netherlands
Thanks, that worked perfectly

However I am left with one really weird problem I'd like to present. I'll explain it on example, let's say we wanna create the user "Jack Schitt" and his login name will be "jschitt"

If you use kix to set the user in AD and use these path's (keep in mind we're not evaluating the strings, just plain as they are)

HomeShare: \\server\profiles$\%username%
ProfilePath: \\server\profiles$\%username%\My Profile

Now we are not actually creating the folders ourselves. When the user logs in for the first time, the folders will be automatically created. And the rights are automatically set. The only problem with that is that Jack Schitt is the owner and sole user who has rights to those folders not even administrator has rights.

Now to step back to where u create the user, now this time when your script has created the user and there are no folders yet. Goto the user properties in the AD, in the homeshare remove a % in %username% and the add the % again, press APPLY and you wll see that AD has created the folders with perfect rights on them Administrator as owner and the user Jack Schitt as user will All rights except "Full Access"

I don't know why this is but I'd love to find out.
_________________________
can not join #Real_Life (invite only)

Top
#128039 - 2004-10-24 09:57 PM Re: Adding Users to ADSI ?
Chance Offline
Fresh Scripter

Registered: 2004-10-17
Posts: 12
Loc: Almere, The Netherlands
Can't figure that one out for the life of me, the thing that happens after you press the "apply" button is something that is left out in the ".setinfo" code.. but what it is exactly....
_________________________
can not join #Real_Life (invite only)

Top
#128040 - 2004-10-25 01:53 PM Re: Adding Users to ADSI ?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
That definitely sounds like a question you need to direct toward Microsoft. I suggest that you post to one of the Micorosft newsgroups to see what kind of answer you get. We have always handle home directory creation as a separate process by different people than created the account.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#128041 - 2004-11-06 08:10 PM Re: Adding Users to ADSI ?
Chance Offline
Fresh Scripter

Registered: 2004-10-17
Posts: 12
Loc: Almere, The Netherlands
Seems like the newsgroups were no real succes either, but in any case I want to thank everyone in this tread who has helped and provided tips and solutions to my questions, everything works almost perfectly as I wanted, teachers now have 3 programs made with kix/kixforms, 1. a Reset Password dialog box, 2. a Create User dialog box and 3. a Add user rights (teacher/student/concierge) to an existing user (each gets different drives mapped). And their happy as can be. I'm officially throwing in the towel for now on the folder rights thing. But so far everything seems to works perfect eventho I as admin can't open/view/edit their folders (can set rights if I need to tho). But thanks all of you for your great support in this
_________________________
can not join #Real_Life (invite only)

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 905 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.057 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org