smbpasswd -x broken
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Sep 6 08:29:02 GMT 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
SAMBA_2_2 CVS from today:
# bin/smbpasswd -x vlendec
INFO: Debug class all level = 1 (pid 22201 from pid 22201)
Failed to find entry for user root.
Failed to modify password entry for user root
# id
uid=0(root) gid=0(root) groups=0(root),1(bin),14(uucp),15(shadow),16(dialout),17(a\
udio),65534(nogroup)
#
I do not understand line 733 in utils/smbpasswd.c. This overwrites a
previously well-set username. To be honest, I do not understand that
whole switch statement. I think with getopt it should be reduced to:
if (argc) {
new_passwd = xstrdup(argv[0]);
}
Volker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Fingerprint available: phone +49 551 3700000
iD8DBQE7l5cwpZxcpEh+sAwRAoRZAJ4lVmy3BFYjbxUvwkYlmSVYSR2AHwCfbDFa
hd/ZUiRDHXfQluQKuN1qnGM=
=nfPa
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list