Mailinglist Archive: opensuse-bugs (6366 mails)
| < Previous | Next > |
[Bug 270431] New: LDAPSMB - Modifying username to smbacct status broken
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 1 May 2007 21:23:37 -0600 (MDT)
- Message-id: <bug-270431-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=270431
Summary: LDAPSMB - Modifying username to smbacct status broken
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: openSUSE 10.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: novell@xxxxxxxxx
QAContact: qa@xxxxxxx
/usr/sbin/ldapsmb is lacking code to use the LDAP SAM backend for user modify
operations.
sub ldap_usermodify ($$) {
..
my $pdbeditopts = "-u \"$opt_user\"";
while (($opt, $arg) = each %sambachanges) {
debug(3,"$opt, $arg");
$pdbeditopts .= " ".$opt." ".$arg;
}
debug(3,"$progs{pdbedit} $pdbeditopts");
system( "$progs{pdbedit} $pdbeditopts -d0 2>&1 >/dev/null");
# inform if there was an rc != 0
..
[end]
[snippet from user add]
if ( $SAMBA_22 ) {
my $pdbedit_opts = "-a -u -b -f '$ascii_displayName'";
system( "/bin/echo -e \"$opt_passwd\\n$opt_passwd\" |
$progs{pdbedit} $pdbedit_opts \"$uid\"");
} elsif ( $SAMBA_30 ) {
# FIXME: patch pdbedit!
# my $pdbedit_opts = "-a -u -b
ldapsam://$LDAP_SERVER:$LDAP_PORT";
# my $smbpasswd_opts = "-a -e -s";
# system( "/bin/echo -e \"$opt_passwd\\n$opt_passwd\" |
$progs{smbpasswd} $smbpasswd_opts \"$uid\"");
my $pdbedit_opts = "-a -f '$ascii_displayName'";
system( "$progs{pdbedit} -d 0 $pdbedit_opts \"$uid\"
2>&1 > /dev/null");
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Summary: LDAPSMB - Modifying username to smbacct status broken
Product: openSUSE 10.2
Version: Final
Platform: Other
OS/Version: openSUSE 10.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: novell@xxxxxxxxx
QAContact: qa@xxxxxxx
/usr/sbin/ldapsmb is lacking code to use the LDAP SAM backend for user modify
operations.
sub ldap_usermodify ($$) {
..
my $pdbeditopts = "-u \"$opt_user\"";
while (($opt, $arg) = each %sambachanges) {
debug(3,"$opt, $arg");
$pdbeditopts .= " ".$opt." ".$arg;
}
debug(3,"$progs{pdbedit} $pdbeditopts");
system( "$progs{pdbedit} $pdbeditopts -d0 2>&1 >/dev/null");
# inform if there was an rc != 0
..
[end]
[snippet from user add]
if ( $SAMBA_22 ) {
my $pdbedit_opts = "-a -u -b -f '$ascii_displayName'";
system( "/bin/echo -e \"$opt_passwd\\n$opt_passwd\" |
$progs{pdbedit} $pdbedit_opts \"$uid\"");
} elsif ( $SAMBA_30 ) {
# FIXME: patch pdbedit!
# my $pdbedit_opts = "-a -u -b
ldapsam://$LDAP_SERVER:$LDAP_PORT";
# my $smbpasswd_opts = "-a -e -s";
# system( "/bin/echo -e \"$opt_passwd\\n$opt_passwd\" |
$progs{smbpasswd} $smbpasswd_opts \"$uid\"");
my $pdbedit_opts = "-a -f '$ascii_displayName'";
system( "$progs{pdbedit} -d 0 $pdbedit_opts \"$uid\"
2>&1 > /dev/null");
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |