"net view" gets me "System error 71 has occured" and "no more connections ...."

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

"net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Hi

CentOS 6.X 64, all latest updates, samba 4.2.10-10

when logged into a workstation as a user, root or administrator I get an error when executing

  net view

The error displayed is

  System error 71 has occured
  No more connections can be made ... connections as the computer can accept

Now I tried this on a number of workstations as a user and admin, makes no difference

This used to work until recently, I do not know when it stopped but the changes I made

 - changed from samba 3 to samba 4
 - changed to min SMB2
 - no changes to smb.conf

I use the "net view" command to see what machines are up and I really would like to get this feature back.


Am I doing something wrong?
Any ideas?


thanks
Jobst

--
Dont blink or you miss it!

  | |0| |   Jobst Schmalenbach, General Manager
  | | |0|   Barrett & Sales Essentials
  |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South, 3162, Australia

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Your problem starts here :
>  - changed from samba 3 to samba 4
And.
>  - no changes to smb.conf
... Its possible, but lets see.. the smb.conf.

Then go here : https://www.samba.org/samba/history/ 
Review the parameter changes, and adjust you smb.conf.

Greetz,

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens
> Jobst Schmalenbach via samba
> Verzonden: donderdag 24 augustus 2017 4:08
> Aan: [hidden email]
> Onderwerp: [Samba] "net view" gets me "System error 71 has
> occured" and "no more connections ...."
>
> Hi
>
> CentOS 6.X 64, all latest updates, samba 4.2.10-10
>
> when logged into a workstation as a user, root or
> administrator I get an error when executing
>
>   net view
>
> The error displayed is
>
>   System error 71 has occured
>   No more connections can be made ... connections as the
> computer can accept
>
> Now I tried this on a number of workstations as a user and
> admin, makes no difference
>
> This used to work until recently, I do not know when it
> stopped but the changes I made
>
>  - changed from samba 3 to samba 4
>  - changed to min SMB2
>  - no changes to smb.conf
>
> I use the "net view" command to see what machines are up and
> I really would like to get this feature back.
>
>
> Am I doing something wrong?
> Any ideas?
>
>
> thanks
> Jobst
>
> --
> Dont blink or you miss it!
>
>   | |0| |   Jobst Schmalenbach, General Manager
>   | | |0|   Barrett & Sales Essentials
>   |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South,
> 3162, Australia
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle via samba ([hidden email]) wrote:
> Your problem starts here :
> >  - changed from samba 3 to samba 4
> And.
> >  - no changes to smb.conf
> ... Its possible, but lets see.. the smb.conf.
>
> Then go here : https://www.samba.org/samba/history/ 
> Review the parameter changes, and adjust you smb.conf.

I read all the migration manuals that I could find on the net before I switched, nothing was needed to be changed.
Also, this answer is of absolute no help and makes people want to just run away and seek better forums!

J

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Hai,

Sorry if you feel like that but i always have to ask this.
Your aswer is not help also for me, because without smb.conf OS and samba version we know nothing..
We dont like guessing, because everybody's time is precious.

So please tell more about your system, i suggest start with.
OS
Samba version
Smb.conf
Upgraded from samba 3.???  To samba 4.??
The more you tell us te better we can help.


Greetz,

Louis

 

> -----Oorspronkelijk bericht-----
> Van: Jobst Schmalenbach [mailto:[hidden email]]
> Verzonden: donderdag 24 augustus 2017 13:01
> Aan: L.P.H. van Belle
> CC: [hidden email]
> Onderwerp: Re: [Samba] "net view" gets me "System error 71
> has occured" and "no more connections ...."
>
> On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle
> via samba ([hidden email]) wrote:
> > Your problem starts here :
> > >  - changed from samba 3 to samba 4
> > And.
> > >  - no changes to smb.conf
> > ... Its possible, but lets see.. the smb.conf.
> >
> > Then go here : https://www.samba.org/samba/history/
> > Review the parameter changes, and adjust you smb.conf.
>
> I read all the migration manuals that I could find on the net
> before I switched, nothing was needed to be changed.
> Also, this answer is of absolute no help and makes people
> want to just run away and seek better forums!
>
> J
>
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
In reply to this post by Samba - General mailing list
On Thu, 24 Aug 2017 21:01:09 +1000
Jobst Schmalenbach via samba <[hidden email]> wrote:

> On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle via samba
> ([hidden email]) wrote:
> > Your problem starts here :
> > >  - changed from samba 3 to samba 4
> > And.
> > >  - no changes to smb.conf
> > ... Its possible, but lets see.. the smb.conf.
> >
> > Then go here : https://www.samba.org/samba/history/ 
> > Review the parameter changes, and adjust you smb.conf.
>
> I read all the migration manuals that I could find on the net before
> I switched, nothing was needed to be changed. Also, this answer is of
> absolute no help and makes people want to just run away and seek
> better forums!
>
> J
>

I think the problem is that you may have misread what Louis was trying
to say, I think he meant this:

There have been a lot of changes between Samba3 and Samba4 and can we
see your smb.conf

What version of Samba3 did to upgrade from ?
What version of Samba4 did you upgrade to ?

Please post your smb.conf

Rowland

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Exactly, and if im guessing, then i guess time is out of sync between client and server.

Greetz,

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens
> Rowland Penny via samba
> Verzonden: donderdag 24 augustus 2017 13:17
> Aan: [hidden email]
> Onderwerp: Re: [Samba] "net view" gets me "System error 71
> has occured" and "no more connections ...."
>
> On Thu, 24 Aug 2017 21:01:09 +1000
> Jobst Schmalenbach via samba <[hidden email]> wrote:
>
> > On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle via samba
> > ([hidden email]) wrote:
> > > Your problem starts here :
> > > >  - changed from samba 3 to samba 4
> > > And.
> > > >  - no changes to smb.conf
> > > ... Its possible, but lets see.. the smb.conf.
> > >
> > > Then go here : https://www.samba.org/samba/history/
> > > Review the parameter changes, and adjust you smb.conf.
> >
> > I read all the migration manuals that I could find on the
> net before I
> > switched, nothing was needed to be changed. Also, this answer is of
> > absolute no help and makes people want to just run away and seek
> > better forums!
> >
> > J
> >
>
> I think the problem is that you may have misread what Louis
> was trying to say, I think he meant this:
>
> There have been a lot of changes between Samba3 and Samba4
> and can we see your smb.conf
>
> What version of Samba3 did to upgrade from ?
> What version of Samba4 did you upgrade to ?
>
> Please post your smb.conf
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Sorry, no.
Both the client and server use the same time server and time zone - both time are the same.

Jobst


On Thu, Aug 24, 2017 at 01:35:34PM +0200, L.P.H. van Belle via samba ([hidden email]) wrote:

> Exactly, and if im guessing, then i guess time is out of sync between client and server.
>
> Greetz,
>
> Louis
>
>
> > -----Oorspronkelijk bericht-----
> > Van: samba [mailto:[hidden email]] Namens
> > Rowland Penny via samba
> > Verzonden: donderdag 24 augustus 2017 13:17
> > Aan: [hidden email]
> > Onderwerp: Re: [Samba] "net view" gets me "System error 71
> > has occured" and "no more connections ...."
> >
> > On Thu, 24 Aug 2017 21:01:09 +1000
> > Jobst Schmalenbach via samba <[hidden email]> wrote:
> >
> > > On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle via samba
> > > ([hidden email]) wrote:
> > > > Your problem starts here :
> > > > >  - changed from samba 3 to samba 4
> > > > And.
> > > > >  - no changes to smb.conf
> > > > ... Its possible, but lets see.. the smb.conf.
> > > >
> > > > Then go here : https://www.samba.org/samba/history/
> > > > Review the parameter changes, and adjust you smb.conf.
> > >
> > > I read all the migration manuals that I could find on the
> > net before I
> > > switched, nothing was needed to be changed. Also, this answer is of
> > > absolute no help and makes people want to just run away and seek
> > > better forums!
> > >
> > > J
> > >
> >
> > I think the problem is that you may have misread what Louis
> > was trying to say, I think he meant this:
> >
> > There have been a lot of changes between Samba3 and Samba4
> > and can we see your smb.conf
> >
> > What version of Samba3 did to upgrade from ?
> > What version of Samba4 did you upgrade to ?
> >
> > Please post your smb.conf
> >
> > Rowland
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

--
Remember that silence is sometimes the best answer.

  | |0| |   Jobst Schmalenbach, General Manager
  | | |0|   Barrett & Sales Essentials
  |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South, 3162, Australia

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
In reply to this post by Samba - General mailing list
Well, put it this way - I thought I had given enough information as I gave the OS version
plus the major Samba versions plus the one change I made in smb.conf.

CentOS 6.9, all patches
Windows 7 Prof, all patches
FROM samba-3.6.23-43.el6_9.x86_64
TO samba-4.2.10-10.el6_9.x86_64

Here is my smb.conf file.
Note there are more shares but they would look the same as the share shown - just with different paths.
--------------------------------------------------------------------------------------------------------
# Global parameters
[global]
 workgroup = DOMAINSERVER
 server string = Domain Server
 netbios name = nb_DOMAINSERVER
 netbios aliases = nb_DOMAINSERVER
 username map = /etc/samba/smbusers

 # used to have more than one interface, hence:
 interfaces = eth0, lo
 bind interfaces only = yes

 #socket options = IPTOS_LOWDELAY TCP_NODELAY
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072

 # Logging, what, how much, etc
 log level = 1
 syslog = 0
 log file = /var/log/samba/samba.log
 max log size = 10000000

 # Auditing
 # This is the default
 # it can be overwritten for each of the shares below.
 # you must specify the next one within the shares:
 #    full_audit:success = rename unlink rmdir mkdir write pwrite link
 vfs objects = full_audit
 full_audit:prefix = %u|%I|%m|%S
 full_audit:failure = none
 full_audit:facility = LOCAL4
 full_audit:priority = NOTICE
 full_audit:success = none
 full_audit:failure = none

 # adding users
 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/sbin/usermod -G %g %u
 add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u

 # passwd stuff
 private dir =  /var/lib/samba/private
 passdb backend = smbpasswd:/var/lib/samba/private/smbpasswd
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 unix password sync = yes
 passwd chat = *password* %n\n *password* %n\n *successfully*
 # passwd chat = *new*password* %n\n *new*password*(again) %n\n *password*changed
 # passwd chat debug = Yes

 # old
 #  idmap uid = 500-10000000
 #  idmap gid = 500-10000000
 # new
 idmap config *: backend       = tdb
 idmap config *: range         = 1000000-1999999
 idmap config DOMAINSERVER : default = Yes
 idmap config DOMAINSERVER : backend = <idmap backend>
 idmap config DOMAINSERVER : range   = 500-999999

 winbind use default domain = Yes
 winbind nested groups = Yes
 winbind normalize names = no

 # domain stuff
 logon script = user.cmd
 logon path = \\DOMAINSERVER\profiles\%u
 logon drive = Z:
 logon home = \\DOMAINSERVER\%u\samba-homeshare
 domain logons = Yes
 os level = 200
 domain master = Yes
 preferred master = Yes
 dns proxy = Yes
 wins support = Yes
 security = user
 encrypt passwords = Yes
 hosts allow = 192.168.0., 127.
 guest account = nobody
 usershare allow guests = No
 name resolve order = hosts wins bcast lmhosts

 # printer setup
 load printers = Yes
 printing = cups
 printcap name = cups
 printcap = cups
 printcap cache time = 750
 cups options = raw
 read raw = yes
 write raw = yes
 oplocks = yes
 max xmit = 65535
 dead time = 15
 getwd cache = yes

 # unix extensions = yes
 unix extensions = no

 # protocol versions
 # Stop using SMB1, period.
 # server min protocol' is the same as 'min protocol', hence
 min protocol = SMB2

[printers]
  comment = "All Printer Spool Area"
  path = /var/spool/samba
  valid users = @domainusers, @domainadministrators
  create mask = 0600
  printable = Yes
  browseable = No
  writelist = @domainadministrators
  guest ok = Yes

[print$]
  comment = "Printer Driver Download Area"
  path = /samba/PrinterDriverShare
  valid users = @domainusers, @domainadministrators
  create mask = 0775
  force create mode = 0775
  directory mask = 0775
  force directory mode = 06775
  readonly = Yes
  writelist = @domainadministrators
  guest ok = Yes

#########################################################################
#
# Printers
#
#########################################################################

[Lexmark]
  comment = "B&W, 40ppm, A4, Duplex Unit, 550 tray"
  path = /var/spool/samba
  browseable = yes
  printable = yes
  writable = no
  guest ok = no
  use client driver = No
  valid users = @domainusers, @domainadministrators, @printops
  admin users = @domainadministrators, @printops

#########################################################################
#
# SERVER SHARES
#
#########################################################################

[netlogon]
  comment = Network Logon Service
  path = /samba/NetLogon
  browseable = Yes
  guest ok = yes
  admin users = root
  full_audit:success = none
  full_audit:failure = none
  # this is required for log files to be written to
  read only = No
  write list = @domainusers, @domainadministrators, clientadmin

[profiles]
  comment = Roaming Profile Share
  path = /samba/Profiles/
  read only = No
  create mask = 0600
  directory mask = 0700
  browseable = yes
  # you MUST disable caching on shares that have roaming profiles stored
  csc policy = disable
  guest ok = no
  valid users = @domainusers, @domainadministrators, score, scanuser, template, everybody
  admin users = root
  store dos attributes = yes
  profile acls = yes
  full_audit:success = none
  full_audit:failure = none
  # The next option is a workaround for windows7/10 with SSD
  # Windows? does not tend to ensure that all locks for the user profile (ntuser.dat and ntuser.ini) are broken on a fast shut down.
  # Another method is to install a delay for the shutdown process of Windows by using a GPO Script.
  oplocks = no

[homes]
  comment = Home Directories
  writable = yes
  #valid users = %u
  browseable = yes
  #read only = No
  #admin users = @domainadministrators
  #hide dot files = Yes
  #follow symlinks = yes
  #wide links = yes
  #guest ok = no
  hide files = /desktop.ini/RECYCLER/desktop/$RECYCLE.BIN/

#########################################################################
#
# USER SHARES
#
#########################################################################

[Docs]
  comment = "Shared Directory for Documents"
  path = /samba/Documents
  valid users = @domainusers
  admin users = root
  read only = No
  create mask = 0660
  force create mode = 0770
  directory mask = 0770
  force directory mode = 06770
  browseable = Yes
  follow symlinks = yes
  wide links = yes
  guest ok = no
  #full_audit:success = open close unlink mkdir write pwrite read pread link
  full_audit:success  = none
  full_audit:failure  = none
  vfs object          = recycle
   recycle:repository  = .recycle/%U/%S
   recycle:keeptree    = yes
   recycle:versions    = yes
   recycle:touch_mtime = yes
   recycle:maxsize     = 104857600

[tmp]
  comment = "tmp"
  path = /tmp/
  valid users = root
  admin users = root
  browseable = No
  full_audit:success = none
  full_audit:failure = none

############################################################################## FINI

--------------------------------------------------------------------------------------------------------

On Thu, Aug 24, 2017 at 01:09:01PM +0200, L.P.H. van Belle ([hidden email]) wrote:

> Hai,
>
> Sorry if you feel like that but i always have to ask this.
> Your aswer is not help also for me, because without smb.conf OS and samba version we know nothing..
> We dont like guessing, because everybody's time is precious.
>
> So please tell more about your system, i suggest start with.
> OS
> Samba version
> Smb.conf
> Upgraded from samba 3.???  To samba 4.??
> The more you tell us te better we can help.
>
>
> Greetz,
>
> Louis
>
>  
>
> > -----Oorspronkelijk bericht-----
> > Van: Jobst Schmalenbach [mailto:[hidden email]]
> > Verzonden: donderdag 24 augustus 2017 13:01
> > Aan: L.P.H. van Belle
> > CC: [hidden email]
> > Onderwerp: Re: [Samba] "net view" gets me "System error 71
> > has occured" and "no more connections ...."
> >
> > On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van Belle
> > via samba ([hidden email]) wrote:
> > > Your problem starts here :
> > > >  - changed from samba 3 to samba 4
> > > And.
> > > >  - no changes to smb.conf
> > > ... Its possible, but lets see.. the smb.conf.
> > >
> > > Then go here : https://www.samba.org/samba/history/
> > > Review the parameter changes, and adjust you smb.conf.
> >
> > I read all the migration manuals that I could find on the net
> > before I switched, nothing was needed to be changed.
> > Also, this answer is of absolute no help and makes people
> > want to just run away and seek better forums!
> >
> > J
> >
> >
>

--
Keyboard not found - please clean up desktop!

  | |0| |   Jobst Schmalenbach, General Manager
  | | |0|   Barrett & Sales Essentials
  |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South, 3162, Australia

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
Reply | Threaded
Open this post in threaded view
|

Re: "net view" gets me "System error 71 has occured" and "no more connections ...."

Samba - General mailing list
Hai Jobst,

Ok i've re-read you thread, and the first thing i think of run :
net config server /autodisconnect  
And bit more in the IP stack reset ip and winsock stacks.
netsh int ip reset
netsh winsock reset

To make sure it is'nt some old windows thing.
Can you try that.

And run on the server where your trying to connect to.
smbstatus -a
Lets see what and how its connected now.
You can anonimize domainnames and ips. These are not important.
Try to add the os what belongs to the ip, that helps in identifying the problem.

Greetz,

Louis



> -----Oorspronkelijk bericht-----
> Van: Jobst Schmalenbach [mailto:[hidden email]]
> Verzonden: woensdag 6 september 2017 7:50
> Aan: L.P.H. van Belle
> CC: [hidden email]
> Onderwerp: Re: [Samba] "net view" gets me "System error 71
> has occured" and "no more connections ...."
>
> Well, put it this way - I thought I had given enough
> information as I gave the OS version plus the major Samba
> versions plus the one change I made in smb.conf.
>
> CentOS 6.9, all patches
> Windows 7 Prof, all patches
> FROM samba-3.6.23-43.el6_9.x86_64
> TO samba-4.2.10-10.el6_9.x86_64
>
> Here is my smb.conf file.
> Note there are more shares but they would look the same as
> the share shown - just with different paths.
> --------------------------------------------------------------
> ------------------------------------------
> # Global parameters
> [global]
>  workgroup = DOMAINSERVER
>  server string = Domain Server
>  netbios name = nb_DOMAINSERVER
>  netbios aliases = nb_DOMAINSERVER
>  username map = /etc/samba/smbusers
>
>  # used to have more than one interface, hence:
>  interfaces = eth0, lo
>  bind interfaces only = yes
>
>  #socket options = IPTOS_LOWDELAY TCP_NODELAY  socket options
> = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072
> SO_SNDBUF=131072
>
>  # Logging, what, how much, etc
>  log level = 1
>  syslog = 0
>  log file = /var/log/samba/samba.log
>  max log size = 10000000
>
>  # Auditing
>  # This is the default
>  # it can be overwritten for each of the shares below.
>  # you must specify the next one within the shares:
>  #    full_audit:success = rename unlink rmdir mkdir write pwrite link
>  vfs objects = full_audit
>  full_audit:prefix = %u|%I|%m|%S
>  full_audit:failure = none
>  full_audit:facility = LOCAL4
>  full_audit:priority = NOTICE
>  full_audit:success = none
>  full_audit:failure = none
>
>  # adding users
>  add user script = /usr/sbin/useradd -m %u  delete user
> script = /usr/sbin/userdel -r %u  add group script =
> /usr/sbin/groupadd %g  delete group script =
> /usr/sbin/groupdel %g  add user to group script =
> /usr/sbin/usermod -G %g %u  add machine script =
> /usr/sbin/useradd -s /bin/false -d /dev/null %u
>
>  # passwd stuff
>  private dir =  /var/lib/samba/private
>  passdb backend = smbpasswd:/var/lib/samba/private/smbpasswd
>  pam password change = Yes
>  passwd program = /usr/bin/passwd %u
>  unix password sync = yes
>  passwd chat = *password* %n\n *password* %n\n *successfully*
>  # passwd chat = *new*password* %n\n *new*password*(again)
> %n\n *password*changed  # passwd chat debug = Yes
>
>  # old
>  #  idmap uid = 500-10000000
>  #  idmap gid = 500-10000000
>  # new
>  idmap config *: backend       = tdb
>  idmap config *: range         = 1000000-1999999
>  idmap config DOMAINSERVER : default = Yes  idmap config
> DOMAINSERVER : backend = <idmap backend>
>  idmap config DOMAINSERVER : range   = 500-999999
>
>  winbind use default domain = Yes
>  winbind nested groups = Yes
>  winbind normalize names = no
>
>  # domain stuff
>  logon script = user.cmd
>  logon path = \\DOMAINSERVER\profiles\%u  logon drive = Z:
>  logon home = \\DOMAINSERVER\%u\samba-homeshare  domain
> logons = Yes  os level = 200  domain master = Yes  preferred
> master = Yes  dns proxy = Yes  wins support = Yes  security =
> user  encrypt passwords = Yes  hosts allow = 192.168.0., 127.
>  guest account = nobody
>  usershare allow guests = No
>  name resolve order = hosts wins bcast lmhosts
>
>  # printer setup
>  load printers = Yes
>  printing = cups
>  printcap name = cups
>  printcap = cups
>  printcap cache time = 750
>  cups options = raw
>  read raw = yes
>  write raw = yes
>  oplocks = yes
>  max xmit = 65535
>  dead time = 15
>  getwd cache = yes
>
>  # unix extensions = yes
>  unix extensions = no
>
>  # protocol versions
>  # Stop using SMB1, period.
>  # server min protocol' is the same as 'min protocol', hence  
> min protocol = SMB2
>
> [printers]
>   comment = "All Printer Spool Area"
>   path = /var/spool/samba
>   valid users = @domainusers, @domainadministrators
>   create mask = 0600
>   printable = Yes
>   browseable = No
>   writelist = @domainadministrators
>   guest ok = Yes
>
> [print$]
>   comment = "Printer Driver Download Area"
>   path = /samba/PrinterDriverShare
>   valid users = @domainusers, @domainadministrators
>   create mask = 0775
>   force create mode = 0775
>   directory mask = 0775
>   force directory mode = 06775
>   readonly = Yes
>   writelist = @domainadministrators
>   guest ok = Yes
>
> ##############################################################
> ###########
> #
> # Printers
> #
> ##############################################################
> ###########
>
> [Lexmark]
>   comment = "B&W, 40ppm, A4, Duplex Unit, 550 tray"
>   path = /var/spool/samba
>   browseable = yes
>   printable = yes
>   writable = no
>   guest ok = no
>   use client driver = No
>   valid users = @domainusers, @domainadministrators, @printops
>   admin users = @domainadministrators, @printops
>
> ##############################################################
> ###########
> #
> # SERVER SHARES
> #
> ##############################################################
> ###########
>
> [netlogon]
>   comment = Network Logon Service
>   path = /samba/NetLogon
>   browseable = Yes
>   guest ok = yes
>   admin users = root
>   full_audit:success = none
>   full_audit:failure = none
>   # this is required for log files to be written to
>   read only = No
>   write list = @domainusers, @domainadministrators, clientadmin
>
> [profiles]
>   comment = Roaming Profile Share
>   path = /samba/Profiles/
>   read only = No
>   create mask = 0600
>   directory mask = 0700
>   browseable = yes
>   # you MUST disable caching on shares that have roaming
> profiles stored
>   csc policy = disable
>   guest ok = no
>   valid users = @domainusers, @domainadministrators, score,
> scanuser, template, everybody
>   admin users = root
>   store dos attributes = yes
>   profile acls = yes
>   full_audit:success = none
>   full_audit:failure = none
>   # The next option is a workaround for windows7/10 with SSD
>   # Windows? does not tend to ensure that all locks for the
> user profile (ntuser.dat and ntuser.ini) are broken on a fast
> shut down.
>   # Another method is to install a delay for the shutdown
> process of Windows by using a GPO Script.
>   oplocks = no
>
> [homes]
>   comment = Home Directories
>   writable = yes
>   #valid users = %u
>   browseable = yes
>   #read only = No
>   #admin users = @domainadministrators
>   #hide dot files = Yes
>   #follow symlinks = yes
>   #wide links = yes
>   #guest ok = no
>   hide files = /desktop.ini/RECYCLER/desktop/$RECYCLE.BIN/
>
> ##############################################################
> ###########
> #
> # USER SHARES
> #
> ##############################################################
> ###########
>
> [Docs]
>   comment = "Shared Directory for Documents"
>   path = /samba/Documents
>   valid users = @domainusers
>   admin users = root
>   read only = No
>   create mask = 0660
>   force create mode = 0770
>   directory mask = 0770
>   force directory mode = 06770
>   browseable = Yes
>   follow symlinks = yes
>   wide links = yes
>   guest ok = no
>   #full_audit:success = open close unlink mkdir write pwrite
> read pread link
>   full_audit:success  = none
>   full_audit:failure  = none
>   vfs object          = recycle
>    recycle:repository  = .recycle/%U/%S
>    recycle:keeptree    = yes
>    recycle:versions    = yes
>    recycle:touch_mtime = yes
>    recycle:maxsize     = 104857600
>
> [tmp]
>   comment = "tmp"
>   path = /tmp/
>   valid users = root
>   admin users = root
>   browseable = No
>   full_audit:success = none
>   full_audit:failure = none
>
> ##############################################################
> ################ FINI
>
> --------------------------------------------------------------
> ------------------------------------------
>
> On Thu, Aug 24, 2017 at 01:09:01PM +0200, L.P.H. van Belle
> ([hidden email]) wrote:
> > Hai,
> >
> > Sorry if you feel like that but i always have to ask this.
> > Your aswer is not help also for me, because without
> smb.conf OS and samba version we know nothing..
> > We dont like guessing, because everybody's time is precious.
> >
> > So please tell more about your system, i suggest start with.
> > OS
> > Samba version
> > Smb.conf
> > Upgraded from samba 3.???  To samba 4.??
> > The more you tell us te better we can help.
> >
> >
> > Greetz,
> >
> > Louis
> >
> >  
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: Jobst Schmalenbach [mailto:[hidden email]]
> > > Verzonden: donderdag 24 augustus 2017 13:01
> > > Aan: L.P.H. van Belle
> > > CC: [hidden email]
> > > Onderwerp: Re: [Samba] "net view" gets me "System error 71 has
> > > occured" and "no more connections ...."
> > >
> > > On Thu, Aug 24, 2017 at 08:35:48AM +0200, L.P.H. van
> Belle via samba
> > > ([hidden email]) wrote:
> > > > Your problem starts here :
> > > > >  - changed from samba 3 to samba 4
> > > > And.
> > > > >  - no changes to smb.conf
> > > > ... Its possible, but lets see.. the smb.conf.
> > > >
> > > > Then go here : https://www.samba.org/samba/history/
> > > > Review the parameter changes, and adjust you smb.conf.
> > >
> > > I read all the migration manuals that I could find on the
> net before
> > > I switched, nothing was needed to be changed.
> > > Also, this answer is of absolute no help and makes people want to
> > > just run away and seek better forums!
> > >
> > > J
> > >
> > >
> >
>
> --
> Keyboard not found - please clean up desktop!
>
>   | |0| |   Jobst Schmalenbach, General Manager
>   | | |0|   Barrett & Sales Essentials
>   |0|0|0|   +61 3 9533 0000, POBox 277, Caulfield South,
> 3162, Australia
>
>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba