This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nas_centos7 [2015/04/06 10:45] – herwarth | nas_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 - / | <code - / | ||
| 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 | + | |
| - | 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 ' | ||
| + | |||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | rpcclient localhost -U administrator -c ' | ||
| + | |||
| + | rpcclient localhost -U administrator -c ' | ||
| 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 = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = RECPRT1L | ||
| + | read only = no | ||
| + | |||
| + | [RECPRT2L] | ||
| + | path = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = RECPRT2L | ||
| + | read only = no | ||
| + | |||
| + | [SYSPRT1L] | ||
| + | path = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = SYSPRT1L | ||
| + | read only = no | ||
| + | |||
| + | [SYSPRT1LD] | ||
| + | path = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = SYSPRT1LD | ||
| + | read only = no | ||
| + | |||
| + | [SYSPRT2L] | ||
| + | path = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = SYSPRT2L | ||
| + | read only = no | ||
| + | |||
| + | [SYSPRT2LD] | ||
| + | path = / | ||
| + | browseable = yes | ||
| + | printable = yes | ||
| + | printer name = SYSPRT2LD | ||
| + | read only = no | ||
| + | </code> | ||
| mkdir / | mkdir / | ||
| Line 244: | Line 323: | ||
| <Printer RECPRT1L> | <Printer RECPRT1L> | ||
| UUID urn: | UUID urn: | ||
| - | Info HP Laserjet | + | Info HP Laserjet |
| DeviceURI socket:// | DeviceURI socket:// | ||
| State Idle | State Idle | ||
| Line 276: | Line 355: | ||
| <Printer SYSPRT1L> | <Printer SYSPRT1L> | ||
| UUID urn: | UUID urn: | ||
| - | Info HP Laserjet | + | Info HP Laserjet |
| DeviceURI socket:// | DeviceURI socket:// | ||
| State Idle | State Idle | ||
| Line 292: | Line 371: | ||
| <Printer SYSPRT1LD> | <Printer SYSPRT1LD> | ||
| UUID urn: | UUID urn: | ||
| - | Info HP Laserjet | + | Info HP Laserjet |
| DeviceURI socket:// | DeviceURI socket:// | ||
| State Idle | State Idle | ||