summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-08-26 16:13:14 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-08-26 16:13:14 +0000
commit9ed390746fdb18e3e4b735b45baf4fda592cfd6a (patch)
treeddc8ba81d2d671caa3b22c5f65fac72396d0c7e2 /perl-install/standalone
parentf20a2c1276af1cfcb9761c695fc14a26e899a0d1 (diff)
downloaddrakx-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar
drakx-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.gz
drakx-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.bz2
drakx-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.tar.xz
drakx-9ed390746fdb18e3e4b735b45baf4fda592cfd6a.zip
add a samba user without passwd
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksambashare12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/draksambashare b/perl-install/standalone/draksambashare
index 69017c4bf..3e4ac556b 100755
--- a/perl-install/standalone/draksambashare
+++ b/perl-install/standalone/draksambashare
@@ -898,12 +898,12 @@ sub modify_user_info {
0, create_okcancel({
cancel_clicked => sub { $dialog->destroy },
ok_clicked => sub {
- system("smbpasswd -a $user");
- set_user_passwd($user, $passwd);
- $dialog->destroy;
- }
- },
- ),
+ system("smbpasswd -a $user -n");
+ set_user_passwd($user, $passwd);
+ $dialog->destroy;
+ }
+ },
+ ),
);
$dialog->show_all;
}