Hi all... I created a directory, on my RH 9.0 (2.4.20) Linux server, that I would like to share with other computers on our LAN. I have smb and nmb running and I can see the share from a MS windows 2000 box. When I try to map the drive and click on the remote folder name (\\linux-hostname\share-name), it asks me to log on to the Linux server (I'm using security = share in /etc/samba/smb.conf). When I enter my username/password pair, it tells me that they're invalid. I have identical usernames & passwords on both boxes and I'm not encrypting the usernames and passwords...yet. I'm using version samba-2.2.7a-8.9.0 for samba-common, samba-client and samba itself. What am I missing? Thanks, Chuck -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
On Monday 15 September 2003 14:44, Chuck Noyes wrote:
I have identical usernames & passwords on both boxes
did you setup the passwords via `passwd` or `smbpasswd` ? afaik samba maintains its own pw database separate from /etc/passwd -mike
On Mon, Sep 15, 2003 at 02:44:12PM -0400, Chuck Noyes wrote: cc.noyes> me that they're invalid. I have identical cc.noyes> usernames & passwords on both boxes and I'm not encrypting the usernames cc.noyes> and passwords...yet. I'm using version cc.noyes> samba-2.2.7a-8.9.0 for samba-common, samba-client and samba itself. cc.noyes> cc.noyes> What am I missing? Recent versions of Windows refuse to authenticate using plain-text passwords. Try using password encryption. You should use security = user, and set up accounts on the Linux box with smbadduser (smbpasswd to set the passwords). E.g.: #smbadduser noyes:noyes Adding: noyes to /etc/samba/smbpasswd Added user noyes. ---------------------------------------------------------- ENTER password for noyes New SMB password: Retype new SMB password: Password changed for user noyes. -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
On Mon, Sep 15, 2003 at 07:36:20PM -0400, Charles R. Anderson wrote:
Recent versions of Windows refuse to authenticate using plain-text passwords. Try using password encryption. You should use security = user, and set up accounts on the Linux box with smbadduser (smbpasswd to set the passwords). E.g.:
#smbadduser noyes:noyes Adding: noyes to /etc/samba/smbpasswd Added user noyes.
In order to simulate share level access, I usually create a fake user (smbuser) and use "force user = smbuser" on the share so that all you need to enter is the password. Then the password is set by doing "smbpasswd smbuser" or whatever.
Friends, Can you please guide me to implement Sendmail SMTP-AUTH sistematically. I have Sendmail running in Redhat Advance Server. Here I would like to implement Sendmail SMTP-AUTH to run in this machine, got not work :( Can somebody help me sistematically ? Thanks.
Using smbpasswd is the way to go but if you want your linux box to act more like a windows box you can do the following. keep the security = share param. Add a guest account param in the global section of your smb.conf and make sure the guest user has atleast read permission on the dir you intend to share. guest account = some_username under the share definition add the guest ok param guest ok = yes with those params you should be able to connect to the box w/o a password like Windows. Further insecurity. If the guest account has read write access to the dir you want to share and you add the following to the smb.conf under the share def users can read and write. writeable = yes Matt Quoting Chuck Noyes <cc.noyes@verizon.net>:
Hi all...
I created a directory, on my RH 9.0 (2.4.20) Linux server, that I would like to share with other computers on our LAN. I have smb and nmb running and I can see the share from a MS windows 2000 box. When I try to map the drive and click on the remote folder name (\\linux-hostname\share-name), it asks me to log on to the Linux server (I'm using security = share in /etc/samba/smb.conf). When I enter my username/password pair, it tells me that they're invalid. I have identical usernames & passwords on both boxes and I'm not encrypting the usernames and passwords...yet. I'm using version samba-2.2.7a-8.9.0 for samba-common, samba-client and samba itself.
What am I missing?
Thanks, Chuck
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (6)
-
Aramico
-
Charles R. Anderson
-
Chuck Homic
-
Chuck Noyes
-
Matt Higgins
-
Mike Frysinger