Displaying 2 results from an estimated 2 matches for "usersn".
Did you mean:
users
1999 Dec 06
0
Help with account mapping and guest
...rowseable = yes
printable = yes
public = yes
writable = no
create mode = 0700
path = /var/tmp/smb
; you might also want this one
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
;
[home]
comment = mdnmr home
path = /home
valid users = users1...usersn
public = no
writable = yes
printable = no
browsable = yes
create mask = 0765
[cdrom]
comment = cdrom
path = /cdrom
public = yes
writable = no
printable = no
browsable = yes
readonly = yes
;Other shares removed for privacy
[pcsoft]
comment = pc software repository
path = /data/mdnmr1/pc_softwar...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...}
# 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'}));
$_skeletonDir = $tmp if (defined...