Re: [Samba] Password problem

2012-05-31 Thread Jaap Winius

Quoting Willy Offermans wi...@offermans.rompen.nl:


What do you mean with ``connect to the Samba server
in the usual fashion''?


Sorry for not being more specific. By the usual fashion I meant  
using smbpasswd to make an account on the server that has the same  
name, password and workgroup as on the workstation.


Quoting Jaap Winius jwin...@umrk.nl:

... They said to fill in a name and password for the server every  
time we needed to access the Windows share.


Luckily, this description is not accurate. I eventually discovered  
that I could map a network drive by making use of the Connect using a  
different user name option. It's stupid, but I thought Samba didn't  
support this and that it was always necessary to have a Samba account  
with the same name and password combination as the user's Windows  
account. That's simply not true.


My wrong impression, formed many years ago, was based on that option's  
single limitation: it doesn't work when the user name of the Windows  
account is the same and only the password is different. It really does  
require that you Connect using a different user name. Doh!


Quoting Jorell jore...@fastmail.net:

Isn't there a check box on windows for mapping a network drive  
Connect using different credentials?


This would have led me to the solution if I hadn't thought of it  
myself. Thanks very much!



As for samba tricks, give the machine a static IP or a reserved
IP and allow write access from only that IP?


Already taken care of.

Quoting Moray Henderson moray.hender...@ict-software.org:


If you have access to the command prompt or the ability to create batch
files, you could try net use commands.


Good idea, but it looks like Esaote made sure those options are not available.

Thanks for all your support!

Cheers,

Jaap
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Password problem

2012-05-22 Thread Moray Henderson
 From: Jorell [mailto:jore...@fastmail.net]
 Sent: 21 May 2012 02:39
 
 On 5/18/2012 11:06 AM, Jaap Winius wrote:
  Hi folks,
 
  My client and I are having a problem getting a portable Esaote
  ultrasound machine to connect to a Samba server. The unit has an
  integrated laptop with a Windows XP version that can hardly be
 modified.
  Upon delivery the vendor only changed the user name and workgroup for
  us. When I asked for the user password to make a matching Samba
  account, the vendor refused because they use a key on a USB stick for
  that. They said to fill in a name and password for the server every
  time we needed to access the Windows share.
 
  So far I've experimented with the Samba map to guest and guest
  account options, which should work, but I'd really like to see this
  machine connect to the Samba server in the usual fashion.
 
  Does anyone have any suggestions? Any workarounds, or hacks that I
  might try?
 
  Thanks,
 
  Jaap
 
 Isn't there a check box on windows for mapping a network drive Connect
 using different credentials?
 Then every time the machine tries connecting to the share it should be
 using the credentials provided for the mapped drive.
 
 Another option would be to reset the administrator password on the XP
 machine, google: ntpasswd.
 
 
 As for samba tricks, give the machine a static IP or a reserved IP and
 allow write access from only that IP?

If you have access to the command prompt or the ability to create batch
files, you could try net use commands.


Moray.
To err is human; to purr, feline.





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Password problem

2012-05-20 Thread Willy Offermans
Hello Jaap,

On Fri, May 18, 2012 at 08:06:22PM +0200, Jaap Winius wrote:
 Hi folks,
 
 My client and I are having a problem getting a portable Esaote
 ultrasound machine to connect to a Samba server. The unit has an
 integrated laptop with a Windows XP version that can hardly be
 modified. Upon delivery the vendor only changed the user name and
 workgroup for us. When I asked for the user password to make a
 matching Samba account, the vendor refused because they use a key on
 a USB stick for that. They said to fill in a name and password for
 the server every time we needed to access the Windows share.
 
 So far I've experimented with the Samba map to guest and guest
 account options, which should work, but I'd really like to see this
 machine connect to the Samba server in the usual fashion.
 
 Does anyone have any suggestions? Any workarounds, or hacks that I might try?
 
 Thanks,
 
 Jaap
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba

What do you mean with ``connect to the Samba server in the usual fashion''?

I guess you want the XP client to be a member of the samba domain. Isn't
it? For that, you need to have the rights on the XP client to make it a
member of the samba domain (usually admin rights). Without these rights, it
will be extremely hard to achieve your goal(s).

-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,

Willy

*
 W.K. Offermans
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Password problem

2012-05-20 Thread Jorell

On 5/18/2012 11:06 AM, Jaap Winius wrote:

Hi folks,

My client and I are having a problem getting a portable Esaote
ultrasound machine to connect to a Samba server. The unit has an
integrated laptop with a Windows XP version that can hardly be modified.
Upon delivery the vendor only changed the user name and workgroup for
us. When I asked for the user password to make a matching Samba account,
the vendor refused because they use a key on a USB stick for that. They
said to fill in a name and password for the server every time we needed
to access the Windows share.

So far I've experimented with the Samba map to guest and guest
account options, which should work, but I'd really like to see this
machine connect to the Samba server in the usual fashion.

Does anyone have any suggestions? Any workarounds, or hacks that I might
try?

Thanks,

Jaap


Isn't there a check box on windows for mapping a network drive Connect 
using different credentials?
Then every time the machine tries connecting to the share it should be 
using the credentials provided for the mapped drive.


Another option would be to reset the administrator password on the XP 
machine, google: ntpasswd.



As for samba tricks, give the machine a static IP or a reserved IP and 
allow write access from only that IP?


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Re: Samba password problem when in domain

2009-01-26 Thread Koen Vermeer
Koen Vermeer k.vermeer at i-optics.net writes:

 In our network, I have set up a samba server in a workgroup. We're now
 migrating to a domain, using SBS 2003. When I locally login on XP and
 access the samba server, it works just fine. But, when I login on the
 domain and then try to access the same samba box, it doesn't accept my
 password.

An extra observation: When I login on the domain as another user and then
try to access the samba server as the original user, it does accept my
password.

Best,
Koen

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Password problem

2007-12-14 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Check the manual for the bad user directive.

Prakash Hallalli wrote:
 Hello 
   I have configured samba on CentOS-5, when i was logging from client side it 
 con't ask password,it has loged in to Anonymous user.I configured user 
 mode. I am using linux (serve) to linux (client), but i should avoid 
 Anonymous login. What i should do?.I did this type configuration what i 
 should add. 
   
 1) The contents of /etc/samba/smb.conf file as follows,
  
  [global]
 workgroup = MYGROUP
 Netbios name = prakash
 server string = Samba Server
 security = user
 encrypt passwords = yes
 smb password file = /etc/samba/smbpasswd
   hosts allow = 192.168.0. 192.168.2. 127.
  
 [data]
comment = Mary's and Fred's stuff
path = /data
read only = NO
valid users = ravi
writable = yes
create mask = 0644
directory mask = 0755
 
 2) I set smbpassword for ravi user.
 
 # grep ravi /etc/samba/smbpasswd 
 
 ravi:501:A81321B5A2C540EAAAD3B435B51404EE:BAD430DE03935B5C1FCBDAC1C028BD4C:[U 
  ]:LCT-475F93FC:
 
 
 #chmod 600 /etc/samba/smbpasswd 
 
 # smbstatus 
 
 Samba version 3.0.23c-2
 PID Username  Group Machine
 ---
 
 Service  pid machine   Connected at
 ---
 
 No locked files
 
  I tried to find answer in some mailing lists but i couldn't get, plz 
 help me.
  
 Thanks and Regards,
 Prakash.

 -
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it 
 now.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYq+Tmb+gadEcsb4RAltpAKDDUbK6uqg9wrlJIDurV397e4iDegCaAr3Y
WC/mFq9dZ3O0tFqT3FQdNpE=
=WJZb
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba