Bugzilla – Bug 558730
call createupn on join
Last modified: 2017-01-13 16:29:34 UTC
From https://bugzilla.novell.com/show_bug.cgi?id=555579#c17: This populates the fields in the "Operating System" Tab in Active Directory Users and Computers. It also populates the the user pricipal name for nfs services so this configuration can be used for kerberized nfs. This is tested and works. ($netbios_name and $realm seem to be blank and $domain should be dns doamin instead of windows domain) I will also put in a feature request for this. createupn=nfs/host.domain.org@REALM.ORG --- SambaNetJoin-org.pm 2009-08-21 03:02:55.000000000 -0700 +++ SambaNetJoin.pm 2009-11-26 02:54:13.054810757 -0800 @@ -85,6 +85,7 @@ my $cmd = ""; my $include = ""; + my $realm = ""; # bnc#520648 (DHCP may know WINS server address) $include = "\n\tinclude = /etc/samba/dhcp.conf" if (SCR->Read (".sysconfig.network.dhcp.DHCLIENT_MODIFY_SMB_CONF") eq "yes"); @@ -105,7 +106,9 @@ . " -s $conf_file" . (($protocol ne "ads" && $netbios_name)?" -n '$netbios_name'":"") . " -U '" . String->Quote ($user) . "%" . String->Quote ($passwd) . "'"; - + #dipe change + $cmd = $cmd . " createupn=nfs/" . $netbios_name . $domain . "@" . $realm . " osName=Linux osVer=\"`cat /etc/SuSE-release | grep openSUSE`\""; + Samba team: what do you think? Does it make sense to call this (or something similar) always, or only on some special user's request (=checkbox)?
We've disussed this and it sounds reasonable. Please allow the user of the interface to dis and enable it. By default it should be enabled. The part I don't get is regarding the use of "$realm". It is defined by it is empty. Do you plan to get this filled by the YaST UI?
Information was provided - is this still relevant?
4+ years and no requests/reports involving this, closing