Thread: [Ani-users] add domain group to local group
Status: Beta
Brought to you by:
substring-sfn
From: Simon S. <sc...@st...> - 2005-02-07 11:20:45
|
Hello, is still have this annoying add-domain-groups-to-local-groups-problem, all hints and tips are appreciated. I use samba3 (acts just like an NT Domain Contorller). Post-hoc i can add the group by hand, so there is nothing wrong with samba or groupmap. the only error i can find in the logs is (prenet.log): --------------------------------------------------------- Setting file attributes... Could not set attributes on C:\winnt\system32\grouppolicy\machine\scripts\scripts.ini: The system cannot find the path specified. done --------------------------------------------------------- my settings in winset.tpl: ----------------------------- [fillgroup_glb] USB-Users=YAVIN4\Domain Users ----------------------------- thank you simon |
From: Hagen M. <h.m...@su...> - 2005-02-07 19:54:04
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, please send me the postwin.log (located in c:\winnt\logs) for further details. - -- hagen Simon Schwab wrote: | Hello, | | is still have this annoying | add-domain-groups-to-local-groups-problem, all hints and tips are | appreciated. I use samba3 (acts just like an NT Domain Contorller). | Post-hoc i can add the group by hand, so there is nothing wrong | with samba or groupmap. the only error i can find in the logs is | (prenet.log): | | --------------------------------------------------------- Setting | file attributes... Could not set attributes on | C:\winnt\system32\grouppolicy\machine\scripts\scripts.ini: The | system cannot find the path specified. done | --------------------------------------------------------- | | | my settings in winset.tpl: | | ----------------------------- [fillgroup_glb] | USB-Users=YAVIN4\Domain Users ----------------------------- | | thank you simon | | | ------------------------------------------------------- This SF.Net | email is sponsored by: IntelliVIEW -- Interactive Reporting Tool | for open source databases. Create drag-&-drop reports. Save time by | over 75%! Publish reports on the web. Export to DOC, XLS, RTF, | etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl | _______________________________________________ Ani-users mailing | list Ani...@li... | https://lists.sourceforge.net/lists/listinfo/ani-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCB8dQJ31vBDLS4wQRAvDLAJ4sWi3BZOPiZiYdnHYvVcv7P8z3TACglEwx JYP5XPl4oUWNvN5Rkm+J9ow= =iC4W -----END PGP SIGNATURE----- |
From: Hagen M. <h.m...@su...> - 2005-02-08 06:36:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was slow off the mark, sry. The point is, that you have switched off the join2domain-procedure in postwin.pl by setting PWFALGS=2 in ani.cf[012]. Because you cannot add domaingroups to local groups since the machine is not a member of the domain, ANI supresses adding the domaingroups while PWFLAGS=2. With ANI it isn't intended to join the domain with the microsofts approch, i.e with the unattend.txt-mechanism (that's why it assumes 'no domain' => 'no domain groups') Ok, there should be a solution for you. In postwin.pl (line 373ff) just comment out the if-condition: - ---snip--- # if ($fillgroups_glb){ <<<<<<<<<<<<<<< here ~ ANI::GUIWiz::update( "Filling local groups with global accounts...", 0, $path . "\\" . BITMAPNAME ); ~ print( "\n" . "filling local groups with global accounts:\n" ); ~ ($lasterr, $errmsg) = FillGroups($pcname, ~ $wsetini, ~ WINSETINI_SECTION_FILLGROUP_GLB); ~ if( $lasterr != ERR_SUCCESS ){ ~ print( WARN_TEXT . "error filling local groups with global accounts: " . $errmsg . "\n"); ~ exit( $ERRORCODE{ GROUP_GLB_ERROR } ); ~ } ~ print( "done.\n" ); ~ ANI::GUIWiz::update( "Filling local groups with global accounts...", 100, $path . "\\" . BITMAPNAME ); # } <<<<<<<<<<<<<<<<<<<<<<<<< and here - ---snip--- I hope it helps. - -- Hagen Simon Schwab wrote: | hi hagen, | | thank you for your help, here is the logfile. as i said i have a samba3 server that just acts like a NT4 domain. for joining the domain, i changed the settings in unattended.tpl as once discussed in the mailing list: | | ---unattended.tpl-------- [Identification] ; | JoinWorkgroup=WORKGROUP ; MachineObjectOU="$ORGUNIT$" | JoinDomain=YAVIN4 DomainAdmin="YAVIN4\root" | DomainAdminPassword=verysecret ------------------------------- | | joining the domain works very well. a can also "see" and add by | hand the domain users and groups (on the client) which i created on the samba3 server (precisely: unix groups are mapped to NT domain groups). but somehow it doesnt work automatically durning ani setup. here is what postwin.pl says: | | - -------------------------------------------------------------------------- | starting logging of postwin.pl at Sun Jan 9 11:54:17 2005 | | sending dhcp discover... sent. waiting for Offer... | got a packet. | PC Name: CAIROOO Version info: Ani 1.1.0 Release | date: 2004-09-16 | | User class: i386 share: \\ani\Ai386 Package share: | \\ani\APACK Installer account: yavin4\ani Installer password: | decrypted Domain to join: yavin4.ch Organization unit: | ou=computers,dc=yavin4,dc=ch | | filling local groups with local accounts: adding [anithing] to | local group [cdrom-users]: done adding [anithing] to local group | [floppy-users]: done adding [anithing] to local group [usb-users]: | done done. | | Installing 13 software packages from [\\ani\APACK]: Package | [base\tightvnc.bat]: installing TightVNC... done. Package | [base\netlogon.bat]: installing netlogon script... 1 file(s) | copied. done. Package [base\7zip.bat]: installing 7-Zip... done. | Package [base\areader.bat]: installing Acrobat Reader... | | NoShrink 1.10 (c)2003 Netopsystems AG | | | All done. done. Package [base\gtk2.bat]: installing GTK+2... done. | Package [base\gimp2.bat]: installing The GIMP... done. Package | [base\j2re.bat]: installing Java RE... done. Package | [base\pdfcreator.bat]: installing PDFCreator... done. Package | [base\putty.bat]: installing PuTTY... done. Package [base\vlc.bat]: | installing VLC... done. Package [base\mozilla.bat]: installing | Mozilla... done. Package [base\clamwin.bat]: installing ClamWin... | done. Package [base\winscp.bat]: installing WinSCP... done. | | terminated with exit code [0]. | | end logging of postwin.pl at Sun Jan 9 11:57:49 2005 | - ------------------------------------------------------------------------- | | | Hagen Muench wrote: | | Hello, please send me the postwin.log (located in c:\winnt\logs) | for further details. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCCF39J31vBDLS4wQRAofOAKDzaz8iEpCmOtfNSAF22ttPKasXMQCg0BEj ArQSZHG1LAcPtEuCqHfkGeY= =WoRo -----END PGP SIGNATURE----- |
From: Simon S. <sc...@st...> - 2005-02-08 16:36:38
|
Hagen Muench wrote: > Ok, there should be a solution for you. In postwin.pl (line 373ff) > just comment out the if-condition: Yes, it works! Thank you! simon |