Displaying 6 results from an estimated 6 matches for "add_samba_machine_mkntpwd".
2003 May 23
0
LDAP tools for samba 3.24 schema
...=$user))' | grep '^dn:\'";
+ my $cmd = "$ldapsearch -b '$suffix' -s '$scope'
'(&(objectClass=sambaSamAccount)(uid=$user))' | grep '^dn:\'";
my $res=`$cmd`;
chomp $res;
if ($res ne '') {
@@ -186,7 +196,7 @@
sub add_samba_machine_mkntpwd
{
my ($user, $uid) = @_;
- my $rid = 2 * $uid + 1000; # Samba 2.2.2 stuff
+ my $sambaSID = 2 * $uid + 1000; # Samba 2.2.2 stuff
my $name = $user;
$name =~ s/.$//s;
@@ -205,18 +215,18 @@
changetype: modify
objectclass: top
objectclass: posixAccount
-objectClass: sambaAccou...
2003 May 23
0
LDAP tools for SAMBA 3.24 corrected
...=$user))' | grep '^dn:\'";
+ my $cmd = "$ldapsearch -b '$suffix' -s '$scope' '(&(objectClass=sambaSamAccount)(uid=$user))' | grep '^dn:\'";
my $res=`$cmd`;
chomp $res;
if ($res ne '') {
@@ -186,7 +196,7 @@
sub add_samba_machine_mkntpwd
{
my ($user, $uid) = @_;
- my $rid = 2 * $uid + 1000; # Samba 2.2.2 stuff
+ my $sambaSID = 2 * $uid + 1000; # Samba 2.2.2 stuff
my $name = $user;
$name =~ s/.$//s;
@@ -205,18 +215,18 @@
changetype: modify
objectclass: top
objectclass: posixAccount
-objectClass: sambaAccou...
2004 Jan 14
0
Problems with smbldap-tools 0.8.2 and Samba 3
...expects
### Samba to add the sambaSAMAccount, but I think that Samba fails to
### do it because already exists the posixAccount (with the same uid)
# (jtournier)
# Objectclass sambaSAMAccount is now added directly by samba when
joigning the domain (for samba3)
#if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) {
# die "$0: error while adding samba account\n";
#}
} else {
##### The script never executes this branch
if (!add_samba_machine($userName)) {
die "$0: error while adding samba account\n";
}
Afte...
2003 May 03
1
Adding computers to SAMBA/LDAP
We are running samba 2.2.8a as a PDC with openLDAP
Using the tools that come from IDEALX we have created several machine
accounts Then we have attempted to join the windows domain and login
with varying results.
One machine acts as expected and we can log in and out freely
A second machine let's one user log in but if that user changes his
password, he like all the other users is told
2003 Dec 30
1
sambaSamAccount versus SambaSAMAccount
...3
@@ -208,7 +208,7 @@
if (!$with_smbpasswd) {
# (jtournier)
- # Objectclass sambaSAMAccount is now added directly by samba when joigning the domain (for samba3)
+ # Objectclass sambaSamAccount is now added directly by samba when joigning the domain (for samba3)
#if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) {
# die "$0: error while adding samba account\n";
#}
@@ -312,7 +312,7 @@
my $modify = $ldap_master->modify ( "uid=$userName,$usersdn",
changes...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...chine $userName:\n";
if (!add_posix_machine ($userName, $userUidNumber, $userGidNumber)) {
die "$0: error while adding posix account\n";
}
if (!$with_smbpasswd) {
# (jtournier)
# Objectclass sambaSAMAccount is now added directly by samba when joigning
the domain (for samba3)
# if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) {
# die "$0: error while adding samba account\n";
# }
# } else {
# if (!add_samba_machine($userName)) {
# die "$0: error while adding samba account\n";
# }
my $modify = $ldap_master->modify ( "$dn",
changes => [
replace => [sambaAcc...