Hi all, I need help, I'm trying to create a windows2000 share drive on mandrake 9.0 and just cannot get the passwords to work. I don't know what to do. can someone help me with the proper way to do this?? I set the registry in win2000 plaintextpassword to true I set encrypted to no, with webmin and manually I tried sychro users from webmin installed/reinstalled nothing works help please can I not just use the encrypted password option default at install?? Daniel
On Tue, 2002-10-22 at 03:08, Daniel Bertin wrote:> Hi all, > > I need help, I'm trying to create a windows2000 share drive on mandrake 9.0 > and just cannot get the passwords to work. I don't know what to do. > > can someone help me with the proper way to do this?? > > I set the registry in win2000 plaintextpassword to trueDepending on the SP level you may need the signorseal reg hack as well> I set encrypted to no, with webmin and manuallyThis is the default anyway. Should also have security = share> I tried sychro users from webminYou don't really need to do this if you only want your users to connect via samba> installed/reinstalledpost your full smb.conf so we can see your set up.> > nothing works help please > > can I not just use the encrypted password option default at install??See above.> Daniel-- Regards, Mark Belfanti Mentat IT Pty Ltd tel: [61 2] 9810 1986 fax: [61 2] 9810 1131 mob: 0413 53 6789 e-mail: mark@mentat-it.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Message: 12 | Date: Mon, 21 Oct 2002 14:08:49 -0300 | To: samba@lists.samba.org | From: Daniel Bertin <danielb@theorix.com> | Subject: [Samba] win2K passwords | | Hi all, | | I need help, I'm trying to create a windows2000 share drive on mandrake 9.0 | and just cannot get the passwords to work. I don't know what to do. | | can someone help me with the proper way to do this?? | | I set the registry in win2000 plaintextpassword to true Why? | I set encrypted to no, with webmin and manually Why? Using clear-text passwords is both more insecure, and more limiting (you will have problems if you decide to migrate to a samba-controlled domian, since you will *have* to switch to encrypted passwords then). | I tried sychro users from webmin What for? That only works for users added from webmin. | installed/reinstalled | | nothing works help please | | can I not just use the encrypted password option default at install?? That is the suggested method. Make your user accounts (ie with useradd, userdrake or whatever else), and then for each user, do something like this: # smbpasswd -a <username> Connect (assuming you are logged into win9x with the same username that you created in Mandrake) from a windows machine. This applies if you use the default smb.conf that we ship (and haven't stuffed it up with swat or similar), which is intended to operate mostly like windows2000. Unfortunately there are reasons for you having to assign samba passwords. You can set pam_smbpasswd up yourself to set the users password whenever it is changed by some other means, but we can't have that setup by default. BTW, please at least read the stuff in the default smb.conf, 95% of what you will ever want to do has examples in there, by just uncommenting the exisiting lines you can have either: 1)standalone server 2)domain controller 3)domain member 4)winbind domain member, but take a look at /etc/samba/smb-winbind.conf Buchan - -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9tUG6rJK6UGDSBKcRAsKXAJ9hbsjjkz414Z0qcgMZr84Y4PkT6ACeKbJh 1+mfz9kGon434+EWUleLK84=YoQB -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | Message: 3 | Subject: Re: [Samba] win2K passwords | From: Mark Belfanti <mark@mentat-it.com> | To: Daniel Bertin <danielb@theorix.com> | Cc: samba@lists.samba.org | Date: 22 Oct 2002 09:54:10 +1000 |> I set encrypted to no, with webmin and manually | | This is the default anyway. No. Mandrake ships with encrypted passwords enabled by default (and has since about 8.1). Why people insist on reg-hacking many windows machines instead of adding an smbpasswd for their users is beyond me. | Should also have security = share | Mandrake defaults to having samba mimic windowsNT/windows2000, which basically do security=user when not in a domain. Generally, security=share is a bad idea (just like it is in windows), and even worse if you use clear-text passwors. Buchan (contributor to Mandrake samba RPMs). - -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9tUKyrJK6UGDSBKcRAoYNAKC4pLuIRGixP69V/fd8AzJDnkHj6wCfaDat dBPcyiGtAdBPZqTPCkrFUH8=1vGv -----END PGP SIGNATURE-----