![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | msSFU30 Attributes Hi, I have written a script to create AD users. The script works fine and all the users look perfect. However, The UNIX attributes do not seem to take, after the script has completed they are populated and look 100%, but AD does not recognise them. The only way is to open the users GUI, set the domain to <none> Apply, then set the domain back to the correct one, None of the values change at all! The additions are via msSFU30 Attributes. Any ideas? or a method that I need to call to do the update above? Any suggestion gratefully received. Ta Mark. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: msSFU30 Attributes Mad Mark wrote: Quote: > Hi, > > I have written a script to create AD users. The script works fine and all > the users look perfect. > However, The UNIX attributes do not seem to take, after the script has > completed they are populated and look 100%, but AD does not recognise them. > The only way is to open the users GUI, set the domain to <none> Apply, then > set the domain back to the correct one, None of the values change at all! > > The additions are via msSFU30 Attributes. > > Any ideas? or a method that I need to call to do the update above? > Any suggestion gratefully received. > > Ta > > Mark. > > msSFU30 attributes. Or you can list them using vbscript. Connect obj1 to user in AD using standard LDAP. E.g. wscript.echo " samAccountname: " & obj1.samAccountname & " (displayName: " & obj1.displayName & ")" wscript.echo " msSFU30GidNumber: " & obj1.msSFU30GidNumber wscript.echo " msSFU30UidNumber: " & obj1.msSFU30UidNumber script.echo " msSFU30LoginShell: " & obj1.msSFU30LoginShell wscript.echo " msSFU30HomeDirectory: " & obj1.msSFU30HomeDirectory Or show it standard Unix-style: wscript.echo " " & obj1.samAccountname &":x:"& obj1.msSFU30UidNumber &":"& obj1.msSFU30GidNumber &":"& obj1.displayName &":"& obj1.msSFU30HomeDirectory &":"& obj1.msSFU30LoginShell -- -- HAL07, Engineering Services, Norway -- Info: social.technet.microsoft.com/Forums/ replaces a lot of the newsgroups |
My System Specs![]() |
| | #3 (permalink) |
| | Re: msSFU30 Attributes "HAL07" <yahoohal@xxxxxx> wrote in message news:OS7VSPFjJHA.4880@xxxxxx Quote: > Mad Mark wrote: Quote: >> Hi, >> >> I have written a script to create AD users. The script works fine and all >> the users look perfect. >> However, The UNIX attributes do not seem to take, after the script has >> completed they are populated and look 100%, but AD does not recognise >> them. >> The only way is to open the users GUI, set the domain to <none> Apply, >> then >> set the domain back to the correct one, None of the values change at all! >> >> The additions are via msSFU30 Attributes. >> >> Any ideas? or a method that I need to call to do the update above? >> Any suggestion gratefully received. >> >> Ta >> >> Mark. >> >> > way? I recommend you use ADSI edit or similar to view msSFU30 attributes. > Or you can list them using vbscript. > > Connect obj1 to user in AD using standard LDAP. > > E.g. > wscript.echo " samAccountname: " & obj1.samAccountname & " (displayName: > " & obj1.displayName & ")" > wscript.echo " msSFU30GidNumber: " & obj1.msSFU30GidNumber > wscript.echo " msSFU30UidNumber: " & obj1.msSFU30UidNumber > script.echo " msSFU30LoginShell: " & obj1.msSFU30LoginShell > wscript.echo " msSFU30HomeDirectory: " & obj1.msSFU30HomeDirectory > > Or show it standard Unix-style: > wscript.echo " " & obj1.samAccountname &":x:"& obj1.msSFU30UidNumber > &":"& obj1.msSFU30GidNumber &":"& obj1.displayName &":"& > obj1.msSFU30HomeDirectory &":"& obj1.msSFU30LoginShell > I am using that method to list out the objects, I get something like :- msSFU30Name: testuser msSFU30UidNumber: 10001 msSFU30GidNumber: 10000 msSFU30LoginShell: /bin/bash msSFU30Password: ABCD!efgh12345$67890 msSFU30NisDomain: jp2k3 msSFU30HomeDirectory: /home/testuser Mark |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| file attributes | Vista General | |||
| File attributes | .NET General | |||
| Validation Attributes | PowerShell | |||
| Trying to add attributes to an XML document | PowerShell | |||
| file attributes | PowerShell | |||