search for: smblient

Displaying 20 results from an estimated 21 matches for "smblient".

Did you mean: smbclient
1998 Jul 17
1
Trouble connecting with smblient
I've just installed version 1.9.18p8 on SPARC Solaris 2.5. I can connect with no problem from by NT box (map network drive), but when I try using smbclient '\\\\machine\\share' from the machine I installed on, I get: SMBtconX failed. ERRSRV - ERRinvnetname (Invalid network name in tree connect.) Perhaps you are using the wrong sharename, username or password? Some servers insist
2004 Mar 22
1
smbclient won't tar empty directories
Hello, I guess this question has been asked several times, but unfortenuately I don't find an answer neither in the search machines nor in the groups. I backup my windows clients using smbclient with the tar option. Works great, but no empty directories are in the created tar file. I read the smblient and tar's manpage, without finding the necessary option. Does anybody know how I can include these nasty emtpy directories? command: smbclient //server/share "test" -U test -N -Tqc foo.tar TestDirectory BTW, if I use tar without smbclient, empty directories are included by default....
2006 Feb 14
1
smbclient -L misses some shares when using NULL-Sessions
...2K Box). smbclient -L -U "" -N hostname shows no shares (using NULL-Session-Logon as you can see) if I use a windows box to connect to "hostname" using net use \\hostname "" /User:"" I can see all shares of this box in the explorer. On samba-based boxes, smblient seems to retrieve all shares. But don't blame it only on the Null-Session-Logon, also if I connect to the box using smbclient -L -U "Administrator" -N hostname I only get the admin-shares. Is there an option I missed on smbclient to also see the missing share? And, by the way, is...
2016 Nov 02
2
Samba and BTRFS server-side copy
...the client only >> above two lines are needed on an otherwise default smb.conf. It's >> working since debian updated to samba 4.2, that time i did not use >> jessie-backports packages on the client back then. >> > Hum that's really strange. I've downgraded my smblient to be sure: > - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64) > - client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + gvfs > 1.22.2-1 > > With only these lines in /etc/samba/smb.conf: > client max protocol = SMB2_10 > client min protocol = SMB2_10 Thi...
2016 Nov 03
2
Samba and BTRFS server-side copy
...two lines are needed on an otherwise default smb.conf. It's >>>> working since debian updated to samba 4.2, that time i did not use >>>> jessie-backports packages on the client back then. >>>> >>> Hum that's really strange. I've downgraded my smblient to be sure: >>> - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64) >>> - client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + >>> gvfs 1.22.2-1 >>> >>> With only these lines in /etc/samba/smb.conf: >>> client max protocol = S...
2002 Sep 10
3
Printing to a windows printer
Hi, I trying to print a label printer that is attached to a windows95 machine. The job is sent to the printer queue on the linux machine (Red Hat 7.3), but never printed on the printer. When I check the status of the print queue on the linux machine, I get the following: [root@S12601 syn]# lpq -Pbinpos Printer: binpos@S12601 Queue: no printable jobs in queue Server: no server active Status:
2016 Nov 02
2
Samba and BTRFS server-side copy
Am 02.11.2016 um 03:05 schrieb Saint Germain via samba: > On Fri, 28 Oct 2016 19:10:12 +0200, Achim Gottinger via samba > <samba at lists.samba.org> wrote : > >> >> Am 28.10.2016 um 08:18 schrieb Saint Germain via samba: >>> On Thu, 27 Oct 2016 17:30:09 -0700, Jeremy Allison <jra at samba.org> >>> wrote : >>> >>>> On Thu, Oct
2018 Apr 12
3
Issues post AD migration
...;TESTDOM\pghimire' (from session setup) not permitted to access this share (downloads) The user is a member of a group who has permissions for the folder (in smb.conf). This was one of the groups that didn't migrate to AD, so we setup the group in AD and added the user as a member. Using smblient the user account is able to enumerate all the shares in the Samba 4 DC and the member server - Getent passwd does find the user getent passwd "testdom\pghimire" pghimire:*:3001:3002::/home/TESTDOM/pghimire:/bin/false - Even if we add the permissions for the user i...
2019 Jul 13
2
rsync alternative -- smbclient?
...I don?t care about someone reading my policies, I definitely don?t want someone to modify them in transit. Imho rsync with ssh however is more cumbersome to setup, in particular when considering a number of DCs that might join or leave later on. Therefore I am considering to use smbclient instead. Smblient can use Kerberos to authenticate against peers plus can copy files, albeit not very efficient compared to rsync. Experimenting around I came up with the following script, which essentially identifies the ?primary domain controller? and copies sysvol from there - as is suggested on https://wiki.sa...
2016 Nov 02
0
Samba and BTRFS server-side copy
...l settings only on the client only > above two lines are needed on an otherwise default smb.conf. It's > working since debian updated to samba 4.2, that time i did not use > jessie-backports packages on the client back then. > Hum that's really strange. I've downgraded my smblient to be sure: - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64) - client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + gvfs 1.22.2-1 With only these lines in /etc/samba/smb.conf: client max protocol = SMB2_10 client min protocol = SMB2_10 When connecting to the samba server t...
2016 Nov 02
0
Samba and BTRFS server-side copy
...;> above two lines are needed on an otherwise default smb.conf. It's > >> working since debian updated to samba 4.2, that time i did not use > >> jessie-backports packages on the client back then. > >> > > Hum that's really strange. I've downgraded my smblient to be sure: > > - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64) > > - client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + > > gvfs 1.22.2-1 > > > > With only these lines in /etc/samba/smb.conf: > > client max protocol = SMB2_10 > > c...
2017 Jan 04
1
smbclient in tar mode - no messages about files
I switched over from FreeBSD to Debian/Jessie - samba 4.2. On FreeBSD I used smblient in tar-mode to transfer files to another host. smbclient used to print the names of the files extracted on the remote host. I piped this to tee for logging. On Jessie this behaviour has vanished. There is only one message left that gives information about the server that I'm connecting to. I se...
2004 May 22
0
smbd disconnects when trying to write not-very-large files
...s created but is empty. On WinXP, the error message that Explorer gives is "The specified name is no longer available" (obviously, other apps give other errors). Using smbclient from another host, I get "Error writing file: Call returned zero bytes (EOF)" or, in some cases, smblient just exits with no message. Interestingly, when trying to connect with smbclient from the local machine (the host Samba is running on), everything works just fine. I considered that the problem might be a mistake in smb.conf, but I tried using the smb.conf from another system where Samba'...
2006 Jul 06
1
W2K Login Problem
...93myname=94 primary group is root. = I can log in successfully, and any user I create also a member of the root = group can login, but NOBODY else!! I created a staff group and created unix/samba users that have as a = primary group =93staff=94 they exist in both samba and unix, then did the = smblient =85=85.%username thing that gives me access from the terminal window = for one of these staff users. The samba machine terminal then lets me ls and check what is in there. But the W2K machine will not allow me to log these =93staff=94 users unless I make them a member of the =93root=94 group. =...
2002 Feb 12
0
(no subject) (fwd)
...o the Samba server at all. The error message, "No server is operating at the destination network endpoint on the remote system" is driving me up the wall. Here is a list of things I can verify. 1. Server Daemons are running and listening on ports tcp 139 and udp 139. 2. The command 'smblient -L localhost' lists all my shares correctly. 3. The testparm command does not compalin about anything in my smb.conf file which is located in /etc/samba/. 4. Within the smb.conf file, encrypt passwd = yes is turned on and smb passwd file path is specified. 5. On the local WIN_NT and WIN_200...
2009 Jul 08
2
Problem accessing a share on a W2008 server via smbclient
...ed we created a share to backup files from other servers. This share is easily accessed from XP pro Pc's via \\ipadr\share and giving a user/password name on the W 2008 server. We then try to use it from an open suse 9.3 linux server via smbclient. smbclient //ipadr/share -U user%password smblient exits with message "session setup failed: SUCCESS - 0 " with debug=10 , ends with SPNEGO login failed error smbclient -L //ipadr gives: Error returning browse list: NT_STATUS_ACCESS_DENIED session request to 192.168.1.101 failed (Called name not present) session request to 192 failed (C...
2016 Nov 03
0
Samba and BTRFS server-side copy
...on an otherwise default smb.conf. It's > >>>> working since debian updated to samba 4.2, that time i did not > >>>> use jessie-backports packages on the client back then. > >>>> > >>> Hum that's really strange. I've downgraded my smblient to be sure: > >>> - server: Debian Stable + samba 4.2.10 + kernel 4.7 (amd64) > >>> - client: Debian Stable + smbclient 4.2.10 + kernel 4.7 (amd64) + > >>> gvfs 1.22.2-1 > >>> > >>> With only these lines in /etc/samba/smb.conf: > >&g...
2003 Jan 13
3
mapping usernames between Windows and Linux
My username is different on my Linux box than on my Windows box so I used the line username map = /etc/samba/smbusers in my smb.conf file and this file includes the line steve = steveb However when I'm logged on to my Linux box as 'steve' and use the smbclient command like this: # smbclient //<Windows computer>/Shared ... session setup failed: NT_STATUS_LOGON_FAILURE it
2019 Jul 13
0
rsync alternative -- smbclient?
...I don?t care about someone reading my policies, I definitely don?t want someone to modify them in transit. Imho rsync with ssh however is more cumbersome to setup, in particular when considering a number of DCs that might join or leave later on. Therefore I am considering to use smbclient instead. Smblient can use Kerberos to authenticate against peers plus can copy files, albeit not very efficient compared to rsync. > > Experimenting around I came up with the following script, which essentially identifies the ?primary domain controller? and copies sysvol from there - as is suggested on https:/...
2001 Dec 20
3
File mode badly shown in smbclient (want DAHR,---R,---- etc)
Hi We are using smbclient to automatically (& remotely) monitor the sizes and ages of files. The file names contain spaces of course. Some files have attributes set. Now how do I separate between file attributes and the file name in the following directory listing? EXAMPLE: smb: ?> dir *file* second file is called AR 0 Fri Sep 15 12:37:54 2000 file name with