Script ADS join (yast samba-client)

Hi everyone,
I’m trying to script the active directory domain join of my SLES 11 SP1
servers as an AutoYaST postscript. My enviroment has multiple windows
domains. In the prescript section of my AutoYaST profile the right
domain is selected an passed to a postscript (-modified.xml-) that
should do the domain join.

“-net ads join-” would work, but I want to do it fully YaST compatible
and set the two options: “-Also Use SMB Information for Linux
Authentication-” and “-Create Home Directory on Login-”.

The option “-Create Home Directory on Login-” is less problematic
because it’s only the addition of the line
Code:

session optional pam_mkhomedir.so

to -/etc/pam.d/common-session-. But the option “-Also Use SMB
Information for Linux Authentication-” makes changes in many files.

I’ve tried to do it with a AutoYaST XML (-yast ayast_setup setup
filename=./domainjoin.xml-) but an AutoYaST-Script as postscript isn’t
supported by SUSE/Novell and does not work in this case.

Any ideas? How are you joining your SLES servers to windows domains?

Thanks in advance for your help.

Eloy


eloycastro

eloycastro’s Profile: http://forums.novell.com/member.php?userid=87076
View this thread: http://forums.novell.com/showthread.php?t=450176

eloycastro,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

  • Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
  • You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/