User Tools

Site Tools


nas_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas_centos7 [2015/04/06 10:45] herwarthnas_centos7 [2015/04/12 08:41] (current) herwarth
Line 72: Line 72:
   samba-tool domain passwordsettings set --min-pwd-age=0   samba-tool domain passwordsettings set --min-pwd-age=0
   samba-tool domain passwordsettings set --max-pwd-age=0   samba-tool domain passwordsettings set --max-pwd-age=0
 +  samba-tool domain passwordsettings set --min-pwd-length=0
 +
 ====Homedir on server==== ====Homedir on server====
 <code - /etc/samba/smb.conf> <code - /etc/samba/smb.conf>
Line 121: Line 123:
 Having the correct permissions set on the server share also protects users from accessing another user's files. If you set the permissions correctly as outlined in this howto you should be able to test this successfully. Having the correct permissions set on the server share also protects users from accessing another user's files. If you set the permissions correctly as outlined in this howto you should be able to test this successfully.
 ====Set security policy to allow domain==== ====Set security policy to allow domain====
-Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page +  Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Site to Zone Assignment List > Enable and add a zone: value name: *.lzw.zorgnet value 1 
-User Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page+The above is enough, but just in case: 
 +  User Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Site to Zone Assignment List > Enable and add a zone: value name: *.lzw.zorgnet value 1 
 + 
 +====DHCP disable change hostname policy==== 
 +Computer Configuration > Policies > Administrative Templates > Network > DNS Client > Dynamic Update = Disabled > Register PTR Records = Disabled 
 + 
 +====Set drive mappings==== 
 +  User Configuration > Preferences > Windows Settings > Drive maps (choose replace as type) 
 +   - F: \\nas.lzw.zorgnet\data 
 +   - H: \\nas.lzw.zorgnet\users\%username% 
 +   - M: \\nas.lzw.zorgnet\mirasrc 
 +   - U: \\nas.lzw.zorgnet\uirom 
 +   - W: \\nas.lzw.zorgnet\windata 
 +   - T: \\nas.lzw.zorgnet\temp 
 +====Add printers==== 
 +   - Add printerdrivers using Print Management tool in Windows 
 +   - Connect drivers to cups printers: 
 + 
 +  rpcclient localhost -U administrator -c 'enumdrivers' 
 + 
 +  rpcclient localhost -U administrator -c 'setdriver "ETKPRT1L" "Star TSP442 Line Mode Printer"' 
 +  rpcclient localhost -U administrator -c 'setdriver "RECPRT1L" "HP LaserJet P2050 Series PCL6"' 
 +  rpcclient localhost -U administrator -c 'setdriver "RECPRT2L" "Samsung SCX-483x 5x3x Series"' 
 +  rpcclient localhost -U administrator -c 'setdriver "SYSPRT1L" "HP LaserJet P2050 Series PCL6"' 
 +  rpcclient localhost -U administrator -c 'setdriver "SYSPRT2L" "Samsung SCX-483x 5x3x Series"' 
 +  rpcclient localhost -U administrator -c 'setdriver "SYSPRT1LD" "HP LaserJet P2050 Series PCL6"' 
 +  rpcclient localhost -U administrator -c 'setdriver "SYSPRT2LD" "Samsung SCX-483x 5x3x Series"' 
 + 
 +  rpcclient localhost -U administrator -c 'enumprinters'
  
 In the end we have the following samba configuration: In the end we have the following samba configuration:
Line 186: Line 216:
  printable = yes  printable = yes
  printing = CUPS  printing = CUPS
-</samba>+ 
 +[ETKPRT1L] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = ETKPRT1L 
 + read only = no 
 + 
 +[RECPRT1L] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = RECPRT1L 
 + read only = no 
 + 
 +[RECPRT2L] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = RECPRT2L 
 + read only = no 
 + 
 +[SYSPRT1L] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = SYSPRT1L 
 + read only = no 
 + 
 +[SYSPRT1LD] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = SYSPRT1LD 
 + read only = no 
 + 
 +[SYSPRT2L] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = SYSPRT2L 
 + read only = no 
 + 
 +[SYSPRT2LD] 
 + path = /var/spool/samba 
 + browseable = yes 
 + printable = yes 
 + printer name = SYSPRT2LD 
 + read only = no 
 +</code>
  
   mkdir /var/spool/samba   mkdir /var/spool/samba
Line 244: Line 323:
 <Printer RECPRT1L> <Printer RECPRT1L>
 UUID urn:uuid:9a25d5bb-9b25-3da5-5ae3-1f47e05dc2ec UUID urn:uuid:9a25d5bb-9b25-3da5-5ae3-1f47e05dc2ec
-Info HP Laserjet 2430 PCL 5e+Info HP Laserjet P2055dn
 DeviceURI socket://10.108.108.51:9100 DeviceURI socket://10.108.108.51:9100
 State Idle State Idle
Line 276: Line 355:
 <Printer SYSPRT1L> <Printer SYSPRT1L>
 UUID urn:uuid:3b990d2d-df8e-3ff0-52f6-23b3eefb77d8 UUID urn:uuid:3b990d2d-df8e-3ff0-52f6-23b3eefb77d8
-Info HP Laserjet 2430 PCL 5e+Info HP Laserjet P2055dn
 DeviceURI socket://10.108.108.51:9100 DeviceURI socket://10.108.108.51:9100
 State Idle State Idle
Line 292: Line 371:
 <Printer SYSPRT1LD> <Printer SYSPRT1LD>
 UUID urn:uuid:4c5de6d6-d3ba-3358-5653-65bf24278e50 UUID urn:uuid:4c5de6d6-d3ba-3358-5653-65bf24278e50
-Info HP Laserjet 2430 PCL 5e+Info HP Laserjet P2055dn
 DeviceURI socket://10.108.108.51:9100 DeviceURI socket://10.108.108.51:9100
 State Idle State Idle
nas_centos7.1428317153.txt.gz · Last modified: by herwarth