Koozali.org: home of the SME Server

How do i set up a local network share with no user rights?

gizmo911uk

How do i set up a local network share with no user rights?
« on: September 30, 2005, 01:21:42 AM »
:-D  Hi All

Am a newbie to linux

Just successfully set up SME server, can do away with my Cobalt Qube 3 now, cos this OS can do everything my Qube could do, and its free  ;-) .

Just wondering is possible to set up a local network share that has unrestricted file sharing access. By this i mean no user privileges/rights, etc.. etc.. etc.. just a free for all area.

I want an area that i can set up as a free for all area so that i can map all my machines to without the hassle of passwords etc. How do i go about this, keeping in mind my linux knowledge is pretty minimal  :-? .

Many Thanks in advance.

Offline meanpenguin

  • ****
  • 138
  • +0/-0
How do i set up a local network share with no user rights?
« Reply #1 on: September 30, 2005, 06:52:28 PM »
Yes you can.

Just create an IBay,
   set the group to public
   set permissions to "write group, read group"

edward

gizmo911uk

How do i set up a local network share with no user rights?
« Reply #2 on: September 30, 2005, 11:44:45 PM »
I done that but when i double click to open my SMEsever in MS network neighbourhood it keeps asking me to enter a user name and password, and for some reason even when i select the option for win xp to save my username/password it still keeps on asking me for it when i restart my pc.

Offline del

  • *
  • 765
  • +0/-0
How do i set up a local network share with no user rights?
« Reply #3 on: October 01, 2005, 09:48:28 AM »
Is the MS user set as a user (with the same password) on the SME server? You get your problem normally because the user logged on the MS workstation is not a user on the server. What version of Windows are you using?
Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

gizmo911uk

How do i set up a local network share with no user rights?
« Reply #4 on: October 01, 2005, 03:33:32 PM »
Am using win xp pro, only 1 user (me) and no password.

That could be the problem, but i don't really want a password for my home pc as its only me that uses it.

Does win xp pro set a default password if you don't specify one, so i could use that password for my sme server user. Or can i set up a user on the sme server with no password?

Offline del

  • *
  • 765
  • +0/-0
How do i set up a local network share with no user rights?
« Reply #5 on: October 01, 2005, 08:43:18 PM »
Short answer is no, SME will not let you leave the password blank. Fortunatly you can set a password for the XP user (in XP) and still tell it to logon without entering it manually!  ;-)  See this link for details:
http://windowsxp.mvps.org/Autologon.htm
The second option, using the powertoy TweakUI is the easiest. If you download TweakUI from MS (or search google, there are loads of places to get it) then go here:
http://www.kellys-korner-xp.com/xp_tweaks.htm
you can download a .vbs file that will put it in the XP control panel,  much easier to use from there. I hope this helps. Let me know how you get on.
Del  :pint:
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline MSmith

  • *
  • 675
  • +0/-0
How do i set up a local network share with no user rights?
« Reply #6 on: October 02, 2005, 11:30:44 PM »
Actually SME *will* let you leave the password blank.  Here's how you do it, in SME 6:

http://forums.contribs.org/index.php?topic=24716.msg99090#msg99090

I haven't worked this out for SME 7 yet but when I do, I'll post it as I too see a use for unrestricted, no-password access to ibays.
...

gizmo911uk

How do i set up a local network share with no user rights?
« Reply #7 on: October 04, 2005, 01:23:27 AM »
Thanks for your replies, haven't had much time to fiddle around with it yet, hopefully this week.

MSmith - really interested in this, many thanks.

gizmo911uk

How do i set up a local network share with no user rights?
« Reply #8 on: October 22, 2005, 10:03:19 PM »
this issue is still haunting me, i have tried using tweekui but since my username in my winXP pc contains a capital letter, SME server has a dislike to it.  

Just another thought, would it be possible to create a new folder in the SME servers root directory and share it out as a free for all area, i could then still use usernames/passwords for ibays if i wanted to store more important info.
If so how? bearing in mind am new to linux.

Offline axessit

  • *****
  • 213
  • +0/-0
How do i set up a local network share with no user rights?
« Reply #9 on: October 24, 2005, 10:26:30 PM »
I had to modify the smb.conf file in the  /etc directory, rather than the templates-custom and it worked for me. Am using SME 6.0.1.

I had a client that I migrated from Red-hat to SME as I wanted to setup internet gateway, email and VPN-access - it's so easy with SME. They had an existing folder on their RH server with no password access but read/write provileges, so wanted to preserve the client experience - after all, they are car mechanics, not computer techs !!

Client machines are win98 & winXP.

Addes/modified the following as per the previous article reference.

guestOK (should be "yes")
mapToGuest (should be "bad user")
globals (add "null passwords = yes")

tandum

How do i set up a local network share with no user rights?
« Reply #10 on: October 27, 2005, 03:12:10 PM »
just write a batch file on the windows box and link it to startup on the windows menu.

something like :

net use x: \\servername\sharename  password /user:username

should map a share to the x: drive. Check windows help on net use if does want to work.

gizmo911uk

How do i set up a local network share with no user rights?
« Reply #11 on: October 27, 2005, 09:29:02 PM »
Thanks mate that worked a treat.

This is what i did if anyone wants to know:

Open up Notepad in windows, Type the following:

net use z: \\SMEserver\username password /user:username /persistent:yes

Save it as {filename}.bat , and then copy what is now the .bat file into the Start-up folder.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
z: = the drive letter you want to map to
SMEserver = SME Server Name
username = Your Usernmae
password = Password for username
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and jobs a gudn