MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Two things... how can I share out my home dir just for one user so Windows machines can see it? I did it before in Mandrake 10, but in 2006 I couldn't get it to work and in 2007 came thing.
From the Mandriva machine when I go into smb2k double dlick on one of the XP machines I get NT_STATUS_LOGON_TYPE_NOT_GRANTED.
You know what a comically stupid UI Windows is. Just because a command is useful, doesn't mean you should expect to find that command in a reasonable place, does it?
Try "[Start], Run, secpol.msc".
Which, I believe, is precisely what the link suggested that you do in the first place.
Now ... whether or not that actually SOLVES the problem .. is a completely different question.. Because Windows isn't just a stupid UI. It's also a comically stupid OS. The underlying cause can be any of a zillion things, each unlikelier than the next.
Anyway, please check the "security policy" entries as suggested in the link. Be sure to reboot after changing your settings.
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
You'll also have to make sure that the directory that you want to be shared is listed in the smb.conf file with all of the corrseponding entries. Then you will have to make sure that the linux users/groups all have the correct permissions. Then make sure that the Windows users and the linux users are all sync'd up so that Samba will know which Windows users are which Linux/Samba users. Restart your windows machines, restart Samba and you should be good to go.
You know what a comically stupid UI Windows is. Just because a command is useful, doesn't mean you should expect to find that command in a reasonable place, does it?
Try "[Start], Run, secpol.msc".
Which, I believe, is precisely what the link suggested that you do in the first place.
Now ... whether or not that actually SOLVES the problem .. is a completely different question.. Because Windows isn't just a stupid UI. It's also a comically stupid OS. The underlying cause can be any of a zillion things, each unlikelier than the next.
Anyway, please check the "security policy" entries as suggested in the link. Be sure to reboot after changing your settings.
And good luck!
fromt he article:
Code:
There seemed to be two changes I had to make. First,
Security Options - Network Access: Sharing and Security for local accounts
was set to 'Guest Only - local users authenticate as guest'. It needed to be changed to 'Classic - local users authenticate as themselves.' Secondly,
User Rights Assignment - Access this computer from the network
Needs to include the user you're trying to login as. This was blank in my settings.
]
The second part: there is no user rights assignment in there.
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344
Rep:
If I understand what you are trying to do (allow Samba users access to someone's home folder other than the Linux user so named after) then yes, you will have to list it in the smb.conf and set up file permissions (possibly with the group setting) and make sure that the group has access to the needed files. If you don't want them to have access to all the files then just don't set up the group permission. You can also tweak it down so that any file or directory they generate will have to have certain permissions, etc.
Otherwise, then the Windows user that corresponds to a Linux user will have access to their home folder by default.
If I understand what you are trying to do (allow Samba users access to someone's home folder other than the Linux user so named after) then yes, you will have to list it in the smb.conf and set up file permissions (possibly with the group setting) and make sure that the group has access to the needed files. If you don't want them to have access to all the files then just don't set up the group permission. You can also tweak it down so that any file or directory they generate will have to have certain permissions, etc.
Otherwise, then the Windows user that corresponds to a Linux user will have access to their home folder by default.
Hope that helps!
Yes, I understand. The users on windows and Linux sides are exactly the same.
But for now I'm trying to access WIndows shared on trhe linux side.
We'll cross that other bridge when the time comes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.