Displaying 4 results from an estimated 4 matches for "userhomedirectory".
2005 Aug 11
4
smbldap-tools unresovled problem.
...ig{SID}-515"]
+ ]
+ );
+
+ $modify->code && die "failed to add entry: ", $modify->error ;
+ }
$ldap_master->unbind;
exit 0;
@@ -311,11 +333,7 @@
system "mkdir $userHomeDirectory 2>/dev/null";
system "cp -a $config{skeletonDir}/.[a-z,A-Z]* $config{skeletonDir}/* $userHomeDirectory 2>/dev/null";
system "chown -R $userUidNumber:$userGidNumber $userHomeDirectory 2>/dev/null";
- if (defined $config{userHomeDirectoryMode}) {
-...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...legal username\n";
exit (1);
}
# user must not exist in LDAP (should it be nss-wide ?)
my ($rc, $dn) = get_user_dn2($userName);
if ($rc and defined($dn)) {
print "$0: user $userName exists\n";
exit (9);
} elsif (!$rc) {
print "$0: error in get_user_dn2\n";
exit(10);
}
my $userHomeDirectory;
my ($userCN, $userSN);
my $tmp;
if (!defined($userHomeDirectory = $Options{'d'})) {
$userHomeDirectory = $_userHomePrefix."/".$userName;
}
$_userLoginShell = $tmp if (defined($tmp = $Options{'s'}));
$_userGecos = $tmp if (defined($tmp = $Options{'c'}));
$_skeleton...
2011 Aug 05
1
DoveCot LDA prefetch fails with LDA, works with POP client
...ried different things in
"user_attrs", DoveCot keeps complaining the same thing.
user_attrs = username=user
user_filter =
(&(objectClass=DirectUser)(username=%u)(roles=*ROLE_EDGE_EMAIL*))
pass_attrs =
username=user,password=password,username=userdb_user,usermaildirectory=u
serdb_mail,userhomedirectory=userdb_home,825=userdb_uid,825=userdb_gid
pass_filter =
(&(objectClass=DirectUser)(username=%u)(roles=*ROLE_EDGE_EMAIL*))
The documentation says LDA does not use prefetch, but the log seems to
indicate otherwise. I clearly see the "service=deliver" is
authenticating the user first,...
2002 May 14
0
Bugfix for idealx smbldap-tools
...* gid + 1001
my $userGroupRid = 2 * $userGidNumber + 1001;
if (defined($Options{'x'})) {
- $userGroupRid = sprint("%x", $userGroupRid);
+ $userGroupRid = sprintf("%x", $userGroupRid);
}
# Read only first @ARGV
my $userName = $ARGV[0];
@@ -153,6 +153,9 @@
$userHomeDirectory = $_userHomePrefix.$userName;
}
$_userLoginShell = $tmp if (defined($tmp = $Options{'s'}));
+# ASkwar:
+# Use a more meaningful default GECOS entry
+$_userGecos = $userName;
$_userGecos = $tmp if (defined($tmp = $Options{'c'}));
$_skeletonDir = $tmp if (defined($tmp = $Options{&...