Hi, I have sent this e-mail last week, but I didn't get any responses. Hopefully I hear back from someone soon. I have configured samba on our HP-UX 11.0 server with hptest as the server name. I used the smb.conf file and tested using testparm. To start the smb daemons, I used the following commands: /opt/samba/bin/smbd -D /opt/samba/bin/nmbd -D Finally, I tested the samba daemons using: smbclient -U% -L hptest All of this seems to run okay. The problem is that I cannot see the samba server from Network Neighborhood in the hptest folder. I don't even know how to see it from the HP server. I'm running on Windows 2000, but I used your Windows NT documentation to setup my PC. My PC is pingable and DNS and WINS are working properly. I tried to connect using: Start, Run, \\hptest, but I get the following error message: The filename, directory name, or volume label syntax is incorrect. Can you please give me some direction to what I might be doing wrong? If there is any additional information you need to know about my settings, please let me know. Thanks for your time and help. Mona Gourgy Information Systems Stelco Inc. Phone: (905) 528-2511 ext. 4133 Fax: (905) 577-4533 mailto:mona.gourgy@stelco.ca
David Collier-Brown
2002-Jan-14 07:25 UTC
Question regarding accessing Samba / please respond
"Gourgy, Mona" wrote:> Finally, I tested the samba daemons using: smbclient -U% -L hptest > All of this seems to run okay. The problem is that I cannot see the samba > server from Network Neighborhood in the hptest folder.Ok, you've tested about half of the browsing mechanism, a more complete set of tesing steps is available at http://www.oreilly.com/catalog/samba/chapter/book/ch09_02.html and in your doc/htmldocs/using_samba directory. Browsing is the last part of the section, because - it's **wierd** - it depends on much of the preceding material. It only takes about 10 minutes to do the whole test sequence, so I generally start from the beginning even when I'm sure I know what's wrong, as my initial guess is often wrong (and I wrote the section!) --dave -- David Collier-Brown, | Always do right. This will gratify Performance & Engineering | some people and astonish the rest. Americas Customer Engineering, | -- Mark Twain (905) 415-2849 | davecb@canada.sun.com
Did you try tests described in samba/docs/textdocs/DIAGNOSIS.txt file? Did you read this PDF file http://ca.samba.org/samba/ftp/docs/Samba24Hc13.pdf ? Try first techniques described there. Because it is really hard to say, what could be wrong without seeing log files, smb.conf file, network topology, ... Your problem should not be so hard to solve, try it. You will see, that it is simple. ;-) mARTin On 14 Jan 02, at 9:24, Gourgy, Mona wrote:> Hi, > > I have sent this e-mail last week, but I didn't get any responses. > Hopefully I hear back from someone soon. > > > > I have configured samba on our HP-UX 11.0 server with hptest as the server > name. I used the smb.conf file and tested using testparm. > > To start the smb daemons, I used the following commands: > > /opt/samba/bin/smbd -D > /opt/samba/bin/nmbd -D > > Finally, I tested the samba daemons using: smbclient -U% -L hptest > > All of this seems to run okay. The problem is that I cannot see the samba > server from Network Neighborhood in the hptest folder. I don't even know > how to see it from the HP server. I'm running on Windows 2000, but I used > your Windows NT documentation to setup my PC. My PC is pingable and DNS and > WINS are working properly. I tried to connect using: Start, Run, \\hptest, > but I get the following error message: The filename, directory name, or > volume label syntax is incorrect. Can you please give me some direction to > what I might be doing wrong? If there is any additional information you > need to know about my settings, please let me know. Thanks for your time > and help. > > > Mona Gourgy > Information Systems > Stelco Inc. > Phone: (905) 528-2511 ext. 4133 > Fax: (905) 577-4533 > mailto:mona.gourgy@stelco.ca > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- Martin Rusko PhD student Slovak Technical University Faculty of Mechanical Engineering Department of Automation -- e-mail: rusko@kam.vm.stuba.sk mobile: +421 903 246698
Hi, I have sent you an e-mail earlier last week and it was suggested to me to test all steps discussed in the Troubleshooting section. I ran the tests but I feel more lost than before. First, I will describe the problem again. We currently have an HP-UX 11.0 server with the name hptest. We are running Windows 2000. I am trying to connect to the samba shares from Network Neighborhood or using start, run, \\hptest. But, I get the following error message: The filename, directory name, or volume label syntax is incorrect I discussed this issue with a different user, but apparently he has a different problem. He is being prompted for a password, but when he puts in the username and password for the root Unix server, it doesn't work. Questions: How come this works differently on the 2 machines? Where is this username and password prompt coming from? Is coming from Samba or from the Windows 2000 server? Why doesn't the Unix root password work? I have attached our smb.conf file and here are some of the problems I experienced when I followed the troubleshooting section. For the password, I supplied the Unix password for root. I also tired my personal Unix password and I got the same results. hptest:Root:/ =>smbclient '\\hptest\temp' Added interface ip=172.20.0.60 bcast=172.20.255.255 nmask=255.255.0.0 Got a positive name query response from 172.20.1.232 ( 172.20.0.60 ) Password: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) Similary, when I issue: smbclient -L hptest Added interface ip=172.20.0.60 bcast=172.20.255.255 nmask=255.255.0.0 Got a positive name query response from 172.20.1.232 ( 172.20.0.60 ) Password: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) hptest:Root:/ => nmblookup -B hptest Sending queries to 172.20.0.60 I am new to this, but I was told when we were running on NT, browsing was working. I don't know if this means we have to change something in the smb.conf file or not. Can you please give me any ideas. If you need to get any additional information about our environment, I'll be happy to supply it. Thanks for your time and help. <<smbconf configuration file.doc>> Mona Gourgy Information Systems Stelco Inc. Phone: (905) 528-2511 ext. 4133 Fax: (905) 577-4533 mailto:mona.gourgy@stelco.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: smbconf configuration file.doc Type: application/msword Size: 20480 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020116/0bb8350b/smbconfconfigurationfile.doc
Hi, The version of samba is 2.0.3. Both of us are trying to do this from our PCs. The operating system we are running is Windows 2000. Please let me know if this answers your questions or if you need any additional information. Thanks your help. Mona Gourgy Information Systems Stelco Inc. Phone: (905) 528-2511 ext. 4133 Fax: (905) 577-4533 mailto:mona.gourgy@stelco.ca -----Original Message----- From: Conlan Adams [mailto:conlan.adams@countryfresh.com] Sent: January 16, 2002 4:36 PM To: samba; Gourgy, Mona Subject: Re: Question regarding accessing Samba / please respond two questions for you what version of samba what is the other user connecting from. your connecting from a windows 2000 server he is connecting from... an easy way to get a basic connection is to change the smb.conf line of security = "somesetting" to security = share also make sure the path you are trying to share has correct permissions on the unix side. -Conlan Adams ----- Original Message ----- From: "Gourgy, Mona" <Mona.Gourgy@stelco.ca> To: <samba@lists.samba.org> Cc: <rusko@kam.vm.stuba.sk>; <courault@gigared.com>; <jbeauchamp@gesinc.com> Sent: Wednesday, January 16, 2002 4:19 PM Subject: Question regarding accessing Samba / please respond> Hi, > > I have sent you an e-mail earlier last week and it was suggested to me to > test all steps discussed in the Troubleshooting section. I ran the tests > but I feel more lost than before. First, I will describe the problemagain.> We currently have an HP-UX 11.0 server with the name hptest. We arerunning> Windows 2000. I am trying to connect to the samba shares from Network > Neighborhood or using start, run, \\hptest. But, I get the following error > message: > > The filename, directory name, or volume label syntax is incorrect > > I discussed this issue with a different user, but apparently he has a > different problem. He is being prompted for a password, but when he putsin> the username and password for the root Unix server, it doesn't work. > > Questions: > How come this works differently on the 2 machines? > Where is this username and password prompt coming from? Is coming from > Samba or from the Windows 2000 server? > Why doesn't the Unix root password work? > > > I have attached our smb.conf file and here are some of the problems I > experienced when I followed the troubleshooting section. For thepassword,> I supplied the Unix password for root. I also tired my personal Unix > password and I got the same results. > > hptest:Root:/ =>smbclient '\\hptest\temp' > > Added interface ip=172.20.0.60 bcast=172.20.255.255 nmask=255.255.0.0 > Got a positive name query response from 172.20.1.232 ( 172.20.0.60 ) > Password: > session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair > in a Tree Connect or Session Setup are invalid.) > > > Similary, when I issue: > > smbclient -L hptest > > Added interface ip=172.20.0.60 bcast=172.20.255.255 nmask=255.255.0.0 > Got a positive name query response from 172.20.1.232 ( 172.20.0.60 ) > Password: > session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair > in a Tree Connect or Session Setup are invalid.) > hptest:Root:/ => > > > nmblookup -B hptest > Sending queries to 172.20.0.60 > > > I am new to this, but I was told when we were running on NT, > browsing was working. I don't know if this means we have to change > something in the smb.conf file or not. Can you please give me any ideas. > If you need to get any additional information about our environment, I'llbe> happy to supply it. Thanks for your time and help. > > > <<smbconf configuration file.doc>> > Mona Gourgy > Information Systems > Stelco Inc. > Phone: (905) 528-2511 ext. 4133 > Fax: (905) 577-4533 > mailto:mona.gourgy@stelco.ca > > > >