[Samba] crazy smbpasswd
help!im really confused, ... i created the user "Stealth" on my Linux redhat 7.3 machine and when i configure my smb.conf file, for path = /home/Stealth, the machine would show up in "Computers Near Me" on my other windoez 2000 machine, but would not accept any passwords to the [share], when i run smbpasswd -a Stealth i get this. getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (no :) getsmbfilepwent: malformed password entry (no :) getsmbfilepwent: malformed password entry (no :) getsmbfilepwent: malformed password entry (no :) add_smbfilepwd_entry: unable to open file. Failed to add entry for user Stealth. Failed to modify password entry for user Stealth also wheni try and mount a share it reports this [root@Nooblesse root]# mount -t smbfs //TBIRD/Programs /mnt/program_files/ INFO: Debug class all level = 2 (pid 23864 from pid 23864) added interface ip=192.168.1.101 bcast=192.168.1.255 nmask=255.255.255.0 Got a positive name query response from 192.168.1.100 ( 192.168.1.100 ) Password: 23864: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed please help, i have been reading the manuals and pdfs, and i just dont understand, please help -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba won't start
Le Jeudi 2 Janvier 2003 06:38, Peter Caitens a écrit : > I cant get SWAT to work on my Mandrake 9.0 box either. I access my Samba > configuration using the Webmin interface. > > Peter > > | -Original Message- > | From: George (maDDogg) Berry [mailto:[EMAIL PROTECTED]] > | Sent: Thursday, 2 January 2003 3:00 pm > | To: [EMAIL PROTECTED] > | Subject: [Samba] Samba won't start > | > | > | Happy NewYear to you > | When I try to activate samaba from the web browser, I get an > | error message > | stating it can't find :901. I'm using ManDrake 9.0. When I > | goto the services > | area, it won't let me start swat when I click onto "starting > | a swat service". > | It says that swat can't strat this way. > | The bottom line is , I can't get access to the swat. > | Can you offer any help for this problem? > | Thanx for listening > | George > | -- > | To unsubscribe from this list go to the following URL and read the > | instructions: http://lists.samba.org/mailman/listinfo/samba Hmmm... 1/ check if samba-swat is properly installed (type "rpm -q samba-swat") 2/ in /etc/xinetd.d/swat, check the "only_from" line. It should read "only_from = 127.0.0.1" Then try again connecting to swat... Happy new year 2003! Cheers -- Sylvestre Taburet - Project Manager - 1024D/030E1B7E Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE +33 (1) 40 41 00 41 - http://www.mandrakelinux.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba won't start
I gave up on SWAT when I found Webmin worked pretty much the same. I cant remember if I tried the command line to start it or not. As far as I can remember I did everything the docs I found said and it still wouldnt run. I have my Samba configured and runing as a PDC for both Win2K and WinXP boxes. All of my configuration was done through straight editing of smb.conf and using Webmin. Webmin does a very good job. Disclaimer: I am am a linux newbie and still getting used to it. Once I got something running I tend not to play with it too much in case it breaks and I cant get it back :-) | -Original Message- | From: Ryan oberto [mailto:[EMAIL PROTECTED]] | Sent: Thursday, 2 January 2003 5:39 pm | To: [EMAIL PROTECTED] | Subject: Re: [Samba] Samba won't start | | | hi | | can you start swat and samba from the command line | | | On Thu, 2 Jan 2003 15:38:25 +1000 | Peter Caitens <[EMAIL PROTECTED]> wrote: | | > I cant get SWAT to work on my Mandrake 9.0 box either. I | access my Samba | > configuration using the Webmin interface. | > | > Peter | > | > | -Original Message- | > | From: George (maDDogg) Berry [mailto:[EMAIL PROTECTED]] | > | Sent: Thursday, 2 January 2003 3:00 pm | > | To: [EMAIL PROTECTED] | > | Subject: [Samba] Samba won't start | > | | > | | > | Happy NewYear to you | > | When I try to activate samaba from the web browser, I get an | > | error message | > | stating it can't find :901. I'm using ManDrake 9.0. When I | > | goto the services | > | area, it won't let me start swat when I click onto "starting | > | a swat service". | > | It says that swat can't strat this way. | > | The bottom line is , I can't get access to the swat. | > | Can you offer any help for this problem? | > | Thanx for listening | > | George | > | -- | > | To unsubscribe from this list go to the following URL and read the | > | instructions: http://lists.samba.org/mailman/listinfo/samba | > | | > | > -- | > To unsubscribe from this list go to the following URL and read the | > instructions: http://lists.samba.org/mailman/listinfo/samba | > | | | | | Ryan Oberto | [EMAIL PROTECTED] | [EMAIL PROTECTED] | +27 82 877 3002 | | "Live the life you love | Love the life you live" | | Escape the "Gates" of hell run linux | | | -- | To unsubscribe from this list go to the following URL and read the | instructions: http://lists.samba.org/mailman/listinfo/samba | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba won't start
hi can you start swat and samba from the command line On Thu, 2 Jan 2003 15:38:25 +1000 Peter Caitens <[EMAIL PROTECTED]> wrote: > I cant get SWAT to work on my Mandrake 9.0 box either. I access my Samba > configuration using the Webmin interface. > > Peter > > | -Original Message- > | From: George (maDDogg) Berry [mailto:[EMAIL PROTECTED]] > | Sent: Thursday, 2 January 2003 3:00 pm > | To: [EMAIL PROTECTED] > | Subject: [Samba] Samba won't start > | > | > | Happy NewYear to you > | When I try to activate samaba from the web browser, I get an > | error message > | stating it can't find :901. I'm using ManDrake 9.0. When I > | goto the services > | area, it won't let me start swat when I click onto "starting > | a swat service". > | It says that swat can't strat this way. > | The bottom line is , I can't get access to the swat. > | Can you offer any help for this problem? > | Thanx for listening > | George > | -- > | To unsubscribe from this list go to the following URL and read the > | instructions: http://lists.samba.org/mailman/listinfo/samba > | > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > Ryan Oberto [EMAIL PROTECTED] [EMAIL PROTECTED] +27 82 877 3002 "Live the life you love Love the life you live" Escape the "Gates" of hell run linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba won't start
I cant get SWAT to work on my Mandrake 9.0 box either. I access my Samba configuration using the Webmin interface. Peter | -Original Message- | From: George (maDDogg) Berry [mailto:[EMAIL PROTECTED]] | Sent: Thursday, 2 January 2003 3:00 pm | To: [EMAIL PROTECTED] | Subject: [Samba] Samba won't start | | | Happy NewYear to you | When I try to activate samaba from the web browser, I get an | error message | stating it can't find :901. I'm using ManDrake 9.0. When I | goto the services | area, it won't let me start swat when I click onto "starting | a swat service". | It says that swat can't strat this way. | The bottom line is , I can't get access to the swat. | Can you offer any help for this problem? | Thanx for listening | George | -- | To unsubscribe from this list go to the following URL and read the | instructions: http://lists.samba.org/mailman/listinfo/samba | -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba
howdie all i hope you enjoyed your xmass and new year well i was just wondering if this is possible i would like to use samba pdc with a acl, binded to 3 aliases for 3 c class networks with dhcp is this possible thanks Ryan Oberto [EMAIL PROTECTED] [EMAIL PROTECTED] +27 82 877 3002 "Live the life you love Love the life you live" Escape the "Gates" of hell run linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba won't start
Happy NewYear to you When I try to activate samaba from the web browser, I get an error message stating it can't find :901. I'm using ManDrake 9.0. When I goto the services area, it won't let me start swat when I click onto "starting a swat service". It says that swat can't strat this way. The bottom line is , I can't get access to the swat. Can you offer any help for this problem? Thanx for listening George -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing with CUPS & Samba...
On Wed, 1 Jan 2003, Brad wrote: > So this is on the client (Red Hat 8 box)? And do you have cups installed on > the client? And have you made any changes to the cupsd.conf file on the > client? Yes, on the client both client.conf and cupsd.conf are unhacked. While they were given by my distro, it looks like they are just the ones that come with the cups sources. > And did you tell it where the printer was? No, the broadcasts are sufficient. Server broadcasts are on by default. I can use the printer at work, suspend the laptop, resume at home, and within 30 seconds it realizes that the work server and printer have disappeared and the home server and printer have come to life. > I read that the server broadcasts > the printer availability, but it doesn't seem to work here. If the clients are on a different subnet from the server, you have to do some special stuff to either send unicast announcements to a list of clients on the other nets, or have a cups server on a gateway machine rebroadcast the real server's packets. > For example, are > you suggesting that I should be able to just start OpenOffice writer and send > a print job to the "genetic printer" (default) and it will know that there is > a CUPS server present and so send it to the server? It works for me (using LyX, Opera, etc) -- if the app can do "lpr filename" or "lp filename", the page will go to the printer which the server designates as the default. > Can you please post (or email) your cupsd.conf? I'll mail it separately. James F. Carter Voice 310 825 2897FAX 310 206 6673 UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555 Email: [EMAIL PROTECTED] http://www.math.ucla.edu/~jimc (q.v. for PGP key) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] New at Samba and need some help
I have been working in the networking industry for about 9 years but am new to the Samba World. I have a client that I have set up in the following manner: 1 Windows 2000 server acting as the Domain Controller. It is running wins and is being used to deal with the netbios resolution on the subnet for the main office. 2 Samba servers running Linux Mandrake 8.2 and Samba 2.2.7 in the remote offices being used to pass the netbios traffic to the WINS server in the main office. The traffic is being passed via tunnels that are permanently created between the cisco PIX firewalls located in all three offices. I am experiencing some instability in the WINS functionality and am not always successfull in logging in to the domain. I will include a copy of the global settings of the smb.conf file for both servers. The file is the same with the exception of the netbios names. The reason I am only including the global settings is that I have not made any changes or activated anything in the other sections. Any help in solving my problem would be greatly appreciated. [global] smb passwd file = /etc/samba/smbpasswd remote announce = 10.1.1.2 domain master = no domain logons = yes smb passwd file = /etc/samba/smbpasswd remote announce = 10.1.1.2 domain master = no domain logons = yes enhanced browsing = yes dns proxy = no encrypt passwords = yes workgroup = mhfcu server string = Samba Server for WINS resolution only local master = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 wins proxy = yes netbios name = nephiwins log file = /var/log/samba/log.%m remote browse sync = 10.1.1.2 wins support = false wins server = 10.1.1.2 default = global name resolve order = wins lmhosts bcast browse list = yes min wins ttl = 21600 max log size = 50 Thank You, Randy Morgan Samba config.rtf Description: Rich-Text-Format
Re: [Samba] NTLMv1 v. NTLMv2 ; more than one "identity" on a TCPconnection
Thank you Andrew (and others) for your insight on this. Happy new year all, peace and thanks, Joey. Andrew Bartlett wrote: > > On Tue, 2002-12-31 at 15:21, Joey Collins wrote: > > Hello, > > Two questions for you this evening. > > > > How do you tell the difference between NTLMv1-style authentication and > > NTLMv2 style? The CIFS dialect NT LM 0.12 does both(?), so does not > > appear in the NegProtRequest message (nor in the flags, near as I could > > tell). Do you ascertain this by examining the SessionSetupAndX > > message? If so, what parts? > > It's really lame - you look at the length of the NT response :-) > 24 > means NTLMv2 > > > Is it possible to have more than one CIFS "identity" on a TCP > > connection? For example, say I open a TCP connection, authenticate > > myself using NegProt/SessionSetupAndX/etc exchanges as user "foo" > > password "bar", can I also establish another identity (i.e., do another > > SessionSetupAndX exchange?) say, "hello" password "world" on the _same_ > > TCP connection? > > Yes, but doing a second session setup. It is done often, particularly > on Win2k Terminal Servers, where that new connection can access the > shares already opened by a previous connection! (But with the new > vuid's access rights). > > > This seems to be enforced on the client-side because if > > you try to connect to a share on a computer using a different identity, > > it complains saying already connected. But, nothing comes over the > > wire, so it is purely a client-internal decision. > > Yep - just to do with Windows internal password caching. > > > In the world of NTLM, > > would the same EncryptionKey be used to respond to the challenge? > > Exchanging another set of NegProt's is not allowed according to the SNIA > > spec. > > Correct. Or use 'extended security' in which case you might be able to > do another NLTMSSP exchange, and get a different challenge. > > > thanks so much, happy new year, and here's to wishing for a peaceful > > 2003. > > Indeed, > > Andrew Bartlett > > -- > Andrew Bartlett [EMAIL PROTECTED] > Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] > Student Network Administrator, Hawker College [EMAIL PROTECTED] > http://samba.org http://build.samba.org http://hawkerc.net > > >Name: signature.asc >signature.asc Type: application/pgp-signature > Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind
Hi all. Have been running samba fine for ages now, have started to play with winbind. Sad to say I am not having any luck in getting the winbind to work. Here is my winbind part of the smb.conf #Windbind Global Settings winbind separator = + winbind uid = 1-2 winbind gid = 1-2 winbind enum users = yes winbind enum groups = yes template shell = /bin/bash and here is what the log.winbind is saying Could not look up dc's for domain SPORTODDS [2003/01/02 12:59:59, 3] nsswitch/winbindd_cm.c:get_connection_from_cache(406) Could not open a connection to SPORTODDS for \PIPE\lsarpc (NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND) [2003/01/02 13:00:09, 1] nsswitch/winbindd_util.c:init_domain_list(144) Retrying startup domain sid fetch for SPORTODDS [2003/01/02 13:00:09, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(98) Could not look up dc's for domain SPORTODDS [2003/01/02 13:00:09, 3] nsswitch/winbindd_cm.c:get_connection_from_cache(406) Could not open a connection to SPORTODDS for \PIPE\lsarpc (NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND) [2003/01/02 13:00:19, 1] nsswitch/winbindd_util.c:init_domain_list(144) Retrying startup domain sid fetch for SPORTODDS [2003/01/02 13:00:19, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(98) Could not look up dc's for domain SPORTODDS [2003/01/02 13:00:19, 3] nsswitch/winbindd_cm.c:get_connection_from_cache(406) Could not open a connection to SPORTODDS for \PIPE\lsarpc (NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND Is anyone able to point me the right direction. Thanks Pete -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] preexec/postexec scripts
Happy New Year *, Hopefully someone will have a solution - or at least an explanation - for this: (root) preexec and postexec scripts included in smb.conf under [homes] are executed not once but numerous times when logging on from win2kSP2-clients which is annoying since I (am trying to) use them for preventing certain users from logging on more than once at a time. Thanks for your help. Hanno -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and OSX
How do I map OSX to Samba file shares? I'm not new to Samba but OSX is a puzzle. I can get the Mac OSX to see the Samba server but not the shares. Maybe I'm so hung up on the Windows "net use D: \\server\share" syntax I can see the forest for the trees. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How to map the Unix groups to NT domain groups?
Hi all, I'm quite new to Samba and I'm trying to setup a logon script which maps "Windows" drives to Samba shares. Now the problem is to detect if the current user is member of a specific Unix group to decide to execute a map or not. Server: Samba 2.2.5 on Suse Linux 8.1 Client: Win2k SP3 Where to find information about this subject? BR, Jacques-D. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Administrators
First of all Happy good yead to everyone! I have a question: How can I give Adminitrator privilege to a user of a samba domain with samba 3? It seems the the "domain admin group" option is disapeered. Bye Davide Parise [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Newbie Question
On Wed, 2003-01-01 at 14:23, Kevin Barry wrote: > I'm looking to set up Samba between a RH 8.0 computer and Win XP > machine. On the linux box when using the rpm gui interface it requests > that I install samba 2.5. I went ahead and installed version 2.7.2 but > received what seemed to signify conflicts with a ver 2.7.1. The services > running/available gui does not show samba as been available and when I > attempt to rpm uninstall the 2.7.2 samba I'm informed that it is not > installed. What should I do next? > If you want to use the redhat admin tools you must stick with the official redhat samba packages. probably they have 2.2.7 somewhere on their web pages If you don't care about the gui tools you can install the rpms from samba.org and use the command line tools to restart the services (/etc/init.d/samba restart) brad -- Bradley W. Langhorst <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Newbie Question
I'm attempting to install Samba to an existing RH 8 installation. The rpm gui installer is looking for ver 2.5. I d/led and installed the 2.7.2 install but received errors that seemed to indicate that 2.7.1 was installed. I then tried to uninstall the 2.7.2 rpm but was informed that it was not installed. When I check the services that are available Samba is not listed. What is my next move? Thanks. Kevin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Newbie Question
I'm looking to set up Samba between a RH 8.0 computer and Win XP machine. On the linux box when using the rpm gui interface it requests that I install samba 2.5. I went ahead and installed version 2.7.2 but received what seemed to signify conflicts with a ver 2.7.1. The services running/available gui does not show samba as been available and when I attempt to rpm uninstall the 2.7.2 samba I'm informed that it is not installed. What should I do next? Kevin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] virus mailing
On Wednesday 01 January 2003 02:15 am, Jim Morris honored me with this communique: > I agree with blocking attachments. > > The sad fact is that if you just ban a user email address that sent a > virus to the mailing list, you may be banning an innocent person! > > I have been seeing a LOT of 'virus removal' messages directed towards > my email address, saying that I sent an infected email to a person I > never even heard of. The sad fact is, many of these Outlook based > viruses forge the sender address using other addresses on the infected > computer. I have never used Outlook - all my email is read on either > Linux or Mac OS X. I don't even use Windows based email clients - maybe > Mozilla once in a blue moon those infected emails came from > someone who may have once received mail from me, who DOES run a virus > engine such as Outlook. > Precisely the problem! The "Klez" virus variants pick a name from the address book of the infected user and apply that to the "from" field, so the actual originator is disguised. Most of the many listservers I am subscribed to already ban attachments because too many viruses have been spread around accidentally. It is the easiest solution. Also, since I run Samba to allow Windows and Linux to get along, I only read this list (and most others) from my Linux box. Jay DeKing Thought for the day: "Practice safe computing. Delete Outlook, install a firewall/router and use *nix." -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Tape Drives
It might be preferable to back up your workstations to a share on the server (direct to disk), then include that share in your backup. Most recent versions of Windows have a backup utility included, though not necessarily installed by default. In Windows 98, you neet to add it via Add and Remove programs, windows setup tab. XP Home is purported to have it included on the CD. - Original Message - From: Nate Grissom To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 10:03 AM Subject: [Samba] Tape Drives Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom [EMAIL PROTECTED]
Re: [Samba] please answer ! need help ! samba team.
On Wed, 2003-01-01 at 21:24, teo wrote: > > But , if i key in the password i had set ( set by smbpasswd -root > which appears alright ) , its shows > Password: > session setup failed: ERRSRV - ERRbadpw i'd guess that your password is not what you think it is... try changing it on the server > HmWhat should i need to do ? I try to check it with the SWAT > ultility and its shows server 0879 on the passwd tab..which i > thought it is the correct password ! What went wrong ? I recommend using smbpasswd from the command line on the server to make the change. > I even try to smbclient my win 98 box when the win box 98 tiny > firewall is onit cant browse any even though the fire is set to > allow the samba server to browse...it works fine if the tinyfire wall > is offHm.i try it using another samb version 19-10.18p, that version number looks all wrong to me > it works fine even using the same tiny firewall What went wrong > with this one too ? i don't really understand this sentence > > its appears ...samba ...need to patch up alot ? you are using an ancient version of samba before whining about how samba needs work try the more recent versions. > pls help To get more answers You should know that many people won't answer html emails (i nearly skipped your message) Also your subject line was entirely useless Include a subject line that actually summarizes the subject of your message. Tefer to ESR's valuable howto http://tuxedo.org/~esr/faqs/smart-questions.html for more tips on how to get your request's for help answered... brad -- Bradley W. Langhorst <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Tape Drives
On Wednesday, January 1, 2003, at 10:03 AM, Nate Grissom wrote: Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Umm. Samba is really for file and printer sharing - if that tape drive can look like a file or subdirectory that you can share, then it would help! Since I doubt that is the case, you are left using standard Unix facilities such as tar and cpio, or a commercial backup package for Solaris. However, if Samba is installed on your Solaris system, you should be able to use smbclient (in smbtar mode) to perform backups of Windows PC's to the tape drive on the Solaris box. I came across a set of scripts that someone posted to the Samba mailing list a couple of years ago, which would take a list of PC and share names, and do a backup of multiple Windows PC's to the tape drive on a Unix system, using smbclient - with each PC being backed up to a separate tar file on the tape basically. I hope that gets you started in the right direction. If you don't mind spending money, there are a few cross platform backup solutions (Arkeia?) that will let you access the Solaris tape drive from the Windows PC's -- Jim Morris ([EMAIL PROTECTED])
Re: [Samba] Tape Drives
We do this, but we don't share the tape drive...we share the drives on the other machines on the network. The box with the tape drive mounts the shares on the other machines to a temporary mount point, backs it up, and then unmounts it. Something like this command will mount it: mount -t smbfs -o username=root,password=blahblah //computer1/c /wkstn-1 Then, just use your regular tape drive tools to backup the /wkstn-1 directory. Although you could probably share a tape drive, I'm not sure that you could do it in such a way that it would be usable by any Windows software, so I think it is easier to do it this way. Trey Nolen - Original Message - From: Nate Grissom To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 10:03 AM Subject: [Samba] Tape Drives Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how to verify the connection between a Samba server and a Windows Xp client?
Just some ideas. When you stopped your firewall, I don't know what other security features may be working. There are others. Is the smbd server running? What does net view \\WINNY show you? If this fails, what does: net view \\ipnumberofwinny show you? If these attempts fail, then: It is fun and a great time waster to monitor what the computers are saying to one another with tcpdump. tcpdump -i interface on the linux server. You might get a clue. Delays in responses, or requests going to other ports rather than the port you think should be getting requests. nmap is sometimes helpful to see what ports are open on your computer. Be aware then port 137 doesn't show up with nmap as being open, don't know why. telnet server 139 might show you if you can reach that port. Note, the calling telnet will just hang after it gets a reply. Joel On Wed, Jan 01, 2003 at 11:07:53AM -0500, Michael Gong wrote: > Hi, Joe, > > I typed : > net use x: \\WINNY\gong > > The output is: > System error 53 has occurred. > The network path was not found. > > Then I stopped my Kerio firewall, and try the command again. > The output is: > System error 1234 has occurred. > > No service is operating at the destination network endpoint on the > remote system. > > > In either way, it doesn't prompt me to input password. > > What may be the problem? > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Tape Drives
Is it possible to share a tape drive using Samba. I have a tape drive that is attached to a Solaris box, that I would like to use to backup my entire environment; Solaris and Windows. If this is possible, how should I configure the smb.conf file. Thanks Nate Grissom [EMAIL PROTECTED]
Re: [Samba] how to verify the connection between a Samba server and a Windows Xp client?
Hi, Joe, I typed : net use x: \\WINNY\gong The output is: System error 53 has occurred. The network path was not found. Then I stopped my Kerio firewall, and try the command again. The output is: System error 1234 has occurred. No service is operating at the destination network endpoint on the remote system. In either way, it doesn't prompt me to input password. What may be the problem? Thanks. Michael - Original Message - From: "Joel Hammer" <[EMAIL PROTECTED]> To: "Michael Gong" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 11:41 PM Subject: Re: [Samba] how to verify the connection between a Samba server and a Windows Xp client? > This comes from DIAGNOSIS.txt. > > TEST 9: > > > Run the command "net use x: \\BIGSERVER\TMP". You should be prompted > for a password then you should get a "command completed successfully" > message. If not then your PC software is incorrectly installed or your > smb.conf is incorrect. make sure your "hosts allow" and other config > lines in smb.conf are correct. > > It's also possible that the server can't work out what user name to > connect you as. To see if this is the problem add the line "user = > USERNAME" to the [tmp] section of smb.conf where "USERNAME" is the > username corresponding to the password you typed. If you find this > fixes things you may need the username mapping option. > > Let us know if this fixes your problem. > > Joel > > > On Mon, Dec 30, 2002 at 10:45:38PM -0500, Michael Gong wrote: > > Hi, there, > > > > I have 2 machines ( running Linux Red Hat 8.0 and Windows Xp individually), > > which share a broadband Internet connection through a router. > > > > After installing Samba 2.2.7.a on Linux machine, I can use "smbclient" to > > access Windows machines, see the files and transfer files. > > > > Linux machine info: > > name: WINNY > > share folder name: gong > > ip:192.168.123.153 > > valid user: gong > > password: 710224 > > > > Windows Xp machine info: > > name: GONG > > ip: 192.168.123.110 > > log in as user: gong > > log in password: 710224 > > > > step 1: > > On Linux machine, I can use: > > smbclient //WINNY/gong -U gong%710224 > > > > //this command runs successfully, so that the Linux Samba server > > works fine. > > // and it can accept user name and password. > > > > step 2: > > delete the log.winny file on Linux. > > > > step 3: > > > > On Xp machine, I use: > > net use z: \\WINNY\gong /user:gong > > > > // it doesn't work, it reported: "The network path was not found". > > > > step 4: > > try to open log.winny file, but it doesn't exist. Therefore, the Samba > > doesn't even receive the request from Xp client. > > > > So my question is: > > how to verify the connection between these 2 machines works? > > > > By the way: > > On Xp machine, I can use: > > ping WINNY > > or > > ping 192.168.123.153 > > > > both works. > > > > > > > > Could you give me any suggestion? > > > > Thanks ahead! > > > > Michael > > > > > > > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't change directory to /public (Permission denied)-Illogicalerror in Samba 2.2.6
Harm Kirchhoff wrote: The following error occured persistently, when trying to access a world rw-able directory public from Win2000 (samba version 2.2.6): (log file:) [2003/01/01 17:45:57, 0] smbd/service.c:make_connection(597) harm (192.168.0.3) Can't change directory to /public (Permission denied) The following is the share in the smb.conf file: [public] comment = public share: read & write, no execute path = /public read only = No guest ok = Yes Allthough the file permissions for the user Harm and administrator were set to rw: Permissions:rwxrwxrw- owner: root group: root Allthough Harm and administrator could open public when logged in locally, samba could see but not open the directory, when the users were logged in on the Win2000 machine, allthought they were able to see their own /home/Harm and /home/adminisitrator home directories. Once I set the Execute permission to Others, Harm and administrator were able to open the /public directory. Permission: rwxrwxrwt I think they should be able to open it with rw-permissions only. Is this an error or am I wrong ? ANNEX: Full smb.conf file: # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2003/01/01 19:41:17 # Global parameters [global] workgroup = TOKYO netbios name = HARM server string = Samba Server encrypt passwords = Yes log file = /usr/local/samba/var/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No printer admin = administrator [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [Canon LBP 350 Harm] comment = Local Printer installed on Harm path = /var/spool/samba printable = Yes printing = cups [print$] path = /usr/local/samba/printers admin users = administrator write list = administrator [public] comment = public share: read & write, no execute path = /public read only = No guest ok = Yes [Home Directories] comment = Home directories of all users path = /home read only = No the execute bit on a directory is for browsing it. if you haven't it set for world, only user and group can browse it. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't change directory to /public (Permission denied)-Illogical errorin Samba 2.2.6
The following error occured persistently, when trying to access a world rw-able directory public from Win2000 (samba version 2.2.6): (log file:) [2003/01/01 17:45:57, 0] smbd/service.c:make_connection(597) harm (192.168.0.3) Can't change directory to /public (Permission denied) The following is the share in the smb.conf file: [public] comment = public share: read & write, no execute path = /public read only = No guest ok = Yes Allthough the file permissions for the user Harm and administrator were set to rw: Permissions:rwxrwxrw- owner: root group: root Allthough Harm and administrator could open public when logged in locally, samba could see but not open the directory, when the users were logged in on the Win2000 machine, allthought they were able to see their own /home/Harm and /home/adminisitrator home directories. Once I set the Execute permission to Others, Harm and administrator were able to open the /public directory. Permission: rwxrwxrwt I think they should be able to open it with rw-permissions only. Is this an error or am I wrong ? ANNEX: Full smb.conf file: # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2003/01/01 19:41:17 # Global parameters [global] workgroup = TOKYO netbios name = HARM server string = Samba Server encrypt passwords = Yes log file = /usr/local/samba/var/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No printer admin = administrator [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [Canon LBP 350 Harm] comment = Local Printer installed on Harm path = /var/spool/samba printable = Yes printing = cups [print$] path = /usr/local/samba/printers admin users = administrator write list = administrator [public] comment = public share: read & write, no execute path = /public read only = No guest ok = Yes [Home Directories] comment = Home directories of all users path = /home read only = No -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] please answer ! need help ! samba team.
hi all samba experts , i had a problem with my samba server verion-2.0.6-9 . When i typed smbclient -L Server ;it prompt for a password and if i keyed in using ENTER botton only, it shows a list:- Sharename Type Comments home Disk IPC$ IPC IPC Service (Samba 2.0.6) Server Comment PC personal SERVER Samba 2.0.6 Workgroup Master Simple SERVER But , if i key in the password i had set ( set by smbpasswd -root which appears alright ) , its shows Password: session setup failed: ERRSRV - ERRbadpw HmWhat should i need to do ? I try to check it with the SWAT ultility and its shows server 0879 on the passwd tab..which i thought it is the correct password ! What went wrong ? I even try to smbclient my win 98 box when the win box 98 tiny firewall is onit cant browse any even though the fire is set to allow the samba server to browse...it works fine if the tinyfire wall is offHm.i try it using another samb version 19-10.18p, it works fine even using the same tiny firewall What went wrong with this one too ? its appears ...samba ...need to patch up alot ? Samba user pls help