Bug 558730 - call createupn on join
Summary: call createupn on join
Status: RESOLVED FEATURE
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Samba (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Lars Müller
QA Contact: The 'Opening Windows to a Wider World' guys
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 15:33 UTC by Jiří Suchomel
Modified: 2017-01-13 16:29 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiří Suchomel 2009-11-26 15:33:26 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)?
Comment 2 Lars Müller 2009-12-08 15:05:30 UTC
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?
Comment 3 Andreas Jaeger 2012-07-03 18:35:09 UTC
Information was provided - is this still relevant?
Comment 4 James McDonough 2017-01-13 16:29:34 UTC
4+ years and no requests/reports involving this, closing