summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-08 00:02:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:48 -0500
commit0ed08d9398d0ee8d9fdbc0f387415adc32ba675e (patch)
tree6a1dde58667248156c7fd47fb9e3f5aaa2466dec /source4/script
parenta848b0e3e26a3c572bb32475352d460d247d85ee (diff)
downloadsamba-0ed08d9398d0ee8d9fdbc0f387415adc32ba675e.tar.gz
samba-0ed08d9398d0ee8d9fdbc0f387415adc32ba675e.tar.bz2
samba-0ed08d9398d0ee8d9fdbc0f387415adc32ba675e.zip
r578: initial server side implementation of samr_CreateUser(),
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(), and samr_DeleteUser() this uses a user template in the SAM db, of objectclass "userTemplate" and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows an admin to add any default user attributes that they might want to the user template and all new users will receive those attributes. (This used to be commit 10b6e0011b5952c98432dc2d4b2058ac89a9cc2d)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/provision.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/script/provision.pl b/source4/script/provision.pl
index e927ac13d2..faa7cef385 100755
--- a/source4/script/provision.pl
+++ b/source4/script/provision.pl
@@ -4,11 +4,11 @@ use strict;
my $hostname = `hostname`;
chomp $hostname;
-my $realm = "tridgell.net";
+my $realm = "bludom.tridgell.net";
my $domain = "BLUDOM";
my $dnsname = "$hostname.$realm";
-my $basedn = "DC=" . join(",DN=", split(/\./, $dnsname));
+my $basedn = "DC=" . join(",DN=", split(/\./, $realm));
# return the current NTTIME as an integer
sub nttime()