Re: [Samba] SAMBA implementation for DOS ?
Hi, thank you all for answers. @Ged and Neal, yes - I considered using DOSBox and/or DOSEMU. This is solution that I will keep away from. The true is that with DOSBox I dont even need to care about network configuration and there is enough memory to run required application. The thing is that my Clipper/dBase application is located on Linux server and shared with SAMBA. 8 nodes (PCs/workstations) are connected to that share. If I use DOSbox, then DOSbox node will always overwrite its changes over dBase/database. Which will erase changes done by other nodes. VirtualBox: as I have written - I have 8 nodes (PCs/workstations). Each of them needs to communicate to Linux/Samba server where application is shared. DOS must have samba client. VB wont help that way. However I do my tests with FreeDOS inside of VirtualBox. @Marc - yes, Im playing around that. So far, on the FreeDOS I have managed to get 485KB of free conventional memory. Application I need to run requires little bit above 500KB. MS Client take most of it... nightmare :( One last chance might be NFS client for DOS... But I was just hoping that there is some old/discontinued Samba project for DOS. BR, czezz Dnia 8 maja 2013 0:18 Neal Murphy lt;neal.p.mur...@alum.wpi.edugt; napisał(a): On Tuesday, May 07, 2013 05:57:13 PM G.W. Haywood wrote: gt; Hi there, gt; gt; On Tue, 7 May 2013 czezz wrote: gt; gt; I use FreeDOS with MS Client to map a network drive. However MS gt; gt; Client is a memory hog and prevents me to run all applications I gt; gt; need. Therefore I would like to ask here is there SAMBA gt; gt; implementation for DOS ? gt; gt; Have you considered using DOSBox on a Linux machine? Then you can do gt; whatever you want with drives, mapping, NAS, or whatever. I use it a gt; lot for an old application that I wrote over twenty years ago, it does gt; everything that I need. gt; gt; Alternatively you could try VirtualBox, which will let you do similar gt; things with drives but I don't know how flexible it is. To extend this concept a little, mayhap czezz could run each DOS app in a separate VM or separate DOSBox. Then he wouldn't need to worry about RAM. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SAMBA implementation for DOS ?
Hello Lukas, thank you for reply. Well, simply Im looking for SAMBA Client for DOS (client that allows me to map share as a drive.) BR, czezz Dnia 7 maja 2013 14:33 Lukas Gradl lt;samba@ssn.atgt; napisał(a): Zitat von czezz lt;cz...@o2.plgt;: gt; Hello Samba users, gt; I use FreeDOS with MS Client to map a network drive. gt; However MS Client is a memory hog and prevents me to run all gt; applications I need. gt; Therefore I would like to ask here is there SAMBA implementation for DOS ? What do you mean by that? You're looking for a SMB-Client implementation? Samba is a SMB/CIFS Server... regards Lukas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SAMBA implementation for DOS ?
Hello Marc, thank you for reply. I didnt mention that I googled a lot before this post but - yes - I know that site. The only solution that worked for me is MS Client, but this one takes too much memory. @LukasI dont mind for the recent version. My Samba server is very old - version is samba-2.2.12.I need anything that I can map network share and still have some reasonable amount of conventional mem :( BR,czezz It doesn't sound like one has been developed that's compatible withrecent (i.e. within the last decade) versions of the protocol: Dnia 7 maja 2013 17:49 Marc Muehlfeld lt;sa...@marc-muehlfeld.degt; napisał(a): Hello czezz, Am 07.05.2013 15:33, schrieb czezz: gt; Well, simply Im looking for SAMBA Client for DOS gt; (client that allows me to map share as a drive.) I haven't used DOS in a network environment for a long time, so I can't recommend anything. But Google gave me this page: http://www.jacco2.dds.nl/samba/dos.html Maybe you find there something usefull. Regards Marc -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] SAMBA implementation for DOS ?
Hello Samba users, I use FreeDOS with MS Client to map a network drive. However MS Client is a memory hog and prevents me to run all applications I need. Therefore I would like to ask here is there SAMBA implementation for DOS ? BR, czezz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Mounting DOSBOX on a remote share
Hello again, it seems that it is somehow related to SAMBA. If I add options noserverino and directio to smbmount then problem is partly solved. I share an old dBase/Clipper program with Samba. This program is used by multiple WinXP,Vista hosts simultaneously. DOSbox can see CIFS/SMB share. It can run the program and use database. New entries added to DB by other hosts appears also at Dosbox (that didnt happend without directio). However, if I create eg. a simple txt file, DOSbox will not see that file (at lease cant list it). But it can display content of that txt file. Any ideas why it is like this ? BR, czezz Dnia 13 września 2012 15:01 czezz lt;cz...@o2.plgt; napisał(a): It is probably not strictly related to SAMBA itself but let me try to ask you for advice. Using smbmount I have mounted one of smb/cifs share to /root/test. This share has RW access and no authentication is required. Now, under DOSBox, whenever I try to mount /root/test I get this error (command sent under DOSBox: mount c /root/test). Directory /root/test doesn't exist. Any other directories, which are not smb/cifs I can easly mount. Moreover: I have tried to do this same operation under WinXP and it just works. Does anyone know how to fix it or what is wrong ? Best regards, czezz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Mounting DOSBOX on a remote share
It is probably not strictly related to SAMBA itself but let me try to ask you for advice. Using smbmount I have mounted one of smb/cifs share to /root/test. This share has RW access and no authentication is required. Now, under DOSBox, whenever I try to mount /root/test I get this error (command sent under DOSBox: mount c /root/test). Directory /root/test doesn't exist. Any other directories, which are not smb/cifs I can easly mount. Moreover: I have tried to do this same operation under WinXP and it just works. Does anyone know how to fix it or what is wrong ? Best regards, czezz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] SAMBA weird situation
No its not a matter of hidden files. Each file has -rwxr--r-- and belong to guest account smbuser But permission doesnt matter here. I can set chmod 777 * and still wont see all files. Share is set to ba accessable to everyone with no authentication. Best regards, czezz Dnia 25 października 2010 4:29 Gaiseric Vandal gaiseric.van...@gmail.com napisał(a): In windows, do you change the folder settings so that any hidden files and system files are displayed. In Linux, are you using ls -a to show any hidden files? In Linux/unix, if you have r rights on the parent directory you should be able to see all files with ls -a, even the hidden ones (which have a . in front of the file name.) Depending on how samba is configured the x bits on Linux may be used as the DOS hidden or system flags. What version of Linux? What file system on linux? It looks like it is probably old enough that you are NOT using extended file systems acl's (beyond the basic ugo and rwx.) What version of Windows? Can you recreate this with non dbase files? -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of czezz Sent: Sunday, October 24, 2010 3:53 PM To: samba@lists.samba.org Subject: [Samba] SAMBA weird situation Samba: Version 2.2.10 Kernel: 2.4.31 There is share on the server (for DBASE app) with following config: comment = zwierzaki 2.5.04N path = /pub/zwierz/ force user = smbguest read only = No guest only = Yes guest ok = Yes dos filetime resolution = Yes I have found weird situation: - not every file in shared dir is visible under windows but all files are visable under unix - file created under linux is not visable under windows - file created under windows is not visable under linux I know it sounds weird, like DBASE shouldn work... but it does. I will try to restart server on maintenance window as the uptime is 223d 11:11:17.69 - maybe it helps. Any other ideas what may be wrong ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] SAMBA weird situation
Samba: Version 2.2.10 Kernel: 2.4.31 There is share on the server (for DBASE app) with following config: comment = zwierzaki 2.5.04N path = /pub/zwierz/ force user = smbguest read only = No guest only = Yes guest ok = Yes dos filetime resolution = Yes I have found weird situation: - not every file in shared dir is visible under windows but all files are visable under unix - file created under linux is not visable under windows - file created under windows is not visable under linux I know it sounds weird, like DBASE shouldn work... but it does. I will try to restart server on maintenance window as the uptime is 223d 11:11:17.69 - maybe it helps. Any other ideas what may be wrong ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: Re: [Samba] SAMBA authentication ?
That's it! public need to be set as no Thanks for your help. Wiadomość Oryginalna Od: Sadique Puthen [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: John Drescher [EMAIL PROTECTED], samba@lists.samba.org Data: 4 lutego 2008 12:38 Temat: Re: [Samba] SAMBA authentication ? czezz wrote: smb.conf attached. security is set to SHARE. Otherwise I will not be able to have /pub which is accessable for everyone. From man smb.conf public This parameter is a synonym for guest ok. guest ok (S) If this parameter is yes for a service, then no password is required to connect to the service. Privileges will be those of the guest account. This paramater nullifies the benifits of setting restrict anonymous = 2 See the section below on security for more information about this option. Default: guest ok = no So as long as you set public = Yes for share /pub2, you wouldn't be prompted for a username and password. The other option is to use security = user and set map to guest parameter for /pub share. --Sadique Thanks, Czezz Wiadomość Oryginalna Od: Sadique Puthen [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: John Drescher [EMAIL PROTECTED], samba@lists.samba.org Data: 4 lutego 2008 8:37 Temat: Re: [Samba] SAMBA authentication ? czezz wrote: Wiadomość Oryginalna Od: John Drescher [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: samba@lists.samba.org Data: 3 lutego 2008 19:59 Temat: Re: [Samba] SAMBA authentication ? On Feb 3, 2008 11:38 AM, czezz [EMAIL PROTECTED] wrote: I have set up samba and configured resources /pub for pcguest account and it works perfect (read/write access for for everyone. No authentication is needed) Now, I want to set new resource called /pub2 where access is limited only for user userx. What I did: I created userx in /etc/passwd and his home dir in /pub2 I created userx using smbpasswd Both users has this same passwd. In /etc/samba/smb.conf added: [pub2] path = /pub2 volume = userx comment = Programy userx public = yes writable = yes share modes = yes read only = no create mode = 0775 directory mode = 0775 oplocks = True level2 oplocks = True After SAMBA restart: sitting on WindowsXP box I am able to see /pub and /pub2 resources. I can even browse /pub2 but I am unable to create any file or dir. This is expected behavior... but why the heck I cant have way to log on to user userx account ? Did you check the unix permissions of the folder you are sharing? Does userx have rw permissions? John Ammm... John, whats the point of unix permissions? I can browse content of /pub2 from any workstation on LAN. The problem is that when I click on PUB2 resources I should get window to put login and password - why I dont have it ? Are you using security=share or user? Please post your smb.conf without comments. --Sadique here is ls [EMAIL PROTECTED]:~# ls -l /home/ drwxr-xr-x 3 pcguest pcguest 4096 2008-01-30 21:30 pub/ drwxr-xr-x 4 userx users4096 2008-02-02 18:33 pub2/ What is important !!! Windows Workstations from witch I try to login hasnt account userx. The Windows enviroment is only workgroup. And each station has its own login. Each time someone want to access /pub2 then window asking for login and passwd should apear. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] SAMBA authentication ?
smb.conf attached. security is set to SHARE. Otherwise I will not be able to have /pub which is accessable for everyone. Thanks, Czezz Wiadomość Oryginalna Od: Sadique Puthen [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: John Drescher [EMAIL PROTECTED], samba@lists.samba.org Data: 4 lutego 2008 8:37 Temat: Re: [Samba] SAMBA authentication ? czezz wrote: Wiadomość Oryginalna Od: John Drescher [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: samba@lists.samba.org Data: 3 lutego 2008 19:59 Temat: Re: [Samba] SAMBA authentication ? On Feb 3, 2008 11:38 AM, czezz [EMAIL PROTECTED] wrote: I have set up samba and configured resources /pub for pcguest account and it works perfect (read/write access for for everyone. No authentication is needed) Now, I want to set new resource called /pub2 where access is limited only for user userx. What I did: I created userx in /etc/passwd and his home dir in /pub2 I created userx using smbpasswd Both users has this same passwd. In /etc/samba/smb.conf added: [pub2] path = /pub2 volume = userx comment = Programy userx public = yes writable = yes share modes = yes read only = no create mode = 0775 directory mode = 0775 oplocks = True level2 oplocks = True After SAMBA restart: sitting on WindowsXP box I am able to see /pub and /pub2 resources. I can even browse /pub2 but I am unable to create any file or dir. This is expected behavior... but why the heck I cant have way to log on to user userx account ? Did you check the unix permissions of the folder you are sharing? Does userx have rw permissions? John Ammm... John, whats the point of unix permissions? I can browse content of /pub2 from any workstation on LAN. The problem is that when I click on PUB2 resources I should get window to put login and password - why I dont have it ? Are you using security=share or user? Please post your smb.conf without comments. --Sadique here is ls [EMAIL PROTECTED]:~# ls -l /home/ drwxr-xr-x 3 pcguest pcguest 4096 2008-01-30 21:30 pub/ drwxr-xr-x 4 userx users4096 2008-02-02 18:33 pub2/ What is important !!! Windows Workstations from witch I try to login hasnt account userx. The Windows enviroment is only workgroup. And each station has its own login. Each time someone want to access /pub2 then window asking for login and passwd should apear. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA authentication ?
I have set up samba and configured resources /pub for pcguest account and it works perfect (read/write access for for everyone. No authentication is needed) Now, I want to set new resource called /pub2 where access is limited only for user userx. What I did: I created userx in /etc/passwd and his home dir in /pub2 I created userx using smbpasswd Both users has this same passwd. In /etc/samba/smb.conf added: [pub2] path = /pub2 volume = userx comment = Programy userx public = yes writable = yes share modes = yes read only = no create mode = 0775 directory mode = 0775 oplocks = True level2 oplocks = True After SAMBA restart: sitting on WindowsXP box I am able to see /pub and /pub2 resources. I can even browse /pub2 but I am unable to create any file or dir. This is expected behavior... but why the heck I cant have way to log on to user userx account ? How it works ? What am I doin wrong ? Used: Slackware 12, Samba 3.0.25b (from package). Thanks for any help, Czezz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] SAMBA authentication ?
Wiadomość Oryginalna Od: John Drescher [EMAIL PROTECTED] Do: czezz [EMAIL PROTECTED] Kopia do: samba@lists.samba.org Data: 3 lutego 2008 19:59 Temat: Re: [Samba] SAMBA authentication ? On Feb 3, 2008 11:38 AM, czezz [EMAIL PROTECTED] wrote: I have set up samba and configured resources /pub for pcguest account and it works perfect (read/write access for for everyone. No authentication is needed) Now, I want to set new resource called /pub2 where access is limited only for user userx. What I did: I created userx in /etc/passwd and his home dir in /pub2 I created userx using smbpasswd Both users has this same passwd. In /etc/samba/smb.conf added: [pub2] path = /pub2 volume = userx comment = Programy userx public = yes writable = yes share modes = yes read only = no create mode = 0775 directory mode = 0775 oplocks = True level2 oplocks = True After SAMBA restart: sitting on WindowsXP box I am able to see /pub and /pub2 resources. I can even browse /pub2 but I am unable to create any file or dir. This is expected behavior... but why the heck I cant have way to log on to user userx account ? Did you check the unix permissions of the folder you are sharing? Does userx have rw permissions? John Ammm... John, whats the point of unix permissions? I can browse content of /pub2 from any workstation on LAN. The problem is that when I click on PUB2 resources I should get window to put login and password - why I dont have it ? here is ls [EMAIL PROTECTED]:~# ls -l /home/ drwxr-xr-x 3 pcguest pcguest 4096 2008-01-30 21:30 pub/ drwxr-xr-x 4 userx users4096 2008-02-02 18:33 pub2/ What is important !!! Windows Workstations from witch I try to login hasnt account userx. The Windows enviroment is only workgroup. And each station has its own login. Each time someone want to access /pub2 then window asking for login and passwd should apear. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba