I am receiving this error randomly when using smbclient to access pc shares : FINDFIRST gave ERRSRV - (Non-specific error code.) I use smbclient with Amanda to backup pc shares. For amanda to work, it uses smbclient to recursively scan through the entire directory tree and get total MB size of each directory. The problem is that when trying to enter some directories it gives the above error and then skips the directory all together. Does anyone know what causes this? Brian Fernald fernald@nsi.edu
I've installed samba, and got it running as a server just fine, but i can't get my client to do anything! using 2 hosts that are setup and are currently sharing and mounting each other, i try to access either or... one is 207.90.74.123 and the other is 207.90.74.13 the command i type for the first is: ./smbclient -I 207.90.74.123 -L 207.90.74.123 and i receive: Added interface ip=207.90.74.12 bcast=207.90.74.255 nmask=255.255.255.0 Session request failed (131,130) with myname=ABYSSMAL destname=207.90.74.123 Called name not present Try to connect to another name (instead of 207.90.74.123) You may find the -I option useful for this So i try the other host (which can mount my machine without a problem) with: ./smbclient -I 207.90.74.13 -L 207.90.74.13 and i receive: Added interface ip=207.90.74.12 bcast=207.90.74.255 nmask=255.255.255.0 Session request failed (131,143) with myname=ABYSSMAL destname=207.90.74.13 Unspecified error 0x8F Your server software is being unfriendly er... I'd really apprecaite any help i can get with these machines.... thanks! Jason
Perhaps somebody can give me a hint ... I tried to connet via smbclient (1.9.18p2) to a shared resource on NT4 server, but all I get is : ERRnoaccess (Access denied.) I had several ideas where I made a mistake: 1. Password wrong 2. Username wrong 3. Servicepack 4. EnablePlainPassword 5. Permissions I tried, but always: ERRnoaccess (Access denied.) In the next step I tried to connect to another NT Maschine and there was no problem! I checked the configuration of the two machines, but it seems there is no difference. Next I tried an older version of smbclient (1.9.17p4) and there was no problem! Some changes in encryption ? ("-d 3" shows, that it is not "Using encrypted passwords". Version 1.9.18p2 does!) My platform is solaris 2.5. smbd (1.9.18p2) works okay. I am not using smbpasswd. I tried also version 1.9.18p3, but no difference. Question: What is different between 1.9.18p2 and 1.9.17p4 that causes this problem? What can I do ? It seems this could be a configuration problem on the NT4 server machine, any ideas ? Thanks for your help ... Marco +-----------------------------------------------------------+ |Marco Schmidt Datenbank & Systemadministrator| |Institut fuer Informationssysteme | |ETH Zentrum Tel: +41-1-632-7253| |CH-8092 Zuerich Fax: +41-1-632-1172| |Switzerland schmidt@inf.ethz.ch| +-----------------------------------------------------------+
I got the answer ! The problem was the WORKGROUP name. Smbclient does not look in the smb.conf (right?) for the workgroup name. Now I recompiled with the right workgroup name in "Makefile" or I use the "-W" flag with smbclient. My older version of smbclient was compiled with this. The machine which gave me access was a backup domain controller and all connections are done via the domainname. Marco
the command smbclient /winnt40/share -N -TcXg ........ returns all files, even those with arch. bit not set. why? Mit freundlichen Gr??en NCI/Lingen Tel: 02166 /27 2646 eMail: Peter.Lingen@wrh.acab.alcatel.de
Hi! I wants to connect to a fileserver of an AS400. I use the command: smbclient \\\\maschine\\PDF pass -U Admin Now I'm connected to the maschine smb: \> dir . DA 0 Mon Sep 11 15:19:40 2000 . DA 0 Wed Jun 21 15:25:22 2000 M DA 0 Tue Sep 12 10:59:26 2000 d DA 0 Tue Jul 18 17:20:00 2000 d DA 0 Tue Jul 18 17:23:19 2000 D A 0 Tue Jul 18 17:19:27 2000 F A 0 Tue Jul 18 17:24:54 2000 Z A 254 Fri Jul 21 17:04:02 2000 Z A 20480 Fri Jul 21 13:43:03 2000 M A 1409024 Fri Sep 25 23:09:32 1998 O A 463072 Mon Dec 28 15:44:38 1998 G DA 0 Thu Sep 7 14:58:24 2000 N A 0 Mon Sep 11 15:19:40 2000 Z A 353 Mon Sep 11 11:31:05 2000 After using the "dir" or the "ls" command I see the list above. But it isn't correct, because there is only the first letter of an folder or an file to see. Now my Question: Is this a samba or an AS400 BUG that I can see only the first letter?! Thank you for helping me! Michael -------------- next part -------------- HTML attachment scrubbed and removed
while trying to view the shares on a machine accross the net with smbclient, i get the following: [root@andrew andrew]# smbclient -L //x.x.x.x added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 session request to x.x.x.x failed (Called name not present) session request to x failed (Called name not present) session request to *SMBSERVER failed (Called name not present) [root@andrew andrew]# can i share folders and files with a win machine on the net? or an i only able to do this on the local subnet? cheers, andrew galdes
Hello all, I am using Samba version 1.9.16p11 on IBM AIX 4.3 I am attempting to use smbclient to notify users accessing a samba shared drive off the AIX server when the server is being shut down. The smbclien command with the -M option was suggested for this however when i attempt to issue this i get the following: smbstatus Samba version 1.9.16p11 Service uid gid pid machine ---------------------------------------------- ortho1 guest usr 5708 gis_lab2 (169.156.61.80) Mon Mar 12 10:55:36 2001 ortho1 guest usr 18332 signal_cad3 (169.156.63.192) Mon Mar 12 10:58:41 2001 ortho1 guest usr 19610 bethel (169.156.61.181) Mon Mar 12 11:01:24 2001 ortho1 guest usr 19870 svosburg (169.156.61.204) Mon Mar 12 11:09:17 2001 ortho1 guest usr 20134 pc-tr9 (169.156.63.237) Mon Mar 12 11:13:26 2001
On Mon, Mar 12, 2001 at 12:18:13PM -0800, iblden wrote:> Hello all, > > smbstatus > > Samba version 1.9.16p11 > Service uid gid pid machine > ---------------------------------------------- > ortho1 guest usr 5708 gis_lab2 > (169.156.61.80) Mon Mar 12 10:55:36 2001 > > >From this result i am typing the following: > > smbclient -M gis_lab2 > Added interface ip=169.156.61.63 bcast=169.156.255.255 > nmask=255.255.0.0 > Get_Hostbyname: Unknown host GIS_LAB2. >Try nmblookup gis_lab2 did you get a response? It is trying to do a dns lookup for gis_lab2, so make sure your lookup order is correct, and check that broadcast address too. Mike
hi guys, o.k now, i am just a starter in the field,can somebody guide me (in detail please)on how to go about making a samba client. prithu __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Read the free book that comes with the samba distribution. Joel On Mon, Oct 29, 2001 at 03:51:10AM -0800, prithu srivastava wrote:> hi guys, > o.k now, i am just a starter in the field,can > somebody guide me (in detail please)on how to go about > making a samba client. > > > prithu
Hello! I want to send an Popup Message to y NT Client. But it won?t work: My faxserver is not a domain master or something. root@faxserver:/share# smbclient -M munich.sun.local SSL: Error error setting CA cert locations: error:00000000:lib(0):func(0):reason(0) trying default locations. added interface ip=192.168.10.53 bcast=192.168.10.255 nmask=255.255.255.0 session request failed i am using samba 2.2.1a and slackware8, kernel 2.4.13 What could the problem be? Thanks! Spiekey
I am trying to setup samba ver 2.2.2-hppa1.1-hp-hpux11.00.tar so that i can attach a unix share to a windown xp and windows 2000 workstation, when i try and run : smbcleitn -L computername -N i get: added interface ip=172.27.20.34 bcast=172.27.20.255 nmask-255.255.255.0 session request to 172.27.112.187 failed (Calledname not present) session request to 172 faile (Called name not present) anonymous login successful doman=[junk] os=[windows5.1] server=[windows 2000 lan Manager] sharename type comment error returning browse list: errdos - errnoaccess (access denied) anyone have any direction for me to go into next the diagnostic web page doesnt have this listed in it?? please help thnxs Michael E. Collins --------------------------------------------------------------------> Confidentiality Notice: This message and the accompanying documents or attachments may contain information which is privileged and/or confidential. If you are not the intended recipient, you may not review, discuss, disclose, copy, or distribute the contents of this message. If you have received this information in error, please immediately contact the Kettering Medical Center Network Department whose number is listed on the message and destroy all evidence of this correspondence.
This is going to sound like a rediculously dumb question, but I have just finished reloaing RedHat 7.2 (from 7.1), a clean install, and samba appears to be running, but I cannot log into my shares. I am rejected with a "bad password - name/password pair..." Now, I've been though this setup a dozen times before, I have a very garden variety configuration, and my shared directory not only exists, but has 777 permissions. I've added the user to both Linux and to smbpasswd, as prescribed, but for some reason I cannot fathom, smbclient won't even access the share. I can 'smbclient -NL hp' and that reports that the share exists, but when I attempt to log into the share, I'm kicked out. Where else should I be looking? I'm completely Stumped.
Hi!! I'm having a slight problem here This is the scenario W2K and NT can access samba server. Samba client cant access W2K and NT shares. Gets an error message "NT_STATUS_LOGON_FAILURE" Note..Samba can list its own shares using smbclient but not of W2K and NT. smbclient -L <W2K-PDC> -U administrator lists all the machines in the domain but not the shares. NOTE: Samba is not added to the Domain (i.e. smbpasswd -j..... has not yet been run) Plz help regards, ria
Hello...I searched through at samba.org on this, and posted to blfs-support...thought I would try hear as I keep searching... is there a way tojust install smbclient ...like from the samba source... like a make --smbclient install or something? I realize the client may require some libs of the server, can we pass that to the make as a param as well? liuke a --libexec=X pr lib=... I am building linux appliance and juts wnat to access shares from the appliance to windows smb shares... not vice versa... my OS runs in RAM only so I have limited space.... Thanks P
>is there a way tojust install smbclient ...like from >the samba source...Of course. samba-client is always a separate RPM but you do need the following libraries: # ldd $(which smbclient) libreadline.so.4 => /lib/libreadline.so.4 libncurses.so.5 => /lib/libncurses.so.5 libacl.so.1 => /lib/libacl.so.1 libcups.so.2 => /usr/lib/libcups.so.2 libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 libnsl.so.1 => /lib/libnsl.so.1 libpam.so.0 => /lib/libpam.so.0 libldap.so.2 => /usr/lib/libldap.so.2 libpopt.so.0 => /usr/lib/libpopt.so.0 libc.so.6 => /lib/libc.so.6 libdl.so.2 => /lib/libdl.so.2 libattr.so.1 => /lib/libattr.so.1 liblber.so.2 => /usr/lib/liblber.so.2 libresolv.so.2 => /lib/libresolv.so.2 libsasl2.so.2 => /usr/lib/libsasl2.so.2 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 if you need all that pam, sam, ldap, etc.>like a make --smbclient install or something?Perhaps it's also possible, but why don't you do like Michelangelo did when he chipped away all that wasn't David from that slab of Carrara. Build the whole thing and then throw away all but the above libs and smbclient itself.>I realize the client may require some libs of the >server, can we pass that to the make as a param as >well? liuke a --libexec=X pr lib=...I dunno. Perhaps, did you read the README.1ST file? Me neither.>I am building linux appliance and juts wnat to >access shares from the appliance to windows smb >shares... not vice versa... my OS runs in RAM >only so I have limited space....Don't exaggerate with parsimony. The above listing of lib dependencies is for a full-fledged pam, sam, ldap and puff-capable client. If you build a less general samba & client most of those libs won't be necessary and some might be part of the rest of your Linux environment anyway. Experiment on a vanilla PC and see how far you can chip away a samba installation and still be able to access an SMB server. Good lcuk. ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005
><SNiplle> > >Dragan Krnic offres some great advice: > >> >is there a way tojust install smbclient ...like >> >from the samba source... >> >> Of course. samba-client is always a separate RPM------8<-----------8<------------8<----------------->> Experiment on a vanilla PC and see how far you can >> chip away a samba installation and still be able >> to access an SMB server. Good lcuk. >> ><snipage> > >Thanks ... will do... smbmount as well.... smbmount >totally rules btw! > >PI know P, it's so kewl I sometimes I forget to smbdimsount :-) ____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005
sigfried and roy
2003-Jun-25 23:52 UTC
[Samba] smbclient problem ? SUCCESS - 0 opening remote file
has anyone experienced this type of error before? im using smb to connect to a nt server for backup. it works sometimes perfectly but also gives this error othertimes? /-- dilga.cbio //cytopia01/users lev 1 STRANGE sendbackup: start [dilga.cbio.cytopia.com.au://cytopia01/users level 1] sendbackup: info BACKUP=/usr/bin/smbclient sendbackup: info RECOVER_CMD=/bin/gzip -dc |/usr/bin/smbclient -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? SUCCESS - 0 opening remote file \andrew\Apple stuff\ppslides complete.ppt (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\Presentation1.ppt (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\prostate 1.doc (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\prostate 3.doc (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\prostate 4.doc (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\prostate cancer.doc (\andrew\Apple stuff\) ? SUCCESS - 0 opening remote file \andrew\Apple stuff\prostate2.doc (\andrew\Apple stuff\)
Hoping someone on this list can provide me with a little insight. I am attempting to use "smbclient -L systemname -U username -W domainname" from both a MAC OS X and FreeBSD system and get the following message: Session setup failed: NT_STATUS_LOGON_FAILURE However if I execute the same command on my Linux system a have no problems? I have checked all network settings name resolution and all of it is configured correctly. Has anyone else run into this? Thanks, CH Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.
I have pam, mit kerberos, openldap and samba3 beta. Samba was installed with smbwrapper, dce-dfs, ads, smbmount, pam, libsmbclient, acl-support, windbind, krb5 and ldap options. i have tested mit kerberos, i have joined the samba server to the domain and have run nmbd smbd and winbindd. When I test samba with smbclient -L <samba server> -U <ANY USER ON DOMAIN CONTROLLER>, I then enter the correct pasword then linux comes back with a error of: session setup failed: NT_STATUS_LOGON_FAILURE. If I use the smbclient and specify a local user on my samba server, it works. If I enter no password it works. I also have another samba server (call it samba2) currently used by the network (the samba server is to replace it), if I use the samba server and smbclient like before to the samba2 server, using a samba2 local account name, it works. I need the samba server to authenticate users from my DC. Why am I getting this error, in the smb.conf it has realm = <DOMAIN>, security = ads, windbind use default domain = yes, encrypt passwords = yes, password server = <dc.domain>. As well as many more options. Can someone help me to get my samba server to authenicate to the win2000 DC please.