Mounting Windows share w/o password
Hi ,
I found weird mount.cifs behavior . Having RHEL 5.6 . One Linix user successfully mount his Windows host share locally with the following command : #sudo /bin/mount -t cifs //windows-host-name/share-name mount_point -o username=domain-name/user1 Since in our LAN Windows hostname reminds Windows account ( 8 characters) another user – say user2 after listing existing mounts may easily guess Windows account and as a result successfully mount user1’s Windows share without password ! As user2 : ##sudo /bin/mount -t cifs //windows-host-name/share-name mount_point -o username=domain-name/user1 #Password: In both commands windows-host-name and share-name are the same Any ideas ? |
Look at the shares on the Windows side, are they the same? As in do they have the same share level permissions, file permissions. It could be that on one machine it's an open share and everyone is allowed to write to it but on the other the everyone built in group hasn't been added.
|
From Windows side everything looks fine .
Mount w/o password is possible ONLY if user1 already has mount point done .The same Windows hare is being used . |
You shouldn't re-post the same thread in another forum just because you haven't recieved a response.
I don't quite understand your last post, can you elaborate some more? |
Moderator response
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of Mounting to Windows share with domain user w/o password !?
|
All times are GMT -5. The time now is 10:18 AM. |