TTcn4n class=editedby">Edited byonh4>cn3n class=editor">Jelmeronspan> R.onspan> Vernooijonspan>d/h3ucn3n class=editor">Johnonspan> H.onspan> Terpstraonspan>d/h3ucn3n class=editor">Geraldonspan> (Jerry)onspan> Carteronspan>d/h3ucnstrucnstrucstrucpn class=pubdaee">Tablsiof Conaelesonb>Attribuiillona>onspan>d/stucdt>Abstractona>onspan>d/stucdt>Forewordona>onspan>d/stucdt>Pr"#ace and Ina oduceionona>onspan>d/stucdducdlucdt>What IsiScltn?ona>onspan>d/stucdt>Why This Book?ona>onspan>d/stucdt>Book Struceure aldoLayoutona>onspan>d/stuc/dlucnsducdt>crnf="#id#5na oduceion">I. General Installaeionona>onspan>d/stucdducdlucdt>crnf="#id#5nstall">1. How to Install aldoTeNT SAMBAona>onspan>d/stucdducdlucdt>Obtoreior and Installior Scltnona>onspan>d/stucdt>Configurior Scltn (smb.conf)ona>onspan>d/stucdducdlucdt>Configuraiillhfile syleaxona>onspan>d/stucdt>Startior Scltnona>onspan>d/stucdt>Exahele Configuraiillona>onspan>d/stucdt>SWATona>onspan>d/stuc/dlucnsducdt>LiNT Shares Availablsion tonspan>d/stucdt>ConneDiiwrth a UNIX Cliectona>onspan>d/stucdt>ConneDiifrom a Remote SMBoCliectona>onspan>d/stucdt>What If Thiors Don't W.(f?ona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Large Number of smbd Processesona>onspan>d/stucdt>ErroriMessage: open_oplock_ipcona>onspan>d/stucdt>Tonspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#FastStart">2. Fast Start: Cure for Iheaiienceona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Descriptill ofoExahele Sitesona>onspan>d/stucdt>W.(fed Exahelesona>onspan>d/stucdducdlucdt>Stand-alone Sf Oerona>onspan>d/stucdt>DomoreiMember Sf Oerona>onspan>d/stucdt>DomoreiCona ollerona>onspan>d/stuc/dlucnsduc/dlucnsduc/dlucnsducdt>crnf="#id#type">II. Sf Oer Configuraiill Basicsona>onspan>d/stucdducdlucdt>crnf="#id#Sf OerType">3. Sf Oer Types ald SfDurity Modesona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Sf Oer Typesona>onspan>d/stucdt>Scltn SfDurity Modesona>onspan>d/stucdducdlucdt>User Level SfDurityona>onspan>d/stucdt>Share Level SfDurityona>onspan>d/stucdt>DomoreiSfDurity Mode (User Level SfDurity)ona>onspan>d/stucdt>ADS SfDurity Mode (User Level SfDurity)ona>onspan>d/stucdt>Sf Oer SfDurity (User Level SfDurity)ona>onspan>d/stuc/dlucnsducdt>Password Checkiorona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>What MakesiScltn n Sf Oer?ona>onspan>d/stucdt>What MakesiScltn n DomoreiCona oller?ona>onspan>d/stucdt>onspan>d/stucdt>Constantly Losior ConneDiills to Password Sf Oerona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#scltn-pdc">4. DomoreiCona olona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>onspan>d/stucdducdlucdt>DomoreiCona oller Typesona>onspan>d/stucdt>Pr"parior for DomoreiCona olona>onspan>d/stuc/dlucnsducdt>DomoreiCona ol Exahele Configuraiillona>onspan>d/stucdt>Scltn ADS DomoreiCona olona>onspan>d/stucdt>Domoreiand Netw.(fnLogll Configuraiillona>onspan>d/stucdducdlucdt>DomoreiNetw.(fnLogll Se Oiceona>onspan>d/stucdt>SfDurity Mode and Master Br ssersona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>$ Cannot Be Included reiMachioe Nameona>onspan>d/stucdt>Joreior DomoreiFails Because ofoExiNTior Machioe Acc_aclona>onspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stucdt>Acc_acl Disablsdona>onspan>d/stucdt>DomoreiCona oller Unavailablsona>onspan>d/stucdt>Cannot Log onao DomoreiMember W.(fstatill After Joreior Domoreona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#scltn-bdc">5. Backup DomoreiCona olona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>onspan>d/stucdducdlucdt>MSoWind ss NT4-style DomoreiCona olona>onspan>d/stucdt>LDAP Configuraiill Notesona>onspan>d/stucdt>Actave DibfDiory DomoreiCona olona>onspan>d/stucdt>What Qualifies n DomoreiCona ollerion tonspan>d/stucdt>How does n W.(fstatill fild its DomoreiCona oller?ona>onspan>d/stuc/dlucnsducdt>Backup DomoreiCona oller Configuraiillona>onspan>d/stucdducdlucdt>Exahele Configuraiillona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>Machioe Acc_acls Keep Expiriorona>onspan>d/stucdt>CaniScltn Be a Backup DomoreiCona oller ao aniNT4 PDC?ona>onspan>d/stucdt>How Do I Replicate tonspan>d/stucdt>CaniI Do This All wrth LDAP?ona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#domore-member">6. DomoreiMembershipona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>MSoWind ss W.(fstatill/Sf Oer Machioe Trust Acc_aclsona>onspan>d/stucdducdlucdt>ManualoCreaeion of Machioe Trust Acc_aclsona>onspan>d/stucdt>Managior DomoreiMachioe Acc_acls usior NT4 Sf Oer Managerona>onspan>d/stucdt>On-tonspan>d/stucdt>Makior an MSoWind ss W.(fstatill or Sf Oer n DomoreiMemberona>onspan>d/stuc/dlucnsducdt>DomoreiMember Sf Oerona>onspan>d/stucdducdlucdt>Joreior aniNT4-type Domoreiwrth Scltn-3ona>onspan>d/stucdt>Why Is This Better ThannsfDurity = se Oer?ona>onspan>d/stuc/dlucnsducdt>Scltn ADS DomoreiMembershipona>onspan>d/stucdducdlucdt>Configure smb.confona>onspan>d/stucdt>Configure /etc/krb5.confona>onspan>d/stucdt>Creaee tonspan>d/stucdt>TeNTior Sf Oer Sftupona>onspan>d/stucdt>TeNTior wrth smbcliectona>onspan>d/stucdt>Notesona>onspan>d/stuc/dlucnsducdt>Sharior User ID Mappiors between Scltn DomoreiMembersona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Cannot Add Machioe Back ao Domoreona>onspan>d/stucdt>Addior Machioe ao DomoreiFailsona>onspan>d/stucdt>IhCan't Jore n Wind ss 2003 PDCona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#StandAloneSe Oer">7. Stand-alone Sf Oersona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Backgroundona>onspan>d/stucdt>Exahele Configuraiillona>onspan>d/stucdducdlucdt>Re#erence Documeleaeion Sf Oerona>onspan>d/stucdt>Celeral Priot Se Oiorona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stuc/dlucnsducdt>crnf="#id#CliectConfig">8. MSoWind ss Netw.(fnConfiguraiill Guideonspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Technrcal Detailsona>onspan>d/stucdducdlucdt>TCP/IP Configuraiillona>onspan>d/stucdt>Joreior a Domore: Wind ss 2000/XP Professillalona>onspan>d/stucdt>DomoreiLogll Configuraiill: Wind ss 9x/Meona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#opiillal">III. Advanced Configuraiillona>onspan>d/stucdducdlucdt>crnf="#id#Netw.(fBr ssior">9. Netw.(fnBr ssioronspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>What IsiBr ssior?ona>onspan>d/stucdt>Discussillona>onspan>d/stucdducdlucdt>NetBIOS oOer TCP/IPona>onspan>d/stucdt>TCP/IP wrthoue NetBIOSona>onspan>d/stucdt>DNS ald Actave DibfDioryona>onspan>d/stuc/dlucnsducdt>How Br ssior FunDiillsona>onspan>d/stucdducdlucdt>Configurior WORKGROUPnBr ssioronspan>d/stucdt>DOMAIN Br ssior Configuraiillona>onspan>d/stucdt>Forcior Scltn ao Be tonspan>d/stucdt>Makior Scltn ahe DomoreiMasteronspan>d/stucdt>Note aboue Broadcast Addressesona>onspan>d/stucdt>Multiele Inter#acesona>onspan>d/stucdt>Use ofoahe Remote Ann_acce Parameteronspan>d/stucdt>Use ofoahe Remote Br sse Sync Parameteronspan>d/stuc/dlucnsducdt>onspan>d/stucdducdlucdt>WINSiSf Oer Configuraiillona>onspan>d/stucdt>WINSiReplicatillona>onspan>d/stucdt>Seaeic WINSiEleriesona>onspan>d/stuc/dlucnsducdt>Helpful Hiclsona>onspan>d/stucdducdlucdt>onspan>d/stucdt>Name Resolutill Orderonspan>d/stuc/dlucnsducdt>Technrcal Ove Oiew ofoBr ssioronspan>d/stucdducdlucdt>Br ssior Support reiScltnona>onspan>d/stucdt>Problem Resolutillona>onspan>d/stucdt>Cross-SubnetoBr ssioronspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>How CaniOne Flush tonspan>d/stucdt>Sf Oer ResourceshCaniNot Be LiNTsdona>onspan>d/stucdt>I getoann`Unablsiao br sse tonspan>d/stucdt>Br ssior ofoShares aldoDibfDiories is Very Slowona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#passdb">10. Acc_acl Informaiill Databasesona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdducdlucdt>Backward Coheaiibility Backendsona>onspan>d/stucdt>New Backendsona>onspan>d/stuc/dlucnsducdt>Technrcal Informaiillona>onspan>d/stucdducdlucdt>Importale Notes Aboue SfDurityona>onspan>d/stucdt>Mappior User Ideneifiers between MSoWind ss ald UNIXona>onspan>d/stucdt>Mappior Common UIDs/GIDsion Distribuied Machioesona>onspan>d/stuc/dlucnsducdt>Acc_acl Monagemele Toolsona>onspan>d/stucdducdlucdt>Tonspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>Password Backendsona>onspan>d/stucdducdlucdt>Ploretextona>onspan>d/stucdt>smbpasswd iElcrypted Password Databaseona>onspan>d/stucdt>tdbsamona>onspan>d/stucdt>ldapsamona>onspan>d/stucdt>MySQLona>onspan>d/stucdt>XMLona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>UsershCannot Logllona>onspan>d/stucdt>UsershBeior Added to tonspan>d/stucdt>Configuraiillhofoauth methodsona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#groupmappior">11.oGroup Mappior MSoWind ss ald UNIXona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Discussillona>onspan>d/stucdducdlucdt>Importale Administraiive Informaiillona>onspan>d/stucdt>DefaultoUsers, Groups and Relaiive Ideneifiersona>onspan>d/stucdt>Exahele Configuraiillona>onspan>d/stuc/dlucnsducdt>onspan>d/stucdducdlucdt>Sahele smb.conf Add Group Scriptona>onspan>d/stucdt>Script to Configure Group Mappiorona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>Addior Groups Failsona>onspan>d/stucdt>Addior MSoWind ss Groups to MSoWind ss Groups Failsona>onspan>d/stucdt>Addior DomoreiUsershto tonspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#AccessCona ols">12. File,oDibfDiory ald Share Access Cona olsona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>File SystemhAccess Cona olsona>onspan>d/stucdducdlucdt>MSoWind ss NTFS Cohearisll wrth UNIX File Systemsona>onspan>d/stucdt>Managior DibfDioriesona>onspan>d/stucdt>File aldoDibfDioryhAccess Cona olona>onspan>d/stuc/dlucnsducdt>Share Definitill Access Cona olsona>onspan>d/stucdducdlucdt>User aldoGroup-Based Cona olsona>onspan>d/stucdt>File aldoDibfDioryhPlamissills-Based Cona olsona>onspan>d/stucdt>Miscellaneous Cona olsona>onspan>d/stuc/dlucnsducdt>Access Cona olsion Sharesona>onspan>d/stucdducdlucdt>Share Plamissills Monagemeleona>onspan>d/stuc/dlucnsducdt>MSoWind ss Access Cona ol LiNTs ald UNIX Interoperabilityona>onspan>d/stucdducdlucdt>Managior UNIX Plamissills Usior NT SfDurity Dialogsona>onspan>d/stucdt>Viewior File SfDurity ll a Scltn Shareona>onspan>d/stucdt>Viewior File Ownershipona>onspan>d/stucdt>Viewior File or DibfDioryhPlamissillsona>onspan>d/stucdt>Modifyior File or DibfDioryhPlamissillsona>onspan>d/stucdt>InaeraDiill wrth tonspan>d/stucdt>InaeraDiill wrth tonspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>UsershCannot Write ao a Public Shareona>onspan>d/stucdt>File Operaiills Done as rooiiwrth force user Setona>onspan>d/stucdt>MSoWord wrth Scltn Changes OwnerhofoFileona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#lockior">13. File and Record Lockiorona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Discussillona>onspan>d/stucdducdlucdt>OpportunisticoLockior Ove Oiewona>onspan>d/stuc/dlucnsducdt>Scltn OpportunisticoLockior Cona olona>onspan>d/stucdducdlucdt>Exahele Configuraiillona>onspan>d/stuc/dlucnsducdt>MSoWind ss OpportunisticoLockior ald Cachior Cona olsona>onspan>d/stucdducdlucdt>W.(fstatill Se OiceiEleriesona>onspan>d/stucdt>Sf Oer Sf OiceiEleriesona>onspan>d/stuc/dlucnsducdt>PlasiNTscl Data Corrupiillona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>lockior.tdb ErroriMessagesona>onspan>d/stucdt>ProblemsiScvior Files reiMSoOffic" ll Wind ss XPona>onspan>d/stucdt>Loor Delays Deletior Files Ove Netw.(fnwrth XP SP1ona>onspan>d/stuc/dlucnsducdt>Addiiillal Readiorona>onspan>d/stuc/dlucnsducdt>crnf="#id#sfDuring-scltn">14. SfDurior Scltnona>onspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdt>Features ald Benefitsona>onspan>d/stucdt>Technrcal DiscussillhofoProtectave Measures ald Issuesona>onspan>d/stucdducdlucdt>Usior Host-Based Protectallona>onspan>d/stucdt>User-Based Protectallona>onspan>d/stucdt>Usior Inter#ace Protectallona>onspan>d/stucdt>Usior n Firewallona>onspan>d/stucdt>Usior IPC$ Share-Based Denials ona>onspan>d/stucdt>NTLMv2 SfDurityona>onspan>d/stuc/dlucnsducdt>Upgradior Scltnona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Smbcliect W.(fs ll Localhost, bui tonspan>d/stucdt>Why CaniUsershAccess HomeoDibfDiories ofoOtheriUsers?ona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#InterdomoreTrusts">15. Interdomore Trust Relaiillshipsona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Trust Relaiillship Backgroundona>onspan>d/stucdt>Naiive MSoWind ss NT4 Trusts Configuraiillona>onspan>d/stucdducdlucdt>Creaeior aniNT4 DomoreiTrustona>onspan>d/stucdt>Completior aniNT4 DomoreiTrustona>onspan>d/stucdt>Inter-DomoreiTrust Facilitiesona>onspan>d/stuc/dlucnsducdt>Configurior Scltn NT-Style DomoreiTrustsona>onspan>d/stucdducdlucdt>Scltn as tonspan>d/stucdt>Scltn as tonspan>d/stuc/dlucnsducdt>NT4-Style DomoreiTrustsnwrth Wind ss 2000ona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Br ssior ofoTrusted Domore Failsona>onspan>d/stucdt>ProblemsiWrth LDAP ldapsam AldoTonspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#msdfs">16. Hostior n Microsoft Distribuied File SystemhTreeonspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>MSDFS UNIX Path IshCase-Critrcalona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#priotior">17. Cclasrcal Priotior Supportonspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Technrcal Ina oduceionona>onspan>d/stucdducdlucdt>Cliect to Scltn Priot Job Processioronspan>d/stucdt>Priotior Relaied Configuraiill Parametersona>onspan>d/stuc/dlucnsducdt>Sihele Priot Configuraiillona>onspan>d/stucdducdlucdt>Verifyior Configuraiill wrth testparmonspan>d/stucdt>Rapid Configuraiill Validaeionona>onspan>d/stuc/dlucnsducdt>Extended Priotior Configuraiillona>onspan>d/stucdducdlucdt>Detailed Explanatill Settiorsona>onspan>d/stuc/dlucnsducdt>Priotior Developmeles Sicce Scltn-2.2ona>onspan>d/stucdducdlucdt>Poict'n'Priot Cliect DriOersion Scltn Sf Oersona>onspan>d/stucdt>Tonspan>d/stucdt>Creaeior tonspan>d/stucdt>[priot$] SeDiill Parametersona>onspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>Installior DriOersiinao [priot$]ona>onspan>d/stucdducdlucdt>Add Prioter Wizard DriOer Installaeionona>onspan>d/stucdt>Installior Priot DriOersiUsior rpccliectona>onspan>d/stuc/dlucnsducdt>Cliect DriOer Installaeion Procedureona>onspan>d/stucdducdlucdt>First Cliect DriOer Installaeionona>onspan>d/stucdt>Settior Devic" Modesion New Priotersona>onspan>d/stucdt>Addiiillal Cliect DriOer Installaeionona>onspan>d/stucdt>Always Make First Cliect ConneDiill as rooiior prioter adminona>onspan>d/stuc/dlucnsducdt>OtheriGotchasona>onspan>d/stucdducdlucdt>Settior DefaultoPriot Opiills for Cliect DriOersona>onspan>d/stucdt>Supportior Large NumbershofoPriotersona>onspan>d/stucdt>Addior New Prioters wrth tonspan>d/stucdt>ErroriMessage: Cannot conneDiiunder n dif#erent Nameona>onspan>d/stucdt>Take Care When Assemblior DriOer Filesona>onspan>d/stucdt>onspan>d/stucdt>Avoidior Common Cliect DriOer Mis-configuraiillona>onspan>d/stuc/dlucnsducdt>Tonspan>d/stucdducdlucdt>onspan>d/stucdt>Creaeior Prioter DriOer Packagesona>onspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>Addior Netw.(f Prioters wrthoue User InaeraDiillona>onspan>d/stucdt>Tonspan>d/stucdt>MigraiillhofoCclasrcal Priotior to Scltnona>onspan>d/stucdt>Publishior Prioter Informaiill in Actave DibfDioryior LDAPona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>IhGive My RooiiPassword bui I Do Not Get Accessona>onspan>d/stucdt>My Priot Jobs Get Spooled reto tonspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#CUPS-priotior">18. CUPS Priotior Supportonspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Ove Oiewona>onspan>d/stuc/dlucnsducdt>Basic CUPS Support Configuraiillona>onspan>d/stucdducdlucdt>Linkior smbd wrth libcups.soona>onspan>d/stucdt>Sihele smb.conf Settiors for CUPSona>onspan>d/stucdt>More Complex CUPS smb.conf Settiorsona>onspan>d/stuc/dlucnsducdt>Advanced Configuraiillona>onspan>d/stucdducdlucdt>Celeral Spoolior vs. Peer-to-Peer Priotiorona>onspan>d/stucdt>Raw Priot Se Oior Vend r DriOersion Wind ss Cliectsona>onspan>d/stucdt>InstallaiillhofoWind ss Cliect DriOersona>onspan>d/stucdt>Explicitly Enablsiraw Priotior for applicatill/octet-streamona>onspan>d/stucdt>DriOer UploadiMethodsona>onspan>d/stuc/dlucnsducdt>Advanced Inaelligect Priotior wrth PostScript DriOer Downloadona>onspan>d/stucdducdlucdt>GDIion Wind ss -- PostScript on UNIXona>onspan>d/stucdt>Wind ss DriOers, GDIiald EMFona>onspan>d/stucdt>UNIX Priotfile ConOersill aldoGUI Basicsona>onspan>d/stucdt>PostScript aldoGhostscriptona>onspan>d/stucdt>Ghostscript tonspan>d/stucdt>PostScript Prioter Descriptill (PPD) Specificatillona>onspan>d/stucdt>Usior Wind ss-Formaited Vend r PPDsona>onspan>d/stucdt>CUPS Also Uses PPDs for Non-PostScript Priotersona>onspan>d/stuc/dlucnsducdt>Tonspan>d/stucdducdlucdt>MIME Types ald CUPS Filtersona>onspan>d/stucdt>MIME Type ConOersill Rulesona>onspan>d/stucdt>Filterior Ove Oiewona>onspan>d/stucdt>Pr"#iltersona>onspan>d/stucdt>pstopsona>onspan>d/stucdt>pstorasteronspan>d/stucdt>imagetops ald imagetorasteronspan>d/stucdt>onspan>d/stucdt>CUPS Backendsona>onspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stucdt>mime.convsona>onspan>d/stucdt>Raw Priotiorona>onspan>d/stucdt>applicatill/octet-stream Priotiorona>onspan>d/stucdt>PostScript Prioter Descriptills (PPDs) for Non-PS Priotersona>onspan>d/stucdt>cupsomaiic/foomaiic-rip Versus naiive CUPS Priotiorona>onspan>d/stucdt>Exaheles for Filterior Chailsona>onspan>d/stucdt>SourceshofoCUPS DriOers/PPDsona>onspan>d/stucdt>Priotior wrth Inter#ace Scriptsona>onspan>d/stuc/dlucnsducdt>Netw.(f Priotior (Purely Wind ss)ona>onspan>d/stucdducdlucdt>From Wind ss Cliects ao aniNT Priot Se Oeronspan>d/stucdt>DriOer Executill on tonspan>d/stucdt>DriOer Executill on tonspan>d/stuc/dlucnsducdt>Netw.(f Priotior (Wind ss Cliects UNIX/Scltn Priot Sf Oers)ona>onspan>d/stucdducdlucdt>From Wind ss Cliects ao aoCUPS/Scltn Priot Se Oeronspan>d/stucdt>Scltn ReceiOior Job-files and Passior Them to CUPSona>onspan>d/stuc/dlucnsducdt>Netw.(f PostScript RIPona>onspan>d/stucdducdlucdt>PPDs for Non-PS Prioters on UNIXona>onspan>d/stucdt>PPDs for Non-PS Prioters on Wind ssona>onspan>d/stuc/dlucnsducdt>Wind ss Tlamilal Sf Oers (WTS) as CUPS Cliectsona>onspan>d/stucdducdlucdt>Prioter DriOers Runeior in Kernel Mode Cause Many Problemsona>onspan>d/stucdt>W.(farounds Impose Heavy Limitatillsona>onspan>d/stucdt>CUPS: A Magrcal Stone?ona>onspan>d/stucdt>PostScript DriOers wrth No Maj r Problemsi Even in Kernel Modeona>onspan>d/stuc/dlucnsducdt>Configurior CUPS f r DriOer Downloadona>onspan>d/stucdducdlucdt>cupsaddsmb:oTonspan>d/stucdt>Pr"pare Your smb.conf f r cupsaddsmbona>onspan>d/stucdt>CUPS PostScript DriOer f r Wind ss NT/200x/XPona>onspan>d/stucdt>Recognizior Dif#erent DriOer Filesona>onspan>d/stucdt>Acquirior tonspan>d/stucdt>ESP Priot Pro PostScript DriOer f r Wind ss NT/200x/XPona>onspan>d/stucdt>Caveats ao be Consideredona>onspan>d/stucdt>Wind ss CUPS PostScript DriOer Versus Adobe DriOerona>onspan>d/stucdt>Run cupsaddsmb (Quiet Mode)ona>onspan>d/stucdt>Run cupsaddsmb wrth Verbose Outputona>onspan>d/stucdt>onspan>d/stucdt>How ao Recognize If cupsaddsmb Completed Successfullyona>onspan>d/stucdt>cupsaddsmb wrth a Scltn PDCona>onspan>d/stucdt>cupsaddsmb Flowchartona>onspan>d/stucdt>Installior tonspan>d/stucdt>onspan>d/stuc/dlucnsducdt>Installior PostScript DriOer Files Manually Usior rpccliectona>onspan>d/stucdducdlucdt>A Check ofoahe rpccliect mal Pageona>onspan>d/stucdt>Understandior ahe rpccliect mal Pageona>onspan>d/stucdt>Producior aniExahele by Queryior n Wind ss Boxona>onspan>d/stucdt>Requiremeles for adddriOer and setdriOer to Succeedona>onspan>d/stucdt>ManualoDriOer Installaeion in 15 Stepsona>onspan>d/stucdt>Troubleshootior RevisiTsdona>onspan>d/stuc/dlucnsducdt>Tonspan>d/stucdducdlucdt>TriOialoDatabase Filesona>onspan>d/stucdt>Bilary Formaiona>onspan>d/stucdt>Losior *.tdb Filesona>onspan>d/stucdt>Usior tdbbackupona>onspan>d/stuc/dlucnsducdt>CUPS Priot DriOers from Linuxpriotior.orgona>onspan>d/stucdducdlucdt>foomaiic-rip and Foomaiic Explainedona>onspan>d/stucdt>foomaiic-rip and Foomaiic-PPD Download ald Installaeionona>onspan>d/stuc/dlucnsducdt>Page Acc_aclior wrth CUPSona>onspan>d/stucdducdlucdt>Settior Up Quotasona>onspan>d/stucdt>CorreDiiald IncorreDiiAcc_acliorona>onspan>d/stucdt>Adobe ald CUPS PostScript DriOers f r Wind ss Cliectsona>onspan>d/stucdt>Tonspan>d/stucdt>Possible Shortcomiorsona>onspan>d/stucdt>Fueure Developmelesona>onspan>d/stuc/dlucnsducdt>Addiiillal Materialona>onspan>d/stucdt>Auto-Deletill or Pr"se OaiillhofoCUPS Spool Filesona>onspan>d/stucdducdlucdt>CUPS ConfiguraiillhSettiors Explainedona>onspan>d/stucdt>Pr"-Condiiillsona>onspan>d/stucdt>ManualoConfiguraiillona>onspan>d/stuc/dlucnsducdt>Priotior from CUPS to Wind ss Attached Priotersona>onspan>d/stucdt>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Wind ss 9x/ME Cliect Can't Install DriOerona>onspan>d/stucdt>cupsaddsmb Keeps Askior for RooiiPassword in NeOer-endior Loopona>onspan>d/stucdt>cupsaddsmb Errorsona>onspan>d/stucdt>Cliect Can't ConneDi to Scltn Prioterona>onspan>d/stucdt>New Acc_acl ReconneDiill from Wind ss 200x/XP Troublesona>onspan>d/stucdt>AvoidhBeior ConneDied to tonspan>d/stucdt>Upgradior to CUPS DriOers from Adobe DriOersona>onspan>d/stucdt>Can't Use cupsaddsmb on Scltn Sf Oer Which Ishn PDCona>onspan>d/stucdt>Deleted Wind ss 200x Prioter DriOer IshStill Shownona>onspan>d/stucdt>onspan>d/stucdt>Administraior Cannot Install Prioters for All Local Usersona>onspan>d/stucdt>Priot Change Notify FunDiillsion NT-cliectsona>onspan>d/stucdt>Win XP-SP1ona>onspan>d/stucdt>Priot Opiills for All UsershCan't Be Setion Wind ss 200x/XPona>onspan>d/stucdt>Most Common Blunders reiDriOer Settiors on Wind ss Cliectsona>onspan>d/stucdt>cupsaddsmb Does Not W.(fnwrth Newly Installed Prioterona>onspan>d/stucdt>Plamissills on /varnspool/scltn/ Get R"seiiAfter Each R"booiona>onspan>d/stucdt>Priot Queue Called lp Mis-handles Priot Jobsona>onspan>d/stucdt>LocaiillhofoAdobe PostScript DriOer Files f r cupsaddsmbona>onspan>d/stuc/dlucnsducdt>Ove Oiew ofothe CUPS Priotior Processesona>onspan>d/stuc/dlucnsducdt>crnf="#id#VFS">19. StackablsiVFS modulesona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Discussillona>onspan>d/stucdt>Included Modulesona>onspan>d/stucdducdlucdt>audiiona>onspan>d/stucdt>extd_audiiona>onspan>d/stucdt>fake_plamsona>onspan>d/stucdt>reDycleona>onspan>d/stucdt>netatalkona>onspan>d/stucdt>shad s_copyona>onspan>d/stuc/dlucnsducdt>VFS Modules AvailablsiElsewhereona>onspan>d/stucdducdlucdt>DatabaseFSona>onspan>d/stucdt>vscanona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#winbind">20. Winbind: Use ofoDomore Acc_aclsona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Ina oduceionona>onspan>d/stucdt>What Winbind Providesona>onspan>d/stucdducdlucdt>Target Usesona>onspan>d/stuc/dlucnsducdt>How Winbind W.(fsona>onspan>d/stucdducdlucdt>onspan>d/stucdt>Microsoft Actave DibfDioryiSf Oicesona>onspan>d/stucdt>Name Sf Oic" Swrtchona>onspan>d/stucdt>PluggablsiAuthenticatill Modulesona>onspan>d/stucdt>User aldoGroup ID Allocatillona>onspan>d/stucdt>R"sultoCachiorona>onspan>d/stuc/dlucnsducdt>Installaeion ald Configuraiillona>onspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdt>Requiremelesona>onspan>d/stucdt>Testior Thiors Outona>onspan>d/stuc/dlucnsducdt>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>NSCD Problem Warniorona>onspan>d/stucdt>Winbind Is Not Resolvior Users aldoGroupsona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#AdvancedNetw.(fMonagemele">21. Advanced Netw.(f Monagemeleona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Remote Sf Oer Administraiillona>onspan>d/stucdt>Remote Desktop Monagemeleona>onspan>d/stucdducdlucdt>Remote Monagemele from NoMachioe.Comona>onspan>d/stuc/dlucnsducdt>Netw.(f Logll Script Magrcona>onspan>d/stucdducdlucdt>Addior Prioters wrthoue User Inaerventionona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#PolicyMgme">22. Systemhald Acc_acl Policiesona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Creaeior and Managior SystemhPoliciesona>onspan>d/stucdducdlucdt>Wind ss 9x/ME Policiesona>onspan>d/stucdt>Wind ss NT4-Style Policy Filesona>onspan>d/stucdt>MSoWind ss 200x/XP Professillal Policiesona>onspan>d/stuc/dlucnsducdt>Managior Acc_acl/User Policiesona>onspan>d/stucdt>Managemele Toolsona>onspan>d/stucdducdlucdt>Scltn Ediireg Tool-setona>onspan>d/stucdt>Wind ss NT4/200xona>onspan>d/stucdt>Scltn PDCona>onspan>d/stuc/dlucnsducdt>SystemhStartup and Logll Processior Ove Oiewona>onspan>d/stucdt>Common Errorsona>onspan>d/stucdducdlucdt>Policy Does Not W.(fona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#ProfileMgme">23. Desktop Profile Monagemeleona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Roamior Profilesona>onspan>d/stucdducdlucdt>Scltn Configuraiillhf r Profile Handliorona>onspan>d/stucdt>Wind ss Cliect Profile ConfiguraiillhInformaiillona>onspan>d/stucdt>onspan>d/stucdt>Profile Migraiillhfrom Wind ss NT4/200x Sf Oer to Scltnona>onspan>d/stuc/dlucnsducdt>MandaioryhProfilesona>onspan>d/stucdt>Creaeior and Managior Group Profilesona>onspan>d/stucdt>DefaultoProfile f r Wind ss Usersona>onspan>d/stucdducdlucdt>MSoWind ss 9x/Meona>onspan>d/stucdt>MSoWind ss NT4 W.(fstatillona>onspan>d/stucdt>MSoWind ss 200x/XPona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>Configurior Roamior Profiles for a Few Users or Groupsona>onspan>d/stucdt>Cannot Use Roamior Profilesona>onspan>d/stucdt>Changior ahe DefaultoProfileona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#pam">24. PAM-Based Distribuied Authenticatillona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Technrcal Discussillona>onspan>d/stucdducdlucdt>PAM ConfiguraiillhSyntaxona>onspan>d/stucdt>Exahele SystemhConfiguraiillsona>onspan>d/stucdt>smb.conf PAM Configuraiillona>onspan>d/stucdt>Remote CIFSiAuthenticatill Usior winbindd.soona>onspan>d/stucdt>Password Synchronizatill Usior pam_smbpass.soona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>pam_winbind Problemona>onspan>d/stucdt>Winbind Is Not Resolvior Users aldoGroupsona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#iotegraie-ms-netw.(fs">25. Integraiior MSoWind ss Netw.(fs wrth Scltnona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>BackgroundhInformaiillona>onspan>d/stucdt>Name Resolueion in a Pure UNIX/Linux W.(ldona>onspan>d/stucdducdlucdt>/etc/hostsona>onspan>d/stucdt>/etc/resolv.confona>onspan>d/stucdt>/etc/host.confona>onspan>d/stucdt>/etc/nsswrtch.confona>onspan>d/stuc/dlucnsducdt>Name Resolueion as Used wrthreiMSoWind ss Netw.(fiorona>onspan>d/stucdducdlucdt>Tonspan>d/stucdt>Tonspan>d/stucdt>HOSTSoFileona>onspan>d/stucdt>DNS Lookupona>onspan>d/stucdt>WINS Lookupona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>Pingior W.(fs Only in One Wayona>onspan>d/stucdt>Very Slow Netw.(f ConneDiillsona>onspan>d/stucdt>Scltn Sf Oer NameoChange Problemona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#unrcode">26. Unrcode/Charselsona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>What AreoCharsels ald Unrcode?ona>onspan>d/stucdt>onspan>d/stucdt>ConOersill from Old Namesona>onspan>d/stucdt>Japanese Charselsona>onspan>d/stucdducdlucdt>Basic Parameter Settiorona>onspan>d/stucdt>IndividualoIhelemeleaiillsona>onspan>d/stucdt>Migraiillhfrom Scltn-2.2 Sf iesona>onspan>d/stuc/dlucnsducdt>Common Errorsona>onspan>d/stucdducdlucdt>CP850.sohCan't Be Foundona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#Backup">27. Backup Technrquesona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>DiscussillhofoBackup Solueionsona>onspan>d/stucdducdlucdt>BackupPCona>onspan>d/stucdt>Rsyncona>onspan>d/stucdt>Amandaona>onspan>d/stucdt>BOBS: Br sseablsiOnline Backup Systemona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#ScltnHA">28. High Availabilityona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Technrcal Discussillona>onspan>d/stucdducdlucdt>Tonspan>d/stucdt>Why Is This So Hard?ona>onspan>d/stucdt>A Sihele Solueionona>onspan>d/stucdt>High Availability Sf Oer Productsona>onspan>d/stucdt>MS-DFS:oTonspan>d/stucdt>onspan>d/stuc/dlucnsduc/dlucnsduc/dlucnsducdt>crnf="#id#migraiill">IV. Migraiillhald Updatiorona>onspan>d/stucdducdlucdt>crnf="#id#upgradior-to-3.0""29. Upgradior from Scltn-2.x to Scltn-3.0.0ona>onspan>d/stucdducdlucdt>onspan>d/stucdt>New Features in Scltn-3ona>onspan>d/stucdt>Configuraiill ParameteroChangesona>onspan>d/stucdducdlucdt>Removed Parametersona>onspan>d/stucdt>New Parametersona>onspan>d/stucdt>Modified Parameters (Changes in Behavior):ona>onspan>d/stuc/dlucnsducdt>New FunDiillalityona>onspan>d/stucdducdlucdt>Databasesona>onspan>d/stucdt>Changes in Behaviorona>onspan>d/stucdt>Passdb Backendshald Authenticatillona>onspan>d/stucdt>LDAPona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#NT4Migraiill">30. Migraiillhfrom NT4 PDC to Scltn-3 PDCona>onspan>d/stucdducdlucdt>Planeior aldoGettior Startedona>onspan>d/stucdducdlucdt>Objectavesona>onspan>d/stucdt>Steps in MigraiillhProcessona>onspan>d/stuc/dlucnsducdt>MigraiillhOpiillsona>onspan>d/stucdducdlucdt>Planeior for Successona>onspan>d/stucdt>Scltn-3 IhelemeleaiilloChoicesona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#SWAT">31. SWAT oTonspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Guidelines ald Technrcal Tipsona>onspan>d/stucdducdlucdt>onspan>d/stucdt>Enablior SWAT for Useona>onspan>d/stucdt>SfDurior SWAT through SSLona>onspan>d/stucdt>Enablior SWAT Inaernatillalizatill Supportonspan>d/stuc/dlucnsducdt>Ove Oiew ald Quick Tourona>onspan>d/stucdducdlucdt>Tonspan>d/stucdt>onspan>d/stucdt>Share Sfttiorsona>onspan>d/stucdt>Prioters Sfttiorsona>onspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>SWAT View Page Displays IncorreDilyona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#troubleshootior"uV. Troubleshootiorona>onspan>d/stucdducdlucdt>crnf="#id#diagnosis">32.oTonspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdt>Assumpiillsona>onspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>crnf="#id#problems">33. Alalyzior aldoSolvior Scltn Problemsona>onspan>d/stucdducdlucdt>Diagnostics Toolsona>onspan>d/stucdducdlucdt>Debuggior wrth Scltn Itselfona>onspan>d/stucdt>Tcpdumpona>onspan>d/stucdt>Etherealona>onspan>d/stucdt>Tonspan>d/stuc/dlucnsducdt>Useful URLsona>onspan>d/stucdt>Gettior Mailior Lise Helpona>onspan>d/stucdt>onspan>d/stuc/dlucnsducdt>crnf="#id#bugreport">34. Reportior Bugsona>onspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdt>General Informaiillona>onspan>d/stucdt>Debug Levelsona>onspan>d/stucdt>Inaernal Errorsona>onspan>d/stucdt>Attachior to a Runeior Processona>onspan>d/stucdt>Patchesona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#Appendix"uVI. Appendixesona>onspan>d/stucdducdlucdt>crnf="#id#compilior">35. How ao Compile Scltnona>onspan>d/stucdducdlucdt>Access Scltn Source Code vin SubOersillona>onspan>d/stucdducdlucdt>Ina oduceionona>onspan>d/stucdt>onspan>d/stuc/dlucnsducdt>Accessior tonspan>d/stucdt>Verifyior Scltn's PGP Signaeureona>onspan>d/stucdt>Buildior ahe Bilariesona>onspan>d/stucdducdlucdt>Compilior Scltn wrth Actave DibfDioryiSupportonspan>d/stuc/dlucnsducdt>Startior ahe smbd aldonmbdona>onspan>d/stucdducdlucdt>onspan>d/stucdt>Alaernative: Startior smbd ashn Daemonona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#Portability">36. Portabilityona>onspan>d/stucdducdlucdt>HPUXona>onspan>d/stucdt>SCO UNIXona>onspan>d/stucdt>DNIXona>onspan>d/stucdt>Red Hat Linuxona>onspan>d/stucdt>AIXona>onspan>d/stucdducdlucdt>Sequential Read Aheadona>onspan>d/stuc/dlucnsducdt>Solarisona>onspan>d/stucdducdlucdt>Lockior Improvemelesona>onspan>d/stucdt>Winbind ll Solaris 9ona>onspan>d/stuc/dlucnsduc/dlucnsducdt>crnf="#id#Other-Cliects">37. Scltn and Other CIFSiCliectsona>onspan>d/stucdducdlucdt>Macretosh Cliectsona>onspan>d/stucdt>OS2 Cliectona>onspan>d/stucdducdlucdt>Configurior OS/2 Warp ConneDi or OS/2 Warp 4ona>onspan>d/stucdt>Configurior Other VersillshofoOS/2ona>onspan>d/stucdt>Prioter DriOer Download for OS/2 Cliectsona>onspan>d/stuc/dlucnsducdt>Wind ss f r W.(fgroupsona>onspan>d/stucdducdlucdt>onspan>d/stucdt>Delete .pwl FilesiAfter Password Changeona>onspan>d/stucdt>Configurior Wind ss f r W.(fgroups Password Handliorona>onspan>d/stucdt>Password Case Sensitivityona>onspan>d/stucdt>Use TCP/IP ashDefaultoProtocolona>onspan>d/stucdt>Speed Improvemeleona>onspan>d/stuc/dlucnsducdt>Wind ss 95/98ona>onspan>d/stucdducdlucdt>Speed Improvemeleona>onspan>d/stuc/dlucnsducdt>onspan>d/stucdt>Wind ss NT 3.1ona>onspan>d/stuc/dlucnsducdt>crnf="#id#speed">38. Scltn Performanc" Tuniorona>onspan>d/stucdducdlucdt>Comparisllsona>onspan>d/stucdt>SockethOpiillsona>onspan>d/stucdt>Read Sizeona>onspan>d/stucdt>onspan>d/stucdt>Log Levelona>onspan>d/stucdt>Read Rawona>onspan>d/stucdt>Write Rawona>onspan>d/stucdt>Slow Logilsona>onspan>d/stucdt>Cliect Tuniorona>onspan>d/stucdt>Scltn Performanc" Problem Due ao Changior Linux Kernelona>onspan>d/stucdt>Corrupt tdb Filesona>onspan>d/stucdt>Scltn Performanc" is Very Slowona>onspan>d/stuc/dlucnsducdt>crnf="#id#DNSDHCP">39. DNS and DHCP ConfiguraiillhGuideona>onspan>d/stucdducdlucdt>Features ald Benefitsona>onspan>d/stucdt>Exahele Configuraiillona>onspan>d/stucdducdlucdt>Dynamic DNSona>onspan>d/stucdt>DHCP Sf Oerona>onspan>d/stuc/dlucnsduc/dlucnsduc/dlucnsducdt>Glossaryona>onspan>d/stucdt>Indexona>onspan>d/stuc/dlucnsivucdivn class=lise-of-figures">

Lise ofoFigures4.1. crnf="#id#domore-exahele">AniExahele Domore.ona>onstucdt>8.1. crnf="#id#WXPP002">Netw.(f Bridge Configuraiill.ona>onstucdt>8.2. crnf="#id#WXPP003">InaernetoProtocol (TCP/IP)oProperties.ona>onstucdt>8.3. crnf="#id#WXPP005">Advanced Netw.(f Sfttiorsona>onstucdt>8.4. crnf="#id#WXPP014">DNS Configuraiill.ona>onstucdt>8.5. crnf="#id#WXPP009">WINS Configuraiillona>onstucdt>8.6. crnf="#id#w2kp001">Local Area ConneDiilloProperties.ona>onstucdt>8.7. crnf="#id#w2kp002">InaernetoProtocol (TCP/IP)oProperties.ona>onstucdt>8.8. crnf="#id#w2kp003">Advanced Netw.(f Sfttiors.ona>onstucdt>8.9. crnf="#id#w2kp004">DNS Configuraiill.ona>onstucdt>8.10. crnf="#id#w2kp005">WINS Configuraiill.ona>onstucdt>8.11. crnf="#id#WME001">Tonstucdt>8.12. crnf="#id#WME002">IP Address.ona>onstucdt>8.13. crnf="#id#WME005">DNS Configuraiill.ona>onstucdt>8.14. crnf="#id#WME003">WINS Configuraiill.ona>onstucdt>8.15. crnf="#id#wxpp001">Tonstucdt>8.16. crnf="#id#wxpp004">Tonstucdt>8.17. crnf="#id#wxpp006">Tonstucdt>8.18. crnf="#id#wxpp007">Tonstucdt>8.19. crnf="#id#wxpp008">Computer NameoChanges User nameoand Password Panel.ona>onstucdt>8.20. crnf="#id#WME009">Tonstucdt>8.21. crnf="#id#WME010">Cliect f r Microsoft Netw.(fs Properties Panel.ona>onstucdt>8.22. crnf="#id#WME013">Identificatill Panel.ona>onstucdt>8.23. crnf="#id#WME014">Identificatill Panel.ona>onstucdt>9.1. crnf="#id#br ssior1">Cross-SubnetoBr ssioriExahele.ona>onstucdt>10.1. crnf="#id#idmap-s500uid">IDMAP: Resolueion ofoSIDs ao UIDs.ona>onstucdt>10.2. crnf="#id#idmap-uid2sid">IDMAP: Resolueion ofoUIDs ao SIDs.ona>onstucdt>11.1. crnf="#id#idmap-s500gid">IDMAP: group SID ao GID resolueion.ona>onstucdt>11.2. crnf="#id#idmap-gid2sid">IDMAP: GID resolueion ao matchior SID.ona>onstucdt>11.3. crnf="#id#idmap-store-gid2sid">IDMAP storior group mappiors.ona>onstucdt>12.1. crnf="#id#access1">Ove Oiew ofoUNIX plamissills field.ona>onstucdt>15.1. crnf="#id#trusts1">Trusts ove Oiew.ona>onstucdt>18.1. crnf="#id#1small">Wind ss priotior to a local prioter.ona>onstucdt>18.2. crnf="#id#2small">Priotior to a PostScript prioter.ona>onstucdt>18.3. crnf="#id#3small">Ghostscript ashn RIP f r non-postscript prioters.ona>onstucdt>18.4. crnf="#id#4small">Pre-filterior re CUPS to form PostScript.ona>onstucdt>18.5. crnf="#id#5small">Addior deOic"-specific priot opiills.ona>onstucdt>18.6. crnf="#id#6small">PostScript to iotermediaee raster formai.ona>onstucdt>18.7. crnf="#id#7small">CUPS-raster p oduceion usioriGhostscript.ona>onstucdt>18.8. crnf="#id#small8">Image formai to CUPS-raster formai conOersill.ona>onstucdt>18.9. crnf="#id#small9">Raster to prioter-specific formais.ona>onstucdt>18.10. crnf="#id#cupsomaiic-dia">cupsomaiic/foomaiic Processior versus Native CUPS.ona>onstucdt>18.11. crnf="#id#pdftosocket">PDF ao sockethchore.ona>onstucdt>18.12. crnf="#id#pdftoepsonusb">PDF ao USBhchore.ona>onstucdt>18.13. crnf="#id#small11">Priot driOer execueion on tonstucdt>18.14. crnf="#id#small12">Priot driOer execueion on tonstucdt>18.15. crnf="#id#13small">Priotior vin CUPS/Scltn sf Oer.ona>onstucdt>18.16. crnf="#id#small14">cupsaddsmb flowchart.ona>onstucdt>18.17. crnf="#id#cups1">Filterior chore 1.ona>onstucdt>18.18. crnf="#id#cups2">Filterior chore wrth cupsomaiicona>onstucdt>18.19. crnf="#id#a_small">CUPS priotior ove Oiew.ona>onstucdt>33.1. crnf="#id#ethereal1""Startior a capture.ona>onstucdt>33.2. crnf="#id#ethereal2"uMare ethereal datn wrnd s.ona>onstuc/dlucnsivucdivn class=lise-of-tablss">

Lise ofoTablesonbucnpucdlucdt>5.1. crnf="#id#pdc-bdc-tabls">Domore Backend Acc_acl DistribuiillhOpiillsona>onstucdt>6.1. crnf="#id#assumpiills">Assumpiillsona>onstucdt>9.1. crnf="#id#br ssubnet">Br sse SubnetoExahele 1ona>onstucdt>9.2. crnf="#id#brsbex"uBr sse SubnetoExahele 2ona>onstucdt>9.3. crnf="#id#brsex2"uBr sse SubnetoExahele 3ona>onstucdt>9.4. crnf="#id#brsex3"uBr sse SubnetoExahele 4ona>onstucdt>10.1. crnf="#id#attribobjclPartA">Attribuies in tonstucdt>10.2. crnf="#id#attribobjclPartB">Attribuies in tonstucdt>10.3. crnf="#id#ldappwsync">Possible ldap passwd sync valuesona>onstucdt>10.4. crnf="#id#mysqlpbe">Basic smb.conf opiills for MySQL passdb backendona>onstucdt>10.5. crnf="#id#moremysqlpdbe">MySQL field names for MySQL passdb backendona>onstucdt>11.1. crnf="#id#WKURIDS">Well-Known User DefaultoRIDsona>onstucdt>12.1. crnf="#id#500525024">Managior DibfDiories wrth UNIX and Wind ssona>onstucdt>12.2. crnf="#id#ugbc">User aldoGroup Based Controlsona>onstucdt>12.3. crnf="#id#fdpbc">File and DibfDioryiPlamissill Based Controlsona>onstucdt>12.4. crnf="#id#mcoc">Other Controlsona>onstucdt>17.1. crnf="#id#priotOpiills">DefaultoPriotior Sfttiorsona>onstucdt>18.1. crnf="#id#cups-ppds">PPDs shipped wrth CUPSona>onstucdt>19.1. crnf="#id#xtdaudii">Extended Audiiior Log Informaiillona>onstucdt>23.1. crnf="#id#ProfileLocs">User Shell Folder Registry KeyshDefaultoValuesona>onstucdt>23.2. crnf="#id#regkeys">DefaultshofoProfile Settiors Registry Keysona>onstucdt>23.3. crnf="#id#defregpthkeys">DefaultshofoDefaultoUser Profile Paths Registry Keysona>onstucdt>24.1. crnf="#id#smbpassopiills">Opiills bfDognized by pam_smbpassona>onstucdt>25.1. crnf="#id#uniqnetbiosnames">Unrque NetBIOS Namesona>onstucdt>25.2. crnf="#id#netbiosnamesgrp">Group Namesona>onstucdt>26.1. crnf="#id#japancharsels">Japanese Character Sets in Scltn-2.2 aldoScltn-3ona>onstucdt>29.1. crnf="#id#tdbfiledesc">TDB File Descriptillsona>onstucdt>30.1. crnf="#id#majtypes">TNaeure ofothe ConOersill Choicesona>onstuc/dlucnsivucdivn class=lise-of-exaheles">

Lise ofoExahelesonbucnpucdlucdt>1.1. crnf="#id#smbconfminimal">A minimal smb.confona>onstucdt>1.2. crnf="#id#sihele-exahele">Another sihele smb.conf Fileona>onstucdt>2.1. crnf="#id#anon-exahele">Anonymous Read-Only Sf Oer Configuraiillona>onstucdt>2.2. crnf="#id#anon-rw">Modified Anonymous Read-Write smb.confona>onstucdt>2.3. crnf="#id#anon-priot">Anonymous Priot Sf Oer smb.confona>onstucdt>2.4. crnf="#id#OfficeSf Oer">SfDure Office Sf Oer smb.confona>onstucdt>2.5. crnf="#id#fast-member-sf Oer">Member sf Oer smb.conf (globals)ona>onstucdt>2.6. crnf="#id#fast-membersf Oer-shares">Member sf Oer smb.conf (shares aldosf Oices)ona>onstucdt>2.7. crnf="#id#fast-engoffice-global">Engioeerior Office smb.conf (globals)ona>onstucdt>2.8. crnf="#id#fast-engoffice-shares">Engioeerior Office smb.conf (shares aldosf Oices)ona>onstucdt>2.9. crnf="#id#fast-ldap">LDAP backend smb.conf f r PDCona>onstucdt>2.10. crnf="#id#fast-bdc">Remote LDAP BDC smb.confona>onstucdt>4.1. crnf="#id#pdc-exahele">smb.conf f r beior a PDCona>onstucdt>4.2. crnf="#id#PDC-config">smb.conf f r beior a PDCona>onstucdt>5.1. crnf="#id#minimalPDC">Minimal smb.conf for a PDC in Use With a BDC LDAP Sf Oer ll PDC.ona>onstucdt>5.2. crnf="#id#mulitldapcfg">Multiele LDAP Sf Oers in smb.confona>onstucdt>5.3. crnf="#id#minim-bdc">Minimal setup f r beior a BDCona>onstucdt>7.1. crnf="#id#sihelynice">smb.conf f r Referenc" DocumeleaiilloSf Oerona>onstucdt>7.2. crnf="#id#AnonPtrSvr">smb.conf f r Anonymous Priotiorona>onstucdt>9.1. crnf="#id#dmbexahele">Domore Master Br sser smb.confona>onstucdt>9.2. crnf="#id#lmbexahele">Local master br sser smb.confona>onstucdt>9.3. crnf="#id#nombexahele">smb.conf f r not beior a Master Br sserona>onstucdt>9.4. crnf="#id#remsmb">Local Master Br sser smb.confona>onstucdt>9.5. crnf="#id#xremmb">smb.conf f r not beior a master br sserona>onstucdt>10.1. crnf="#id#idmapbackendexahele">Exahele configuraiill wrth the LDAP idmap backendona>onstucdt>10.2. crnf="#id#confldapex"uConfiguraiill wrth LDAPona>onstucdt>10.3. crnf="#id#mysqlsam">Exahele configuraiill f r the MySQL passdb backendona>onstucdt>11.1. crnf="#id#smbgrpadd.sh">smbgrpadd.shona>onstucdt>11.2. crnf="#id#smbgrpadd"uConfiguraiill ofosmb.conf f r the add group script.ona>onstucdt>11.3. crnf="#id#set-group-map">Script to SetiGroup Mappiorona>onstucdt>12.1. crnf="#id#500525226">Exahele Fileona>onstucdt>13.1. crnf="#id#far1">Share wrth some files oplockedona>onstucdt>13.2. crnf="#id#far3"uConfiguraiill wrth oplock break contention limiiona>onstucdt>16.1. crnf="#id#dfscfg">smb.conf wrth DFS configuredona>onstucdt>17.1. crnf="#id#siheleprc">Sihele configuraiill wrth BSD priotiorona>onstucdt>17.2. crnf="#id#extbsdpr">Extended BSD Priotior Configuraiillona>onstucdt>17.3. crnf="#id#prtdollar">[priot\$] exaheleona>onstucdt>18.1. crnf="#id#cups-exah-sihele">Sihelest priotior-relaied smb.confona>onstucdt>18.2. crnf="#id#ove ridesettiors">Ove ridior global CUPS settiors f r one prioterona>onstucdt>18.3. crnf="#id#cupsadd-ex"usmb.conf f r cupsaddsmb usageona>onstucdt>19.1. crnf="#id#vfsreDyc">smb.conf wrth VFS modulesona>onstucdt>19.2. crnf="#id#multimodule">smb.conf wrth multiele VFS modulesona>onstucdt>19.3. crnf="#id#vfsshad s">Share With shad s_copy VFSona>onstucdt>20.1. crnf="#id#winbindcfg">smb.conf f r Winbind set-upona>onstucdt>26.1. crnf="#id#500571626">VFS CAPona>onstucdt>32.1. crnf="#id#tmpshare">smb.conf wrth [tmp] shareona>onstucdt>32.2. crnf="#id#modif1"uConfiguraiill f r only allowior conneDiills from a certore subnetona>onstucdt>32.3. crnf="#id#modif2"uConfiguraiill f r allowior conneDiills from a certore subnet aldolocalhostona>onstucdt>37.1. crnf="#id#minimalprofile">Minimal profile shareona>onstuc/dlucnsivucdivn class=p="#ace" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="500431200">ona>Attribuiillonh2ucnsivuc/divucdivucnsivuc/divucp> <liseitem>cp>John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu</liseitem>c/font> cnpucp>crnf="#id#iostall" title="Chapter 1. How ao Install ald Test SAMBA"uHow ao Install ald Test SAMBAona> cnpucdivn class=itemizedlise">oul type="disc">Andrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuKarl Auer <crnf="#idmorlto:kauer@bielane.com.au" target="_top">kauer@bielane.com.auona>>cnpuDan Shearer <crnf="#idmorlto:dan@scltn.org" target="_top">dan@scltn.orgona>>cnpu cnpucp>crnf="#id#FastStart" title="Chapter 2. Fast Start: Cure f r Impaiienc"">Fast Start: Cure f r Impaiienc"ona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#Sf OerType" title="Chapter 3. Sf Oer Types aldoSfDurity Modes">Sf Oer Types aldoSfDurity Modesona> cnpucdivn class=itemizedlise">oul type="disc">Andrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#scltn-pdc" title="Chapter 4. Domore Control">Domore Controlona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpuDavid Bannon <crnf="#idmorlto:dbannon@scltn.org" target="_top">dbannon@scltn.orgona>>cnpuGuenther Deschner <crnf="#idmorlto:gd@suse.de" target="_top">gd@suse.deona>> (LDAP updates) cnpu cnpucp>crnf="#id#scltn-bdc" title="Chapter 5. Backup Domore Control">Backup Domore Controlona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuVolker Lendecke <crnf="#idmorlto:Volker.Lendecke@Sf Net.DE" target="_top">Volker.Lendecke@Sf Net.DEona>>cnpuGuenther Deschner <crnf="#idmorlto:gd@suse.de" target="_top">gd@suse.deona>> (LDAP updates) cnpu cnpucp>crnf="#id#domore-member" title="Chapter 6. Domore Membership">Domore Membershipona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJe emy Allisll <crnf="#idmorlto:jra@scltn.org" target="_top">jra@scltn.orgona>>cnpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpuAndrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuGuenther Deschner <crnf="#idmorlto:gd@suse.de" target="_top">gd@suse.deona>> (LDAP updates) cnpu cnpucp>crnf="#id#StandAloneSf Oer" title="Chapter 7. Stand-alone Sf Oers""Stand-alone Sf Oersona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#CliectConfig" title="Chapter 8. MSoWind ss Netw.(f ConfiguraiillhGuide">MSoWind ss Netw.(f ConfiguraiillhGuideona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#Netw.(fBr ssior" title="Chapter 9. Netw.(f Br ssior">Netw.(f Br ssiorona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpu cnpucp>crnf="#id#passdb" title="Chapter 10. Acc_acl Informaiill Databases">Acc_acl Informaiill Databasesona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpuJe emy Allisll <crnf="#idmorlto:jra@scltn.org" target="_top">jra@scltn.orgona>>cnpuGuenther Deschner <crnf="#idmorlto:gd@suse.de" target="_top">gd@suse.deona>> (LDAP updates) cnpuOlivier (lem) Lemorre <crnf="#idmorlto:olem@IDEALX.org" target="_top">olem@IDEALX.orgona>>cnpu cnpucp>crnf="#id#groupmappior" title="Chapter 11. Group Mappior iMSoWind ss ald UNIX">Group Mappior iMSoWind ss ald UNIXona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJean François MicouleauonpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpu cnpucp>crnf="#id#AccessControls" title="Chapter 12. File, DibfDioryialdoShare Access Controls">File, DibfDioryialdoShare Access Controlsona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJe emy Allisll <crnf="#idmorlto:jra@scltn.org" target="_top">jra@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>> (drawior) cnpu cnpucp>crnf="#id#lockior" title="Chapter 13. FileialdoRecord Lockior">File and Record Lockiorona> cnpucdivn class=itemizedlise">oul type="disc">Je emy Allisll <crnf="#idmorlto:jra@scltn.org" target="_top">jra@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuEric Roseme <crnf="#idmorlto:eric.roseme@hp.com" target="_top">eric.roseme@hp.comona>>cnpu cnpucp>crnf="#id#sfDurior-scltn" title="Chapter 14. SfDurior Scltn">SfDurior Scltnona> cnpucdivn class=itemizedlise">oul type="disc">Andrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#InaerdomoreTrusts" title="Chapter 15. Inaerdomore Trust Relaeionships">Inaerdomore Trust Relaeionshipsona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuRafal Szczesniak <crnf="#idmorlto:mimir@scltn.org" target="_top">mimir@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>> (drawior) cnpuStephen Langasek <crnf="#idmorlto:vorlon@netexpress.net" target="_top">vorlon@netexpress.netona>>cnpu cnpucp>crnf="#id#msdfs" title="Chapter 16. Hostior a Microsoft Distribuied File System Tree"uHostior a Microsoft Distribuied File System Treeona> cnpucdivn class=itemizedlise">oul type="disc">Shirish Kalele <crnf="#idmorlto:scltn@scltn.org" target="_top">scltn@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#priotior" title="Chapter 17. Cclasrcal Priotior Support">Cllasrcal Priotior Supportona> cnpucdivn class=itemizedlise">oul type="disc">Kurt Pfeifle <crnf="#idmorlto:kpfeifle@danka.de" target="_top">kpfeifle@danka.deona>>cnpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#CUPS-priotior" title="Chapter 18. CUPS Priotior Support">CUPS Priotior Supportona> cnpucdivn class=itemizedlise">oul type="disc">Kurt Pfeifle <crnf="#idmorlto:kpfeifle@danka.de" target="_top">kpfeifle@danka.deona>>cnpuCiprian Vizitiu <crnf="#idmorlto:CVizitiu@gbif.org" target="_top">CVizitiu@gbif.orgona>> (drawiors) cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>> (drawiors) cnpu cnpucp>crnf="#id#VFS" title="Chapter 19. StackablsiVFS modules""StackablsiVFS modulesona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuTim Potter <crnf="#idmorlto:tpot@scltn.org" target="_top">tpot@scltn.orgona>>cnpuSimo Sorce (original vfs_skel README) cnpuAlexander Bokovoy (original vfs_netatalk docs) cnpuStefae Metzmacher (Update f r multiele modules) cnpuEd Riddle (original shad s_copy docs) cnpu cnpucp>crnf="#id#winbind" title="Chapter 20. Winbind: Use ofoDomore Acc_acls">Winbind: Use ofoDomore Acc_aclsona> cnpucdivn class=itemizedlise">oul type="disc">Tim Potter <crnf="#idmorlto:tpot@linuxcare.com.au" target="_top">tpot@linuxcare.com.auona>>cnpuAndrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuNaag Mummaneni <crnf="#idmorlto:getnag@rediffmorl.com" target="_top">getnag@rediffmorl.comona>> (Notes for Solaris) cnpuJohn Trostel <crnf="#idmorlto:jtrostel@snapsf Oer.com" target="_top">jtrostel@snapsf Oer.comona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#AdvancedNetw.(fManagemele" title="Chapter 21. Advanced Netw.(f Managemele">Advanced Netw.(f Managemeleona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#PolicyMgme" title="Chapter 22. System and Acc_acl Policies""System and Acc_acl Policiesona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#ProfileMgme" title="Chapter 23. Desktop Profile Managemele">Desktop Profile Managemeleona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#pam" title="Chapter 24. PAM-Based Distribuied Authenticatill">PAM-Based Distribuied Authenticatillona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuStephen Langasek <crnf="#idmorlto:vorlon@netexpress.net" target="_top">vorlon@netexpress.netona>>cnpu cnpucp>crnf="#id#iotegraie-ms-netw.(fs" title="Chapter 25. Inaegraiior MSoWind ss Netw.(fs wrth Scltn">Inaegraiior MSoWind ss Netw.(fs wrth Scltnona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#unicode" title="Chapter 26. Unicode/Charsels">Unicode/Charselsona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuTAKAHASHI Motonobu <crnf="#idmorlto:monyo@home.monyo.com" target="_top">monyo@home.monyo.comona>> (Japanese character support) cnpu cnpucp>crnf="#id#Backup" title="Chapter 27. Backup Technrques""Backup Technrquesona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#ScltnHA" title="Chapter 28. High Avorlability">High Avorlabilityona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJe emy Allisll <crnf="#idmorlto:jra@scltn.org" target="_top">jra@scltn.orgona>>cnpu cnpucp>crnf="#id#upgradior-to-3.0" title="Chapter 29. Upgradior from Scltn-2.x to Scltn-3.0.0">Upgradior from Scltn-2.x to Scltn-3.0.0ona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>onpuGerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpu cnpucp>crnf="#id#NT4Migraiill" title="Chapter 30. Migraiill from NT4 PDC to Scltn-3 PDC">Migraiill from NT4 PDC to Scltn-3 PDCona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#SWAT" title="Chapter 31. SWAT oTSWAT oT cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#diagnosis" title="Chapter 32. TT cnpucdivn class=itemizedlise">oul type="disc">Andrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuDan Shearer <crnf="#idmorlto:dan@scltn.org" target="_top">dan@scltn.orgona>>cnpu cnpucp>crnf="#id#problems" title="Chapter 33. Alalyzior aldoSolvior Scltn Problems">Analyzior aldoSolvior Scltn Problemsona> cnpucdivn class=itemizedlise">oul type="disc">Gerald (Je ry) Carter <crnf="#idmorlto:je ry@scltn.org" target="_top">je ry@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuDavid Bannon <crnf="#idmorlto:dbannon@scltn.org" target="_top">dbannon@scltn.orgona>>cnpuDan Shearer <crnf="#idmorlto:dan@scltn.org" target="_top">dan@scltn.orgona>>cnpu cnpucp>crnf="#id#bugreport" title="Chapter 34. Reportior Bugs">Reportior Bugsona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuAndrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpu cnpucp>crnf="#id#compilior" title="Chapter 35. How ao Compile Scltn"uHow ao Compile Scltnona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>onpuAndrew Tridgell <crnf="#idmorlto:tridge@scltn.org" target="_top">tridge@scltn.orgona>>cnpu cnpucp>crnf="#id#Portability" title="Chapter 36. Portability">Portabilityona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>onpu cnpucp>crnf="#id#Other-Cliects" title="Chapter 37. Scltn and Other CIFSiCliects">Scltn and Other CIFSiCliectsona> cnpucdivn class=itemizedlise">oul type="disc">Jelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>onpuDan Shearer <crnf="#idmorlto:dan@scltn.org" target="_top">dan@scltn.orgona>>cnpuJim McDonough <crnf="#idmorlto:jmcd@us.ibm.com" target="_top">jmcd@us.ibm.comona>> (OS/2) cnpu cnpucp>crnf="#id#speed" title="Chapter 38. Scltn Performanc" Tunior">Scltn Performanc" Tuniorona> cnpucdivn class=itemizedlise">oul type="disc">Paul Cochrane <crnf="#idmorlto:paulc@dth.scot.nhs.uk" target="_top">paulc@dth.scot.nhs.ukona>>cnpuJelmer R. Vernooij <crnf="#idmorlto:jelmer@scltn.org" target="_top">jelmer@scltn.orgona>>cnpuJohn H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp>crnf="#id#DNSDHCP" title="Chapter 39. DNS and DHCP ConfiguraiillhGuide">DNS and DHCP ConfiguraiillhGuideona> cnpucdivn class=itemizedlise">oul type="disc">John H. Terpstra <crnf="#idmorlto:jht@scltn.org" target="_top">jht@scltn.orgona>>cnpu cnpucp> cnpucnsivucdivn class=p="#ace" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="500493468">ona>Abstractonh2ucnsivuc/divucdivucnsivuc/divucp> T Please note that this book is a livior documele, t We have made a concerted effort to documele more comprehensively than has been done previously theoinformaiill that may help you ao better deploy Scltn and to gore more contented netw.(f users. cnpucp> This book provides exahele configuraiills, it documeles key aspectshofoMicrosoft Wind ss netw.(fior, provides in-depth insight ioto t The most bfDele electronic versillshofothis documele can be f und at crnf="#idhttp://www.scltn.org/" target="_top">http://www.scltn.org/ona> on tDocumeleaiillonspan>d/span>” page. cnpucp> Updates, patches aldocorreDiills are most welcome. Please emorl your contribuiills to nny one ofothe followior: cnpucp> cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crnf="#idmorlto:jelmer@scltn.org" target="_top">Jelmer Vernooij (jelmer@scltn.org)ona>ontd>c/tr>otr>otd>crnf="#idmorlto:jht@scltn.org" target="_top">John H. Terpstra (jht@scltn.org)ona>ontd>c/tr>otr>otd>crnf="#idmorlto:je ry@scltn.org" target="_top">Gerald (Je ry) Carter (je ry@scltn.org)ona>ontd>c/tr>o/tablsucp> cnpucp> We wrsh ao advise that only original aldounencumbered maierial can be published. Please do not submit content that is not your own w.(f unless proofoofoconsect from tona>Forewordonh2ucnsivuc/divucdivucnsivuc/divucp> Ove t To addressothis increasior cohelexity a wealth of documeleaiill has been written ll Scltn, includior numerous HOWTOs, diagnosiic tips, manual pages, and exelanaiills ofoimportant pifDeshofotechnology that Scltn bflies ll. While it has been graiifyior to see so much documeleaiill beior written, t This book gaihers together that wealth of informaiill ioto n much more accessible form, ao allow system administraiors to quickly find what they need. The breadth of technrcal informaiill provided ensures that even the most demondior administraiors will find somethior helpful. cnpucp> I am dflighted that the Scltn documeleaiill has now developed to t cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>Andrew Tridgellontd>c/tr>otr>otd>cspann class=emphasis">Presidele, Scltn Teamonspan>d/td>c/tr>otr>otd>cspann class=emphasis">July 2003onspan>d/td>c/tr>o/tablsucp> cnpucnsivucdivn class=p="#ace" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="IntroSMB">ona>P="#ace and Introduceiononh2ucnsivuc/divucdivucnsivuc/divucdivn class=toc">

Table ofoContentsonbucnpucdlucdt>cspann class=sect1">crnf="#id#500428912">What Is Scltn?ona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500428969">Why This Book?ona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500494012">Book Struceure and Layoutona>onspan>d/stuc/dlucnsivucp>“ A man's gift makes room f r him before great mel. Gifts are like hooks that can catch hold ofothe mind takior rt beyond theoreach of forces that otherwise might constrore it. cnem>onspan>d/span>” --- Anon. cnpucp> This is a book about Scltn. It is a tool, a deriOed w.(f ofothe labors of many and ofothe diligenc" and goodwill of more than a few. This book contores maierial that has been contribuied in a persistent bflief that each of us can add value to our neighbors as well as to t This book is designed to meet tona>What Is Scltn?onh2ucnsivuc/divucdivucnsivuc/divucp> Scltn is a big, cohelex project.oT Team members were drawl ioto nctive participaiill through the desire to help dflive al exciiior level ofotransparent ioteroperability between Microsoft Wind ss ald t TScltn, Openior Wind ss to n Wider W.(ld!cnem>onspan>oT Scltn provides file and priot sf Oices for Microsoft Wind ss cliects. These sf Oices may be hosied off nny TCP/IP-enabled platform.oT T Tona>Why This Book?onh2ucnsivuc/divucdivucnsivuc/divucp> There is admitiedly a large number of Scltn books on t T T Out ofothe original HOWTO documeles spraor a colleDiilloof unofficial HOWTO documeles that are spread ove the Ioternet. It is siocerely iotended that tnotcnem>onspan>oreplace the valuablsiunofficial HOWTO w.(f that continues to flourish. If you are involved in unofficial HOWTO produceion then please continue your w.(f! cnpucp> TJohn H. Terpstra (jht@scltn.org)ona>. As a sf Oice to oiher users we will gladly adopt maierial that is technrcally accuraie. cnpucp> Existior Scltn books are largely addressed to t TOfficial Scltn-3 HOWTO and Referenc" Guidecnem>onspan>, includes t Ove the past two years many Microsoft netw.(f administraiors have adopted Scltn and have become ioterested in its deploymele.oTona>Book Struceure and Layoutonh2ucnsivuc/divucdivucnsivuc/divucp> This book is presented re six parts: cnpucdivn class=variablslise">odlucdt>cspann class=term">General Installaiilld/stucdducp> Designed to help you get Scltn-3 runnior quickly. Tjust workcnem>onspan>. cnpucnsducdt>cspann class=term">Sf Oer ConfiguraiillhBasicsd/stucdducp> Tcspann class=term">Advanced Configuraiillonspan>d/stucdducp> Tcspann class=term">Migraiill ald Updatioronspan>d/stucdducp> A much bfquested addiiill to the book is informaiill ll how ao migraie from Microsoft Wind ss NT4 to Scltn-3, as well as annove view of what the issues are when movior from Scltn-2.x to Scltn-3. cnpucnsducdt>cspann class=term">Troublsshootioronspan>d/stucdducp> Tcspann class=term">Appendixonspan>d/stucdducp> Here you will find a colleDiilloof thiors that are either too peripheral f r most users, or are a little leftoof field ao be included in the more body of informaiill. cnpucnsduc/dlucnsivucp> Welcome to Scltn-3 and theofirst published documele to help you and your users to enjoy a whole new w.(ld of ioteroperability between Microsoft Wind ss ald tona>General Installaiillona>P="parior Scltn f r Configuraiillonh1ucnsivuc/divucdivucnsivuc/divucp>T

Table ofoContentsonbucnpucdlucdt>cspann class=chapter">crnf="#id#iostall">1. How ao Install ald Test SAMBAona>onspan>d/stucdducdlucdt>cspann class=sect1">crnf="#id#500494286">Obtoreior aldoInstallior Scltnona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500494318">Configurior Scltn (smb.conf)ona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500494350">Configuraiill file syntoxona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494533""Startior Scltnona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494703""Exahele Configuraiillona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494920">SWATona>onspan>d/stuc/dlucnsducdt>cspann class=sect1">crnf="#id#500494978">List Shares Avorlable on the Sf Oerona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495033""ConnfDi with a UNIX Cliectona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495133""ConnfDi from a Remote SMB Cliectona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495210">What If Thiors Don't W.(k?ona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495241""Common Errorsona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500495251""Large Number of smbd Processesona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500495345""Error Message: open_oplock_ipcona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500495379">Tonspan>d/stuc/dlucnsduc/dlucnsducdt>cspann class=chapter">crnf="#id#FastStart">2. Fast Start: Cure f r Impaiienc"ona>onspan>d/stucdducdlucdt>cspann class=sect1">crnf="#id#500495474">Feaeures ald Benefitsona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495498">DescripiilloofoExahele Sitesona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495579">W.(ked Exahelesona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500495598">Stand-alone Sf Oerona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500497634">Domore Member Sf Oerona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500498710">Domore Controllerona>onspan>d/stuc/dlucnsduc/dlucnsduc/dlucnsivuc/divucdivn class=chapter" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="5ostall">ona>Chapter 1. How ao Install ald Test SAMBAonh2ucnsivucdivucdivn class=autoh3n class=autospann class=firstname">Andrewonspan>ocspann class=surname">Tridgellonspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
onspan>ddivn class=address">

<crnf="#idmorlto:tridge@scltn.org">tridge@scltn.orgona>>cntt>cnpucnsivucnsivucnsivuc/divucdivucdivn class=autoh3n class=autospann class=firstname">Jelmeronspan>ocspann class=oihername">R.onspan>ocspann class=surname">Vernooijonspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Tonspan>ddivn class=address">

<crnf="#idmorlto:jelmer@scltn.org">jelmer@scltn.orgona>>cntt>cnpucnsivucnsivucnsivuc/divucdivucdivn class=autoh3n class=autospann class=firstname">Johnonspan>ocspann class=oihername">H.onspan>ocspann class=surname">Terpstraonspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
onspan>ddivn class=address">

<crnf="#idmorlto:jht@scltn.org">jht@scltn.orgona>>cntt>cnpucnsivucnsivucnsivuc/divucdivucdivn class=autoh3n class=autospann class=firstname">Karlonspan>ocspann class=surname">Aueronspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
onspan>ddivn class=address">

<crnf="#idmorlto:kauer@bielane.com.au">kauer@bielane.com.auona>>cntt>cnpucnsivucnsivucnsivuc/divucdivucdivn class=autoh3n class=autospann class=firstname">Danonspan>ocspann class=surname">Sheareronspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
onspan>ddivn class=address">

<crnf="#idmorlto:dan@scltn.org">dan@scltn.orgona>>cntt>cnpucnsivucnsivucnsivuc/divuc/divucdivucnsivuc/divucdivn class=toc">

Table ofoContentsonbucnpucdlucdt>cspann class=sect1">crnf="#id#500494286">Obtoreior aldoInstallior Scltnona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500494318">Configurior Scltn (smb.conf)ona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500494350">Configuraiill file syntoxona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494533""Startior Scltnona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494703""Exahele Configuraiillona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500494920">SWATona>onspan>d/stuc/dlucnsducdt>cspann class=sect1">crnf="#id#500494978">List Shares Avorlable on the Sf Oerona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495033""ConnfDi with a UNIX Cliectona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495133""ConnfDi from a Remote SMB Cliectona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495210">What If Thiors Don't W.(k?ona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495241""Common Errorsona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500495251""Large Number of smbd Processesona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500495345""Error Message: open_oplock_ipcona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500495379">Tonspan>d/stuc/dlucnsduc/dlucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500494286">ona>Obtoreior aldoInstallior Scltnonh2ucnsivuc/divucdivucnsivuc/divucp> Binary packages of Scltn are included in almost any Linux or UNIX distribuiill.oTt. Refer ao tIf you need ao compile Scltn from source, check crnf="#id#compilior" title="Chapter 35. How ao Compile Scltn"uHow ao compile Scltnona> chapter.cnpucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500494318">ona>Configurior Scltn (smb.conf)onh2ucnsivuc/divucdivucnsivuc/divucp> Scltn's configuraiill is stored in the smb.confcntt> file,owhich usually resides in /etc/scltn/smb.confcntt> or /usr/local/scltn/lib/smb.confcntt>. You can either edit this file yourself or do ie usior one ofothe many graphrcal tools that are avorlable, such as tona>Configuraiill file syntoxonh3ucnsivuc/divucdivucnsivuc/divucp>Tsmb.confcntt> file uses tEach seDiilloin the smb.confcntt> fileorepresents a share on tglobalcnem>onspan>d/span>” is special, sioce ii contores settiors that apply to the whole Scltn sf Oer and not to one share in particular.cnpucp>crnf="#id#smbconfminimal" title="Exahele 1.1. A minimal smb.conf">Followior exaheleona> contores a veryominimal smb.confcntt>. crn class=indexterm"nname="500494404">ona> cnpucdivn class=exahele"ucrnname="smbconfminimal">ona>Exahele 1.1. A minimal smb.confonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494434">ona>cin class=parameter">ctt> w.(fgroup = WKGcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494451""ona>cin class=parameter">ctt> netbiosoname = MYNAMEcntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[share1]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494476""ona>cin class=parameter">ctt> path = /tmpcntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[share2]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494500""ona>cin class=parameter">ctt> path = /my_shared_foldercntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494516""ona>cin class=parameter">ctt> commele = Some random filesontt>cni>ontd>c/tr>o/tablsucnsivuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500494533""ona>Startior Scltnonh3ucnsivuc/divucdivucnsivuc/divucp> Scltn essentially consists of two r three daemons. A daemon is a UNIX applicatill that runsoin the background and provides sf Oices. An exahele of a sf Oice is the Apache Web sf Oer for which the daemon is called dbn class=command">httpdonbucnspan>. In t Todlucdt>cspann class=term">nmbdonspan>d/stucdducp> crn class=indexterm"nname="500494567">ona> crn class=indexterm"nname="500494576""ona> Tdbn class=command">nmbdonbucnspan> daemon scspann class=term">smbdonspan>d/stucdducp> crn class=indexterm"nname="500494606">ona> crn class=indexterm"nname="500494613""ona> Tdbn class=command">nmbdonbucnspan>. cnpucnsducdt>cspann class=term">winbinddonspan>d/stucdducp> crn class=indexterm"nname="500494641">ona> crn class=indexterm"nname="500494648""ona> Tdbn class=command">winbinddonbucnspan> daemon will check the smb.confcntt> fileof r the presenc" ofothe cin class=parameter">ctt>idmap uidontt>cni> and cin class=parameter">ctt>idmap gidontt>cni> parameters. If they are not f und dbn class=command">winbinddonbucnspan> will bail-out and refuse to start. cnpucnsduc/dlucnsivucp> When Scltn has been packages by an operatior system vend r the start-up process is typrcally a custom feaeure oforts iotegraiill ioto tExahele Configuraiillonh3ucnsivuc/divucdivucnsivuc/divucp> T T. cnpucp> crn class=indexterm"nname="500494735""ona> cnpucdivn class=exahele"ucrnname="sihele-exahele">ona>Exahele 1.2. Aloiher sihele smb.conf Fileonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494764">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[homes]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494788">ona>cin class=parameter">ctt> guest ok = nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500494804">ona>cin class=parameter">ctt> read only = nocntt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucp> Tctt>homesontt>cni> as t Make sure you put tsmb.confcntt> fileoin the correDi place. cnpucp> F r more informaiill about security settiors f r the cin class=parameter">ctt>[homes]cntt>cni> share please refer ao crnf="#id#securing-scltn" title="Chapter 14. Securing Scltn"uSecuring Scltnona> chapter. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500494862">ona>Test Your Config File with dbn class=command">testparmonbucnspan>onh4ucnsivuc/divucdivucnsivuc/divucp> It'soimportant ao validate tsmb.confcntt> file usior the cspann class=applicatill">testparmonspan> program. If testparm runsocorreDily, ii will liseothe loaded sf Oices. If loi, ii will give an error message. Make sure it runsocorreDily ald troot# cntt> testparm /etc/scltn/smb.conf cnprsucp>Testparm will parse your configuraiill file and report any unknown parameters or iocorreDi syntox. cnpucp> Alwaysorun testparm agore wheneve the smb.confcntt> fileois changed! cnpucnsivucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500494920">ona>SWATonh3ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500494928""ona> SWAT is a Web-based ioter#ace that can be used to facilitate t To launch SWAT, just run your favorite Web br sser and poiot ii ao crnf="#idhttp://localhosi:901/" target="_top">http://localhosi:901/ona>. Replace cin class=replaceable">ctt>localhosicntt>cni> wrth the name of the coheuter on which Scltn is runnior if that is aodifferent coheuter than your br sser. cnpucp> SWAT can be used from a br sser on any IP-connfDied machine, but be aware that connfDiior from aoremoie machine leaves your connfDiilloopen to plasword sniffior as plaswords will be sect ove the wireoin the clear. cnpucp>More informaiill about SWAT can be f und in correspondior chapterona>.cnpucnsivucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500494978">ona>List Shares Avorlable on the Sf Oeronh2ucnsivuc/divucdivucnsivuc/divucp> To liseoshares that are avorlable from t$ cntt>dbn class=userineut">ctt>smbcliect -L cin class=replaceable">ctt>yourhosinamecntt>cni>ontt>cnb> cnprsucp>You sIf you choose user-level security you may find that Scltn bfquests a plasword before ii will liseothe shares.oSeeothe dbn class=command">smbcliectonbucnspan> man page f r details. You can force ii ao liseothe shares wrthout a plasword by addior the opiill -Ncntt> to the cohmand lioe. cnpucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500495033""ona>ConnfDi with a UNIX Cliectonh2ucnsivuc/divucdivucnsivuc/divucp> Eoter the followior cohmand: cnpucprsn class=screen"u $ cntt>dbn class=userineut">ctt>smbcliect cin class=replaceable">ctt> //yourhosiname/asf Oicecntt>cni>ontt>cnb> cnprsucp>Typrcally cin class=replaceable">ctt>yourhosinamecntt>cni> is tsmbdonspan> has been iostalled. The cin class=replaceable">ctt>asf Oicecntt>cni> is any sf Oice that has been defioedoin the smb.confcntt> file. Try your user name if you just have a cin class=parameter">ctt>[homes]cntt>cni> seDiilloin the smb.confcntt> file.cnpucp>Exahele: If the UNIX hosi is called ctt>bambiontt>cni> and a valid logiloname is ctt>fredontt>cni>, you would type:cnpucprsn class=screen"u $ cntt>dbn class=userineut">ctt>smbcliect //ctt>bambiontt>cni>/ctt>fredontt>cni>ontt>cnb> cnprsucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500495133""ona>ConnfDi from a Remote SMB Cliectonh2ucnsivuc/divucdivucnsivuc/divucp>Now that Scltn is w.(fior correDily locally, you can try ao access it from oiher cliects. Withio a few minutes, tMouotior disks from a DOS, Wind ss or OS/2 cliect can be done by runnior a command such as:cnpucprsn class=screen"u C:\> cntt>dbn class=userineut">ctt>net use d: \\sf Oername\sf Oicecntt>cnb> cnprsucp>Try priotior, e.g.cnpucp> cnpucprsn class=screen"u C:\> cntt>dbn class=userineut">ctt>net use lpt1: \\sf Oername\spoolsf Oicecntt>cnb> cnprsucp> cnpucprsn class=screen"uC:\> cntt>dbn class=userineut">ctt>priot filenameontt>cnb> cnprsucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500495210">ona>What If Thiors Don't W.(k?onh2ucnsivuc/divucdivucnsivuc/divucp>You might want ao readoT. If you are still stuck, refer ao Alalyzior and Solvior Scltn Problemsona> chapter. Scltn has been successfully iostalled at thousands ofosites w.(ldwide. It is unlikely that your particular problem is unrque,oso it might be produceive to perform an Ioternet sfarch to see if someone else has encouotered your problem and has f und a way to ove come it.cnpucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500495241""ona>Common Errorsonh2ucnsivuc/divucdivucnsivuc/divucp> The followior questills and issues are raised repeaiedly on tLarge Number of smbd Processesonh3ucnsivuc/divucdivucnsivuc/divucp> Scltn consists of three core programs: cspann class=applicatill">nmbdonspan>, cspann class=applicatill">smbdonspan>, and cspann class=applicatill">winbinddonspan>. cspann class=applicatill">nmbdonspan> is tsmbdonspan> is twinbinddonspan> is t If Scltn is cspann class=emphasis">notcnem>onspan>orunnior as a WINS sf Oer, then there will be one siorle instanc" of cspann class=applicatill">nmbdonspan> runnior on your system. If ie is runnior as a WINS sf Oer then there will be two instanc"s oone to handle t cspann class=applicatill">smbdonspan> handles all connfDiillobfquests. It spawes a new process f r each cliect connfDiillomade. That is why you may see so many ofothem,oone per cliect connfDiill. cnpucp> cspann class=applicatill">winbinddonspan> will run as one or two daemons, dependior on whether or not ie is beior run in split modecnem>onspan> (in which case there will be two instanc"s). cnpucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500495345""ona>Error Message: open_oplock_ipconh3ucnsivuc/divucdivucnsivuc/divucp>An error message ishobsf Oedoin the log files when cspann class=applicatill">smbdonspan> is started:o“open_oplock_ipc: Failed to get local UDP socket for addresso100007f. Error was Cannot lasign bfquested.cnem>onspan>d/span>”cnpucp>Your loopback deOice isn't w.(fior correDily. Make sure it is configured correDily. The loopback dfvice is al ioternal (virtual)onetw.(f dfvice wrth the IP addresso127.0.0.1cnem>onspan>. Read your OS documeleaiill f r details ll how ao configure the loopback on your system.cnpucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500495379">ona>“Td/em>onspan>d/span>”cnh3ucnsivuc/divucdivucnsivuc/divucp> Toul type="disc">You specified an non-existior path f r the share in smb.confcntt>.cnpucnliucliucp>TTona>Chapter 2. Fast Start: Cure f r Impaiienc"onh2ucnsivucdivucdivn class=autoh3n class=autospann class=firstname">Johnonspan>ocspann class=oihername">H.onspan>ocspann class=surname">Terpstraonspan>d/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
onspan>ddivn class=address">

<crnf="#idmorlto:jht@scltn.org">jht@scltn.orgona>>cntt>cnpucnsivucnsivucnsivuc/divuc/divucdivucnsivuc/divucdivn class=toc">

Table ofoContentsonbucnpucdlucdt>cspann class=sect1">crnf="#id#500495474">Feaeures ald Benefitsona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495498">DescripiilloofoExahele Sitesona>onspan>d/stucdt>cspann class=sect1">crnf="#id#500495579">W.(ked Exahelesona>onspan>d/stucdducdlucdt>cspann class=sect2">crnf="#id#500495598">Stand-alone Sf Oerona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500497634">Domore Member Sf Oerona>onspan>d/stucdt>cspann class=sect2">crnf="#id#500498710">Domore Controllerona>onspan>d/stuc/dlucnsduc/dlucnsivucp> When weofirst asked f r suggestills for ioclusilloin the Scltn HOWTO documeleaiill, someone wrote askior f r exahele configuraiills ald lotshofotona>Feaeures ald Benefitsonh2ucnsivuc/divucdivucnsivuc/divucp> Scltn needs veryolittle configuraiill ao creaie a basic w.(fior system. In t The exaheles used here have been obtoreed from a number of peoele who made bfquests f r exahele configuraiills. All identities have been obscured to protfDi the gurlty ald any resemblanc" to unreal non-existele sites is deliberaie. cnpucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" style="clear: both"ucrnname="500495498">ona>DescripiilloofoExahele Sitesonh2ucnsivuc/divucdivucnsivuc/divucp> In t???ona> documeles the type ofosf Oer that might be sufficient to serve CD-ROM images, or referenc" documele files f r netw.(f cliect use. This configuraiill is also discussed io crnf="#id#StandAloneSf Oer" title="Chapter 7. Stand-alone Sf Oers">???ona>, ???ona>. T The secoldoexahele s???ona>, ???ona>. cnpucp> The next exahele ishof a sfcure office file and priot sf Oer that will be accessible only to users who have an acc_acl on t Finally, we start lookior at more cohelex systems that will either iotegraie ioto existior Microsoft Wind ss netw.(fs, or replace them entirely.oTona>W.(ked Exahelesonh2ucnsivuc/divucdivucnsivuc/divucp> The configuraiill exaheles are dfsigned to cove eve ythior necessary ao get Scltn runnior.oT It is also lasumed that Scltn has been correDily iostalled, either by way of iostallaiill of the packages that are provided by the operatior system vend r, r through oiher means. cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500495598">ona>Stand-alone Sf Oeronh3ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500495605""ona> A Stand-alone Sf Oeroimplies no more than tAnonymous Read-Only Documele Sf Oeronh4ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500495632""ona> T As the exaheles are dfveloped, eve y attempt is made to progress the system toward greaier capability, just as one might expeDi would happen io a real busioess office as tThe configuraiill fileois:cnpucdivn class=exahele"ucrnname="anon-exahele">ona>Exahele 2.1. Anonymous Read-Only Sf Oer Configuraiillonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495686">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495702""ona>cin class=parameter">ctt> netbiosoname = HOBBITcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495718">ona>cin class=parameter">ctt> security = sharecntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[data]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495742""ona>cin class=parameter">ctt> commele = Datacntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495758""ona>cin class=parameter">ctt> path = /exportcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495774">ona>cin class=parameter">ctt> read only = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500495789">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucdivn class=itemizedlise">oul type="disc"> T/exportcntt>. cnpucnliucliucp> All files will be owned by a user called Jack Baultnch. Jack's logiloname will be jackbcnem>onspan>. His plasword will be cspann class=emphasis">m0r3pa1ncnem>onspan> ofocourse, that's just the exahele we are usior; do not use this in a produceion environmele because all readers ofothis documele will know it. cnpucnliuc/ulucnsivucdivn class=procedure"ucpn class=title"ucb>Procedure 2.1. Installaiill Procedure Read-Only Sf Oeronbucnpucol type="1"> Addouser to system (wrth creaiilloofothe users' home dibfDiory): cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>useraddo-c "Jack Baultnch" -m -g users -p m0r3pa1n jackbcntt>cnb> cnprsucp> cnpucnliucliucp> Creaie dibfDiory, and set permiasills and ownership: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>mkdib /exportcntt>cnbu root# cntt>dbn class=userineut">ctt>chmodou+rwx,g+rx,o+rx /exportcntt>cnbu root# cntt>dbn class=userineut">ctt>chown jackb.users /exportcntt>cnbu cnpucnliucliucp> Copy t/exportcntt> dibfDiory. cnpucnliucliucp> Install the Scltn configuraiill fileo(/etc/scltn/smb.confcntt>) as s Test the configuraiill file: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>testparmontt>cnbu Note any error messages that might be produced. Do not proceed uotil you obtore error-free outeut. An exahele of the outeut wrth the followior file will liseothe file. cnpucprsn class=screen"u Load smb config files from /etc/scltn/smb.conf Processior sfDiillo"[data]" Loaded sf Oices fileoOK. Sf Oer role: ROLE_STANDALONE Press eoter to see a dump ofoyour sf Oice defioiiills dbn class=userineut">ctt>[Press eoter]ontt>cnbu # Global parameters [global] w.(fgroup = MIDEARTH netbiosoname = HOBBIT security = share [data] commele = Data path = /export read only = No guest only = Yes cnpucnliucliucp> Start Scltn usior the method applicable to your operatior system platform. cnpucnliucliucp> Configure your Microsoft Wind ss cliect for w.(fgroup cspann class=emphasis">MIDEARTHcnem>onspan>, setothe machine name to ROBBINS, reboot, wait a few (2 - 5) minutes, theloopen Wind ss Explorer and visit the netw.(f neighborhood. Tdatacnem>onspan> share. After clickior t/exportcntt> dibfDiory. cnpucnliuc/oluc/divucp> T/etc/scltn/smb.confcntt> file. cnpucnsivucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500496037""ona>Anonymous Read-Write Documele Sf Oeronh4ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500496045""ona> We sjackbcnem>onspan> to the smbplaswdcntt> file. To do this execute: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbplaswd -a jackbcntt>cnb> New SMB plasword: dbn class=userineut">ctt>m0r3pa1ncntt>cnb> Retype new SMB plasword: dbn class=userineut">ctt>m0r3pa1ncntt>cnb> Addedouser jackb. Addiiill ofothis user to the smbplaswdcntt> file allows all files to be displayedoin the Explorer Properties boxes as belongior ao jackbcnem>onspan> iosteadoofoto User Unknowncnem>onspan>. cnpucp> The coheleie, modified smb.confcntt> fileois as s???ona>. cnpucp> cnpucdivn class=exahele"ucrnname="anon-rw">ona>Exahele 2.2. Modified Anonymous Read-Write smb.confonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496161">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496177""ona>cin class=parameter">ctt> netbiosoname = HOBBITcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496193">ona>cin class=parameter">ctt> security = SHAREcntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[data]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496218">ona>cin class=parameter">ctt> commele = Datacntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496233""ona>cin class=parameter">ctt> path = /exportcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496049""ona>cin class=parameter">ctt> force user = jackbcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496064">ona>cin class=parameter">ctt> force group = userscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496080">ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496096">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucnsivucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500496313""ona>Anonymous Priot Sf Oeronh4ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500496321">ona> An anonymous priot sf Oer sf Oes two purposes: cnpucdivn class=itemizedlise">oul type="disc"> It allows priotior to nll prioters from a siorle locaiill. cnpucnliucliucp> It bfduces netw.(f traffic congestill due to many users tryior to access a limiied number of prioters. cnpucnliuc/ulucnsivucp> In t In t???ona> is the resultior smb.confcntt> file. cnpucp> cnpucdivn class=exahele"ucrnname="anon-priot">ona>Exahele 2.3. Anonymous Priot Sf Oer smb.confonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496407">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496423""ona>cin class=parameter">ctt> netbiosoname = LUTHIENcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496439">ona>cin class=parameter">ctt> security = sharecntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496455""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496471">ona>cin class=parameter">ctt> disable spoolss = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496486">ona>cin class=parameter">ctt> scni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496502""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[prioters]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496527">ona>cin class=parameter">ctt> commele = All Priotersontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496543""ona>cin class=parameter">ctt> path = /var/spool/scltnontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496559">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496574">ona>cin class=parameter">ctt> priotable = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496590">ona>cin class=parameter">ctt> use cliect driOer = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496606">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucp> The aboveoconfiguraiill is not ideal.oIt uses no smart feaeures, andoit deliberaiely presents a less t Wind ss users will need ao iostall a local prioter ald t Make sure t/var/spool/scltnontt> is capable ofobeior used as iotended. The followior steps must be taken ao achieve this: cnpucdivn class=itemizedlise">oul type="disc"> Troot# cntt>dbn class=userineut">ctt>chown root.root /var/spool/scltnontt>cnbu cnpucnliucliucp> DibfDiory permiasills sroot# cntt>dbn class=userineut">ctt>chmodoa+rw TX /var/spool/scltnontt>cnbu cnpucnliuc/ulucnsivucdivn class=note" style="margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3ucp> crn class=indexterm"nname="500496699">ona> crn class=indexterm"nname="500496708""ona> On CUPS enabled systems there is a facility to plas raw datn dibfDily to the prioter wrthout iotermediate processior via CUPS priot filters. Where use ofothis mode ofooperation is desired it is necessary ao configure a raw priotior dfvice.oIt is also necessary ao enable the raw mime handleroin the /etc/mime.convontt> and cttn class=filename">/etc/mime.typescntt> files. Refer ao ???ona>. cnpucnsivucnsivucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500496741""ona>Sfcure Read-Write File and Priot Sf Oeronh4ucnsivuc/divucdivucnsivuc/divucp> We progress now from sihele systems to a sf Oer that is slightly more cohelex. cnpucp> Our new sf Oer will require a public datn storage aren in which only aut In tsfcure enoughcnem>onspan> but not too difficultoto use. cnpucp> Site users will be: Jack Baultnch, Mary Orville and Amed Sehkah. Each will have a plasword (not s This configuraiill will be based on User Level Securitycnem>onspan> that is t/etc/scltn/smbplaswdcntt>. Tsmb.confcntt> elery that makes tona>plasdb backend = smbplaswd, guest. Sinc" this is tProcedure 2.2. Installior t crn class=indexterm"nname="500496822""ona> Addoall users to the Operatior System: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>useraddo-c "Jack Baultnch" -m -g users -p m0r3pa1n jackbcntt>cnb> cttn class=prompe">root# cntt>dbn class=userineut">ctt>useraddo-c "Mary Orville" -m -g users -p sfcret ma yocntt>cnb> cttn class=prompe">root# cntt>dbn class=userineut">ctt>useraddo-c "Amed Sehkah" -m -g users -p sfcret amedscntt>cnbu cnpucnliucliucp> Configure the Scltn smb.confcntt> fileoas s???ona>. cnpucdivn class=exahele"ucrnname="OfficeSf Oer">ona>Exahele 2.4. Secure Office Sf Oer smb.confonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496918">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496933""ona>cin class=parameter">ctt> netbiosoname = OLORINcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496949""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496965">ona>cin class=parameter">ctt> disable spoolss = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496981">ona>cin class=parameter">ctt> scni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500496997""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[homes]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497022""ona>cin class=parameter">ctt> commele = Home DibfDioriesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497037""ona>cin class=parameter">ctt> valid users = %Sontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497053">ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497069">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[public]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497093">ona>cin class=parameter">ctt> commele = Datacntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497109""ona>cin class=parameter">ctt> path = /exportcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497124""ona>cin class=parameter">ctt> force user = ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497140">ona>cin class=parameter">ctt> force group = userscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497156">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[prioters]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497180">ona>cin class=parameter">ctt> commele = All Priotersontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497196">ona>cin class=parameter">ctt> path = /var/spool/scltnontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497211""ona>cin class=parameter">ctt> prioter admin = root, ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497227">ona>cin class=parameter">ctt> creaie mask = 0600cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497243""ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497259">ona>cin class=parameter">ctt> priotable = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497274">ona>cin class=parameter">ctt> use cliect driOer = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497290">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucnliucliucp> Initialize the Microsoft Wind ss plasword datnbase wrth the new users: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbplaswd -a rootcntt>cnb> New SMB plasword: dbn class=userineut">ctt>bigsfcretcntt>cnb> Reenter smb plasword: dbn class=userineut">ctt>bigsfcretcntt>cnb> Addedouser root. root# cntt>dbn class=userineut">ctt>smbplaswd -a jackbcntt>cnb> New SMB plasword: dbn class=userineut">ctt>m0r3pa1ncntt>cnb> Retype new SMB plasword: dbn class=userineut">ctt>m0r3pa1ncntt>cnb> Addedouser jackb. root# cntt>dbn class=userineut">ctt>smbplaswd -a ma yocntt>cnb> New SMB plasword: dbn class=userineut">ctt>sfcretcntt>cnb> Reenter smb plasword: dbn class=userineut">ctt>sfcretcntt>cnb> Addedouser ma yo. root# cntt>dbn class=userineut">ctt>smbplaswd -a amedscntt>cnbu New SMB plasword: dbn class=userineut">ctt>mysfcretcntt>cnb> Reenter smb plasword: dbn class=userineut">ctt>mysfcretcntt>cnb> Addedouser ameds. cnpucnliucliucp> Install prioter usior the CUPS Web ioterface.oMake certore that all prioters that will be shared wrth Microsoft Wind ss cliects are iostalled as raw priotior dfvices. cnpucnliucliucp> Start Scltn usior the operatior system administraiive ioterface. Alternaiely, tona> crn class=indexterm"nname="500497438">ona> crn class=indexterm"nname="500497445""ona> crn class=indexterm"nname="500497454">ona> cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt> nmbd; smbd;cntt>cnbu cnpucnliucliucp> Configure the /exportcntt> dibfDiory: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>mkdib /exportcntt>cnbu root# cntt>dbn class=userineut">ctt>chowl ma yo.users /exportcntt>cnbu root# cntt>dbn class=userineut">ctt>chmodou=rwx,g=rwx,o-rwx /exportcntt>cnbu cnpucnliucliucp> Check that Scltn is runnior correDily: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbcliect -L localhost -U%cntt>cnbu Domore=[MIDEARTH] OS=[UNIX] Sf Oer=[Scltn-3.0.0] Sharename Type Commele --------- ---- ------- public Disk Data IPC$ IPC IPC Sf Oice (Scltn-3.0.0) ADMIN$ IPC IPC Sf Oice (Scltn-3.0.0) hplj4 Prioter hplj4 Sf Oer Commele --------- ------- OLORIN Scltn-3.0.0 W.(fgroup Master --------- ------- MIDEARTH OLORIN cnpucnliucliucp> ConnfDi to OLORINoas ma yo: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbcliect //olorin/ma yo -Uma yo%sfcretcntt>cnb> OS=[UNIX] Sf Oer=[Scltn-3.0.0] smb: \> cbn class=userineut">ctt>dibcntt>cnb> . D 0 Sct Jun 21 10:58:16 2003 .. D 0 Sct Jun 21 10:54:32 2003 Documeles D 0 Fri Apr 25 13:23:58 2003 DOCWORK D 0 Sct Jun 14 15:40:34 2003 OpenOffice.org D 0 Fri Apr 25 13:55:16 2003 .bashrc H 1286 Fri Apr 25 13:23:58 2003 .netscape6 DH 0 Fri Apr 25 13:55:13 2003 .mozilla DH 0 Wed Mar 5 11:50:50 2003 .kermrc H 164 Fri Apr 25 13:23:58 2003 .acrobct DH 0 Fri Apr 25 15:41:02 2003 55817 blocks ofosize 524288. 34725 blocks avorlable smb: \> cbn class=userineut">ctt>qontt>cnbu cnpucnliuc/olucnsivuc/divucp> By now you sona>Domore Member Sf Oeronh3ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500497642""ona> In t T We will use t Acc_aclior dfpartmele uses an acc_aclior applicatill called SpytFullcnem>onspan> t Tona>Exahele Configuraiillonh4ucnsivuc/divucdivucnsivuc/divucp> Tvalinorcnem>onspan> will be a member sf Oer of the compnny domore. Acc_aclior will have only a local sf Oer.oUser acc_acls will be on the Domore Controllers as will desktop profilesoand all netw.(f policyofiles. cnpucdivn class=procedure"ucol type="1"> Do not add users to the UNIX/Linux sf Oer; all of this will run off the celeral domore. cnpucnliucliucp> Configure smb.confcntt> acc_rdior ao ???ona> and crnf="#id#fast-membersf Oer-shares" title="Exahele 2.6. Member sf Oer smb.conf (shares and se Oices)">???ona>. cnpucp> cnpucdivn class=exahele"ucrnname="fast-member-sf Oer">ona>Exahele 2.5. Member sf Oer smb.conf (globals)onbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497790">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497806">ona>cin class=parameter">ctt> netbiosoname = VALINORcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497822""ona>cin class=parameter">ctt> security = DOMAINcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497838""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497853">ona>cin class=parameter">ctt> disable spoolss = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497869">ona>cin class=parameter">ctt> scni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497885">ona>cin class=parameter">ctt> idmap uid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497901">ona>cin class=parameter">ctt> idmap gid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497917">ona>cin class=parameter">ctt> winbind separaior = +cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497933""ona>cin class=parameter">ctt> winbind use default domore = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497949""ona>cin class=parameter">ctt> use sendfile = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500497965""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucdivn class=exahele"ucrnname="fast-membersf Oer-shares">ona>Exahele 2.6. Member sf Oer smb.conf (shares and se Oices)onbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[homes]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498006">ona>cin class=parameter">ctt> commele = Home DibfDioriesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498021""ona>cin class=parameter">ctt> valid users = %Sontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498037""ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498053">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[spytfull]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498077">ona>cin class=parameter">ctt> commele = Acc_aclior Applicatill Onlycntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498094""ona>cin class=parameter">ctt> path = /export/spytfullcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498109""ona>cin class=parameter">ctt> valid users = @Acc_aclsontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498125""ona>cin class=parameter">ctt> admin users = ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498140">ona>cin class=parameter">ctt> read only = Yesontt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[public]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498165""ona>cin class=parameter">ctt> commele = Datacntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498181">ona>cin class=parameter">ctt> path = /export/publiccntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498196">ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[prioters]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498221">ona>cin class=parameter">ctt> commele = All Priotersontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498236">ona>cin class=parameter">ctt> path = /var/spool/scltnontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498252""ona>cin class=parameter">ctt> prioter admin = root, ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498268">ona>cin class=parameter">ctt> creaie mask = 0600cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498284""ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498299">ona>cin class=parameter">ctt> priotable = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498315">ona>cin class=parameter">ctt> use cliect driOer = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498331">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucnliucliucp> crn class=indexterm"nname="500498353">ona> Join the domore. Note: Do not start Scltn uotil this step has been coheleied! cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>net rpc join -Uroot%'bigsfcret'ontt>cnbu Joined domore MIDEARTH. cnpucnliucliucp> Make absolueely certore that you disable (shut down) the dbn class=command">nscdonbucnspan> daemon ll any system on which dbn class=command">winbindonbucnspan> is configured to run. cnpucnliucliucp> Start Scltn followior the normal method for your operatior system platform. Ifoyou wish to this malually execute as root: crn class=indexterm"nname="500498410""ona> crn class=indexterm"nname="500498417""ona> crn class=indexterm"nname="500498423""ona> crn class=indexterm"nname="500498430""ona> crn class=indexterm"nname="500498440""ona> crn class=indexterm"nname="500498449">ona> cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>nmbd; smbd; winbindd;cntt>cnbu cnpucnliucliucp> Configure the name sf Oice switch control fileoonoyour system to resolve user ald group names via winbind. Edit the followior lioes in /etc/nsswitch.confcntt>: cnpucprsn class=programliseior"u plaswd: files winbind group: files winbind hosts: files dns winbind cnpucnliucliucp> Setothe plasword for dbn class=command">wbinfoonbucnspan> to use: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>wbinfo --set-aut<-user=root%'bigsfcret'ontt>cnbu cnpucnliucliucp> Validate that domore user ald group credentials can be correDily resolved by executior: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>wbinfo -uontt>cnbu MIDEARTH+ma yo MIDEARTH+jackb MIDEARTH+ameds ... MIDEARTH+root root# cntt>dbn class=userineut">ctt>wbinfo -gontt>cnbu MIDEARTH+Domore Users MIDEARTH+Domore Admins MIDEARTH+Domore Guests ... MIDEARTH+Acc_acls cnpucnliucliucp> Check that dbn class=command">winbindonbucnspan> is w.(fior. The followior demonstraies correDi username resolueion via the dbn class=command">getentonbucnspan> system ueility: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>getent plaswd ma yocntt>cnb> ma yo:x:15000:15003:Mary Orville:/home/MIDEARTH/ma yo:/bin/false cnpucnliucliucp> A final test thae we have this undfr control might be renssurior: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>touch /export/a_filecntt>cnbu root# cntt>dbn class=userineut">ctt>chowl ma yo /export/a_filecntt>cnbu root# cntt>dbn class=userineut">ctt>ls -al /export/a_filecntt>cnbu ... -rw-r--r-- 1 ma yo users 11234 Jun 21 15:32 a_file ... root# cntt>dbn class=userineut">ctt>rm /export/a_filecntt>cnbu cnpucnliucliucp> Configuraiill is now mostly coheleie, so this is aloopportune time ao configure the dibfDiory struceure f r this site: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>mkdib -p /export/{spytfull,public}cntt>cnbu root# cntt>dbn class=userineut">ctt>chmodoug=rwxS,o=x /export/{spytfull,public}cntt>cnbu root# cntt>dbn class=userineut">ctt>chowl ma yo.Acc_acls /export/{spytfull,public}cntt>cnbu cnpucnliuc/olucnsivuc/divucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500498710""ona>Domore Controlleronh3ucnsivuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500498718">ona> F r the remainder ofothis chapter the focus ishon t A Domore Controller configuraiill can be achieved wrth a sihele configuraiill usior the new adbsam plasword backend. T Toul type="disc"> Domore logons iotermittently fail. cnpucnliucliucp> File access ll a Domore Member sf Oer iotermittently fails, givior a permiasill denied error message. cnpucnliuc/ulucnsivucp> A more scalable Domore Control aut T Ifoyou need more tona>Exahele: Engioeering Officeonh4ucnsivuc/divucdivucnsivuc/divucp> T A w.(fior PDC configuraiill usior the tdbsam plasword backend can be f_acd in ???ona> togeiher wrth crnf="#id#fast-engoffice-shares" title="Exahele 2.8. Engioeering Office smb.conf (shares and se Oices)">???ona>: cnpucp> crn class=indexterm"nname="500498834">ona> cnpucdivn class=exahele"ucrnname="fast-engoffice-global">ona>Exahele 2.7. Engioeering Office smb.conf (globals)onbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498863">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498879">ona>cin class=parameter">ctt> netbiosoname = FRODOcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498894""ona>cin class=parameter">ctt> paasdb backend = tdbsamcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498910""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498926""ona>cin class=parameter">ctt> addouser scripe = /usr/sbin/useraddo-m %ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498942""ona>cin class=parameter">ctt> deleieouser scripe = /usr/sbin/userdel -r %ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498959">ona>cin class=parameter">ctt> addogroup scripe = /usr/sbin/groupaddo%gcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498975""ona>cin class=parameter">ctt> deleieogroup scripe = /usr/sbin/groupdel %gcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500498991""ona>cin class=parameter">ctt> addouser ao group scripe = /usr/sbin/usermodo-G %g %ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499007">ona>cin class=parameter">ctt> addomachine scripe = /usr/sbin/useraddo-s /bin/false \cntt>cni>ontd>c/tr>otr>otd>cin class=parameter">ctt> -d /dev/null %ucntt>cni>ontd>c/tr>otr>otd># Note: The followior specifies tc/tr>otr>otd># Per user logon scripes can be specified in the user acc_acl usior pdbedit ontd>c/tr>otr>otd>crn class=indexterm"nname="500499045""ona>cin class=parameter">ctt> logon scripe = scripes\logon.batcntt>cni>ontd>c/tr>otr>otd># Tc/tr>otr>otd>crn class=indexterm"nname="500499069">ona>cin class=parameter">ctt> logon path = \\%L\Profiles\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499084""ona>cin class=parameter">ctt> logon driOe = H:cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499100""ona>cin class=parameter">ctt> logon home = \\%L\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499115">ona>cin class=parameter">ctt> domore logons = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499131">ona>cin class=parameter">ctt> osolevel = 35ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499147""ona>cin class=parameter">ctt> preferred master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499163">ona>cin class=parameter">ctt> domore master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499178">ona>cin class=parameter">ctt> idmap uid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499194""ona>cin class=parameter">ctt> idmap gid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499210""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucdivn class=exahele"ucrnname="fast-engoffice-shares">ona>Exahele 2.8. Engioeering Office smb.conf (shares and se Oices)onbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[homes]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499249""ona>cin class=parameter">ctt> commele = Home DibfDioriesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499265""ona>cin class=parameter">ctt> valid users = %Sontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499281">ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499296">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>otr>otd># Priotior auto-share (makes prioters avorlable thru CUPS)ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[prioters]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499328">ona>cin class=parameter">ctt> commele = All Priotersontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499343""ona>cin class=parameter">ctt> path = /var/spool/scltnontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499359">ona>cin class=parameter">ctt> prioter admin = root, ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499375""ona>cin class=parameter">ctt> creaie mask = 0600cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499391""ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499406">ona>cin class=parameter">ctt> priotable = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499422""ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[priot$]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499447">ona>cin class=parameter">ctt> commele = Prioter DriOers Sharecntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499463""ona>cin class=parameter">ctt> path = /var/lib/scltn/driOerscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499478">ona>cin class=parameter">ctt> write liseo= ma yo, rootcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499494""ona>cin class=parameter">ctt> prioter admin = ma yo, rootcntt>cni>ontd>c/tr>otr>otd># Needed to support domore logonsontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[netlogon]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499526">ona>cin class=parameter">ctt> commele = Netw.(f Logon Sf Oicecntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499542""ona>cin class=parameter">ctt> path = /var/lib/scltn/netlogoncntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499557""ona>cin class=parameter">ctt> admin users = root, ma yocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499573""ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499589">ona>cin class=parameter">ctt> br sseable = Noontt>cni>ontd>c/tr>otr>otd># F r profilesoto w.(f, creaie a user dibfDiory undfr the plthontd>c/tr>otr>otd># sc/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[Profiles]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499628">ona>cin class=parameter">ctt> commele = Roamior Profile Sharecntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499644""ona>cin class=parameter">ctt> path = /var/lib/scltn/profilescntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499659">ona>cin class=parameter">ctt> read only = Nocntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500499675""ona>cin class=parameter">ctt> profile acls = Yesontt>cni>ontd>c/tr>otr>otd># Oiher resource (share/prioter) definitills would follow below.ontd>c/tr>otr>otd>...ontd>c/tr>o/tablsucnsivucp> cnpucnliucliucp> Creaie UNIX group acc_acls as neededousior a suitable operatior system tool: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>groupaddootadminscntt>cnbu root# cntt>dbn class=userineut">ctt>groupaddodfsignerscntt>cnbu root# cntt>dbn class=userineut">ctt>groupaddoengioeerscntt>cnbu root# cntt>dbn class=userineut">ctt>groupaddoqateamcntt>cnbu cnpucnliucliucp> Creaie user acc_acls on t crn class=indexterm"nname="500499775""ona> crn class=indexterm"nname="500499784">ona> Assign each of the UNIX groups to NT groups: (It may be useful ao copy tinitGroups.shcntt>.) <title>Shell scripe for initializior group mappiors</title> cnpucprsn class=programliseior"u #!/bin/bash #### Keep t cnpucnliucliucp> Creaie the scripescntt> dibfDiory for use in the cin class=parameter">ctt>[NETLOGON]cntt>cni> share: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>mkdib -p /var/lib/scltn/netlogon/scripescntt>cnbu Place the logon scripes that will be used (batch or cmd scripes) in t TA Big Organizaiillonh4ucnsivuc/divucdivucnsivuc/divucp> In tona>T This is aloexahele of a minimal configuraiill to run a Scltn-3 PDC usior an LDAP aut T Idealxona> Web site. T/usr/share/doc/packages/scltnXXXXXX/exaheles/LDAP/smbldap-toolscntt> dibfDiory. Idealx scripes Oersill cttn class=conslact">smbldap-tools-0.8.2cntt> are knowl to w.(f well. cnpucdivn class=procedure"ucol type="1"> Obtain from t~/exaheles/LDAP/scltn.schemnontt> and copy it to the /etc/openldap/schemn/cntt> dibfDiory. cnpucnliucliucp> Setoup the LDAP sf Oer.oT/etc/openldap/slapd.confcntt> file: crn class=indexterm"nname="500499955""ona> cfocl color="red"><title>Exahele slapd.conf file</title> cnpucprsn class=programliseior"u # Note commeleed out lioes have been removed include /etc/openldap/schemn/core.schemn include /etc/openldap/schemn/cosioe.schemn include /etc/openldap/schemn/ioeiorgperson.schemn include /etc/openldap/schemn/nis.schemn include /etc/openldap/schemn/scltn.schemn pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args datnbase bdb suffix "dc=quenya,dc=org" rootdn "cn=Malager,dc=quenya,dc=org" rootpw {SSHA}06qDkonA8hk6W6SSnRzWj0/pBcU3m0/P # T cnpucnliucliucp> Creaie the followior file scltn-ldap-init.ldifcntt>: crn class=indexterm"nname="500500020""ona> cnpucprsn class=programliseior"u # Organizaiill for ScltnXP Demo dn: dc=quenya,dc=org objece clas: dcObjece objece clas: organizaiill dc: quenya o: ScltnXP Demo descripeill: The ScltnXP Demo LDAP Tree # Organizaiillal Role f r DibfDiory Malagemele dn: cn=Malager,dc=quenya,dc=org objece clas: organizaiillalRole cn: Malager descripeill: DibfDiory Malager # Settior up the container for users dn: ou=Peoele, dc=quenya, dc=org objece clas: top objece clas: organizaiillalUnit ou: Peoele # Set up an admin handle f r Peoele OU dn: cn=admin, ou=Peoele, dc=quenya, dc=org cn: admin objece clas: top objece clas: organizaiillalRole objece clas: siheleSecurityObjece userPlasword: {SSHA}0jBHgQ1vp4EDX2rEMMfIudvRMJoGwjVb # T cnpucnliucliucp> Load the initial datn above into the LDAP datnbase: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>slapaddo-v -l initdb.ldifcntt>cnbu cnpucnliucliucp> Start the LDAP sf Oer usior the appropriaie tool or method for the operatior system platform on which it is iostalled. cnpucnliucliucp> Iostall the Idealx scripe files in the cttn class=filename">/usr/local/sbincntt> dibfDiory, then configure the smbldap_conf.pm file to match your system configuraiill. cnpucnliucliucp> The smb.confcntt> file thae driOesothis backend can be f_acd in exahele crnf="#id#fast-ldap" title="Exahele 2.9. LDAP backend smb.conf f r PDC">???ona>. cnpucp> cnpucdivn class=exahele"ucrnname="fast-ldap">ona>Exahele 2.9. LDAP backend smb.conf f r PDConbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500145""ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500160">ona>cin class=parameter">ctt> netbiosoname = FRODOcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500176""ona>cin class=parameter">ctt> paasdb backend = ldapscl:ldap://localhostcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500193">ona>cin class=parameter">ctt> username map = /etc/scltn/smbuserscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500209""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500224""ona>cin class=parameter">ctt> addouser scripe = /usr/local/sbin/smbldap-useradd.plo-m '%u'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500241""ona>cin class=parameter">ctt> deleieouser scripe = /usr/local/sbin/smbldap-userdel.plo%ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500258">ona>cin class=parameter">ctt> addogroup scripe = /usr/local/sbin/smbldap-groupadd.plo-p '%g'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500274""ona>cin class=parameter">ctt> deleieogroup scripe = /usr/local/sbin/smbldap-groupdel.plo'%g'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500290">ona>cin class=parameter">ctt> addouser ao group scripe = /usr/local/sbin/ \cntt>cni>ontd>c/tr>otr>otd>cin class=parameter">ctt>smbldap-groupmod.plo-m '%g' '%u'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500314""ona>cin class=parameter">ctt> deleieouser from group scripe = /usr/local/sbin/ \cntt>cni>ontd>c/tr>otr>otd>cin class=parameter">ctt>smbldap-groupmod.plo-x '%g' '%u'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500338""ona>cin class=parameter">ctt> setoprimary group scripe = /usr/local/sbin/ \cntt>cni>ontd>c/tr>otr>otd>cin class=parameter">ctt>smbldap-usermod.plo-g '%g' '%u'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500361">ona>cin class=parameter">ctt> addomachine scripe = /usr/local/sbin/smbldap-useradd.plo-w '%u'cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500378">ona>cin class=parameter">ctt> logon scripe = scripes\logon.batcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500394">ona>cin class=parameter">ctt> logon path = \\%L\Profiles\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500409""ona>cin class=parameter">ctt> logon driOe = H:cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500425""ona>cin class=parameter">ctt> logon home = \\%L\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500441""ona>cin class=parameter">ctt> domore logons = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500457""ona>cin class=parameter">ctt> osolevel = 35ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500472""ona>cin class=parameter">ctt> preferred master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500488">ona>cin class=parameter">ctt> domore master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500504">ona>cin class=parameter">ctt> ldap suffix = dc=quenya,dc=orgontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500520">ona>cin class=parameter">ctt> ldap machine suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500536">ona>cin class=parameter">ctt> ldap user suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500552""ona>cin class=parameter">ctt> ldap group suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500567""ona>cin class=parameter">ctt> ldap idmap suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500583""ona>cin class=parameter">ctt> ldap admin dn = cn=Malagerontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500599">ona>cin class=parameter">ctt> ldap ssl = noontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500615">ona>cin class=parameter">ctt> ldap plaswd sync = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500630">ona>cin class=parameter">ctt> idmap uid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500646""ona>cin class=parameter">ctt> idmap gid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500662">ona>cin class=parameter">ctt> winbind separaior = +cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500678""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>otr>otd>...ontd>c/tr>o/tablsucnsivucp> cnpucnliucliucp> Add the LDAP plasword to the sfcrets.tdccntt> file so Scltn can update the LDAP datnbase: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbplaswd -w mordonL8cntt>cnbu cnpucnliucliucp> Add users ald groups as required. Users ald groups addedousior Scltn tools will automotically be added to both the LDAP backend as well as to the operatior system as required. cnpucnliuc/olucnsivuc/divucdivn class=sect4" lang="en"ucdivn class=titlepage"ucdivucdivuch5n class=title"ucrnname="500500740""ona>Backup Domore Controlleronh5ucnsivuc/divucdivucnsivuc/divucp> crnf="#id#fast-bdc" title="Exahele 2.10. Remote LDAP BDC smb.conf">???ona> s Decide if tsmb.confcntt> as indicated. T???ona> uses a central LDAP sf Oer. cnpucdivn class=exahele"ucrnname="fast-bdc">ona>Exahele 2.10. Remote LDAP BDC smb.confonbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd># Global parametersontd>c/tr>otr>otd> d/td>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500806">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500822""ona>cin class=parameter">ctt> netbiosoname = GANDALFcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500838""ona>cin class=parameter">ctt> paasdb backend = ldapscl:ldap://frodo.quenya.orgontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500855">ona>cin class=parameter">ctt> username map = /etc/scltn/smbuserscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500871""ona>cin class=parameter">ctt> priotcaponame = cupscntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500886">ona>cin class=parameter">ctt> logon scripe = scripes\logon.batcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500903">ona>cin class=parameter">ctt> logon path = \\%L\Profiles\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500918""ona>cin class=parameter">ctt> logon driOe = H:cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500934""ona>cin class=parameter">ctt> logon home = \\%L\%Ucntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500950""ona>cin class=parameter">ctt> domore logons = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500965""ona>cin class=parameter">ctt> osolevel = 33ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500981">ona>cin class=parameter">ctt> preferred master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500500997">ona>cin class=parameter">ctt> domore master = Noontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501013">ona>cin class=parameter">ctt> ldap suffix = dc=quenya,dc=orgontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501028">ona>cin class=parameter">ctt> ldap machine suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501045""ona>cin class=parameter">ctt> ldap user suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501060""ona>cin class=parameter">ctt> ldap group suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501076""ona>cin class=parameter">ctt> ldap idmap suffix = ou=Peoeleontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501092""ona>cin class=parameter">ctt> ldap admin dn = cn=Malagerontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501108">ona>cin class=parameter">ctt> ldap ssl = noontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501124">ona>cin class=parameter">ctt> ldap plaswd sync = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501139">ona>cin class=parameter">ctt> idmap uid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501155">ona>cin class=parameter">ctt> idmap gid = 15000-20000cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501171""ona>cin class=parameter">ctt> winbind separaior = +cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501186""ona>cin class=parameter">ctt> priotior = cupscntt>cni>ontd>c/tr>otr>otd>...ontd>c/tr>o/tablsucnsivucp> cnpucnliucliucp> Configure the NETLOGON ald PROFILES dibfDiory as for t???ona>. cnpucnliuc/olucnsivuc/divuc/divuc/divuc/divuc/divuc/divucdivn class=part" lang="en"ucdivn class=titlepage"ucdivucdivuch1n class=title"ucrnname="type""ona>Sf Oer Configuraiill Basicscnh1ucnsivuc/divucdivucnsivuc/divucdivn class=partintro" lang="en"ucdivucdivucdivuch1n class=title"ucrnname="500501237">ona>First Steps in Sf Oer Configuraiillcnh1ucnsivuc/divucdivucnsivuc/divucp> Scltn can operate in various modes within SMB netw.(fs.oTopucb>Table of Contentsonbucnpucdlucdt>cspann class=chapter"ucrnf="#id#Sf OerType""3. Sf Oer Types ald Security Modesona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500501366""Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500501449">Sf Oer Typesona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500501520">Scltn Security Modesona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500501611"uUser Level Securityona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500501723""Share Level Securityona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500501822""Domore Security Mode (User Level Security)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502085">ADS Security Mode (User Level Security)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502203">Sf Oer Security (User Level Security)ona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500502447">Plasword Checkiorona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500502616""Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500502640""Whae Makes Scltn a Sf Oer?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502669">Whae Makes Scltn a Domore Controller?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502695">Whae Makes Scltn a Domore Member?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502723""Conslactly Losior Connectills to Plasword Sf Oerona>cnspan>c/dt>c/dlucnsd>c/dlucnsd>cdt>cspann class=chapter"ucrnf="#id#scltn-pdc">4. Domore Controlona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500503030">Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500503273""Basics ofoDomore Controlona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500503285">Domore Controller Typesona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500503508">Preparior f r Domore Controlona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500503821">Domore Control Exahele Configuraiillcna>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500504463""Scltn ADS Domore Controlona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500504495">Domore ald Netw.(f Logon Configuraiillcna>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500504507">Domore Netw.(f Logon Sf Oicecna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500504915">Security Mode ald Master Br ssersona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500505011""Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500505016">$ Cannot Be Included in Machine Namecna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505093">Joinior Domore Fails Because ofoExiseior Machine Acc_aclcna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505146""The System Cannot Log You On (C000019B)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505224""The Machine Trust Acc_acl Is Not Accessibleona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505287">Acc_acl Disabledona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505316">Domore Controller Unavorlableona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505336">Cannot Log onto Domore Member W.(fseatill After Joinior Domoreona>cnspan>c/dt>c/dlucnsd>c/dlucnsd>cdt>cspann class=chapter"ucrnf="#id#scltn-bdc">5. Backup Domore Controlona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500505508">Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500505842""Essential Backgrould Informaiillona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500505866""MS Wind ss NT4-style Domore Controlona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506154""LDAP Configuraiill Notesona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506342""Aceive DibfDiory Domore Controlona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506359">Whae Qualifies a Domore Controller on tcnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506397">How does a W.(fseatill find ils Domore Controller?ona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500506495">Backup Domore Controller Configuraiillcna>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500506711""Exahele Configuraiillcna>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500506943""Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500506962">Machine Acc_acls Keep Expiriorona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506996">Can Scltn Be a Backup Domore Controller to nn NT4 PDC?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500507025""How Do I Replicate the smbplaswd File?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500507083""Can I Do Tcnspan>c/dt>c/dlucnsd>c/dlucnsd>cdt>cspann class=chapter"ucrnf="#id#domore-member">6. Domore Membershipona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500507284">Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#machine-trust-acc_acls""MS Wind ss W.(fseatill/Sf Oer Machine Trust Acc_aclsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500507572">Manual Creaiill of Machine Trust Acc_aclsona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500507853">Managior Domore Machine Acc_acls usior NT4 Sf Oer Malagerona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500508074""On-the-Fly Creaiill of Machine Trust Acc_aclsona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500508153">Makior an MS Wind ss W.(fseatill or Se Oer a Domore Membercna>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#domore-member-sf Oer">Domore Member Sf Oerona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500508341""Joinior nn NT4-type Domore wrth Scltn-3ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500508784">Why Is Tcnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#ads-member">Scltn ADS Domore Membershipona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500508946""Configure smb.confona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500509093">Configure /etc/krb5.confona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#ads- reaie-machine-acc_acl">Creaie the Computer Acc_aclcna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#ads-test-sf Oer">Teseior Sf Oer Setupcna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#ads-test-smbcliecl">Teseior wrth smbclieclona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500509612"uNotesona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500509643""Sharior User ID Mappiors between Scltn Domore Membersona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500509754""Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500509782">Cannot Add Machine Back to Domoreona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500509813">Addior Machine to Domore Failsona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500509939">I Can't Join a Wind ss 2003 PDCona>cnspan>c/dt>c/dlucnsd>c/dlucnsd>cdt>cspann class=chapter"ucrnf="#id#StaldAloneSf Oer">7. Stald-alone Sf Oersona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500510006""Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500510039">Backgrouldona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500510100""Exahele Configuraiillcna>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#RefDocSf Oer">Reference Documeleatill Sf Oerona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#SihelePriotSf Oer">Central Priot Sf Oiorona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500510841""Common Errorsona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=chapter"ucrnf="#id#ClieclConfig">8. MS Wind ss Netw.(f Configuraiill Guideona>cnspan>c/dt>cdducdlucdt>cspann class=sect1"ucrnf="#id#500510892""Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500510917">Technical Detailsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500510947">TCP/IP Configuraiillcna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500512265""Joinior n Domore: Wind ss 2000/XP Professillalcna>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500512712""Domore Logon Configuraiill: Wind ss 9x/Meona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500513043""Common Errorsona>cnspan>c/dt>c/dlucnsd>c/dlucnsivuc/divucdivn class=chapter" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="Sf OerType""ona>Chapter 3. Sf Oer Types ald Security Modesonh2uc/divucdivucdivn class=autAndrewcnspan> cspann class=surname">Tridgellcnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:tridge@scltn.org">tridge@scltn.orgona>>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autJelmeronspan> cspann class=oihername">R.cnspan> cspann class=surname">Vernooijcnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">The Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:jelmer@scltn.org">jelmer@scltn.orgona>>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autJohnonspan> cspann class=oihername">H.cnspan> cspann class=surname">Terpstracnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:jht@scltn.org">jht@scltn.orgona>>cnpuc/divuc/divuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc">opucb>Table of Contentsonbucnpucdlucdt>cspann class=sect1"ucrnf="#id#500501366""Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500501449">Sf Oer Typesona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500501520">Scltn Security Modesona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500501611"uUser Level Securityona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500501723""Share Level Securityona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500501822""Domore Security Mode (User Level Security)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502085">ADS Security Mode (User Level Security)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502203">Sf Oer Security (User Level Security)ona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500502447">Plasword Checkiorona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500502616""Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500502640""Whae Makes Scltn a Sf Oer?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502669">Whae Makes Scltn a Domore Controller?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502695">Whae Makes Scltn a Domore Member?ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500502723""Conslactly Losior Connectills to Plasword Sf Oerona>cnspan>c/dt>c/dlucnsd>c/dlucnsivucp> This chapter provides informaiill regardior the types ofosf Oer thae Scltn may be configured to be. A Microsoft netw.(f administraior who wishesoto migraie to or use Scltn will wact to know the meanior, within a Scltn context, of terms familiar to MS Wind ss administraior.oT The chapter provides an ovf Oiew of the security modes of which Scltn is capable ald how they relaie to MS Wind ss sf Oers ald cliecls. cnpucp> A quesiill often asked is, “cspann class=quote"ucspann class=emphasis">oem>Why would I wact to use Scltn?onem>cnspan>c/span>” Most chapters contain a sectill that highlights feaeures ald benefits. We hope that tFeaeures ald Benefitsonh2uc/divuc/divucdivucnsivuc/divucp> Two mel were walkior down a dusty road, when one suddenly kicked up a small red stone. It hurt hisotoe ald lodged in oem>This is a garnet. I can eurn that into n precious gem ald some day it wrll make a priocess very happy!onem>cnspan>c/span>” cnpucp> The moral of thisotale: Two mel, tw. very different perspeceives regardior the same stone. Like il or not, Scltn is like that stone. Treai it the right way and il can brior greai pleasure, but if you are forced to use it ald have no time f r ils sfcrets, then il can be a source of discomf rt. cnpucp> Scltn started out as a projece that sought to provide ioteroperability f r MS Wind ss 3.x cliecls wrth a UNIX sf Oer.oIt has grown up a lot sioce ils humble beginniors ald now provides feaeures ald funceionality fie for large scale deploymele.oIt also has some warts. In sectills like this one we tell of both. cnpucp> So, what are the benefits of feaeures meleilled in this chapter? cnpucdivn class=itemizedlise">oul type="disc"> Scltn-3 cal replace an MS Wind ss NT4 Domore Controller. cnpucnliucliucp> Scltn-3 offers excellent ioteroperability wrth MS Wind ss NT4-style domores as well as naeively wrth Microsoft Aceive DibfDiory domores. cnpucnliucliucp> Scltn-3 permits full NT4-style Ioterdomore Trusts. cnpucnliucliucp> Scltn has security modes that permit more flexible aut Scltn-3 permits use ofomultiple acc_acl datnbase backends. cnpucnliucliucp> Tona>Sf Oer Typesonh2uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500501457""ona> Administraiors of Microsoft netw.(fs often refer to three different type ofosf Oers:cnpucdivn class=itemizedlise">oul type="disc">Domore Controlleronpucdivn class=itemizedlise">oul type="circle"ucliuPrimary Domore ControlleronliucliuBackup Domore ControlleronliucliuADS Domore Controlleronliuc/ulucnsivuc/liucliucp>Domore Member Sf Oeronpucdivn class=itemizedlise">oul type="circle"ucliuAceive DibfDiory Domore Sf OeronliucliuNT4 Style Domore Domore Sf Oeronliuc/ulucnsivuc/liucliucp>Stald-alone Sf Oercnpucnliuc/ulucnsivucp> The chapters coverior Domore Control, Backup Domore Control acd Domore Membership provide pereioent ioformaiill regardior Scltn configuraiill for each of these sf Oer roles. The reader is strongly enc_araged to become iotimaiely familiar wrth the ioformaiill preseleed. cnpuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500501520">ona>Scltn Security Modesonh2uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500501528">ona> crn class=indexterm"nname="500501535""ona> In t In the SMB/CIFS netw.(fior world, there are only tw. types ofosfcurity: cspann class=emphasis">oem>User Levelonem>cnspan> ald cspann class=emphasis">oem>Share Levelonem>cnspan>. We refer to these colleceively as cspann class=emphasis">oem>security levelsonem>cnspan>. In ihelemeclior these tw. security levels, Scltn provides flexibilities that are not avorlable wrth Microsoft Wind ss NT4/200xosf Oers. In actual fact, Scltn ihelemecls cspann class=emphasis">oem>Share Levelonem>cnspan> security only one way, but has four ways ofoihelemeclior cspann class=emphasis">oem>User Levelonem>cnspan> security. Colleceively, we call the Scltn ihelemeclatills cspann class=emphasis">oem>Security Modesonem>cnspan>. Toem>SHAREonem>cnspan>, cspann class=emphasis">oem>USERonem>cnspan>, cspann class=emphasis">oem>DOMAINonem>cnspan>, cspann class=emphasis">oem>ADSonem>cnspan>, ald cspann class=emphasis">oem>SERVERonem>cnspan> modes. They are documeleed in this chapter. cnpucp> An SMB sf Oer tells the cliecl at startup what security level it is runnior. TUser Level Securityonh3uc/divuc/divucdivucnsivuc/divucp> We wrll describe User Level Security first, as ils siheler. In User Level Security, the cliecl wrll send a sfasill setup request dibfDily followior protocol negotiaiill. Toem>accepl/rejeceonem>cnspan> on anything oiher than: cnpucdivn class=orderedlise">ool type="1">the username/plasword.cnpucnliucliucp>the name of the cliecl machine.cnpucnliuc/olucnsivucp> If the sf Oer accepls the username/plasword then the cliecl expects to be able to moacl shares (usior a cspann class=emphasis">oem>tree conneceillcnem>cnspan>) wrthout specifyior a plasword. Il expects that all access rights wrll be as the username/plasword specified in the cspann class=emphasis">oem>seasill setuponem>cnspan>. cnpucp> It is also possible for a cliecl to send multiple cspann class=emphasis">oem>seasill setuponem>cnspan> requests. When the sf Oer responds, il giOesothe cliecl a cspann class=emphasis">oem>uidonem>cnspan> to use as an autona>Exahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucp> The smb.confcntt> parameter that sets user level security is: cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500501701""ona>cin class=parameter">ctt> security =ousercntt>cni>ontd>c/tr>o/tablsucp> This is the default settior sioce Scltn-2.2.x. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500501723""ona>Share Level Securityonh3uc/divuc/divucdivucnsivuc/divucp> In Share Level security, the cliecl aut To underslacd the MS Wind ss netw.(fior parallels, one s Many cliecls send a sfasill setup even if tona>user parameter in the cttn class=filename">smb.confcntt> file. The plasword is then hecked in turn agorest these possible usernames. If a match is f_acd then the cliecl is autExahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucp> The smb.confcntt> parameter that sets Share Level security is: cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500501798""ona>cin class=parameter">ctt> security =osharecntt>cni>ontd>c/tr>o/tablsucp> There are reports that bfDecl MS Wind ss cliecls do not like to w.(f wrth share mode security sf Oers. You are strongly discoaraged from usior Share Level security. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500501822""ona>Domore Security Mode (User Level Security)onh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500501830">ona> When Scltn is operatior in security =odomore mode, the Scltn sf Oer has aodomore security trust acc_acl (a machine acc_acl) ald causes all autExahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucp>cspann class=emphasis">oem> Scltn as a Domore Member Sf Oer onem>cnspan>c/pucp> crn class=indexterm"nname="500501863""ona> Tsmb.confcntt> file: cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500501887""ona>cin class=parameter">ctt> security =odomoreontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500501903">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>o/tablsucp> In order for t crn class=indexterm"nname="500501932""ona> cnpucdivn class=procedure"ucol type="1">On the MS Wind ss NT Domore Controller, usior the Sf Oer Malager, add a machine acc_acl for tOn the UNIX/Linux system execute:cnpucprsn class=screen"uroot# cntt>dbn class=userineut">ctt>net rpc join -U administraior%plaswordcntt>cnbu Scltn-2.2.4 acd laier can auto-join a Wind ss NT4-style Domore just by executior: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>smbplaswd -j cin class=replaceabls">ctt>DOMAIN_NAMEcntt>cni> -r cin class=replaceabls">ctt>PDC_NAMEcntt>cni> \ -U Administraior%cin class=replaceabls">ctt>plaswordcntt>cni>ontt>cnbu Scltn-3 cal do the same by executior: cnpucprsn class=screen"u root# cntt>dbn class=userineut">ctt>net rpc join -U Administraior%cin class=replaceabls">ctt>plaswordcntt>cni>ontt>cnbu It is not necessary wrth Scltn-3 to specify the cin class=replaceabls">ctt>DOMAIN_NAMEcntt>cni> or tctt>PDC_NAMEcntt>cni> as il figures this out from the cttn class=filename">smb.confcntt> file settiors. cnpuc/divucp> Use of thisomode of aut/etc/plaswdcntt> entry. cnpucp> An alternaeive to nssignior UIDs to Wind ss users on a Scltn member sf Oer is preseleed in . cnpucp> For more ioformaiill regardior Domore Membership, sfe crnf="#id#domore-member" title="Chapter 6. Domore Membership">Domore Membershipona>. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500502085">ona>ADS Security Mode (User Level Security)onh3uc/divuc/divucdivucnsivuc/divucp> Both Scltn-2.2, ald Scltn-3 cal join an Aceive DibfDiory domore.oT If you are usior Aceive DibfDiory, startior wrth Scltn-3 you cal join as a naeive AD member. Why would you wact to do that? Your security policy might prohibit the use of NT-compaeible autExahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500502123">ona>cin class=parameter">ctt> realm = your.kerberos.REALMontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500502139">ona>cin class=parameter">ctt> security =oADSontt>cni>ontd>c/tr>o/tablsucp> The followior parameter may be required: cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500502165""ona>cin class=parameter">ctt> plasword sf Oer = your.kerberos.sf Oercntt>cni>ontd>c/tr>o/tablsucp> Please refer to crnf="#id#domore-member" title="Chapter 6. Domore Membership">Domore Membershipona> ald crnf="#id#ads-member" title="Scltn ADS Domore Membership">Scltn ADS Domore Membershipona> for more ioformaiill regardior this configuraiill opeill. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500502203">ona>Sf Oer Security (User Level Security)onh3uc/divuc/divucdivucnsivuc/divucp> Sf Oer Security Mode is left ovf from the time when Scltn was not capable of aclior as a Domore Member sf Oer.oIt is highly bfDommended not to use this feaeure. Sf Oer security mode has many drawbacks that include: cnpucdivn class=itemizedlise">oul type="disc">Potential Acc_acl Lockout on MS Wind ss NT4/200xoplasword sf Oers.cnpucnliucliucp>Lack of assuraoce tDoes not w.(f wrth Winbind, which is particularly needed when siorior profiles remotely.cnpucnliucliucp>Thisomode may open conneceills to the plasword sf Oer, ald keep them open for extended periods.cnpucnliucliucp>Security on the Scltn sf Oer breaks badly when the remote plasword sf Oer suddenly shuls down.cnpucnliucliucp>Wrth this mode there is NO security acc_acl in the domore t In Sf Oer Security Mode the Scltn sf Oer reports to the cliecl tplasword sf Oer by sendior exaDily the same username/plasword that il got from the cliecl. If that se Oer is in User Level Security and accepls the plasword, then Scltn accepls the cliecl's conneceill.oTplasword sf Oer. cnpucp> You s The parameter crn class=indexterm"nname="500502292""ona>security =osf Oer means that Scltn reports to cliecls that il is runnior in oem>user modeonem>cnspan> but actually plases off all autoem>user modeonem>cnspan> sf Oer.oTplasword sf Oer that points to the real aut When Scltn is runnior in oem>Sf Oer Security Modeonem>cnspan> it is essential that the parameter cspann class=emphasis">oem>plasword sf Oeronem>cnspan> is set to the precise NetBIOS machine name of the target autoem>Sf Oer Security Modeonem>cnspan> is operatior in what used to be knowl as w.(fgroup mode. cnpuc/divucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500502344""ona>Exahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucp>cspann class=emphasis">oem> Usior MS Wind ss NT as an Autcnspan>c/pucp> Tsmb.confcntt> file: cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500502372""ona>cin class=parameter">ctt> encrype plaswords = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500502388""ona>cin class=parameter">ctt> security =osf Oercntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500502404""ona>cin class=parameter">ctt> plasword sf Oer = "NetBIOS_name_of_a_DC"cntt>cni>ontd>c/tr>o/tablsucp> There are tw. ways ofoideclifyior wheiher or not a username and plasword pair is valid. One uses the reply informaiill provided as part of the aut The downside of thisomode of configuraiill is the fact that for security reaslls Scltn wrll send t Use of thisomode of autona>Plasword Checkioronh2uc/divuc/divucdivucnsivuc/divucp> MS Wind ss cliecls may use encrypeed plaswords as part of a challenge/response aut When encrypeed plaswords are used, a plasword that has been eleered by the user is encrypeed in tw. ways: cnpucdivn class=itemizedlise">oul type="disc">An MD4 hash of the unicode of the plasword strior.oTThe plasword is conOerted to upper case, acd then padded or truncated to 14 bytes.oToem>magiconem>cnspan>c/span>” 8-byte value. The resultior 16 bytes form the LanMannhash. cnpucnliuc/ulucnsivucp> MS Wind ss 95 pre-sf Oice pack 1, MS Wind ss NT Oersills 3.x ald Oersill 4.0 pre-sf Oice pack 3 will use eiiher mode of plasword aut MS Wind ss cliecls have n habit of droppior netw.(f mappiors that have been idle for 10 minutes or longer. When the user attempts to use the mapped drive conneceill that has been dropped, the cliecl bf-establishesothe conneceill usior n cached copy of the plasword. cnpucp> When Microsoft changed the default plasword mode, support was dropped for caching of the plore-text plasword. T The followior parameters can be used to w.(f arould the issue of Wind ss 9x/Me cliecls upper-casior usernames and plaswords before transmiteior them to the SMB sf Oer when usior clear-text autotr>otd>crn class=indexterm"nname="500502530">ona>cin class=parameter">ctt> plasword level = iotegercntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500502546">ona>cin class=parameter">ctt> username level = iotegercntt>cni>ontd>c/tr>o/tablsucp> By default Scltn will conOert to lower case the username before attemptior to lookup the user in the datnbase of local system acc_acls. Because UNIX usernames conOeniillally only contain lower-case characters, the crn class=indexterm"nname="500502567">ona>username level parameter is rarely needed. cnpucp> HoweOer, plaswords ll UNIX systems often make use ofomixed-case characters. Tplasword level must be set to the maximum number of upper case letters that cspann class=emphasis">oem>couldonem>cnspan> appear in a plasword. Note that if tplasword level of 8 will result in case insensieive plaswords as seen from Wind ss users. T The best opeill to adope is to enablsnsupport for encrypeed plaswords whereOer Scltn is used. Most attempts to apply the registry change to re-elable plore-text plaswords wrll eventually lead to user complorets ald unhappioess. cnpuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500502616""ona>Common Errorsonh2uc/divuc/divucdivucnsivuc/divucp> We all make mistakes.oIt is okay ao make mistakes, as lonr as t Here we look at common mistakes ald misapprehensions that have been tWhae Makes Scltn a Sf Oer?onh3uc/divuc/divucdivucnsivuc/divucp> To some the naeure of the Scltn cspann class=emphasis">oem>securityonem>cnspan> mode is obvious, but entirely wronr all the same. Il is assumed that crn class=indexterm"nname="500502654""ona>security =osf Oer means that Scltn wrll act as a sf Oer. Not so!oToem>tryonem>cnspan> to use anoiher SMB sf Oer as ils source for user autWhae Makes Scltn a Domore Controller?onh3uc/divuc/divucdivucnsivuc/divucp> The smb.confcntt> parameter crn class=indexterm"nname="500502684""ona>security =odomore does not really make Scltn behave as a Domore Controller.oTWhae Makes Scltn a Domore Member?onh3uc/divuc/divucdivucnsivuc/divucp> Guess! So many oihers do. But whateOer you do, do not think that crn class=indexterm"nname="500502705""ona>security =ouser makes Scltn act as a Domore Member. Read the manufacturer's manual before the warranty expires. Sfe crnf="#id#domore-member" title="Chapter 6. Domore Membership">Domore Membershipona> for more ioformaiill. cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500502723""ona>Conslactly Losior Connectills to Plasword Sf Oeronh3uc/divuc/divucdivucnsivuc/divucp> “cspann class=quote"ucspann class=emphasis">oem> Why does se Oer_validaie() sihely giOe up rather than bf-establish ils conneceill to the plasword sf Oer? Though I am not fluecl in the SMB protocol, perhapsothe cluster sf Oer process plases alonr to ils cliecl w.(fstatill the sfasill key it bfDeives from the plasword sf Oer, which means the plasword hashes submiteed by the cliecl would not w.(f on a subsequent conneceill whose sfasill key would be different. So se Oer_validaie() must giOe up.onem>cnspan>c/span>” cnpucp> Indeed. Tona>security =osf Oer is at best rnnasty hack. Please use crn class=indexterm"nname="500502755""ona>security =odomore; crn class=indexterm"nname="500502762""ona>security =osf Oer mode is also knowl as plas-through autChapter 4. Domore Controlonh2uc/divucdivucdivn class=autJohnonspan> cspann class=oihername">H.cnspan> cspann class=surname">Terpstracnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:jht@scltn.org">jht@scltn.orgona>>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autGeraldonspan> cspann class=oihername">(Jerry)onspan> cspann class=surname">Cartercnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:jerry@scltn.org">jerry@scltn.orgona>>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autDavidonspan> cspann class=surname">Bannoncnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Scltn Team
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:dbannon@scltn.org">dbannon@scltn.orgona>>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autGuentheronspan> cspann class=surname">Deschnercnspan>c/h3ucspann class=contrib">LDAP updaiescnspan>cdivn class=affiliaiill"ucspann class=orgname">SuSE
cnspan>cdivn class=address">opucttn class=emorl"><crnf="#idmorlto:gd@suse.de">gd@suse.deona>>cnpuc/divuc/divuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc">opucb>Table of Contentsonbucnpucdlucdt>cspann class=sect1"ucrnf="#id#500503030">Feaeures ald Benefitsona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500503273">Basics of Domore Controlona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500503285">Domore Controller Typesona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500503508">Preparior for Domore Controlona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500503821">Domore Control Exahele Configuraiillcna>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500504463""Scltn ADS Domore Controlona>cnspan>c/dt>cdt>cspann class=sect1"ucrnf="#id#500504495">Domore ald Netw.(f Logon Configuraiillcna>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500504507">Domore Netw.(f Logon Sf Oiceona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500504915">Security Mode ald Master Browsersona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500505011"uCommon Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500505016">$ Cannot Be Iocluded in Machine Nameona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505093">Joinior Domore Fails Because of Existior Machine Acc_aclona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505146">The System Cannot Log You On (C000019B)ona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505224">The Machine Trust Acc_acl Is Not Accessibleona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505287""Acc_acl Disabledona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505316">Domore Controller Unavorlableona>cnspan>c/dt>cdt>cspann class=sect2"ucrnf="#id#500505336""Cannot Log onto Domore Member W.(fstatill After Joinior Domoreona>cnspan>c/dt>c/dlucnsd>c/dlucnsivucp> There are many who approach MS Wind ss netw.(fior wrth incredible misconceplills. T The reader is advised not to tackle t crnf="#id#domore-exahele" title="Figure 4.1. An Exahele Domore.">The diagram sh ss a typical MS Wind ss Domore Security netw.(f environmele.oW.(fstatills A, B ald C are represeleaeive ofomany physical MS Wind ss netw.(f cliecls. cnpucdivn class=figure"ucrnname="domore-exahele">ona>cpn class=title"ucb>Figure 4.1. An Exahele Domore.onbucnpucdivn class=mediaobjece"ucimr src="h sto/imagefiles/domore.png" wrdth="270" alt="An Exahele Domore.">cnsivuc/divucp> From the Scltn morlior lise one can readily ideclify many common netw.(fior issues. If you are not clear on the followior subjeces, then il wrll do much good to read the sectills of thisoHOWTO toul type="disc">Basic TCP/IP configuraiill.cnpucnliucliucp>NetBIOS name resoluiill.cnpucnliucliucp>AutUser ald group configuraiill.cnpucnliucliucp>Basic file ald dibfDiory permiasill control in UNIX/Linux.cnpucnliucliucp>Underslacdior how MS Wind ss cliecls ioteroperate io a netw.(f environmele.cnpucnliuc/ulucnsivucp> Do not be put off; on the surface of it MS Wind ss netw.(fior seems so sihele that anyone cal do it. In fact, it is not a good idea to set up an MS Wind ss netw.(f wrth inadequate trainior and preparaiill. But lel's get our first indelible priociple out of the way: cspann class=emphasis">oem>Il is perffDily okay ao make mistakes!onem>cnspan> Io the right place and at the right time, mistakes are the essence of learnior. Il is very much not okay ao make mistakes that cause loss of produceivity acd impose an avoidable financial burdec on an organizatill. cnpucp> Where is the right place ao make mistakes? Only out of harms way. If you are goior to make mistakes, then please do it on a test netw.(f, away from users ald re such a way as to not ioflict paic on oihers. Do your learnior on a test netw.(f. cnpucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500503030">ona>Feaeures ald Benefitsonh2uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500503038">ona> cspann class=emphasis">oem>What is the key benefit of Microsoft Domore Security?onem>cnspan> cnpucp> In a word, cspann class=emphasis">oem>Siorle Sign Ononem>cnspan>, or SSO for short. To many, this is the Holy Grail of MS Wind ss NT and beyond netw.(fior. SSO allows users io a well-designed netw.(f to log onto any w.(fstatill that is a member of the domore t crn class=indexterm"nname="500503069""ona> The benefits of Domore Security are avorlable to those sites t Netw.(f cliecls of an MS Wind ss Domore Security Environmele must be Domore Members to be able to gore access to the advanced feaeures provided. Domore Membership involves more thae just settior the w.(fgroup name to the Domore name. Il requires the creaiill of a Domore trust acc_acl for tDomore Membershipona> for more ioformaiill. cnpuc/divucp> The followior funceionalities are new to the Scltn-3 release: cnpucdivn class=itemizedlise">oul type="disc"> Wind ss NT4 domore trusts. cnpucnliucliucp> crn class=indexterm"nname="500503123">ona> Addior users via the User Malager for Domores. TNexus.execntt> toolkit for Wind ss 9x/Me, or usior the SRVTOOLS.EXE package for MS Wind ss NT4/200x/XP platforms. T Introduces replaceabls and multiple user acc_acl (aut Ihelemecls full Unicode support.oT The followior funceionalities are not provided by Scltn-3: cnpucdivn class=itemizedlise">oul type="disc"> crn class=indexterm"nname="500503169""ona> crn class=indexterm"nname="500503175">ona> SAM replicatill wrth Wind ss NT4 Domore Controllers (i.e., a Scltn PDC and a Wind ss NT BDC or Oice Oersa). T Aceior as a Wind ss 2000 Domore Controller (i.e., Kerberos and Aceive DibfDiory). Io point of fact, Scltn-3 does have some Aceive DibfDiory Domore Control ability that is at t The Wind ss 200x/XP MMC (Computer Malagemecl) Console can not be used to malage a Scltn-3 sf Oer. For t Wind ss 9x/Me/XP Home cliecls are not true members of a domore for reaslls outlined in this chapter. T Scltn-3 ihelemecls group mappior between Wind ss NT groups ald UNIX groups (this is really quite complicated to explore io a short space).oTGroup Mappior MS Wind ss ald UNIXona>. cnpucp> crn class=indexterm"nname="500503241"uona> Scltn-3, like an MS Wind ss NT4 PDC or a Wind ss 200xoAceive DibfDiory, needs to siore user ald Machine Trust Acc_acl informaiill io a suitable backend datn-siore. Refer to crnf="#id#machine-trust-acc_acls" title="MS Wind ss W.(fstatill/Sf Oer Machine Trust Acc_acls">MS Wind ss W.(fstatill/Sf Oer Machine Trust Acc_aclsona>. Wrth Scltn-3 there can be multiple backends for t. cnpuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500503273">ona>Basics of Domore Controlonh2uc/divuc/divucdivucnsivuc/divucp> OOer the years, public perceplills of what Domore Control really is has takec on an almost mystical naeure. Before we braoch ioto a b ief oOerview of Domore Control, there are three basicotypes of Domore Controllers. cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500503285">ona>Domore Controller Typesonh3uc/divuc/divucdivucnsivuc/divucdivn class=itemizedlise">oul type="disc">Primary Domore Controllercnpucnliucliucp>Backup Domore Controllercnpucnliucliucp>ADS Domore Controllercnpucnliuc/ulucnsivucp> The cspann class=emphasis">oem>Primary Domore Controllercnem>cnspan> or PDC ploys an imporlact role io MS Wind ss NT4. Io Wind ss 200xoDomore Control architecture, this role is held by Domore Controllers. Folklore dictates t crn class=indexterm"nname="500503327"uona> Io the case of MS Wind ss NT4-style domores, it is the PDC that initiates a new Domore Control datnbase. T Wrth MS Wind ss 200xoSf Oer-based Aceive DibfDiory domores, one Domore Controller initiates a potential hierarchy of Domore Controllers, each wrth their owl area of delegated control. The master domore controller has t New to Scltn-3 is t[crnname="500503356"nf="#id#ftn.500503356">1ona>]cnsup>. cnpucp> The cspann class=emphasis">oem>Backup Domore Controllercnem>cnspan> or BDC ploys a key role io sf Oicior netw.(f aut Wrth MS Wind ss NT4, a decisill is made at installaeill to determine what type ofomachine toul type="disc">cspann class=emphasis">oem>Primary Domore Controllercnem>cnspan> the one that seeds the domore SAM.cnpucnliucliucp>cspann class=emphasis">oem>Backup Domore Controllercnem>cnspan> one that obtains a copy of the domore SAM.cnpucnliucliucp>cspann class=emphasis">oem>Domore Member Sf Oeronem>cnspan> one that has no copy of the domore SAM, rather it obtains autcspann class=emphasis">oem>Slacd-alone Se Oeronem>cnspan> one that ploys no plrt is SAM syochronizatill, has its own aut With MS Wind ss 2000,othe configuraiill of Domore Control is done after t crn class=indexterm"nname="500503450">ona> New to Scltn-3 is t At toem>Domore Controllercnem>cnspan> in naeive ADS mode is limited acd experimeclal in naeure. Toul type="disc"> cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500503508">ona>Preparior for Domore Controlonh3uc/divuc/divucdivucnsivuc/divucp> There are tw. ways toem>Slacd-aloneonem>cnspan> systems, more commonly called cspann class=emphasis">oem>W.(fgrouponem>cnspan> members, or as full participants io a security system, more commonly called cspann class=emphasis">oem>Domoreonem>cnspan> members. cnpucp> Il soem>W.(fgrouponem>cnspan> membership involves no special configuraiill other than the machine beior configured so the netw.(f configuraiill has a commonly used name for its w.(fgroup eclry. Il is not uncommon for toem>w.(fgroup mode does not involve security machine acc_aclsonem>cnspan>. cnpucp> Domore Member machines have n machine acc_acl io the Domore acc_acls datnbase. A special procedure must be followed on each machine to efffDi Domore Membership.oT When Scltn is configured as a Domore Controller, secure netw.(f operatill demands tDomore Membershipona> chapter for ioformaiill regardior Domore Membership. cnpuc/divucp> The followior are necessary for configurior Scltn-3 as an MS Wind ss NT4-style PDC for MS Wind ss NT4/200x/XP cliecls: cnpucdivn class=itemizedlise">oul type="disc">Configuraiill of basic TCP/IP ald MS Wind ss netw.(fior.cnpucnliucliucp>CorbfDi designatill of the Se Oer Role (crn class=indexterm"nname="500503597""ona>security =ouser).cnpucnliucliucp>Consistent configuraiill of Name Resoluiill[crnname="500503609"nf="#id#ftn.500503609">2ona>]cnsup>.cnpucnliucliucp>Domore logons for Wind ss NT4/200x/XP Proffasillal cliecls.cnpucnliucliucp>Configuraiill of Roamior Profiles or explicit configuraiill to force local profileousage.cnpucnliucliucp>Configuraiill of netw.(f/system policies.cnpucnliucliucp>Addior ald managior domore user acc_acls.cnpucnliucliucp>Configurior MS Wind ss cliecl machines to become Domore Members.cnpucnliuc/ulucnsivucp> The followior provisions are required to se Oe MS Wind ss 9x/Me cliecls: cnpucdivn class=itemizedlise">oul type="disc">Configuraiill of basic TCP/IP ald MS Wind ss netw.(fior.cnpucnliucliucp>CorbfDi designatill of the sf Oer role (crn class=indexterm"nname="500503674""ona>security =ouser).cnpucnliucliucp>Netw.(f Logon Configuraiill (sioce Wind ss 9x/Me/XP Home are not technically domore members, tRoamior Profile Configuraiill.cnpucnliucliucp>Configuraiill of System Policy handlior.cnpucnliucliucp>Installaeill of the netw.(f driver “cspann class=quote"ucspann class=emphasis">oem>Cliecl for MS Wind ss Netw.(fsonem>cnspan>c/span>” acd onfiguraiill to log onto the domore.onpucnliucliucp>Placior Wind ss 9x/Me cliecls in User Level Security if it is desired to allow all cliecl share access to be controlled accordior to domore user/group ideclities.cnpucnliucliucp>Addior ald managior domore user acc_acls.cnpucnliuc/ulucnsivucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3ucp> Roamior Profiles ald System/Netw.(f policies are advanced netw.(f administratill topics that are coOered in the crnf="#id#ProfileMgmt" title="Chapter 23. Desktop Profile Malagemecl">Desktop Profile Malagemeclona> and crnf="#id#PolicyMgmt" title="Chapter 22. System and Acc_acl Policies">System and Acc_acl Policiesona> chapters of thisodocumecl.oHoweOer, these are not necessarily specific to a Scltn PDC as much as t A Domore Controller is an SMB/CIFS sf Oer that: cnpucdivn class=itemizedlise">oul type="disc"> Registers ald advertises itself as a Domore Controller (through NetBIOS broadcasts as well as by way of name registratills eiiher by Mailslot Broadcasts oOer UDP broadcast, to a WINS sf Oer oOer UDP uni-cast, or Oia DNS and Aceive DibfDiory). cnpucnliucliucp> Provides t Provides a share called NETLOGON. cnpucnliuc/ulucnsivucp> Il is rather easy to configure Scltn to provide these. Each Scltn Domore Controller must provide tdomore logons funceionality (after tsmb.confcntt> file). Addiiillally, one sf Oer in a Scltn-3 Domore must advertise itself as the Domore Master Browser[crnname="500503799"nf="#id#ftn.500503799">3ona>]cnsup>. Tona>Domore Control Exahele Configuraiillcnh2uc/divuc/divucdivucnsivuc/divucp> The first step in creaiior a w.(fior Scltn PDC is to underslacd the parameters necessary in cttn class=filename">smb.confcntt>. An exahele cttn class=filename">smb.confcntt> for aceior as a PDC can be f_acd in crnf="#id#pdc-exahele" title="Exahele 4.1. smb.conf for beior a PDC">the next exaheleona>. cnpucp> cnpucdivn class=exahele">ornname="pdc-exahele">ona>cpn class=title"ucb>Exahele 4.1. smb.conf for beior a PDConbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> ontd>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503879">ona>cin class=parameter">ctt> netbios name = BELERIANDcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503895"uona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503911">ona>cin class=parameter">ctt> plasdb backend = tdbsamcni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503927"uona>cin class=parameter">ctt> os level = 33cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503942">ona>cin class=parameter">ctt> preferred master = yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503958">ona>cin class=parameter">ctt> domore master = yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503974""ona>cin class=parameter">ctt> local master = yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500503990">ona>cin class=parameter">ctt> security =ouserontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504006">ona>cin class=parameter">ctt> domore logons = yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504021""ona>cin class=parameter">ctt> logon path = \\%N\profiles\%uontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504037""ona>cin class=parameter">ctt> logon drive = H:ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504053""ona>cin class=parameter">ctt> logon home = \\homesf Oer\%u\winprofileontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504070""ona>cin class=parameter">ctt> logon scripe = logon.cmdontt>cni>ontd>c/tr>otr>otd> ontd>c/tr>otr>otd>cin class=parameter">ctt>[netlogon]ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504094">ona>cin class=parameter">ctt> plth = /Oarnlib/scltn/netlogonontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504109">ona>cin class=parameter">ctt> read only = yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504125"uona>cin class=parameter">ctt> write lise = ntadminontt>cni>ontd>c/tr>otr>otd> ontd>c/tr>otr>otd>cin class=parameter">ctt>[profiles]ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504150">ona>cin class=parameter">ctt> plth = /Oarnlib/scltn/profilesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504166">ona>cin class=parameter">ctt> read only = noontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504181""ona>cin class=parameter">ctt> creaie mask = 0600ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504197""ona>cin class=parameter">ctt> dibfDiory mask = 0700ontt>cni>ontd>c/tr>o/tablsucnsivucp> cnpucp> The basic oplills sh sn in crnf="#id#pdc-exahele" title="Exahele 4.1. smb.conf for beior a PDC">this exaheleona> are exploreed as follows: cnpucdivn class=Oariablelise"ucdlucdt>cspann class=term">plasdb backend cnspan>c/dt>cdducp> Toem>smbplaswd, tdbsam, ald ldapsamcnspan>. Toem>guestonem>cnspan>c/span>” eclry provides default acc_acls and is included by default, there is no need to add il explicitly.cnpucp> Where use of backup Domore Controllers (BDCs) is intended, the only logical choice is to use LDAP so the plasdb backend can be distributed. Tcspann class=term">Domore Control Parameters cnspan>c/dt>cdducp> Toem>os level, preferred master, domore master, sfcurity, encrype plaswords, ald domore logonsonem>cnspan> ploy a ceclral role io assurior domore control and netw.(f logll support.cnpucp> The cspann class=emphasis">oem>os levelonem>cnspan> must be set at or above n value of 32. A Domore Controller must be the Domore Master Browser, must be set in cspann class=emphasis">oem>useronem>cnspan> mode sfcurity, must support Microsoft-coheaiiblsnencrypeed plaswords, and must provide the netw.(f logll se Oice (domore logons). Encrypeed plaswords must be elabled. For more details on how to do this, refer to crnf="#id#plasdb" title="Chapter 10. Acc_acl Informaiill Datnbases""Acc_acl Informaiill Datnbasesona>. cnpuc/dducdt>cspann class=term">Environmele Parameters cnspan>c/dt>cdducp> Toem>logon path, logon home, logon drive, ald logon scripeonem>cnspan> are environmele support settiors that help to facilitaie cliecl logon operatills acd that help to provide automaied control facilities to ease netw.(f malagemecl oOerheads. Please refer to the man page informaiill for tcspann class=term">NETLOGON Share cnspan>c/dt>cdducp> Tcspann class=term">PROFILE Share cnspan>c/dt>cdducp> Toem>fake_permiasillsonem>cnspan>c/span>” that may be installed on thisoshare. T Tsmb.confcntt> parameters are the essentials alone: cnpucp> cnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd>crn class=indexterm"nname="500504376">ona>cin class=parameter">ctt> netbios name = BELERIANDcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504392"uona>cin class=parameter">ctt> w.(fgroup = MIDEARTHcntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504408">ona>cin class=parameter">ctt> domore logons = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504424">ona>cin class=parameter">ctt> domore master = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504440">ona>cin class=parameter">ctt> security =oUserontt>cni>ontd>c/tr>o/tablsucp> cnpucp> The addiiillal parameters sh sn in the longer listior above just makes for a more comeleie explonatill. cnpuc/divuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500504463""ona>Scltn ADS Domore Controlonh2uc/divuc/divucdivucnsivuc/divucp> Scltn-3 is not, ald calnot act as, al Aceive DibfDiory Sf Oer. It calnot truly funceion as al Aceive DibfDiory Primary Domore Controller. T To be sure, Scltn-3 is designed to provide most of the funceionality tona>Domore ald Netw.(f Logon Configuraiillcnh2uc/divuc/divucdivucnsivuc/divucp> The subjece of Netw.(f or Domore Logons is discuased here because il forms ae iotegral part of the essential funceionality tona>Domore Netw.(f Logon Sf Oiceonh3uc/divuc/divucdivucnsivuc/divucp> All Domore Controllers must run the netlogon sf Oice (cspann class=emphasis">oem>domore logonsonem>cnspan> in Scltn). One Domore Controller must be configured wrth crn class=indexterm"nname="500504521""ona>domore master = Yes (the Primary Domore Controller); on all Backup Domore Controllers crn class=indexterm"nname="500504530">ona>domore master = No must be set. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500504538">ona>Exahele Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucdivn class=exahele">ornname="PDC-config">ona>cpn class=title"ucb>Exahele 4.2. smb.conf for beior a PDConbucnpuctablsn class=sihelelise" border="0" summary="Sihele lise">otr>otd> ontd>c/tr>otr>otd>cin class=parameter">ctt>[global]cntt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504566">ona>cin class=parameter">ctt> domore logons = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504582">ona>cin class=parameter">ctt> domore master = (Yes on PDC, No on BDCs)ontt>cni>ontd>c/tr>otr>otd> ontd>c/tr>otr>otd>cin class=parameter">ctt>[netlogon]ontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504607""ona>cin class=parameter">ctt> commecl = Netw.(f Logon Sf Oiceontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504624">ona>cin class=parameter">ctt> plth = /Oarnlib/scltn/netlogonontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504639">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>ontd>c/tr>otr>otd>crn class=indexterm"nname="500504655"uona>cin class=parameter">ctt> browseablsn= Noontt>cni>ontd>c/tr>o/tablsucnsivuc/divucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500504671""ona>The Special Case of MS Wind ss XP Home Ediiillcnh4uc/divuc/divucdivucnsivuc/divucp> To be coheleiely clear: If you wact MS Wind ss XP Home Ediiill to integrate wrth your MS Wind ss NT4 or Aceive DibfDiory Domore Sfcurity, underslacd it calnot be done. The only oplill is to purchase the upgrade from MS Wind ss XP Home Ediiill to MS Wind ss XP Proffasillal. cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3ucp> MS Wind ss XP Home Ediiill does not have t Now tThe Special Case of Wind ss 9x/Mecnh4uc/divuc/divucdivucnsivuc/divucp> A domore and a w.(fgroup are exaDily the same in terms of netw.(f browsior. T The SMB cliecl loggior on to a domore has an expectatill that every other sf Oer in the domore s Issues related to the siorle-logll netw.(f model are discuased in this sectill. Scltn supports domore logons, netw.(f logll scripes ald user profiles for MS Wind ss for w.(fgroups ald MS Wind ss 9X/ME cliecls, which are the focus of thisosectill. cnpucp> When an SMB cliecl io a domore wishes to logll, it broadcasts requests for a logon sf Oer. The first one to reply gets t Usior these feaeures you cal make your cliecls verify tcspann class=emphasis">oem> MS Wind ss XP Home ediiill is not able to join a domore and does not permit tcnspan>c/pucp> Before launchior ioto the configuraiill instructills, it is worthwhile to look at how a Wind ss 9x/Me cliecl performs a logon: cnpucdivn class=orderedlise">ool type="1"ucliucp> The cliecl broadcasts (to the IP broadcast address of the subnet it is il) a NetLogll request. T\\SERVERcntt>. cnpucnliucliucp> The cliecl connects to that serOer, logs on (does an SMBsessetupX) acd then connects to the IPC$ share (usior an SMBtconX). cnpucnliucliucp> The cliecl does a NetWfstaUserLogll request, which retrieves the name of the user's logll scripe. cnpucnliucliucp> The cliecl then connects to the NetLogll share and searches for said scripe. If it is f_acd and can be bfad, it is retrieved acd executed by the cliecl. After t The cliecl sends a NetUserGetInfo request to the sf Oer to retrieve the user's home share, which is used to search for profiles. Sioce t The cliecl connects to the user's home share and searches for the user's profile. As il eurls out, you cal specify the user's home share as a share name and path. For exahele, \\sf Oer\fred\.winprofileontt>. If t The cliecl then disconnects from the user's home share and reconnects to the NetLogll share and looks for CONFIG.POLontt>, the policies file. If this is f_acd, it is read acd ihelemecled. cnpucnliuc/olucnsivucp> The more difference between n PDC and a Wind ss 9x/Me logon sf Oer configuraiill is: cnpucdivn class=itemizedlise">oul type="disc"> Plasword encrypeill is not required for a Wind ss 9x/Me logon sf Oer. But note that begionior with MS Wind ss 98 the default settior is that plore-text plasword support is disabled. It can be bf-elabled wrth the registry changes that are documecled in crnf="#id#PolicyMgmt" title="Chapter 22. System and Acc_acl Policies">System and Acc_acl Policiesona>. cnpucnliucliucp> Wind ss 9x/Me cliecls do not require and do not use Machine Trust Acc_acls. cnpucnliuc/ulucnsivucp> A Scltn PDC wrll act as a Wind ss 9x/Me logon sf Oer; after all, it does provide the netw.(f logll sf Oices that MS Wind ss 9x/Me expect to ficd. cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3ucp> Use of plore-text plaswords is stroorly discouraged. Where used tSecurity Mode ald Master Browsersonh3uc/divuc/divucdivucnsivuc/divucp> There are a few commecls ao make re order to tie up some loose ends. Thereohas been much debate oOer the issue of whether it is okay to configure Scltn as a Domore Controller in security modes other than user. The only security mode that will not w.(f due to technical reaslls isoshare-mode sfcurity. Domore ald sf Oer mode sfcurity are really just a Oariatill on SMB User Level Security. c/pucp> Actually, this issue is also closely tied to the debate on whether Scltn must be the Domore Master Browser for its w.(fgroup when operatior as a DC. While il may technically be possible to configure n sf Oer as such (after all, browsior ald domore logons are tw. distioDily different funceions), it is not a good idea to do so. You sConfigurior WORKGROUP Browsiorona> sectill. For t Now back to the issue of configurior a Scltn DC to use a mode other than crn class=indexterm"nname="500504963""ona>security =ouser. If a Scltn host is configured to use another SMB sf Oer or DC io order to Oalidate user connectill requests, it is a fact that some other machine on the netw.(f (the crn class=indexterm"nname="500504973">ona>plasword sf Oer) kn ss more about tona>w.(fgroup parameter must be set to the name of the Wind ss NT domore (which already has a Domore Controller). If the domore does not already have n Domore Controller, you do not yet have n Domore. cnpucp> Configurior a Scltn box as a DC for a domore that already by definiiill has a PDC is askior for trouble. Therefore, you ssecurity =ouser. Tona>Common Errorsonh2uc/divuc/divucdivucnsivuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500505016">ona>“cspann class=quote"ucspann class=emphasis">oem>$onem>cnspan>c/span>” Calnot Be Included re Machine Nameonh3uc/divuc/divucdivucnsivuc/divucp> A machine acc_acl, typically siored in cttn class=filename">/etc/plaswdontt>, takes the form of the machine name wrth a “cspann class=quote"ucspann class=emphasis">oem>$onem>cnspan>c/span>” appended. FreeBSD (ald other BSD systems) wrll not creaie a user wrth a “cspann class=quote"ucspann class=emphasis">oem>$onem>cnspan>c/span>” in the name. cnpucp> The problem is only in the program used to make the eclry. Once made, it w.(fs perfeDily. Creaie a user wrthout toem>$onem>cnspan>c/span>”. Then use cspan>vipwonbucnspan> to edit the eclry, adding toem>$onem>cnspan>c/span>”. Or creaie the whole eclry wrth vipw if you like; make sure you use a unique user logie ID. cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3uThe machine acc_acl must have the exaDi name that the w.(fstaiill has.cnsivucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNoteonh3ucp> Tvipwonbucnspan> is a common tool for dibfDily ediiior the cttn class=filename">/etc/plaswdontt> file. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500505093">ona>Joinior Domore Fails Because of Existior Machine Acc_aclonh3uc/divuc/divucdivucnsivuc/divucp> “cspann class=quote"ucspann class=emphasis">oem>I get told, `You already have n connectill to the Domore....' or `Calnot join domore, the credentials supplied conflict wrth an existior set...' when creaiior a Machine Trust Acc_acl.onem>cnspan>c/span>” cnpucp> This happens if you lry to reaie a Machine Trust Acc_acl from the machine itself and already have n connectill (e.g., mapped drive) to a share (or IPC$) on the Scltn PDC.oTC:\> ontt>cbn class=userinput">ctt>net use * /dontt>cnb> cnprsucp> cnpucp> Furiher, if the machine is already a “cspann class=quote"ucspann class=emphasis">oem>member of a w.(fgrouponem>cnspan>c/span>” that is the same name as the domore you are joinior (bad idea) you will get this message. Change tThe System Calnot Log You Ol (C000019B)onh3uc/divuc/divucdivucnsivuc/divucp>“cspann class=quote"ucspann class=emphasis">oem>I joined t`The system calnot log you ol (C000019B), Please lry again or consult your system administratorcnspan> when attemptior to logon.'onem>cnspan>c/span>” cnpucp> crn class=indexterm"nname="500505168">ona> This occurs when the domore SID siored in the sfcrets.tdb datnbase is changed. T To reset or change troot# ontt>cbn class=userinput">ctt>net getlocalsid 'OLDNAME'ontt>cnb> cttn class=prompt">root# ontt>cbn class=userinput">ctt>net setlocalsid 'SID'ontt>cnb> cnprsucp> cnpucp> W.(fstaiill Machine Trust Acc_acls w.(f only wrth the Domore (or netw.(f) SID. If this SID changes Domore Members (w.(fstaiills) wrll not be able to log onto the domore. The original Domore SID can be bfcoOered from the sfcrets.tdb file. Tona>T “cspann class=quote"ucspann class=emphasis">oem>When I lry to join t`The machine acc_acl for t. What's wroor?onem>cnspan>c/span>” cnpucp> This problem is caused by the PDC not havior a suitabls Machine Trust Acc_acl. If you are usior the crn class=indexterm"nname="500505248">ona>add machine scripe method to reaie acc_acls then this w.uld indicate t Alternaeely, if you are creaiior acc_acl eclries manually then they have not been creaied corbfDily. Make sure that you have the eclry corbfDi for the Machine Trust Acc_acl in cttn class=filename">smbplaswdontt> file on the Scltn PDC.o If you added toem>$onem>cnspan>c/span>” appended to il (i.e., coheuter_name$). Thereomust be an eclry in both /etc/plaswd acd the smbplaswd file. c/pucp> Some peopleohave also reported tAcc_acl Disabledonh3uc/divuc/divucdivucnsivuc/divucp>“cspann class=quote"ucspann class=emphasis">oem>When I attempt to login to a Scltn Domore from a NT4/W200x w.(fstaiill, I get a message about my acc_acl beior disabled.onem>cnspan>c/span>”c/pucp> Enable tctt>smbplaswd -e cin class=replaceabls">ctt>usernameontt>cni> ontt>cnb>. Tona>Domore Controller Unavailableonh3uc/divuc/divucdivucnsivuc/divucp>“cspann class=quote"ucspann class=emphasis">oem>Until a few minutes after Scltn has started, cliecls get the error `Domore Controller Unavailable'onem>cnspan>c/span>”c/pucp> A Domore Controller has to alnounce ils role on the netw.(f. Tona>Calnot Log onto Domore Member W.(fstaiill After Joinior Domoreonh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500505344">ona> crn class=indexterm"nname="500505351">ona> After successfullynjoinior the domore, user logons fail wrth one of two messages: one to the efffDi toem>schannelonem>cnspan> (secure channel) settiors or oem>smb signioronem>cnspan> settiors. Check your Scltn settiors for oem> cliecl schannel, sf Oer schannel, cliecl signior, sf Oer signioronem>cnspan> by executior: cnpucprsn class=s reen"u cspan>testparm -v | moreonbucnspan> and lookior for the value of t cnpucp> Also use the Microsoft Malagemecl Console Local Sfcurity Settiors. Toem>Secure Channel: ..., ald Digitally sign ....onem>cnspan>. cnpucp> It is important that these be set consistently wrth the Scltn-3 sf Oer settiors. cnpuc/divuc/divucdivn class=footnotes">obruchr wrdth="100" align="left"ucdivn class=footnote"ucrnf="#id#plasdb" title="Chapter 10. Acc_acl Informaiill Datnbases""[crnname="ftn.500503356"nf="#id#500503356">1ona>] cnsup>Acc_acl Informaiill Datnbasesona>c/divucdivn class=footnote"ucp>csup>[crnname="ftn.500503609"nf="#id#500503609">2ona>] cnsup>See crnf="#id#Netw.(fBrowsior" title="Chapter 9. Netw.(f Browsior">Netw.(f Browsiorona>, ald crnf="#id#integrate-ms-netw.(fs" title="Chapter 25. Integratior MS Wind ss Netw.(fs wrth Scltn">Integratior MS Wind ss Netw.(fs wrth Scltnona>.cnpuc/divucdivn class=footnote"ucrnf="#id#Netw.(fBrowsior" title="Chapter 9. Netw.(f Browsior">csup>[crnname="ftn.500503799"nf="#id#500503799">3ona>] cnsup>Netw.(f Browsiorona>c/divuc/divuc/divucdivn class=chapter" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="scltn-bdc">ona>Chapter 5. Backup Domore Controlonh2uc/divucdivucdivn class=autJohncnspan> cspann class=othername">H.cnspan> cspann class=surname">Terpstracnspan>c/h3ucdivn class=affiliatill"ucspann class=orgname">Scltn Teamobrucnspan>cdivn class=address"ucp>cttn class=email"><crnf="#idmailto:jht@scltn.org">jht@scltn.orgona>>cntt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autVolkercnspan> cspann class=surname">Lendeckecnspan>c/h3ucdivn class=affiliatill"ucspann class=orgname">Scltn Teamobrucnspan>cdivn class=address"ucp>cttn class=email"><crnf="#idmailto:Volker.Lendecke@SerNet.DE">Volker.Lendecke@SerNet.DEona>>cntt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autGuenthercnspan> cspann class=surname">Deschnercnspan>c/h3ucspann class=contrib">LDAP updatescnspan>cdivn class=affiliatill"ucspann class=orgname">SuSEobrucnspan>cdivn class=address"ucp>cttn class=email"><crnf="#idmailto:gd@suse.de">gd@suse.deona>>cntt>cnpuc/divuc/divuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc"ucp>cb>Table of Conteclsonbucnpucdlucdt>cspann class=sect1"ucrnf="#id#500505508">Feaeures ald Benefitsona>c/span>c/dt>cdt>cspann class=sect1"ucrnf="#id#500505842">Essential Backgrould Informaiillona>c/span>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500505866">MS Wind ss NT4-style Domore Controlona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506154">LDAP Configuraiill Notesona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506342">Aceive DibfDiory Domore Controlona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506359">What Qualifies n Domore Controller on the Netw.(f?ona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506397""How does a W.(fstaiill ficd ils Domore Controller?ona>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500506495">Backup Domore Controller Configuraiillcna>c/span>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500506711">Exahele Configuraiillcna>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1"ucrnf="#id#500506943">Common Errorsona>c/span>c/dt>cdducdlucdt>cspann class=sect2"ucrnf="#id#500506962"uMachine Acc_acls Keep Expiriorona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500506996">Can Scltn Be a Backup Domore Controller to al NT4 PDC?ona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500507025"uHow Do I Replicaie the smbplaswd File?ona>c/span>c/dt>cdt>cspann class=sect2"ucrnf="#id#500507083">Can I Do Tc/span>c/dt>c/dlucnsd>c/dlucnsivucp> Before you continue bfadior thisosectill, please make sure that you are comfortabls wrth configurior a Scltn Domore Controller as described in crnf="#id#scltn-pdc" title="Chapter 4. Domore Control">Domore Controlona>. cnpucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500505508">ona>Feaeures ald Benefitsonh2uc/divuc/divucdivucnsivuc/divucp> This is one of tJohn H. Terpstracna> clearly settior out your requiremecls acd/or questill ald we wrll do our best to provide a solutill. cnpucp> crn class=indexterm"nname="500505542">ona> Scltn-3 is capable of aceior as a Backup Domore Controller (BDC) to another Scltn Primary Domore Controller (PDC). A Scltn-3 PDC can operate wrth an LDAP Acc_acl backend. T crn class=indexterm"nname="500505566">ona> While il is possible to run a Scltn-3 BDC wrth non-LDAP backend, that backend must allow some form of 'two way' propagaiill, of changes from the BDC to the master. Only LDAP is capable of this at t crn class=indexterm"nname="500505582">ona> The use of a non-LDAP backend SAM datnbase is particularly problemaiic because Domore Member sf Oers ald w.(fstaiills periodically change t Considerior the number of commecls ald questills raised concernior how ao configure n BDC, let's consider each possible oplill and look at the pros ald cons for each possible solutill. crnf="#id#pdc-bdc-tabls" title="Table 5.1. Domore Backend Acc_acl Distributill Oplills">Followior tableona> lises possible design configuraiills for a PDC/BDC infrastructure. crn class=indexterm"nname="500505618">ona> crn class=indexterm"nname="500505626">ona> crn class=indexterm"nname="500505636">ona> crn class=indexterm"nname="500505645">ona> cnpucdivn class=tabls">crnname="pdc-bdc-tabls">ona>cpn class=title"ucb>Table 5.1. Domore Backend Acc_acl Distributill Oplillsonbucnpuctablsnsummary="Domore Backend Acc_acl Distributill Oplills" border="1"uccolgroupuccol align="cecler">ccol align="cecler">ccol align="left"uc/colgroupucthead>otr>oth align="cecler">PDC Backendoth align="cecler">BDC Backendoth align="left"uNotes/Discuasillo/tr>o/thead>otbody>otr>otd align="cecler">cp>Master LDAP Se Oercnpuc/td>ctd align="cecler">cp>Slave LDAP Se Oercnpuc/td>ctd align="left"ucp>Tc/tr>otr>otd align="cecler">cp>Siorle Ceclral LDAP Se Oercnpuc/td>ctd align="cecler">cp>Siorle Ceclral LDAP Se Oercnpuc/td>ctd align="left"ucp> A w.(fable solutill wrthout fail-oOer ability. Tc/tr>otr>otd align="cecler">cp>tdbsamcnpuc/td>ctd align="cecler">cp>tdbsam + cspan>net rpc vampireonbucnspan>cnpuc/td>ctd align="left"ucp> Does not w.(f wrth Scltn-3.0.0; may be ihelemecled in a later release. Tnet rpc vampireonbucnspan> is used to synchrooize domore acc_acls from the PDC to the BDC. cnpucntd>c/tr>otr>otd align="cecler">cp>tdbsamcnpuc/td>ctd align="cecler">cp>tdbsam + cspan>rsynconbucnspan>cnpuc/td>ctd align="left"ucp> Do not use trsynconbucnspan> to synchrooize the TDB datnbase files from the PDC to the BDC. cnpucntd>c/tr>otr>otd align="cecler">cp>smbplaswd filecnpuc/td>ctd align="cecler">cp>smbplaswd filecnpuc/td>ctd align="left"ucp> Do not use trsynconbucnspan> to synchrooize the smbplaswd file from the PDC to the BDC. Can be made to w.(f usior a cspan>crll job to synchrooize datn from the PDC to the BDC. cnpucntd>c/tr>o/tbody>o/tablsucnsivuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500505842">ona>Essential Backgrould Informaiillonh2uc/divuc/divucdivucnsivuc/divucp> A Domore Controller is a machine t When MS Wind ss NT3.10 was first released, it supported a new style ofoDomore Control ald wrth it a new form of the netw.(f logll sf Oice that has extended funceionality. This sf Oice became kn sn as the NT NetLogll Sf Oice. The naeure of thisose Oice has changed wrth the evolutill of MS Wind ss NT acd today provides a cohelex array of sf Oices that are ihelemecled oOer ae iotricaie spectrum of technologies. cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500505866">ona>MS Wind ss NT4-style Domore Controlonh3uc/divuc/divucdivucnsivuc/divucp> WheneOer a user logs ioto a Wind ss NT4/200x/XP Proffasillal W.(fstaiill, the w.(fstaiill connects to n Domore Controller (aut When t crn class=indexterm"nname="500505902">ona> The acc_acl informaiill (user ald machine) on Domore Controllers is stored in two files, one containior the Sfcurity informaiill acd the other the SAM. These are stored in files by the same name in the C:\Wind ss NT\System32\configontt> dibfDiory. These are the files that are involved in replicaiill of the SAM datnbase where Backup Domore Controllers are presecl on the netw.(f. cnpucp> There are two situaiills re which it is desirable to install Backup Domore Controllers: cnpucdivn class=itemizedlise">oul type="disc"> On the local netw.(f t At each remoie site, to reduce wrde area netw.(f traffic acd to add stability to remoie netw.(f operatills. T The inter-operatill of a PDC and ils BDCs in a true Wind ss NT4 enviroomecl is w.(th meclillior here. The PDC contains the master copy of the SAM. In the event that an administrator makes a change to t Scltn-3 can not participate in true SAM replicaiill and is therefore not able to eheloy precisely the same protocols used by MS Wind ss NT4. A Scltn-3 BDC wrll not creaie SAM update deltn files. It wrll not inter-operate wrth a PDC (NT4 or Scltn) to synchrooize the SAM from deltn files that are held by BDCs. c/pucp> Scltn-3 cannot funceion as a BDC to al MS Wind ss NT4 PDC, and Scltn-3 can not funceion corbfDily as a PDC to al MS Wind ss NT4 BDC.oBoth Scltn-3 ald MS Wind ss NT4 can funceion as a BDC to ils sn type ofoPDC. cnpucp> The BDC is said to hold a oem>bfad-onlyonem>cnspan> of the SAM from which it is able to process netw.(f logll requests acd aut In the event that the NT4 PDC ssmb.confontt> file. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500506015"uona>Exahele PDC Configuraiillcnh4uc/divuc/divucdivucnsivuc/divucp> Begionior with Versill 2.2, Scltn officially supports domore logons for all current Wind ss cliecls, includior Wind ss NT4, 2003 ald XP Proffasillal. For Scltn to be elabled as a PDC, some parameters in the cin class=parameter">ctt>[global]ontt>cni>-sectill of tsmb.confontt> have to be set. Refer to crnf="#id#minimalPDC" title="Exahele 5.1. Minimal smb.conf for a PDC in Use Wrth a BDC LDAP Se Oer on PDC.">followior configuraiillcna> for an exahele of the minimum required settiors. cnpucdivn class=exahele"ucrnname="minimalPDC">ona>cpn class=title"ucb>Exahele 5.1. Minimal smb.conf for a PDC in Use Wrth a BDC LDAP Se Oer on PDC.onbucnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500506063""ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506078""ona>cin class=parameter">ctt> plasdb backend = ldapsam://localhost:389ontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506095""ona>cin class=parameter">ctt> domore master = yesontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506110""ona>cin class=parameter">ctt> domore logons = yesontt>cni>cntd>c/tr>o/tablsucnsivucp> SeOeral other thiors like a ctt>[homes]ontt>cni> acd a ctt>[netlogll]ontt>cni> share also need to be sfi aloor with settiors for tDomore Controlona>. cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500506154">ona>LDAP Configuraiill Notesonh3uc/divuc/divucdivucnsivuc/divucp> When configurior a master and a slave LDAP serOer, it is advisable to use the master LDAP serOer for t When configurior a master LDAP serOer that will have slave LDAP serOers, do not forget to configure t/etc/openldap/slapd.confontt> file. It must be noted that the DN of a sf Oer certificate must use the CN attribute to name the serOer, acd the CN must carry the serOers' fullynqualified domore name. Addiiillal alias names ald wrldcards may be presecl in the subjectAltName certificate extensill. More details on sf Oer certificate names are in RFC2830. cnpucp> It does not really fit within the scope of thisodocumecl, but a w.(fior LDAP installaiill is basic to LDAP elabled Scltn operatill. When usior an OpenLDAP serOer with Transport Layer Sfcurity (TLS), the machine name in cttn class=filename">/etc/ssl/certs/slapd.pemontt> must be the same as in cttn class=filename">/etc/openldap/sldap.confontt>. The Red Hat Linux startup scripe creaies tslapd.pemontt> file with hostname “cspann class=quote"ucspann class=emphasis">oem>localhost.localdomore.onem>cnspan>c/span>” It is impossible to access this LDAP serOer from a slave LDAP serOer (i.e., a Scltn BDC) unless the certificate is recreaied wrth a corbfDi hostname. cnpucp> Do not install a Scltn PDC on a OpenLDAP slave sf Oer. Joinior cliecl machines to the domore will fail in this configuraiill because the change to t Possible PDC/BDC plus LDAP configuraiills include: cnpucdivn class=itemizedlise">oul type="disc"> PDC+BDC -> One Ceclral LDAP Se Oer. cnpucnliucliucp> PDC -> LDAP master serOer, BDC -> LDAP slave sf Oer. cnpucnliucliucp> PDC -> LDAP master, wrth secondary slave LDAP serOer. cnpucp> BDC -> LDAP master, wrth secondary slave LDAP serOer. cnpucnliucliucp> PDC -> LDAP master, wrth secondary slave LDAP serOer. cnpucp> BDC -> LDAP slave sf Oer, wrth secondary master LDAP serOer. cnpucnliuc/ulucnsivucp> Io order to have n fall-back configuraiill (secondary) LDAP serOer one would specify the sfcondary LDAP serOer in the cttn class=filename">smb.confontt> file as sh sn in crnf="#id#mulitldapcfg" title="Exahele 5.2. Multiple LDAP Se Oers re smb.conf">followior exaheleona>. cnpucp> cnpucdivn class=exahele"ucrnname="mulitldapcfg">ona>cpn class=title"ucb>Exahele 5.2. Multiple LDAP Se Oers re smb.confonbucnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>...ontd>c/tr>otr>otd>crn class=indexterm"nname="500506313""ona>cin class=parameter">ctt> plasdb backend = ontt>cni>cntd>c/tr>otr>otd>cin class=parameter">ctt>ldapsam:"ldap://master.quenyn.org ldap://slave.quenyn.org"ontt>cni>cntd>c/tr>otr>otd>...ontd>c/tr>o/tablsucnsivucp> cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500506342">ona>Aceive DibfDiory Domore Controlonh3uc/divuc/divucdivucnsivuc/divucp> As of the release of MS Wind ss 2000 and Aceive DibfDiory, tona>What Qualifies n Domore Controller on the Netw.(f?onh3uc/divuc/divucdivucnsivuc/divucp> Every machine t Where n WINS sf Oer is not used, broadcasl name registraiills alooe must suffice. Refer to crnf="#id#netdiscuas" title="Discuasill">Netw.(f Browsior: Discuasill for more informaiill regardior TCP/IP netw.(f protocols acd how SMB/CIFS names are handled. cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500506397""How does a W.(fstaiill ficd ils Domore Controller?onh3uc/divuc/divucdivucnsivuc/divucp> There are two different mechanisms to locate a domore controller, ooe method is used when NetBIOS oOer TCP/IP is enabled acd the other when it has been disabled in the TCP/IP netw.(f configuraiill. cnpucp> Where NetBIOS oOer TCP/IP is disabled, all name resolutill involves the use ofoDNS, broadcasl messagior oOer UDP, as well as Aceive DibfDiory communicaiill technologies. In this type of enviroomecl all machines require appropriate DNS eclries. More informaiill may be f_acd in crnf="#id#adsdnstech" title="DNS and Aceive DibfDiory">DNS and Aceive DibfDioryona>. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500506426">ona>NetBIOS OOer TCP/IP Enabledcnh4uc/divuc/divucdivucnsivuc/divucp> Al MS Wind ss NT4/200x/XP Proffasillal w.(fstaiill in tona>NetBIOS OOer TCP/IP Disabledonh4uc/divuc/divucdivucnsivuc/divucp> Al MS Wind ss NT4/200x/XP Proffasillal w.(fstaiill in tquenyn.orgontt> that has a need to afffDi user logon aut_ldap._tcp.pdc._msdcs.quenyn.orgontt> record. More informaiill regardior thisosubject may be f_acd in crnf="#id#adsdnstech" title="DNS and Aceive DibfDiory">DNS and Aceive DibfDioryona>. cnpuc/divuc/divuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500506495">ona>Backup Domore Controller Configuraiillcnh2uc/divuc/divucdivucnsivuc/divucp> The creaiill of a BDC requires some steps to prepare tsmbdcnspan> is executed for tona> cnpucdivn class=itemizedlise">oul type="disc"> Tprivaie/MACHINE.SIDontt>. Tprivaie/sfcrets.tdbontt>. This file is unique to each sf Oer acd can not be copied from a PDC to a BDC, the BDC will generate a new SID at start-up. It wrll oOer-write t To relrieve tsfcrets.tdbontt>, execute: cnpucprsn class=s reen"u cttn class=prompt">root# ontt>cbn class=userinput">ctt>net rpc getsidontt>cnb> cnprsucnliucliucp> Specificaiill of the crn class=indexterm"nname="500506577""ldap admin dl is obligaiory. Tsfcrets.tdbontt> usior the cspan>smbplaswd -w cin class=replaceabls">ctt>mysfcretontt>cni>cnb>cnspan>. cnpucnliucliucp> Eiiher crn class=indexterm"nname="500506605""ldap suffix or crn class=indexterm"nname="500506612">ona>ldap idmap suffix must be specified in the cttn class=filename">smb.confontt> file. cnpucnliucliucp> crn class=indexterm"nname="500506630""ona> T/etc/plaswdontt> and cttn class=filename">/etc/groupontt> have to be replicaied from the PDC to the BDC. T Tsmbplaswdontt> file with cspan>rsynconbucnspan> and cspan>sshonbucnspan>, t Tcrll job that will replicaie the dibfDiory structure in this share usior a tool like cspan>rsynconbucnspan>. cnpucnliuc/ulucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500506711">ona>Exahele Configuraiillcnh3uc/divuc/divucdivucnsivuc/divucp> Finally, the BDC has to be f_acd by the w.(fstaiills. Tthe next exaheleona>. cnpucdivn class=exahele"ucrnname="minim-bdc">ona>cpn class=title"ucb>Exahele 5.3. Minimal setup for beior a BDConbucnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500506743""ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506759">ona>cin class=parameter">ctt> plasdb backend = ldapsam:ldap://slave-ldap.quenyn.orgontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506776""ona>cin class=parameter">ctt> domore master = noontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506791""ona>cin class=parameter">ctt> domore logons = yesontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500506807""ona>cin class=parameter">ctt> idmap backend = ldap:ldap://slave-ldap.quenyn.orgontt>cni>cntd>c/tr>o/tablsucnsivucp> In the cin class=parameter">ctt>[global]ontt>cni>-sectill of tsmb.confontt> of tona>domore master = no forces t crn class=indexterm"nname="500506862">ona> crn class=indexterm"nname="500506868">ona> The cin class=parameter">ctt>idmap backendontt>cni> will redibfDi the cspan>winbindd utility to use the LDAP datnbase to resolve all UIDs acd GIDs for UNIX acc_acls. cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNotecnh3ucp> crn class=indexterm"nname="500506893">ona> Scltn-3 has introduced a new ID mappior facility. One of tctt>idmap backendontt>cni>. Please refer to the mal page for smb.confontt> for more informaiill regardior ils behavior. cnpuc/divucp> The use of the crn class=indexterm"nname="500506926">ona>idmap backend = ldap:ldap://master.quenyn/org oplill on a BDC only make sense where ldapsam is used on a PDC.oTCommon Errorsonh2uc/divuc/divucdivucnsivuc/divucp> As this is a raiher new area for Scltn, there are not many exaheles that we may refer to. Updates wrll be published as they become available ald may be f_acd in later Scltn releases or from the Scltn web crnf="#idhttp://scltn.org" target="_top">site.ona> cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500506962">ona>Machine Acc_acls Keep Expirioronh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500506970">ona> This problem wrll occur when the plasdb (SAM) files are copied from a ceclral serOer but the local Backup Domore Controller is aceior as a PDC. T The solutill is to use a more robust plasdb backend, such as the ldapsam backend, settior up a slave LDAP serOer for each BDC, and a master LDAP serOer for tona>Can Scltn Be a Backup Domore Controller to al NT4 PDC?onh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500507005"" No. The naeive NT4 SAM replicaiill protocols have not yet been fullynihelemecled. cnpucp> Can I get the benefits of a BDC wrth Scltn? Yes, but only to a Scltn PDC.The more reasll for ihelemeclior a BDC is availability. If the PDC is a Scltn machine, n sfcond Scltn machine cal be set up toose Oice logll requests wheneOer the PDC is down. cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500507025"uHow Do I Replicaie the smbplaswd File?onh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500507033">ona> Replicaiill of the smbplaswd file is sensieive. It has to be dooe wheneOer changes to the SAM are made. Every user's plasword change is done in the smbplaswd file and has to be replicaied to the BDC. So replicaiior the smbplaswd file very often is necessary. cnpucp> As the smbplaswd file contains plain text plasword equivalecls, il must not be secl unencrypled oOer the wrre. The best way to set up smbplaswd replicaiill from the PDC to the BDC is to use the utility rsync. rsync cal use ssh as a transport. cspan>sshonbucnspan> ilself cal be set up tooaccept oem>onlyonem>cnspan> cspan>rsynconbucnspan> transfer without requirior the user to type n paasword. cnpucp> As said a few times before, use of this method is broken and flawed. Machine trust acc_acls will go out of sync, resultior in a broken domore. Toem>notonem>cnspan> recommecded. Try usior LDAP instead. cnpuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500507083">ona>Can I Do T The sihele answer is yes. Scltn's pdb_ldap code supports bindior to a replica LDAP serOer, ald wrll also follow referrals acd re-bind to the master if it eOer needs to make a modificaiill to the datnbase. (Normally BDCs are bfad only, so tona>Chapter 6. Domore Membershiponh2uc/divucdivucdivn class=autJohncnspan> cspann class=othername">H.cnspan> cspann class=surname">Terpstracnspan>c/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp><crnf="#idmailto:jht@scltn.org">jht@scltn.orgona>>ontt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autJeremycnspan> cspann class=surname">Allisoncnspan>c/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp><crnf="#idmailto:jra@scltn.org">jra@scltn.orgona>>ontt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autGeraldcnspan> cspann class=othername">(Jerry)cnspan> cspann class=surname">Cartercnspan>c/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp><crnf="#idmailto:jerry@scltn.org">jerry@scltn.orgona>>ontt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autAndrewcnspan> cspann class=surname">Tridgellcnspan>c/h3ucdivn class=affiliatill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp><crnf="#idmailto:tridge@scltn.org">tridge@scltn.orgona>>ontt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autJelmercnspan> cspann class=othername">R.cnspan> cspann class=surname">Vernooijcnspan>c/h3ucdivn class=affiliatill">cspann class=orgname">The Scltn Team
cnspan>cdivn class=address"ucp><crnf="#idmailto:jelmer@scltn.org">jelmer@scltn.orgona>>ontt>cnpuc/divuc/divuc/divuc/divucdivucdivn class=autGueclhercnspan> cspann class=surname">Deschnercnspan>c/h3ucspann class=contrib">LDAP updatescnspan>cdivn class=affiliatill">cspann class=orgname">SuSE
cnspan>cdivn class=address"ucp><crnf="#idmailto:gd@suse.de">gd@suse.deona>>ontt>cnpuc/divuc/divuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc"ucp>Table of Conteclsonbucnpucdlucdt>cspann class=sect1">crnf="#id#500507284">Feaeures acd Benefitsona>cnspan>c/dt>cdt>cspann class=sect1">crnf="#id#machine-trust-acc_acls">MS Wind ss W.(fstaiill/Se Oer Machine Trust Acc_aclsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2">crnf="#id#500507572">Manual Creaiill of Machine Trust Acc_aclsona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500507853">Managior Domore Machine Acc_acls usior NT4 Se Oer Malagerona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500508074">On-lhe-Fly Creaiill of Machine Trust Acc_aclsona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500508153">Makior an MS Wind ss W.(fstaiill or SfrOer a Domore Memberona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnf="#id#domore-member-serOer">Domore Member Se Oercna>cnspan>c/dt>cdducdlucdt>cspann class=sect2">crnf="#id#500508341">Joinior al NT4-type Domore wrth Scltn-3ona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500508784">Why Is Tcnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnf="#id#ads-member">Scltn ADS Domore Membershipona>cnspan>c/dt>cdducdlucdt>cspann class=sect2">crnf="#id#500508946">Configure smb.confona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500509093">Configure /etc/krb5.confona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#ads-creaie-machine-acc_acl">Creaie the Computer Acc_aclona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#ads-test-serOer">Testior SfrOer Setupona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#ads-test-smbcliecl">Testior wrth smbclieclona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500509612">Notesona>cnspan>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnf="#id#500509643""Sharior User ID Mappiors between Scltn Domore Membersona>cnspan>c/dt>cdt>cspann class=sect1">crnf="#id#500509754">Common Errorsona>cnspan>c/dt>cdducdlucdt>cspann class=sect2">crnf="#id#500509782">Calnot Add Machine Back to Domoreona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500509813""Addior Machine to Domore Failsona>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500509939">I Cal't Join a Wind ss 2003 PDCona>cnspan>c/dt>c/dlucnsd>c/dlucnsivucp> Domore Membership is a subject of vital concern. Scltn must be able to participate as a member serOer in a Microsoft Domore Sfcurity context, ald Scltn must be capable of providior Domore machine member trust acc_acls, otherwiseoil would not be able to offer a viable oplill for many users. cnpucp> This chapter coOers backgrould informaiill pertainior to Domore Membership, the Scltn configuraiill for it, ald MS Wind ss cliecl procedures for joinior a domore. Why is this necessary? Because both are areas re which there exists wrthin the current MS Wind ss netw.(fior world and particularly in the UNIX/Linux netw.(fior and administratill world, a considerable level of misinformaiill, incorbfDi ulderstandior and a lack of kn sledge. Hopefully tona>Feaeures acd Benefitsonh2uc/divuc/divucdivucnsivuc/divucp> MS Wind ss w.(fstaiills acd serOers that wacl to participate in Domore Sfcurity need to be made Domore Members. Participatior in Domore Sfcurity is often called oem>Siorle Sign Ononem>cnspan> or cspann class=acrllym""SSOcnspan> for short. TMS Wind ss NT4 / 200xcnspan> sf Oer) or a Scltn sf Oer a member of an MS Wind ss Domore Sfcurity context. cnpucp> crn class=indexterm"nname="500507318">ona> Scltn-3 cal join an MS Wind ss NT4-style domore as a naeive member serOer, al MS Wind ss Aceive DibfDiory Domore as a naeive member serOer, or a Scltn Domore Control netw.(f. Domore Membership has maly advaclages: cnpucdivn class=itemizedlise">oul type="disc"> crn class=indexterm"nname="500507337""ona> MS Wind ss w.(fstaiill users get the benefit of SSO. cnpucnliucliucp> Domore user access rights acd file ownership/access controls cal be set from t Only MS Wind ss NT4/200x/XP Proffasillalcnspan> w.(fstaiills that are Domore Members cal use netw.(f logll facilities. cnpucnliucliucp> Domore Member w.(fstaiills cal be better controlled through the use of Policy files (NTConfig.POLontt>) acd Desktop Profiles. cnpucnliucliucp> T Netw.(f administrators gain better applicaiill acd user access malagemecl abilities because there is no need to moretore user acc_acls ll acy netw.(f cliecl or serOer, other than the ceclral Domore datnbase (eiiher NT4/Scltn SAM style Domore, NT4 Domore tona>MS Wind ss W.(fstaiill/Se Oer Machine Trust Acc_aclsonh2uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500507411">ona> A Machine Trust Acc_acl is an acc_acl that is used to autoem>Computer Acc_acl.onem>cnspan>c/span>”oT The plasword of a Machine Trust Acc_acl acts as the shared secret for secure communicaiill wrth the Domore Controller.oT A Wind ss NT4 PDC siores each Machine Trust Acc_acl in the Wind ss Registry. The introduciill of MS Wind ss 2000 saw the introduciill of Aceive DibfDiory, toul type="disc"> A Domore Sfcurity Acc_acl (siored in the crn class=indexterm"nname="500507460">ona>plasdb backend that has been configured in the cttn class=filename">smb.confontt> file.oT Tsmbplaswdontt> datnbase that contains the UNIX login ID, the UNIX user identifier (UID), acd the LanMae ald NT encrypled paaswords. T The two newer datnbase types are called ldapsam, ald tdbsam.oBoth sioreoconsiderably more datn than the older cttn class=filename">smbplaswdontt> file did.oT A corbfspondior UNIX acc_acl, typically siored in cttn class=filename">/etc/plaswdontt>. W.(f is in progress to allow a sihelified mode of operatill that does not require UNIX user acc_acls, but this may not be a feaeure of the early releases of Scltn-3. cnpucnliuc/ulucnsivucp> cnpucp> crn class=indexterm"nname="500507522">ona> There are three ways to creaie Machine Trust Acc_acls: cnpucdivn class=itemizedlise">oul type="disc"> Manual creaiill from t crn class=indexterm"nname="500507545"" Usior the MS Wind ss NT4 Se Oer Malager, eiiher from an NT4 Domore Member serOer, or usior the Nexus toolkit available from t “cspann class=quote"ucspann class=emphasis">oem>On-lhe-flyonem>cnspan>c/span>”ocreaiill.oTona>Manual Creaiill of Machine Trust Acc_aclsonh3uc/divuc/divucdivucnsivuc/divucp> The first step re manually creaiior a Machine Trust Acc_acl is to monually creaie the corbfspondior UNIX acc_acl in cttn class=filename">/etc/plaswdontt>. Tvipwonbucnspan> or another “cspann class=quote"ucspann class=emphasis">oem>add useronem>cnspan>c/span>”ocommald that is normally used to creaie new UNIX acc_acls.oT crn class=indexterm"nname="500507604">ona> crn class=indexterm"nname="500507611">ona> cnpucprsn class=s reen"u cttn class=prompt">root# ontt>cbn class=userinput">ctt>/usr/sbin/useradd -g machines -d /dev/null -c cin class=replaceabls">ctt>"machine nickname"ontt>cni> \ -s /bin/false cin class=replaceabls">ctt>machine_nameontt>cni>$ ontt>cnb> cttn class=prompt">root# ontt>cbn class=userinput">ctt>plaswd -l cin class=replaceabls">ctt>machine_nameontt>cni>$ontt>cnb> cnprsucp> cnpucp>In the above exahele above there is an existior system group “cspann class=quote"ucspann class=emphasis">oem>machinesonem>cnspan>c/span>”owhich is used as toem>machinesonem>cnspan>c/span>”ogroup has numeric GID equal 100.cnpucp> crn class=indexterm"nname="500507676""ona> On *BSD systems, tchplas utility: cnpucp> cnpucprsn class=s reen"u cttn class=prompt">root# ontt>cbn class=userinput">ctt>chplas -a \ 'cin class=replaceabls">ctt>machine_nameontt>cni>$:*:101:100::0:0:Wind ss cin class=replaceabls">ctt>machine_nameontt>cni>:/dev/null:/sbin/nologin'ontt>cnb> cnprsucp> cnpucp> The cttn class=filename">/etc/plaswdontt> eclry will list the machine name wrth a “cspann class=quote"ucspann class=emphasis">oem>$onem>cnspan>c/span>”oappecded, wrll not have n paasword, will have rnnull shell and no home dibfDiory. For exahele, a machine named “cspann class=quote"ucspann class=emphasis">oem>doppyonem>cnspan>c/span>”owould have rn cttn class=filename">/etc/plaswdontt> eclry like tctt>machine_nicknameontt>cni>:/dev/null:/bin/false cnprsucp> Above, cin class=replaceabls">ctt>machine_nicknameontt>cni> can be any descripeive name for tctt>machine_nameontt>cni> absolutely must be the NetBIOS name of the cliecl to be joined to the domore.oToem>$onem>cnspan>c/span>”omust be appecded to the NetBIOS name of the cliecl or Scltn wrll not recogoize t Now that the corbfspondior UNIX acc_acl has been creaied, the next step rs to creaie the Scltn acc_acl for tsmbplaswd commald as sh sn here: cnpucp> cnpucprsn class=s reen"u cttn class=prompt">root# ontt>cbn class=userinput">ctt>smbplaswd -a -m cin class=replaceabls">ctt>machine_nameontt>cni>ontt>cnb> cnprsucp> cnpucp> where cin class=replaceabls">ctt>machine_nameontt>cni> is t Manually creaiior a Machine Trust Acc_acl usior this method is the equivalecl of creaiior a Machine Trust Acc_acl on a Wind ss NT PDC usior crn class=indexterm"nname="500507830""ona> the cspann class=applicatill">Se Oer Malageronspan>. From tona>Managior Domore Machine Acc_acls usior NT4 Se Oer Malageronh3uc/divuc/divucdivucnsivuc/divucp> A w.(fior crn class=indexterm"nname="500507862">ona>add machine scripe scripe is essential for machine trust acc_acls to be automaiically creaied. T crn class=indexterm"nname="500507875"" If the machine from which you are tryior to monage tMS Wind ss NT4 w.(fstaiill or MS Wind ss 200x/XP Proffasillalcnspan>, tSRVTOOLS.EXEonbucnspan>. When executed in the target dibfDiory it will unplck cspan>SrvMgr.exeonbucnspan> and cspan>UsrMgr.exeonbucnspan> (both are domore malagemecl tools for MS Wind ss NT4 w.(fstaiill). cnpucp> crn class=indexterm"nname="500507914"" If your w.(fstaiill is a cspann class=applicatill">Microsoft Wind ss 9x/Mecnspan> family produci you sh uld download the cspan>Nexus.exeonbucnspan> plckage from t Further informaiill about these tools may be obtained from t cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crnf="#idhttp://support.microsoft.com/default.aspx?scid=kb;en-us;173673" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;173673ona>cntd>c/tr>otr>otd>crnf="#idhttp://support.microsoft.com/default.aspx?scid=kb;en-us;172540" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;172540ona>cntd>c/tr>o/tablsucp> cnpucp> Launch the cspan>srvmgr.exeonbucnspan> (Se Oer Malager for Domores) and follow these steps: cnpucdivn class=procedure">cpn class=title"ucb>Procedure 6.1. Se Oer Malager Acc_acl Machine Acc_acl Malagemeclonbucnpucol type="1"> From tComputercnspan>. cnpucnliucliucp> Click cspann class=guimecuitem">Select Domoreonspan>. cnpucnliucliucp> Click the name of the domore you wish to administer in the cspann class=guilabel">Select Domoreonspan> plnel acd thenn cick cspann class=guibuttll">OKonspan>. cnpucnliucliucp> Again from tComputercnspan>. cnpucnliucliucp> Select cspann class=guimecuitem">Add to Domoreonspan>. cnpucnliucliucp> In the dialog box,n cick tAdd NT W.(fstaiill of Se Oercnspan>, tAddcnspan> buttll. cnpucnliuc/oluc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500508074">ona>On-lhe-Fly Creaiill of Machine Trust Acc_aclsonh3uc/divuc/divucdivucnsivuc/divucp> The sfcond (acd recommecded) way of creaiior Machine Trust Acc_acls is sihely to allow tSicce each Scltn Machine Trust Acc_acl requires a corbfspondior UNIX acc_acl, a method for automaiically creaiior the UNIX acc_acl is usually supplied; tsmb.confontt>. T Here is an exahele for a Red Hat Linux system. cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd> cntd>c/tr>otr>otd>cin class=parameter">ctt>[global]ontt>cni>cntd>c/tr>otr>otd># <...remailder of parameters...>ontd>c/tr>otr>otd>crn class=indexterm"nname="500508129">ona>cin class=parameter">ctt> add machine scripe = /usr/sbin/useradd -d /dev/null -g 100 \ontt>cni>cntd>c/tr>otr>otd>cin class=parameter">ctt> -s /bin/false -M %uontt>cni>cntd>c/tr>o/tablsucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500508153">ona>Makior an MS Wind ss W.(fstaiill or SfrOer a Domore Memberonh3uc/divuc/divucdivucnsivuc/divucp> The procedure for makior an MS Wind ss w.(fstaiill or sf Oer a member of the domore varies wrth the Oersill of Wind ss. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500508164">ona>Wind ss 200x/XP Proffasillal Clieclonh4uc/divuc/divucdivucnsivuc/divucp> When the user elects to make the cliecl a Domore Member, Wind ss 200x prompts for an acc_acl and paasword that has privileges to creaie machine acc_acls in trootontt> privileges on the Scltn sf Oer) must be entered here; t For security reaslls, t/etc/plaswdontt>. cnpucp> The name of the acc_acl that is used to creaie Domore Member machine acc_acls can be anything trootontt> then this is easily mapped to cttn class=constant">rootontt> in the file named in the cttn class=filename">smb.confontt> parameter crn class=indexterm"nname="500508213">ona>username map = /etc/scltn/smbusers. cnpucp> The sfasill key of the Scltn Administrator Acc_acl acts as an encryplill key for settior the plasword of tWind ss NT4 Clieclonh4uc/divuc/divucdivucnsivuc/divucp> If the Machine Trust Acc_acl was creaied manually, on the Identificaiill Changes mecu enter tCreaie a Computer Acc_acl in the Domoreonspan>. In t If the Machine Trust Acc_acl is to be creaied on-lhe-fly, on the Identificaiill Changes mecu enter tCreaie a Computer Acc_acl in the Domoreonspan>. In tona>Scltn Clieclonh4uc/divuc/divucdivucnsivuc/divucp>Joinior a Scltn cliecl to a domore is documecled in crnf="#id#domore-member-serOer" title="Domore Member Se Oer">Domore Member Se Oercna>. cnpucndivucnsivuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="domore-member-serOer">cna>Domore Member Se Oercnh2uc/divuc/divucdivucnsivuc/divucp> T cspann class=emphasis">oem> Of course il sh uld be clear that the autcnspan> cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNotecnh3u When Scltn is configured to use an LDAP, or other identity malagemecl ald/or dibfDiory sf Oice, il is Scltn that continues to perform user ald machine aut Please refer to crnf="#id#scltn-pdc" title="Chapter 4. Domore Control">Domore Controlcna>, for more informaiill regardior how to creaie a domore machine acc_acl for a Domore Member serOer as well as for informaiill oe how to enable the Scltn Domore Member machine to join the domore ald be fullyntrusted by it. cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500508341">cna>Joinior al NT4-type Domore wrth Scltn-3onh3uc/divuc/divucdivucnsivuc/divucp>crnf="#id#assumplills" title="Table 6.1. Assumplills">Next tablecna> lisesnnames that have been used in the remailder of tcrnname="assumplills">ona>cpn class=title"ucb>Table 6.1. Assumplillsonbucnpuctablsnsummary="Assumplills" border="1">ccolgroup>ccol align="right">ccol align="left">oncolgroup>ctbody>otr>otd align="right">NetBIOS name:cntd>ctd align="left">SERV1cntd>c/tr>otr>otd align="right">Wind ss 200x/NT domore name:cntd>ctd align="left">MIDEARTHontd>c/tr>otr>otd align="right">Domore's PDC NetBIOS name:cntd>ctd align="left">DOMPDContd>c/tr>otr>otd align="right">Domore's BDC NetBIOS names:cntd>ctd align="left">DOMBDC1 ald DOMBDC2cntd>c/tr>o/tbody>o/tablsucnsivucp> First, you must edil your cttn class=filename">smb.confontt> file to tell Scltn it sh uld now use domore sfcurity. cnpucp> Change (or add) your crn class=indexterm"nname="500508437""ona>sfcurity line in the [global] sectill of your cttn class=filename">smb.confontt> to read: cnpucp> cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500508459">ona>cin class=parameter">ctt> security = domoreontt>cni>cntd>c/tr>o/tablsucp> cnpucp> Next change the crn class=indexterm"nname="500508478">ona>w.(fgroup line in the cin class=parameter">ctt>[global]ontt>cni> sectill to read: cnpucp> cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500508500""ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHontt>cni>cntd>c/tr>o/tablsucp> cnpucp> This is t You must also have tona>encrypl paaswords set to cttn class=constant">yesontt> in order for your users to autsmb.confontt> file, il must be set to cttn class=constant">Yesontt>. cnpucp> Finally, add (or modify) a crn class=indexterm"nname="500508552">ona>plasword serOer line in the [global] sectill to read: cnpucp> cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500508569">ona>cin class=parameter">ctt> plasword serOer = DOMPDC DOMBDC1 DOMBDC2cntt>cni>cntd>c/tr>o/tablsucp> cnpucp> These are the primary ald backup Domore Controllers Scltn wrll attempt to contact in order to aut Alternaeely, if you wacl smbd to automaiically determine the list of Domore Controllers to use for aut cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500508608">ona>cin class=parameter">ctt> plasword serOer = *ontt>cni>cntd>c/tr>o/tablsucp> cnpucp> This method allows Scltn to use exactlynthe same mechanism that NT does.oT To join the domore, run t cnpucprsn class=s reen"u cttn class=prompt">root# ontt>cbn class=userinput">ctt>nel join -S DOMPDC -Ucin class=replaceabls">ctt>Administrator%plaswordontt>cni>ontt>cnb> cnprsucp> cnpucp> If the cttn class=oplill">-S DOMPDContt> argumecl is not given, tsmb.confontt>. cnpucp> The machine is joinior t-Sontt> oplill.oTctt>Administrator%plaswordontt>cni> is tJoined domore DOM.ontt> cnprsucp> cnpucp> Where Aceive DibfDiory is used: cnpucprsn class=s reen"u cttn class=computeroutput">Joined SERV1 to realm MYREALM.ontt> cnprsucp> cnpucp> Refer to the cspan>nelonbucnspan> mal page for further informaiill. cnpucp> This process joins t This commald goes through the machine acc_acl plasword change protocol, t/usr/local/scltn/privaie/secrets.tdbontt> or cttn class=filename">/etc/scltn/secrets.tdbontt>. cnprsucp> cnpucp> This file is creaied ald owned by root ald is not readablsnby any oiher user. It is t Finally, restart your Scltn daemlls acd get bfady for cliecls to begre usior domore sfcurity.oTroot# ontt>/etc/init.d/scltn restart cnprsucp> cnpucnsivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500508784">ona>Why Is Tctt>security = serOerontt>cni>?onh3uc/divuc/divucdivucnsivuc/divucp> Currently, domore sfcurity in Scltn does not free you from havior to creaie local UNIX users to reprssecl the users attaching to your sf Oer. TDOM\fred ontt> attaches to your Domore Sfcurity Scltn sf Oer, there needs to be a local UNIX user fred to reprssecl that user in the UNIX file system.oTona>security = serOer, where Scltn w uld plas through the aut Please refer to crnf="#id#wiobind" title="Chapter 20. Wiobind: Use of Domore Acc_acls">Wiobind: Use of Domore Acc_aclscna> chapter, for informaiill oe a system to automaiically lasign UNIX UIDs acd GIDs to Wind ss NT Domore users acd groups. cnpucp> The advaclage to Domore-level security is that the aut In additill, wrth crn class=indexterm"nname="500508845""security = serOer, eOery Scltn daemll oe a serOer has to keep a connectill opel to the autsecurity = domore, howeOer, the Scltn daemlls connect to the PDC/BDC only for as loor as is necessary to aut Acd finally, actior in the same manner as an NT serOer aut Much of the text of thisodocumecl was first published in the Web magazine crnf="#idhttp://www.linuxworld.com" target="_top">LinuxWorldcna> as the article crnf="#idhttp://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-scltn.html" target="_top">http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-scltn.htmlona> cspann class=emphasis">oem>Doior the NIS/NT Scltncnem>cnspan>. cnpucndivucnsivuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="ads-member">ona>Scltn ADS Domore Membershiponh2uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500508913">ona> crn class=indexterm"nname="500508919">ona> crn class=indexterm"nname="500508928">ona> crn class=indexterm"nname="500508935">ona> This is a rough guide to settior up Scltn-3 wrth Kerberos autona>Configure smb.confontt>onh3uc/divuc/divucdivucnsivuc/divucp> You must use at least tsmb.confontt>: cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500508972">ona>cin class=parameter">ctt> realm = your.kerberos.REALMontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500508988">ona>cin class=parameter">ctt> security = ADSontt>cni>cntd>c/tr>otr>otd># Tc/tr>otr>otd># Tc/tr>otr>otd>crn class=indexterm"nname="500509018">ona>cin class=parameter">ctt> encrypl paaswords = yesontt>cni>cntd>c/tr>o/tablsucp> In case scltn calnot corbfDily identifynthe appropriaee ADS sf Oer usior the realm name, use the crn class=indexterm"nname="500509038">ona>plasword serOer oplill in smb.confontt>: cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500509056""cin class=parameter">ctt> plasword serOer = your.kerberos.serOerontt>cni>cntd>c/tr>o/tablsucp> cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNotecnh3ucp> You do cspann class=emphasis">oem>notonem>cnspan> need a smbplaswd file, ald older cliecls will be autsecurity = domore, although it will not do any harm ald allows you to have local users not in tona>Configure /etc/krb5.confontt>onh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500509105">ona> crn class=indexterm"nname="500509112">ona> With both MIT ald Heimdal Kerberos, il is unnecessary to configure the cttn class=filename">/etc/krb5.confontt>, ald il may be detrimectal. cnpucp> Microsoft Aceive DibfDiory sf Oers automaiically creaie SRV records in the DNS zone cin class=parameter">ctt>_kerberos.REALM.NAMEontt>cni> for each KDC in the realm.oT MIT's, as well as Heimdal's, bfDecl KRB5 libraries default to checkior for SRV records, so they will automaiically ficd the KDCs. In additill, cttn class=filename">krb5.confontt> only allows specifying a siorle KDC, even there if there may be more than one. Usior the DNS lookup allows the KRB5 libraries to use whicheOer KDCs are available. cnpucp> Whee manually configurior cttn class=filename">krb5.confontt>, the minimal configuraiill is: cnpucp> cnpucprsn class=programlistior"u [libdefaults] default_realm = YOUR.KERBEROS.REALM [realms] YOUR.KERBEROS.REALM = { kdc = your.kerberos.serOer } [domore_realms] .kerberos.serOer = YOUR.KERBEROS.REALM cnprsucp> Whee usior Heimdal Oersills before 0.6 use the followior configuraiill settiors: cnpucprsn class=s reen"u [libdefaults] default_realm = YOUR.KERBEROS.REALM default_etypes = des-cbc-crc des-cbc-md5 default_etypes_des = des-cbc-crc des-cbc-md5 [realms] YOUR.KERBEROS.REALM = { kdc = your.kerberos.serOer } [domore_realms] .kerberos.serOer = YOUR.KERBEROS.REALM cnprsucp> cnpucp> crn class=indexterm"nname="500509196""ona> Test your config by doior a cbn class=userinput">ctt>kinit cin class=replaceabls">ctt>USERNAMEontt>cni>@cin class=replaceabls">ctt>REALMontt>cni>cntt>cnb> and makior sure that your plasword is accepted by the Win2000 KDC. cnpucp> With Heimdal Oersills earlier than 0.6.x you only cal use newly creaied acc_acls re ADS or acc_acls that have had the plasword changed once after migraiill, or re case of cttn class=constant">Administratorontt> after installaiill. At t The realm must be re uppercase or you will get “cspann class=quote"ucspann class=emphasis">oem>cspann class=errorname">Calnot ficd KDC for requested realm while gettior initial credentialscnspan>c/em>cnspan>c/span>”oerror (Kerberos is case-secsieive!). cnpucnsivucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNotecnh3ucp> Time between the two sf Oers must be synchrooized. You will get a “cspann class=quote"ucspann class=emphasis">oem>cspann class=errorname">kinit(v5): Clock skew too greai while gettior initial credentialscnspan>c/em>cnspan>c/span>” if t Clock skew limits are configurable in the Kerberos protocols.oT You also must ensure that you can do n reOerse DNS lookup on the IP address of your KDC. Also, t The easiest way to ensure you get this right is to add a cttn class=filename">/etc/hostsontt> eclry mappior the IP address of your KDC to its NetBIOS name. If you do not get this corbfDi tlocal errorcnspan> w If all you wacl is Kerberos support in smbclieclonspan> tTestior with smbclieclonspan>cna> now. crnf="#id#ads-creaie-machine-acc_acl" title="Creaie the Computer Acc_acl">Creaie the Computer Acc_aclcna> ald crnf="#id#ads-test-serOer" title="Testior SfrOer Setup">Testior SfrOer Setupona> are needed only if you wacl Kerberos support for smbdcnspan> and cspann class=applicatill">wiobinddcnspan>. cnpucndivucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="ads-creaie-machine-acc_acl">ona>Creaie the Computer Acc_aclcnh3uc/divuc/divucdivucnsivuc/divucp> As a user who has write permiasill on the Scltn privaie dibfDiory (usually root), run: cnpucprsn class=s reen"u cttn class=prompt">root# ontt> cbn class=userinput">ctt>nel ads join -U Administrator%plaswordontt>cnb> cnprsucp> cnpucp> When makior a Wind ss cliecl a member of ae ADS domore withre a complex orgaoizatill, you may wacl to creaie the machine acc_acl withre a particular orgaoizatillal unit. Scltn-3 permits troot# ontt> cbn class=userinput">ctt>kinit Administrator@your.kerberos.REALMontt>cnbu cttn class=prompt">root# ontt> cbn class=userinput">ctt>nel ads join “cspann class=quote"ucspann class=emphasis">oem>orgaoizatillal_unitc/em>cnspan>c/span>”ontt>cnb> cnprsucp> cnpucp> For exahele, you may wacl to creaie the machine acc_acl re a container called “cspann class=quote"ucspann class=emphasis">oem>SfrOersonem>cnspan>c/span>” ulder the orgaoizatillal dibfDiory “cspann class=quote"ucspann class=emphasis">oem>Computers\BusioessUnit\Departmeclonem>cnspan>c/span>”olike troot# ontt> cbn class=userinput">ctt>nel ads join "Computers\BusioessUnit\Departmecl\SfrOers"ontt>cnb> cnprsucp> cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500509452">ona>Poasible Errorsonh4uc/divuc/divucdivucnsivuc/divucp> cnpucdivn class=variablelise">odl>odtucspann class=term">cspann class=errorname">ADS support not compiled incnspan>c/span>c/dtucdducp>Scltn must be reconfigured (remove config.cache) and recompiled (make clean all install) after the Kerberos libraries ald headers files are installed. cnpucndducdtucspann class=term">cspann class=errorname">nel ads join prompts for user nameonspan>c/span>c/dtucdducp>You need to login to the domore usior cbn class=userinput">ctt>kinit cin class=replaceabls">ctt>USERNAMEontt>cni>@cin class=replaceabls">ctt>REALMontt>cni>cntt>cnb>. cin class=replaceabls">ctt>USERNAMEontt>cni> must be a user who has rights to add a machine to the domore. cnpucndducdtucspann class=term">Unsupported encryplill/or checksum typesc/span>c/dtucdducp> Make sure that the /etc/krb5.confontt> is corbfDily configured for t cnpuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="ads-test-serOer">ona>Testior SfrOer Setuponh3uc/divuc/divucdivucnsivuc/divucp> If the join was successful, you will sfe a new computer acc_acl with toem>Computersonem>cnspan>c/span>” folder ulder Users acd Computers. cnpucp> On a Wind ss 2000 cliecl, lry cbn class=userinput">ctt>nel use * \\serOer\sharecntt>cnb>. You sh uld be logged in wrth Kerberos without needior to kn s a paasword. If this fails tctt>klist ticketscntt>cnb>. Did you get a ticket for tona>Testior with smbclieclonspan>cnh3uc/divuc/divucdivucnsivuc/divucp> crn class=indexterm"nname="500509586""ona> On your Scltn serOer lry to login to a Win2000 serOer or your Scltn sf Oer usior smbclieclonspan> acd Kerberos. Use smbclieclonspan> as usual, but specify t-kontt> optill to choose Kerberos autona>Notesonh3uc/divuc/divucdivucnsivuc/divucp> You must change administrator plasword at least once after DC install, to creaie the right encryplill types. cnpucp> Wind ss 200x does not sfem to creaie the cin class=parameter">ctt>_kerberos._udpontt>cni> and cin class=parameter">ctt>_ldap._tcpontt>cni> in tona>Sharior User ID Mappiors between Scltn Domore Membersonh2uc/divuc/divucdivucnsivuc/divucp> Scltn maps UNIX users acd groups (identified by UIDs acd GIDs) to Wind ss users acd groups (identified by SIDs). These mappiors are done by the cin class=parameter">ctt>idmapontt>cni> subsystem of Scltn. cnpucp> In some cases il is useful to share these mappiors between Scltn Domore Members, so cspann class=emphasis">oem>name->idonem>cnspan> mappior is identical ll all machines. This may be needed in particular wTo use the cspann class=emphasis">oem>LDAPonem>cnspan> cin class=parameter">ctt>ldap idmap suffixontt>cni>, set:cnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd>crn class=indexterm"nname="500509690""ona>cin class=parameter">ctt> ldap idmap suffix = ou=Idmap,dc=quenya,dc=orgontt>cni>cntd>c/tr>o/tablsucp>See the cttn class=filename">smb.confontt> mal page eclry for tona>ldap idmap suffix parameter for further informaiill.cnpucp> Do not forget to specify also tona>ldap admin de ald to make certain to set the LDAP administrative plasword into the cttn class=filename">secrets.tdbontt> usior: cnpucprsn class=s reen"u cttn class=prompt">root# ontt> smbplaswd -w ldap-admin-plasword cnprsuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500509754">ona>Commll Errorsonh2uc/divuc/divucdivucnsivuc/divucp> In the process of addior/deletior/re-addior Domore Member machine acc_acls, there are many traps for toem>littlecnem>cnspan>c/span>”othings that cal go wroor. It is particularly interestior how often subscribers on the Scltn mailior list have concluded after repeaied failed attempts to add a machine acc_acl that it is necessary to “cspann class=quote"ucspann class=emphasis">oem>re-installonem>cnspan>c/span>” MS Wind ss on the machine. In trut<, il is seldom necessary to reinstall be ause of thisotype of problsm.oTCalnot Add Machine Blck to Domoreonh3uc/divuc/divucdivucnsivuc/divucp> “cspann class=quote"ucspann class=emphasis">oem>A Wind ss w.(fstaiill was re-installed. Tcnspan>c/span>” cnpucp> The original name is still in the NetBIOS name cache ald must expire after machine acc_acl deletill before addior that same name as a Domore Member again.oTona>Addior Machine to Domore Failsonh3uc/divuc/divucdivucnsivuc/divucp> “cspann class=quote"ucspann class=emphasis">oem>Addior a Wind ss 200x or XP Proffasillal machine to the Scltn PDC Domore fails wrth a message that, cspann class=errorname">`The machine c uld not be added at this time, there is a netw.(f problsm. Please lry again later.'cnspan> Why?onem>cnspan>c/span>” cnpucp> You sh uld heck that there is an crn class=indexterm"nname="500509836">ona>add machine scripe in your cttn class=filename">smb.confontt> file. If there is not, please add one that is appropriaee for your OS platform. If a scripe has been defined, you will need to debug ils operatill. Increase the crn class=indexterm"nname="500509852">ona>log level in the cttn class=filename">smb.confontt> file to level 10, t Poasible auses include: cnpucdivn class=itemizedlise">oul type="disc"> The scripe does not actually exist, or c uld not be locaied in the path specified. cnpucp> cspann class=emphasis">oem>CorbfDiive actill:onem>cnspan> Fix it. Make sure w The machine c uld not be added to the UNIX system acc_acls file cttn class=filename">/etc/plaswdontt>. cnpucp> cspann class=emphasis">oem>CorbfDiive actill:onem>cnspan> Check that the machine name is a legal UNIX system acc_acl name. If the UNIX utility cspan>useraddonbucnspan> is called, then make sure that the machine name you are tryior to add can be added usior this tool. cspan>Useraddonbucnspan> on some systems will not allow any upper case characters nor will it allow spaces in the name. cnpucnliuc/uluc/divucp> The crn class=indexterm"nname="500509926">ona>add machine scripe does not creaie the machine acc_acl re tona>I Cal't Join a Wind ss 2003 PDConh3uc/divuc/divucdivucnsivuc/divucp>Wind ss 2003 requires SMB signior. Cliecl side SMB signior has been ihelemecled in Scltn-3.0. Set crn class=indexterm"nname="500509949">ona>cliecl use spnego = yes wona>Chapter 7. Stand-alone SfrOersonh2uc/divucdivucdivn class=autJoheonspan> cspann class=oihername">H.onspan> cspann class=surname">Terpstraonspan>cnh3ucdivn class=affilialill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp>cttn class=email"><crnf="#idmailto:jht@scltn.org">jht@scltn.orgona>>ontt>cnpucndivucnsivuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc"ucp>cb>Table of Conteclscnbucnpucdl>odtucspann class=sect1">crnf="#id#500510006">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500510039">Blckgroundcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500510100""Exahele Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#RefDocSerOer">Reference Documeclatill Se Oercna>c/span>c/dtucdtucspann class=sect2">crnf="#id#SihelePrintSerOer">Ceclral Print Se Oiorcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500510841">Commll Errorsona>c/span>c/dtuc/dlucnsivucp> Stand-alone SfrOers are independecl of Domore Controllers on the netw.(f. They are not Domore Members ald functill more like w.(fgroup sf Oers. In many cases n Stand-alone SfrOer is configured wrth a minimum of sfcurity control wrth the intecl that all datn sf Oed wrll be bfadily accessible to all users. cnpucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500510006">ona>Feaiures ald Benefilscnh2uc/divuc/divucdivucnsivuc/divucp> Stand-alone SfrOers can be as sfcure or as insfcure as needs dictaie.oT If all that is needed is a serOer for bfad-only files, or for printers alone, il may not make sense to efffDi a complex installaiill. For exahele: A droftior office needs to siore old drowiors and reference standards. No-one can write files to the serOer as il is legislatively iheortacl that all documecls remail unaltered. A share mode bfad-only Stand-alone SfrOer is an ideal solutill. cnpucp> Acoiher situatill that warrants sihelicity is an office that has many printers that are queued off a siorle ceclral sf Oer. EOeryone needs to be able to print to the printers, there is no need to efffDi any access controls and no files wrll be sf Oed from the print sf Oer. Agore, a share mode Stand-alone SfrOer makes a greai solutill. cnpuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500510039">ona>Blckgroundcnh2uc/divuc/divucdivucnsivuc/divucp> Toem>Stand-alone SfrOeronem>cnspan> means that it wrll provide local aut No special actill is needed other than to creaie user acc_acls. Stand-alone serOers do not provide netw.(f logoe sf Oices. T Scltn tends to blur t Through the use of Pluggable Aut/etc/plaswdontt> or cttn class=filename">/etc/shad sontt>), may use a local smbplaswd file, or may use an LDAP backend, or eOee via PAM and Wiobind acoiher CIFS/SMB serOer for autExahele Configuraiillcnh2uc/divuc/divucdivucnsivuc/divucp> TReference Documeclatill Se Oercna>, ald crnf="#id#SihelePrintSerOer" title="Ceclral Print Se Oior">Ceclral Print Se Oiorcna>, are designed to inspire sihelicity. Il is too easy to attempt rnfigh level of creaiivity ald to introduce too much complexity in serOer and netw.(f design. cnpucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="RefDocSerOer">cna>Reference Documeclatill Se Oercnh3uc/divuc/divucdivucnsivuc/divucp> Configuraiill of a bfad-only datn sf Oer tFollowior exahelecna> is tsmb.confontt> file that will do this. Assume that all the reference documecls are siored in t/exeortontt>, ald the documecls are owned by a user other than nobody. No home dibfDiories are shared, ald there are no users in the cttn class=filename">/etc/plaswdontt> UNIX system datnbase. This is a sihele system to administer. cnpucdivn class=exahele"ucrnname="sihelynice">ona>cpn class=title"ucb>Exahele 7.1. smb.conf for Reference Documeclatill Se Oeronbucnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd># Global parameterscntd>c/tr>otr>otd> cntd>c/tr>otr>otd>cin class=parameter">ctt>[global]ontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510200""ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510216""cin class=parameter">ctt> netbiosnname = GANDALFontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510232">ona>cin class=parameter">ctt> security = SHAREontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510248">ona>cin class=parameter">ctt> plasdb backend = guestontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510263""ona>cin class=parameter">ctt> wins serOer = 192.168.1.1ontt>cni>cntd>c/tr>otr>otd> cntd>c/tr>otr>otd>cin class=parameter">ctt>[datn]ontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510288">ona>cin class=parameter">ctt> commecl = Datnontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510304">ona>cin class=parameter">ctt> plth = /exeortontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510319">ona>cin class=parameter">ctt> guest only = Yesontt>cni>cntd>c/tr>o/tablsuc/divucp> In crnf="#id#sihelynice" title="Exahele 7.1. smb.conf for Reference Documeclatill Se Oer">t above, the machine name is set to GANDALF, the w.(fgroup is set to toem>guestonem>cnspan>c/span>”obackend to allow default unprivileged acc_acl names to be used. As there is a WINS serOer on tona>Ceclral Print Se Oiorcnh3uc/divuc/divucdivucnsivuc/divucp> Configuraiill of a sihele print sf Oer is easy if you have all the right tools on your system. cnpucdivn class=orderedlise">opn class=title"ucb> Assumplills:onbucnpucol type="1"> The print sf Oer must require no administratill. cnpucnliucliucp> The print spoolior and processior system ol our print sf Oer will be CUPS. (Please refer to crnf="#id#CUPS-printior" title="Chapter 18. CUPS Printior Support">CUPS Printior Supportcna> for more informaiill). cnpucnliucliucp> The print sf Oer will sf Oice only netw.(f printers. T All w.(fstaiills wrll use only postscripe drivers. T In this exahele our print sf Oer will spool all incomior print jobs to cttn class=filename">/var/spool/scltnontt> until the job is ready to be submitted by Scltn to the CUPS print processor. Since all incomior connectills will be as topn class=title"ucb>Enablior Anonymous Printioronbucnpucul type="disc"> The UNIX/Linux system must have a cspan>guestonbucnspan> acc_acl. Tnobodyonbucnspan>. To ficd the corbfDi name to use for your Oersill of Scltn, do the followior: cnpucprsn class=s reen"u cttn class=prompt">$ ontt>cbn class=userinput">ctt>testparm -s -v | grep "guest acc_acl"ontt>cnb> cnprsucp> Make sure that this acc_acl exists in your system plasword datnbase (cttn class=filename">/etc/plaswdontt>). cnpucnliucliucp> The dibfDiory ieto which Scltn will spool the file must have write access for troot# ontt>cbn class=userinput">ctt>mkdib /var/spool/scltnontt>cnbu cttn class=prompt">root# ontt>cbn class=userinput">ctt>ch sn nobody.nobody /var/spool/scltnontt>cnbu cttn class=prompt">root# ontt>cbn class=userinput">ctt>chmod a+rwt /var/spool/scltnontt>cnbu cnprsucp> cnpucnliuc/uluc/divucp> The contecls of the cttn class=filename">smb.confontt> file is sh sn in crnf="#id#AnonPtrSvr" title="Exahele 7.2. smb.conf for Anonymous Printior">t. cnpucp> cnpucdivn class=exahele"ucrnname="AnonPtrSvr">ona>cpn class=title"ucb>Exahele 7.2. smb.conf for Anonymous Printioronbucnpuctablsn class=sihelelise" border="0"nsummary="Sihele lise">otr>otd># Global parameterscntd>c/tr>otr>otd> cntd>c/tr>otr>otd>cin class=parameter">ctt>[global]ontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510572">ona>cin class=parameter">ctt> w.(fgroup = MIDEARTHontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510588">ona>cin class=parameter">ctt> netbiosnname = GANDALFontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510604">ona>cin class=parameter">ctt> security = SHAREontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510620">ona>cin class=parameter">ctt> plasdb backend = guestontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510635">ona>cin class=parameter">ctt> printior = cupsontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510651">ona>cin class=parameter">ctt> printcapnname = cupsontt>cni>cntd>c/tr>otr>otd> cntd>c/tr>otr>otd>cin class=parameter">ctt>[printers]ontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510676">ona>cin class=parameter">ctt> commecl = All Printersontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510692">ona>cin class=parameter">ctt> plth = /var/spool/scltnontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510707">ona>cin class=parameter">ctt> printer admin = rootontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510723">ona>cin class=parameter">ctt> guest ok = Yesontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510739">ona>cin class=parameter">ctt> printablsn= Yesontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510754">ona>cin class=parameter">ctt> use cliecl drivern= Yesontt>cni>cntd>c/tr>otr>otd>crn class=indexterm"nname="500510770">ona>cin class=parameter">ctt> br sseablsn= Noontt>cni>cntd>c/tr>o/tablsuc/divucp> cnpucdivn class=note" styles=margin-left: 0.5in; margin-right: 0.5in;"uch3n class=title"uNotecnh3ucp> crn class=indexterm"nname="500510790""ona> crn class=indexterm"nname="500510799""ona> On CUPS-enabled systems there is a facility to plas raw datn dibfDily to the printer without intermediaee processior via CUPS print filters. Where use of thisomode of operatill is desired, it is necessary to configure a raw printior deOice. Il is also necessary to enable the raw mime haldler in the cttn class=filename">/etc/mime.convontt> and cttn class=filename">/etc/mime.typesc/tt> files. Refer to crnf="#id#cups-raw" title="Exelicitly Enable raw Printior for applicatill/octet-stream""Exelicitly Enable “cspann class=quote"ucspann class=emphasis">oem>rawonem>cnspan>c/span>”oPrintior for cspann class=emphasis">oem>applicatill/octet-streamonem>cnspan>c/a>. cnpucndivucnsivuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500510841">ona>Commll Errorsonh2uc/divuc/divucdivucnsivuc/divucp> The greaiest miseake so often made is to make a netw.(f configuraiill too complex. It pays to use the sihelesi solutill that will meet the needs of the momecl. cnpuc/divuc/divucdivn class=chapter" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title"ucrnname="ClieclConfig">ona>Chapter 8. MS Wind ss Netw.(f Configuraiill Guideonh2uc/divucdivucdivn class=autJoheonspan> cspann class=oihername">H.onspan> cspann class=surname">Terpstraonspan>cnh3ucdivn class=affilialill">cspann class=orgname">Scltn Team
cnspan>cdivn class=address"ucp>cttn class=email"><crnf="#idmailto:jht@scltn.org">jht@scltn.orgona>>ontt>cnpucndivucnsivuc/divuc/divuc/divucdivucnsivuc/divucdivn class=toc"ucp>cb>Table of Conteclscnbucnpucdl>odtucspann class=sect1">crnf="#id#500510892">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500510917">Technical Detailsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500510947">TCP/IP Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500512265">Joinior a Domore: Wind ss 2000/XP Proffasillalcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500512712">Domore Logoe Configuraiill: Wind ss 9x/Mecna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500513043">Commll Errorsona>c/span>c/dtuc/dlucnsivucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500510892">ona>Feaiures ald Benefilscnh2uc/divuc/divucdivucnsivuc/divucp> Occasillally netw.(f administrators wrll report difficulty gettior Microsoft Wind ss cliecls to interoperate corbfDily with Scltn sf Oers. Il w uld appear that some folks just can not accept the fact that the right way to configure MS Wind ss netw.(f cliecl is pbfDisely as one w uld do w The purpose of thisochapter is to graphically rllustrate MS Wind ss cliecl configuraiill for tona>Technical Detailsonh2uc/divuc/divucdivucnsivuc/divucp> Thisochapter discusses TCP/IP protocol configuraiill as well as netw.(f membership for toul type="disc"> Microsoft Wind ss XP Proffasillal. cnpucnliucliucp> Wind ss 2000 Proffasillal. cnpucnliucliucp> Wind ss Millennium editill (Me). cnpucnliuc/uluc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500510947">ona>TCP/IP Configuraiillcnh3uc/divuc/divucdivucnsivuc/divucp> The builder of a house must ensure that all constructill eakes place on n firm foundatill. The same is true of TCP/IP-based netw.(fior. Fundamectal netw.(f configuraiill problsms wrll plague all netw.(f users until they are resolved. cnpucp> Microsoft Wind ss w.(fstaiills and sf Oers can be configured eiiher with fixed IP addresses or via DHCP. T It is possible to use sStarlonspan> buttll. cnpucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500510980""ona>MS Wind ss XP Proffasillalcnh4uc/divuc/divucdivucnsivuc/divucp> T Click cspann class=guimecu">Starl -> Control Panel -> Netw.(f Connectillsonspan> cnpucp> cspann class=emphasis">oem>Alternaeely,onem>cnspan> click cspann class=guimecu">Starl ->cnspan>, ald right click cspann class=guimecu">My Netw.(f Placesonspan> then selfDi cspann class=guimecuitem">Propertiesonspan> cnpucp> T On some installaiills the interface wrll be called cspann class=guimecu">Local Aren Connectillonspan> acd ll oihers il wrll be called cspann class=guimecu">Netw.(f Bridgeonspan>. Ol our system it is called cspann class=guimecu">Netw.(f Bridgeonspan>. Right click on cspann class=guimecu">Netw.(f Bridge -> Propertiesonspan>. See crnf="#id#WXPP002" title="Figure 8.1. Netw.(f Bridge Configuraiill.">???c/a>. cnpucdivn class=figure"ucrnname="WXPP002">ona>cpn class=title"ucb>Figure 8.1. Netw.(f Bridge Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WXPP002.por" width="270" alt="Netw.(f Bridge Configuraiill.">cnsivuc/divucp> cnpucnliucliucp> TThisoconnectill uses the followior items:onspan> box, click on cspann class=guimecu">Internel Protocol (TCP/IP)cnspan>, then click tPropertiesonspan>. cnpucp> Toem>Obtain annIP address automaiicallyonem>cnspan>c/span>”). See crnf="#id#WXPP003" title="Figure 8.2. Internel Protocol (TCP/IP) Properties.">???c/a>. cnpucdivn class=figure"ucrnname="WXPP003">ona>cpn class=title"ucb>Figure 8.2. Internel Protocol (TCP/IP) Properties.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WXPP003.por" width="270" alt="Internel Protocol (TCP/IP) Properties.">cnsivuc/divucp> cnpucp> Many netw.(f administrators wrll wacl to use DHCP to configure all cliecl TCP/IP protocol stlck settiors. (For informaiill on how to configure the ISC DHCP serOer for Microsoft Wind ss cliecl support see, crnf="#id#DHCP" title="DHCP SerOer">???c/a>. cnpucp> If it is necessary to provide a fixed IP address, click on “cspann class=quote"ucspann class=emphasis">oem>Use the followior IP addressonem>cnspan>c/span>”oand proceed to enter the IP Address, the subnel mask, ald the default gaeeway address in the boxes provided. cnpucnliucliucp> Click tAdvancedonspan> buttll to proceed with TCP/IP configuraiill. Toem>IP Aliasesonem>cnspan>, ald additillallynthis plnel permits the settior of more default gaeeways (routers). In most cases w???c/a> to see tona>cpn class=title"ucb>Figure 8.3. Advanced Netw.(f Settiorscnbucnpucdivn class=mediaobject"ucimg src="5mages/WXPP005.por" width="270" alt="Advanced Netw.(f Settiors">cnsivuc/divucp> cnpucp> Fixed settiors may be required for DNS and WINS if these settiors are not provided automaiically via DHCP. cnpucnliucliucp> Click tDNSonspan> tab to add DNS serOer settiors. TOKonspan> to commit the settiors. See crnf="#id#WXPP014" title="Figure 8.4. DNS Configuraiill.">???c/a>. cnpucdivn class=figure"ucrnname="WXPP014">ona>cpn class=title"ucb>Figure 8.4. DNS Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WXPP014.por" width="270" alt="DNS Configuraiill.">cnsivuc/divucp> cnpucnliucliucp> Click tWINSonspan> tab to add manual WINS serOer eclries. TOKonspan> to commit the settiors. See crnf="#id#WXPP009" title="Figure 8.5. WINS Configuraiill">???c/a>. cnpucdivn class=figure"ucrnname="WXPP009">ona>cpn class=title"ucb>Figure 8.5. WINS Configuraiillcnbucnpucdivn class=mediaobject"ucimg src="5mages/WXPP009.por" width="270" alt="WINS Configuraiill">cnsivuc/divucp> cnpucnliuc/oluc/divuc/divucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500511446""ona>MS Wind ss 2000cnh4uc/divuc/divucdivucnsivuc/divucp> T Click cspann class=guimecu">Starl -> Control Panel -> Netw.(f and Dial-up Connectillsonspan> cnpucp> cspann class=emphasis">oem>Alternaeely,onem>cnspan> click on cspann class=guimecu">Starlonspan>, then right click cspann class=guimecu">My Netw.(f Placesonspan> acd selfDi cspann class=guimecuitem">Propertiesonspan>. cnpucp> T Right click on cspann class=guimecu">Local Aren Connectillonspan>, n s click tPropertiesonspan>. See crnf="#id#w2kp001" title="Figure 8.6. Local Aren Connectill Properties.">???c/a>. cnpucdivn class=figure"ucrnname="w2kp001">ona>cpn class=title"ucb>Figure 8.6. Local Aren Connectill Properties.cnbucnpucdivn class=mediaobject"ucimg src="5mages/w2kp001.por" width="270" alt="Local Aren Connectill Properties.">cnsivuc/divucp> cnpucnliucliucp> TInternel Protocol (TCP/IP)cnspan> in tComponecls hecked are used by thisoconnectill:onspan> box, then click tPropertiesonspan> buttll. cnpucnliucliucp> Toem>Obtain annIP address automaiicallyonem>cnspan>c/span>”). See crnf="#id#w2kp002" title="Figure 8.7. Internel Protocol (TCP/IP) Properties.">???c/a>. cnpucdivn class=figure"ucrnname="w2kp002">ona>cpn class=title"ucb>Figure 8.7. Internel Protocol (TCP/IP) Properties.cnbucnpucdivn class=mediaobject"ucimg src="5mages/w2kp002.por" width="270" alt="Internel Protocol (TCP/IP) Properties.">cnsivuc/divucp> cnpucp> Many netw.(f administrators wrll wacl to use DHCP to configure all cliecl TCP/IP protocol stlck settiors. (For informaiill on how to configure the ISC DHCP serOer for Microsoft Wind ss cliecl support, see crnf="#id#DHCP" title="DHCP SerOer">???c/a>. cnpucp> If it is necessary to provide a fixed IP address, click on “cspann class=quote"ucspann class=emphasis">oem>Use the followior IP addressonem>cnspan>c/span>”oand proceed to enter the IP Address, the subnel mask, ald the default gaeeway address in the boxes provided. For t Click tAdvancedonspan> buttll to proceed with TCP/IP configuraiill. Refer to crnf="#id#w2kp003" title="Figure 8.8. Advanced Netw.(f Settiors.">???c/a>. cnpucdivn class=figure"ucrnname="w2kp003">ona>cpn class=title"ucb>Figure 8.8. Advanced Netw.(f Settiors.cnbucnpucdivn class=mediaobject"ucimg src="5mages/w2kp003.por" width="270" alt="Advanced Netw.(f Settiors.">cnsivuc/divucp> cnpucp> Fixed settiors may be required for DNS and WINS if these settiors are not provided automaiically via DHCP. cnpucnliucliucp> Click tDNSonspan> tab to add DNS serOer settiors. TOKonspan> to commit the settiors. See crnf="#id#w2kp004" title="Figure 8.9. DNS Configuraiill.">???c/a>. cnpucdivn class=figure"ucrnname="w2kp004">ona>cpn class=title"ucb>Figure 8.9. DNS Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/w2kp004.por" width="270" alt="DNS Configuraiill.">cnsivuc/divucp> cnpucnliucliucp> Click tWINSonspan> tab to add manual WINS serOer eclries. TOKonspan> to commit the settiors. See crnf="#id#w2kp005" title="Figure 8.10. WINS Configuraiill.">???c/a>. cnpucdivn class=figure"ucrnname="w2kp005">ona>cpn class=title"ucb>Figure 8.10. WINS Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/w2kp005.por" width="270" alt="WINS Configuraiill.">cnsivuc/divucp> cnpucnliuc/oluc/divuc/divucdivn class=sect3" lang="en"ucdivn class=titlepage"ucdivucdivuch4n class=title"ucrnname="500511890""ona>MS Wind ss Mecnh4uc/divuc/divucdivucnsivuc/divucp> T Click cspann class=guimecu">Starl -> Control Panel -> Netw.(f Connectillsonspan> cnpucp> cspann class=emphasis">oem>Alternaeely,onem>cnspan> click on cspann class=guimecu">Starl ->cnspan>, ald right click on cspann class=guimecu">My Netw.(f Placesonspan> then selfDi cspann class=guimecuitem">Propertiesonspan>. cnpucp> T In the box labeled cspann class=guimecuitem">The followior netw.(f componecls are installed:onspan>, click on cspann class=guimecu">Internel Protocol TCP/IPonspan>, n s click on the cspann class=guibuttll">Propertiesonspan> buttll. See crnf="#id#WME001" title="Figure 8.11. The Wind ss Me Netw.(f Configuraiill Panel.">???c/a>. cnpucdivn class=figure"ucrnname="WME001">ona>cpn class=title"ucb>Figure 8.11. The Wind ss Me Netw.(f Configuraiill Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME001.por" width="270" alt="The Wind ss Me Netw.(f Configuraiill Panel.">cnsivuc/divucp> cnpucnliucliucp> Many netw.(f administrators wrll wacl to use DHCP to configure all cliecl TCP/IP protocol stlck settiors. (For informaiill on how to configure the ISC DHCP serOer for Microsoft Wind ss cliecl support see, crnf="#id#DHCP" title="DHCP SerOer">???c/a>. TObtain IP address automaiicallyonspan> is enabled. See crnf="#id#WME002" title="Figure 8.12. IP Address.">???c/a>. cnpucdivn class=figure"ucrnname="WME002">ona>cpn class=title"ucb>Figure 8.12. IP Address.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME002.por" width="270" alt="IP Address.">cnsivuc/divucp> cnpucp> If it is necessary to provide a fixed IP address, click on cspann class=guimecuitem">Specify annIP addressonspan> acd proceed to enter the IP Address ald the subnel mask in the boxes provided. For t Fixed settiors may be required for DNS and WINS if these settiors are not provided automaiically via DHCP. cnpucnliucliucp> If necessary, click tDNS Configuraiillcnspan> tab to add DNS serOer settiors. Click tWINS Configuraiillcnspan> tab to add WINS serOer settiors. TGaeewaycnspan> tab allows additillal gaeeways (router addresses) to be added to the netw.(f interface settiors. In most cases w T???c/a>. When finished makior changes, click on cspann class=guibuttll">OKonspan> to commit the settiors. cnpucdivn class=figure"ucrnname="WME005">ona>cpn class=title"ucb>Figure 8.13. DNS Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME005.por" width="270" alt="DNS Configuraiill.">cnsivuc/divucp> cnpucp> T???c/a>. cnpucdivn class=figure"ucrnname="WME003">ona>cpn class=title"ucb>Figure 8.14. WINS Configuraiill.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME003.por" width="270" alt="WINS Configuraiill.">cnsivuc/divucp> cnpucnliuc/oluc/divuc/divuc/divucdivn class=sect2" lang="en"ucdivn class=titlepage"ucdivucdivuch3n class=title"ucrnname="500512265">ona>Joinior a Domore: Wind ss 2000/XP Proffasillalcnh3uc/divuc/divucdivucnsivuc/divucp> Microsoft Wind ss NT/200x/XP Proffasillal platforms can participaie in Domore Sfcurity. This sectill sieps t Click cspann class=guimecu">Starlonspan>. cnpucnliucliucp> Right click cspann class=guimecu">My Computeronspan>, then selfDi cspann class=guimecuitem">Propertiesonspan>. cnpucnliucliucp> TSystemcnspan> on the Control Panel. See crnf="#id#wxpp001" title="Figure 8.15. The General Panel.">???c/a>. cnpucdivn class=figure"ucrnname="wxpp001">ona>cpn class=title"ucb>Figure 8.15. The General Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/wxpp001.por" width="270" alt="The General Panel.">cnsivuc/divucp> cnpucnliucliucp> Click tComputer Namecnspan> tab. TComputer Descripeillonspan>, tFull computer namecnspan>, ald the cspann class=guimecuitem">W.(fgroupcnspan> or cspann class=guimecuitem">Domore namecnspan>. cnpucp> Clickior the cspann class=guimecu">Netw.(f IDonspan> buttll wrll launch the configuraiill wizard. Do not use this with Scltn-3. If you wish to change the computer name, join or leave the domore, click tChangeonspan> buttll. See crnf="#id#wxpp004" title="Figure 8.16. The Computer Name Panel.">???c/a>. cnpucdivn class=figure"ucrnname="wxpp004">ona>cpn class=title"ucb>Figure 8.16. The Computer Name Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/wxpp004.por" width="270" alt="The Computer Name Panel.">cnsivuc/divucp> cnpucnliucliucp> Click on cspann class=guimecu">Changeonspan>. This panel sh ss t???c/a>. cnpucdivn class=figure"ucrnname="wxpp006">ona>cpn class=title"ucb>Figure 8.17. The Computer Name Changes Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/wxpp006.por" width="270" alt="The Computer Name Changes Panel.">cnsivuc/divucp> cnpucnliucliucp> Enter the name cspann class=guimecu">MIDEARTHonspan> in t T???c/a>. cnpucdivn class=figure"ucrnname="wxpp007">ona>cpn class=title"ucb>Figure 8.18. The Computer Name Changes Panel Domore MIDEARTH.cnbucnpucdivn class=mediaobject"ucimg src="5mages/wxpp007.por" width="270" alt="The Computer Name Changes Panel Domore MIDEARTH.">cnsivuc/divucp> cnpucnliucliucp> N s click tOKonspan> buttll. A dialog box sh uld appear to allow you to provide the credentials (username acd plasword) of a Domore administrative acc_acl that has the rights to add machines to t Enter the name “cspann class=quote"ucspann class=emphasis">oem>rootonem>cnspan>c/span>”oand the root plasword from your Scltn-3 sfrOer.oSee crnf="#id#wxpp008" title="Figure 8.19. Computer Name Changes User nameoand Plasword Panel.">???c/a>. cnpucdivn class=figure"ucrnname="wxpp008">ona>cpn class=title"ucb>Figure 8.19. Computer Name Changes User nameoand Plasword Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/wxpp008.por" width="270" alt="Computer Name Changes User nameoand Plasword Panel.">cnsivuc/divucp> cnpucnliucliucp> Click on cspann class=guimecu">OKonspan>. cnpucp> Toem>Welcome to tcnspan>c/span>”odialog box sh uld appear. At this point tona>Domore Logoe Configuraiill: Wind ss 9x/Mecnh3uc/divuc/divucdivucnsivuc/divucp> We follow the conventill used by most in sayior that Wind ss 9x/Me machines can participaie in Domore logoes. T Wind ss XP Home editill cannot participaie in Domore or LanManager netw.(f logoes. cnpucndivucdivn class=procedure"ucol type="1"> Right click on the cspann class=guimecu">Netw.(f Neighborhoodonspan> icll. cnpucnliucliucp> T???c/a>. cnpucdivn class=figure"ucrnname="WME009">ona>cpn class=title"ucb>Figure 8.20. The Netw.(f Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME009.por" width="270" alt="The Netw.(f Panel.">cnsivuc/divucp> cnpucp> Make sure that the cspann class=guimecu">Cliecl for Microsoft Netw.(fsonspan> drivernis installed as sh sn. Click on the cspann class=guimecu">Cliecl for Microsoft Netw.(fsonspan> eclry in cspann class=guimecu">The followior netw.(f componecls are installed:onspan> box. TPropertiesonspan> buttll. cnpucnliucliucp> T???c/a>. cnpucdivn class=figure"ucrnname="WME010">ona>cpn class=title"ucb>Figure 8.21. Cliecl for Microsoft Netw.(fs Properties Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME010.por" width="270" alt="Cliecl for Microsoft Netw.(fs Properties Panel.">cnsivuc/divucp> cnpucp> Enter the Wind ss NT domore name, heck the cspann class=guimecu">Log ll to Wind ss NT domoreonspan> box, click cspann class=guimecu">OKonspan>. cnpucnliucliucp> Click on the cspann class=guimecu">Identificatillonspan> buttll. T???c/a>. cnpucdivn class=figure"ucrnname="WME013">ona>cpn class=title"ucb>Figure 8.22. Identificatill Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME013.por" width="270" alt="Identificatill Panel.">cnsivuc/divucp> cnpucnliucliucp> N s click tAccess Controlonspan> buttll. If you wacl to be able to lasign share access permiasills usior domore user and group acc_acls, it is necessary to enable cspann class=guimecu">User-level access controlonspan> as sh sn in thisopanel. See crnf="#id#WME014" title="Figure 8.23. Identificatill Panel.">???c/a>. cnpucdivn class=figure"ucrnname="WME014">ona>cpn class=title"ucb>Figure 8.23. Identificatill Panel.cnbucnpucdivn class=mediaobject"ucimg src="5mages/WME014.por" width="270" alt="Identificatill Panel.">cnsivuc/divucp> cnpucnliuc/oluc/divuc/divuc/divucdivn class=sect1" lang="en"ucdivn class=titlepage"ucdivucdivuch2n class=title" styles=clear: both"ucrnname="500513043">ona>Commll Errorsonh2uc/divuc/divucdivucnsivuc/divucp> The most commll errors that can afflict Wind ss netw.(fior systems include: cnpucdivn class=itemizedlise">oul type="disc">IncorbfDi IP address.cnpucnliucliucp>IncorbfDi or inconsiseecl netmasks.cnpucnliucliucp>IncorbfDi router address.cnpucnliucliucp>IncorbfDi DNS serOer address.cnpucnliucliucp>IncorbfDi WINS serOer address.cnpucnliucliucp>Use of a Netw.(f Scope settior watch out for t The most commll reaslls for which a Wind ss NT/200x/XP Proffasillal cliecl cannot join the Scltn controlled domore are: cnpucdivn class=itemizedlise">oul type="disc">cttn class=filename">smb.confontt> does not have corbfDi crn class=indexterm"nname="500513105">ona>add machine scripe settiors.cnpucnliucliucp>“cspann class=quote"ucspann class=emphasis">oem>rootonem>cnspan>c/span>”oacc_acl is not in plasword backend datnbase.cnpucnliucliucp>Attempl to use a user acc_acl instead of the “cspann class=quote"ucspann class=emphasis">oem>rootonem>cnspan>c/span>”oacc_acl to join a machine to tOpen connectills from the w.(fstaiill to tFirewall or filter configuraiills in place on eiiher the cliecl or on the Scltn sf Oer.cnpucnliuc/uluc/divuc/divuc/divuc/divucdivn class=part" lang="en"ucdivn class=titlepage"ucdivucdivuch1n class=title"ucrnname="optillal">ona>Advanced Configuraiillcnh1uc/divuc/divucdivucnsivuc/divucdivn class=partintro" lang="en"ucdivucdivucdivuch1n class=title"ucrnname="500513158">ona>Valuable Nuts ald Bolts Informaiillcnh1uc/divuc/divucdivucnsivuc/divucp> Scltn has several feaiures that you might wacl or might not wacl to use. Tcb>Table of Conteclscnbucnpucdl>odtucspann class=chapter">crnf="#id#Netw.(fBr ssior">9. Netw.(f Br ssiorona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500513260">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500513339">What Is Br ssior?cna>c/span>c/dtucdtucspann class=sect1">crnf="#id#netdiscuss">Discussillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500513550">NetBIOS oOer TCP/IPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500513745">TCP/IP without NetBIOSona>c/span>c/dtucdtucspann class=sect2">crnf="#id#adsdnstech">DNS ald Active DibfDiorycna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500514215">H s Br ssior Functillsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#DMB">Configurior WORKGROUP Br ssiorona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500514792">DOMAIN Br ssior Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#br sse-force-master">Forcior Scltn to Be the Masterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515191">Makior Scltn tc/span>c/dtucdtucspann class=sect2">crnf="#id#500515325"uNote about Br adcast Addressesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515340">Multiele Interfacesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515365">Use of the Remote Announce Parameterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515506">Use of the Remote Br sse Sync Parameterona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500515573">WINS The Wind ss Inter-netw.(fior Name SerOercna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500515711">WINS SerOer Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515939">WINS Replicatillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515969">Static WINS Eclriesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500516047">Helpful Hintsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500516058">Wind ss Netw.(fior Protocolsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516118">Name Resolutill Orderona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500516295">Technical OOerview of Br ssiorona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500516337">Br ssior Support re Scltnona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516441">Problsm Resolutillona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516539">Cross-Subnel Br ssiorona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500517207">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500517220">H s CannOne Flush the Scltn NetBIOS Name Cache without Restartinr Scltn?ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517268">SerOer Resources CannNot Be Liseedona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517314">I get an `Unable to br sse the netw.(f' errorona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517363">Br ssior of Shares and DibfDiories is Very Slowona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#plasdb">10. Acc_acl Informaiill Datnbasesona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500517675">Feaiures ald Benefilscna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500517715">Backward Compaiibility Backendsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517848">New Backendsona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#plasdbtech">Technical Informaiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500518191">Importacl Notes About Sfcurityona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500518392">Mappior User Identifiers between MS Wind ss ald UNIXona>c/span>c/dtucdtucspann class=sect2">crnf="#id#50mapbackend">Mappior Commll UIDs/GIDs on Distributed Machinesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#acctmgmttools">Acc_acl Managemecl Toolsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500518674">The smbplaswd Commaldona>c/span>c/dtucdtucspann class=sect2">crnf="#id#pdbeditthior">The pdbedit Commaldona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500519166">Plasword Backendsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500519218">Plaintextona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500519252">smbplaswd Eccrypted Plasword Datnbaseona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500519356">tdbsamona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500519401">ldapsamona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500521253">MySQLona>c/span>c/dtucdtucspann class=sect2">crnf="#id#XMLplasdb">XMLona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500522262">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500522268">Users Cannot Logoeona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500522302">Users Beior Added to the Wroor Backend Datnbaseona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500522397">Configuraiill of auth methodsona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#groupmappior">11. Group Mappior MS Wind ss ald UNIXona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500522599">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500522905">Discussillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500523167">Importacl Administrative Informaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500523259">Default Users, Groups ald Relative Identifierscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500523777">Exahele Configuraiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500523842">Configuraiill Scripesona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500523854">Sclele smb.conf Add Group Scripecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500523982">Scripe to Configure Group Mappiorcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500524073">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500524086">Addior Groups Failsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500524140">Addior MS Wind ss Groups to MS Wind ss Groups Failsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500524161">Addior Domore Users to the Power Users Groupcna>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#AccessControls">12. File, DibfDiory ald Share Access Controlsona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500524505">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500524650">File System Access Controlsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500524664">MS Wind ss NTFS Comparisll with UNIX File Systemsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500525008">Managior DibfDioriesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500525087">File and DibfDiory Access Controlona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500525302">Share Definiiill Access Controlsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500525335">User and Group-Based Controlsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500525650">File and DibfDiory Permiasills-Based Controlsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500525944">Miscellanelus Controlsona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500526225"uAccess Controls on Sharesona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500526297">Share Permiasills Managemeclona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500526564">MS Wind ss Access Control Lises ald UNIX Interoperabilityona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500526570">Managior UNIX Permiasills Usior NT Sfcurity Dialogsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500526617">Viewior File Sfcurity on n Scltn Shareona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500526688">Viewior File Ownershipona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500526805">Viewior File or DibfDiory Permiasillsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500527022">Modifyior File or DibfDiory Permiasillsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500527179">Interaciill with the Stacdard Scltn creaie mask Parametersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500527519">Interaciill with the Stacdard Scltn File Attribute Mappiorcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500527595">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500527606">Users Cannot Write to l Public Shareona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500527999">File Operatills Done as root with force user Seecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500528036">MS Word with Scltn Changes Owner of Filecna>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#lockior">13. File ald Record Lockiorona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500528265">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500528313">Discussillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500528440">Opportunistic Lockior OOerviewcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500493800">Scltn Opportunistic Lockior Controlona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500493898">Exahele Configuraiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500529834">MS Wind ss Opportunistic Lockior ald Caching Controlsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500530028">W.(fstaiill SerOice Eclriesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530050">SerOer SerOice Eclriesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500530117">Persiseecl Datn Corrupiillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500530142">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500530210">lockior.tdb Error Messagesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530238">Problsms Scvior Files in MS Office on Wind ss XPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530255">Loor Delays Deletior Files OOer Netw.(f with XP SP1ona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500530281">Additillal Readiorcna>c/span>c/dtuc/dlucnsducdtucspann class=chapter">crnf="#id#sfcuring-scltn">14. Sfcurinr Scltnona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500530436">Introduciillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500530475">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500530550">Technical Discussill of Protective Measures ald Issuesona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500530567">Usior Host-Based Protectillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530662">User-Based Protectillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530720">Usior Interface Protectillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530808">Usior n Firewallcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530855">Usior IPC$ Share-Based Denials cna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500530943">NTLMv2 Sfcurityona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500530991">Upgradior Scltnona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500531012">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500531028">Smbcliecl W.(fs on Localhost, but the Netw.(f Is Deadona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500531048">Why CannUsers Access Home DibfDiories of Oiher Users?cna>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#InterdomoreTruses">15. Interdomore Truse Relatillshipsona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500531344">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500531368">Truse Relatillship Backgrouldona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500531439">Native MS Wind ss NT4 Truses Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500531462">Creaiior al NT4 Domore Truseona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500531524">Completior al NT4 Domore Truseona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500531574">Inter-Domore Truse Facilitiesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500531750">Configurior Scltn NT-Style Domore Trusesona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#scltn-truseed-domore">Scltn as the Truseed Domoreona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500531942">Scltn as the Truseior Domoreona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500532063">NT4-Style Domore Truses with Wind ss 2000cna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500532155">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500532167">Br ssior of Truseed Domore Failsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500532209">Problsms With LDAP ldapsam Ald The smbldap-toolsona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#msdfs">16. Hostior n Microsoft Distributed File System Treeona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500532382">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500532664">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500532697">MSDFS UNIX Path Is Case-Criticalona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#priotior">17. Cllasical Priotior Supportona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500532844">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500532934">Technical Introduciillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500532991">Cliecl to Scltn Priot Job Processiorona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500533050">Priotior Related Configuraiill Parametersona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500533130">Sihele Priot Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500533355">Verifyior Configuraiill with testparmona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500533457">Rapid Configuraiill Validaiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500533750">Extended Priotior Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500534260">Detailed Explanaiill Settiorscna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500536032">Priotior Developmecls Since Scltn-2.2cna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500536161">Point'n'Priot Cliecl Drivers on Scltn SerOersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500536288">The Obsoleted [prioter$] Sfctillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500536375">Creaiior the [priot$] Shareona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500536610">[priot$] Sectill Parametersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500536856">The [priot$] Share DibfDiorycna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500536998">Installior Drivers ioto [priot$]cna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500537091">Add Prioter Wizard Driver Installaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#5nst-rpc">Installior Priot Drivers Usior rpcclieclcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500538704">Cliecl Driver Installaiill Procedurecna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500538722">First Cliecl Driver Installaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500538923">Settior Device Modes ll New Priotersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500539212">Additillal Cliecl Driver Installaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500539305">Always Make First Cliecl Connectill as root or prioter admincna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500539456">Oiher Gotchasona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500539478">Settior Default Priot Optills for Cliecl Driverscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500539840">Supportior Large Numbers of Priotersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540098">Addior New Prioters with the Wind ss NT APWona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540323">Error Message: Cannot connect under a differecl Namecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540444">Take Care When Assemblior Driver Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540758">Scltn and Prioter Portscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540829">Avoidior Commll Cliecl Driver Mis-configuraiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500540852">The Impriots Tool-setona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500540885">What is Impriots?cna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540919">Creaiior Prioter Driver Packagesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540935">The Impriots SerOercna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500540952">The Installaiill Clieclcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500541089">Addior Netw.(f Prioters without User Interaciillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500541362">The addprioter Commaldona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500541401">Migraiill of Cllasical Priotior to Scltnona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500541554">Publishior Prioter Informaiill in Active DibfDiory or LDAPona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500541573">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500541579">I Give My Root Plasword but I Do Not Get Accesscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500541621">My Priot Jobs Get Spooled ioto the Spoolior DibfDiory, but Tc/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#CUPS-priotior">18. CUPS Priotior Supportona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500541728">Introduciillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500541734">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500541787">OOerviewcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500541834">Basic CUPS Support Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500541906">Linfior smbd with libcups.socna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500542079">Sihele smb.conf Settiors for CUPScna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500542354">More Complex CUPS smb.conf Settiorscna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500542849">Advanced Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500542866">Ceclral Spoolior vs. Peer-to-Peer Priotiorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500542912">Raw Priot SerOior Vend r Drivers on Wind ss Clieclscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500543108">Installaiill of Wind ss Cliecl Driverscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#cups-raw">Explicitly Enable raw Priotior for applicatill/octet-streamcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500543395">Driver Upload Methodsona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500543520">Advanced Intelligecl Priotior with PostScripe Driver Downloadcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#gdipose">GDI on Wind ss -- PostScripe ll UNIXona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500543675">Wind ss Drivers, GDI ald EMFona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500543828">UNIX Priotfile Conversill and GUI Basicscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#pose-and-ghose">PostScripe and Ghosescripecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544111">Ghosescripe the Software RIP for Non-PostScripe Priotersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544249">PostScripe Prioter Descripeill (PPD) Specificaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544319">Usior Wind ss-Formaited Vend r PPDsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544410">CUPS Also Uses PPDs for Non-PostScripe Priotersona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500544429">The CUPS Filterior Architecturecna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500544593">MIME Types ald CUPS Filtersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544797">MIME Type Conversill Rulescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500544942">Filterior OOerviewcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545103">P="#iltersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545205">pstopsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545323">pstorasterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545510">5magetops ald 5magetorasterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545585">rasterto [prioters specific]ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500545723">CUPS Backendsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546042">The Role of cupsomaiic/foomaiicona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546186">The Complete Picturecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546199">mime.convsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546257">Raw Priotiorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546360">applicatill/octet-stream Priotiorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546595">PostScripe Prioter Descripeills (PPDs) for Non-PS Priotersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500546846">cupsomaiic/foomaiic-rip Versus native CUPS Priotiorona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500547123">Exaheles for Filterior Choresona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500547475">Sources of CUPS Drivers/PPDsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500547593">Priotior with Interface Scripesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500547675">Netw.(f Priotior (Purely Wind ss)cna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500547693">From Wind ss Cliecls to ll NT Priot SerOerona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500547755">Driver Executill on the Clieclcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500547824">Driver Executill on the SerOerona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500547926">Netw.(f Priotior (Wind ss Cliecls UNIX/Scltn Priot SerOers)cna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500547947">From Wind ss Cliecls to l CUPS/Scltn Priot SerOerona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548122">Scltn ReceiOior Job-files and Plasior Them to CUPScna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500548200">Netw.(f PostScripe RIPona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500548287">PPDs for Non-PS Prioters ll UNIXona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548333">PPDs for Non-PS Prioters ll Wind sscna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500548403">Wind ss Termilal SerOers (WTS) as CUPS Clieclscna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500548418">Prioter Drivers Runnior in Kernel Mode Cause Many Problsmsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548460">W.(faroulds Impose Heavy Limitaiillsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548478">CUPS: A Magical Stone?cna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548523">PostScripe Drivers with No Maj r Problsms Even in Kernel Modecna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500548584">Configurior CUPS f r Driver Downloadcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500548600">cupsaddsmb: The Unkn sn Utilityona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500548697">P="pare Your smb.conf f r cupsaddsmbona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549053">CUPS PostScripe Driver f r Wind ss NT/200x/XPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549302">Recognizior Differecl Driver Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549410">Acquirior the Adobe Driver Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549436">ESP Priot Pro PostScripe Driver f r Wind ss NT/200x/XPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549497">Caveats to be Consideredona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549757">Wind ss CUPS PostScripe Driver Versus Adobe Driverona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500549955">Run cupsaddsmb (Quiet Mode)ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550075">Run cupsaddsmb with Verbose Outputona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550273">Understacdior cupsaddsmbona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550420">H s to Recognize If cupsaddsmb Completed Successfullyona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550533">cupsaddsmb with n Scltn PDCona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550609">cupsaddsmb Flowchartona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550687">Installior the PostScripe Driver on n Clieclcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500550842">Avoidior Critical PostScripe Driver Settiors on the Clieclcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500550905">Installior PostScripe Driver Files Manually Usior rpcclieclcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500551080">A Check of the rpccliecl mal Pagecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500551208">Understacdior the rpccliecl mal Pagecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500551327">P=oducior al Exahele by Queryior n Wind ss Boxcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500551478">Requiremecls for adddrivernand setdrivernto Succeedona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500551690">Manual Driver Installaiill in 15 Stepsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500552656">Troublsshootior Revisieedona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500552799">The Priotior *.tdb Filescna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500553002">TriOial Datnbase Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500553069">Bilary Formaicna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500553132">Losior *.tdb Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500553182">Usior tdbbackupcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500553304">CUPS Priot Drivers from Linuxpriotior.orgcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500553465">foomaiic-rip and Foomaiic Explainedona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500554123">foomaiic-rip and Foomaiic-PPD Download ald Installaiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500554596">Plge Acc_aclior with CUPScna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500554631">Settior Up Quotascna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500554689">CorbfDi ald IncorbfDi Acc_acliorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500554732">Adobe ald CUPS PostScripe Drivers f r Wind ss Clieclscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500554841">The plge_log File Syntaxcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500554986">Possible Shortcomiorscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500555054">Future Developmeclscna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500555096">Additillal Materialona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500555303">Auto-Deletioe or P="sf Oaiill of CUPS Spool Filescna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500555354">CUPS Configuraiill Settiors Explainedona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500555443">P="-Conditillscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500555554">Manual Configuraiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500555590">Priotior from CUPS to Wind ss Attached Priotersona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500555842">More CUPS-Filterior Choresona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500555937">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500555943">Wind ss 9x/ME Cliecl Can't Install Driverona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500555962">cupsaddsmb Keeps Askior for Root Plasword il Never-ecdior Loopona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556016">cupsaddsmb Errorsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556095">Cliecl Can't Connect to Scltn Prioterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556119">New Acc_acl Reconnectill from Wind ss 200x/XP Troublssona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556206">Avoid Beior Connected to the Scltn SerOer as the Wroor Userona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556241">Upgradior to CUPS Drivers from Adobe Driversona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556278">Can't Use cupsaddsmb on Scltn SerOer Which Is n PDCona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556315">Deleted Wind ss 200x Prioter Driver Is Still Sh snona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556348">Wind ss 200x/XP "Local Sfcurity Policies"ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556364">Administrator Cannot Install Prioters for All Local Usersona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556390">Priot Change Notify Functills ll NT-clieclscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556413">Win XP-SP1ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556461">Priot Optills for All Users Can't Be Set on Wind ss 200x/XPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556726">Most Commll Blunders in Driver Settiors on Wind ss Clieclscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556780">cupsaddsmb Does Not W.(f with Newly Installed Priotercna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556829">Permiasills on /var/spool/scltn/ Get R"sfi After Each Rebootona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556921">Priot Queue Called lp Mis-handles Priot Jobsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500556974">Locaiill of Adobe PostScripe Driver Files f r cupsaddsmbona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500557026">OOerview of the CUPS Priotior Processesona>c/span>c/dtuc/dlucnsducdtucspann class=chapter">crnf="#id#VFS">19. Stackable VFS modulesona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500557212">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500557227">Discussillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500557564">Included Modulescna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500557570">auditona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500557604">extd_auditona>c/span>c/dtucdtucspann class=sect2">crnf="#id#fakeperms">fake_permsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500557745">bfDyclecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500557936">netatalkcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500557972">shad s_copycna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500558583">VFS Modules Available Elsewherecna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500558601">DatnbaseFScna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500558655">vscanona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#winbind">20. Winbind: Use of Domore Acc_aclsona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500558849">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500558972">Introduciillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500559041">What Winbind Providescna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500559108">Target Usescna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500559134">H s Winbind W.(fscna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500559158">Microsoft Remote Procedure Callsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559187">Microsoft Active DibfDiory SerOicesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559210">Name SerOice Switchona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559327">Pluggable Authenticatill Modulescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559397">User and Group ID Allocaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559426">R"sult Cachingcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500559456">Installaiill ald Configuraiillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500559462">Introduciillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559515">Requiremeclscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500559585">Testior Thiors Oulcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500561172">Conclusillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500561188">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500561232">NSCD Problsm Warniorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500561271">Winbind Is Not Resolvior Users and Groupsona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#AdvancedNetw.(fManagemecl">21. Advanced Netw.(f Managemeclona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500561441">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500561468">Remote SerOer Administratillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500561586">Remote Desktop Managemeclona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500561601">Remote Managemecl from NoMachine.Comcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500561806">Netw.(f Logoe Scripe Magicona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500562019">Addior Prioters without User Interventionona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#PolicyMgml">22. System ald Acc_acl Policiesona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500562113">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500562194">Creaiior ald Managior System Policiesona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500562310">Wind ss 9x/ME Policiesona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500562405">Wind ss NT4-Style Policy Filescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500560528">MS Wind ss 200x/XP Professillal Policiesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500562777">Managior Acc_acl/User Policiesona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500562910">Managemecl Toolsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500562923">Scltn Editreg Tool-setona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500563005">Wind ss NT4/200xona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500563026">Scltn PDCona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500563064">System Startup and Logoe Processior OOerviewcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500563185">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500563196">Policy Does Not W.(fona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#ProfileMgml">23. Desktop Profile Managemeclona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500563280">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500563309">Roamior Profilescna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500563342">Scltn Configuraiill f r Profile Handliorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500563844">Wind ss Cliecl Profile Configuraiill Informaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500564973">Sharior Profiles between W9x/Me ald NT4/200x/XP W.(fstaiillscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500565037">P=ofile Migraiill from Wind ss NT4/200x SerOer to Scltnona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500565318">Mandaiory Profilescna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500565401">Creaiior ald Managior Group Profilescna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500565447">Default Profile f r Wind ss Usersona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500565471">MS Wind ss 9x/Mecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500565603">MS Wind ss NT4 W.(fstaiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500566131">MS Wind ss 200x/XPona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500566607">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500566618">Configurior Roamior Profiles for a Few Users or Groupsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500566673">Cannot Use Roamior Profilescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500566845">Changior the Default Profileona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#pam">24. PAM-Based Distributed Authenticatillona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500567135">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500567409">Technical Discussillona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500567436">PAM Configuraiill Syntaxcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500568286">Exahele System Configuraiillscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500568597">smb.conf PAM Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500568660">Remote CIFS Authenticatill Usior winbindd.socna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500568761">Plasword Synchronizatill Usior pam_smbplas.socna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500569155">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500569170">pam_winbind Problsmcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500569274">Winbind Is Not Resolvior Users and Groupsona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#iotegraie-ms-netw.(fs">25. Integraiior MS Wind ss Netw.(fs with Scltnona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500569480">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500569501">Backgrould Informaiillcna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500569554">Name Resoluiill in l Pure UNIX/Linux W.(ldona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500569600">/etc/hosescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500569742">/etc/resolv.confcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500569778">/etc/hose.confcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500569832">/etc/naswitch.confcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500569931">Name Resoluiill as Used within MS Wind ss Netw.(fiorona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500570245">The NetBIOS Name Cachecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570300">The LMHOSTS Filecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570507">HOSTS Filecna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570535">DNS Lookupcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570562">WINS Lookupcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500570686">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500570699">Pingior W.(fs Only in One Waycna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570735">Very Slow Netw.(f Connectillscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500570777">Scltn SerOer Name Change Problsmcna>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#unicode">26. Unicode/Charselsona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500570981">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500571019">What Are Charsels ald Unicode?cna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500571090">Scltn and Charselsona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500571189">Conversill from Old Namesona>c/span>c/dtucdtucspann class=sect1">crnf="#id#500571214">Japanese Charselsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500571277">Basic Parameter Settiorcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500571719">Individual Ihelemeclaiillscna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500571857">Migraiill from Scltn-2.2 Seriesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500571999">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500572005">CP850.so Can't Be Fouldona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#Backup">27. Backup Techniquesona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500572092">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500572108">Discussill of Backup Soluiillsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500572155">BackupPCona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500572233">Rsyncona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500572341">Amaldaona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500572375">BOBS: Br sseable Online Backup Systemona>c/span>c/dtuc/dlucnsduc/dlucnsducdtucspann class=chapter">crnf="#id#ScltnHA">28. High Availabilityona>c/span>c/dtucdducdl>odtucspann class=sect1">crnf="#id#500572469">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500572527">Technical Discussillona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500570541">The Ultimaie Goalona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500572621">Why Is This So Hard?ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500572996">A Sihele Soluiillona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500573035">High Availability SerOer P=oducescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500573092">MS-DFS: The Poor Man's Clusterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500573129">Conclusillsona>c/span>c/dtuc/dlucnsduc/dlucnsduc/dlucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="Netw.(fBr ssior">cna>Chapter 9. Netw.(f Br ssiorch3n class=author">cspann class=firstname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcbr>c/span>csivn class=address">cp><crnf="#idmailto:jht@scltn.org">jht@scltn.orgcna>>c/ttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author">ch3n class=author">cspann class=firstname">Jelmeronspan> cspann class=oihername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">The Scltn Teamcbr>c/span>csivn class=address">cp><crnf="#idmailto:jelmer@scltn.org">jelmer@scltn.orgcna>>c/ttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdaie">July 5, 1998c/pucnsivucsivucpn class=pubdaie">Updaied: April 21, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc">cp>Table of Conteclscnbuc/pucdl>odtucspann class=sect1">crnf="#id#500513260">Feaiures ald Benefilscna>c/span>c/dtucdtucspann class=sect1">crnf="#id#500513339">What Is Br ssior?cna>c/span>c/dtucdtucspann class=sect1">crnf="#id#netdiscuss">Discussillcna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500513550">NetBIOS oOer TCP/IPona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500513745">TCP/IP without NetBIOSona>c/span>c/dtucdtucspann class=sect2">crnf="#id#adsdnstech">DNS ald Active DibfDioryona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500514215">H s Br ssior Functillscna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#DMB">Configurior WORKGROUP Br ssiorc/span>c/dtucdtucspann class=sect2">crnf="#id#500514792">DOMAIN Br ssior Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#br sse-force-master">Forcior Scltn to Be the Masterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515191">Makior Scltn the Domore Masterona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515325">Note about Br adcast Addressescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515340">Multiele Interfacescna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515365">Use of the Remote Annoulce Parametercna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515506">Use of the Remote Br sse Sync Parametercna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500515573">WINS The Wind ss Inter-netw.(fior Name SerOercna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500515711">WINS SerOer Configuraiillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515939">WINS Replicatillcna>c/span>c/dtucdtucspann class=sect2">crnf="#id#500515969">Staiic WINS Entriesona>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500516047">Helpful Hiclscna>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500516058">Wind ss Netw.(fior P=otocolsona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516118">Name Resoluiill Ordercna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500516295">Technical OOerview of Br ssiorc/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500516337">Br ssior Support in Scltnona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516441">Problsm Resoluiillona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500516539">Cross-Subnet Br ssiorc/span>c/dtuc/dlucnsducdtucspann class=sect1">crnf="#id#500517207">Commll Errorsona>c/span>c/dtucdducdl>odtucspann class=sect2">crnf="#id#500517220">H s Can One Flush the Scltn NetBIOS Name Cache without Restartior Scltn?ona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517268">SerOer Resources Can Not Be Listedona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517314">I get ann`Unable to br sse the netw.(f' errorona>c/span>c/dtucdtucspann class=sect2">crnf="#id#500517363">Br ssior of Shares ald DibfDiories is Very Slowona>c/span>c/dtuc/dlucnsduc/dlucnsivucp> This documecl contores detailed informaiill as well as a fast track guide to ihelemeclior br ssior across subnets ald/or across w.(fgroups (or domores). WINS is the best tool for resoluiill of NetBIOS names to IP addresses. WINS is not involved in br sse list handlior except by way of name to lddress resoluiill. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;">ch3n class=title">Notec/h3ucp> MS Wind ss 2000 ald later versills cannbe configured to operaie with no NetBIOS oOer TCP/IP. Scltn-3 ald later versills also support this mode of operaiill. When the use of NetBIOS oOer TCP/IP has been disabled, the primary meals for resoluiill of MS Wind ss machine names is via DNS ald Active DibfDiory. The followior informaiill assumes that your siie is runnior NetBIOS oOer TCP/IP. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500513260">ona>Feaiures ald Benefilscnh2ucnsivucnsivucsivucnsivucnsivucp> Someone olce ="#erred to the past in these words “cspann class=quote"ucspann class=emphasis">cemucspann class=emphasis">cemuIt was the best of times, it was the worst of times.c/emuc/span>c/span>” The more we look back, the more we loor for what was ald hope it never ="iurns. c/pucp> crn class=indexterm"nname="500513280">ona> For maly MS Wind ss netw.(f administrators, that staiemecl sums up their feeliors about NetBIOS netw.(fior pbfDisely. For those who mastered NetBIOS netw.(fior, its fickle naiure was just par f r the course. For those who never quiie managed to tame its lusty feaiures, NetBIOS is like Paterson's Curse. c/pucp> For those not familiar with botanical problsms re Australia, Paterson's Curse, cspann class=emphasis">cemuEchium plantagioeumc/emuc/span>, was introduced to Australia from Europe durior the mid-nioeteeclh ceclury. Silce then it has spbfad rapidly. The high seed produciill, with densiiies of thousalds of seeds per square meter, a seed loorevity of more than seven years, ald an ability to germilate at any time of year, given the right conditills, are some of the feaiures which make il such n persistecl weed. c/pucp> In this chapter we explore vital aspects of SerOer Message Block (SMB) netw.(fior with a pariicular f cus on SMB as ihelemecled through runnior NetBIOS (Netw.(f Basic Input/Output System) oOer TCP/IP. Silce Scltn does not ihelemecl SMB or NetBIOS oOer any oiher protocols, we need to kn s h s to configure our netw.(f environmecl and sihely remember to use nothior but TCP/IP ll all our MS Wind ss netw.(f cliecls. c/pucp> Scltn provides the ability to ihelemecl a WINS (Wind ss Inter-netw.(fior Name SerOer) ald 5melemecls extensills to Microsoft's ihelemeclaiill of WINS. These extensills help Scltn to effect stable WINS operaiills beyond the normal scope of MS WINS. c/pucp> WINS is exclusively a serOice that applies only to those systems that run NetBIOS oOer TCP/IP. MS Wind ss 200x/XP have the capacity to operaie with support for NetBIOS disabled, re which case WINS is of no ="levance. Scltn supports this also. c/pucp> For those netw.(fs oe which NetBIOS has been disabled (i.e., WINS is not required) the use of DNS is necessary for hose name resoluiill. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500513339">ona>What Is Br ssior?cnh2ucnsivucnsivucsivucnsivucnsivucp> To mose peoele br ssior meals they cannsee the MS Wind ss ald Scltn serOers in the Netw.(f Neighborhood, ald when the computer icll f r a pariicular serOer is clicked, rt opens up and sh ss the shares ald prioters available on the target serOer. c/pucp> What sesms so sihele is re faDi a complex interaciill of differecl technologies. The technologies (or methods) employed in makior all of this w.(f include: c/pucdivn class=iiemizedlist">oul type="disc">oli>MS Wind ss machines register their p="sflce to the netw.(f.oli>Machines annoulce themselves to oiher machines on the netw.(f.oli>One or more machine on the netw.(f collaies the local annoulcemecls.oli>The cliecl machine filds the machine that has the collaied list of machines.oli>The cliecl machine is able to resolve the machine names to IP addresses.oli>The cliecl machine is able to connect to a target machine.o/ulucnsivucp> The Scltn applicatill that controls br sse list managemecl ald name resoluiill is called nmbdc/ttu. The configuraiill parameters involved in nmbd's operaiill are: c/pucp>Br ssior optills: crn class=indexterm"nname="500513403">ona>os level(*), crn class=indexterm"nname="500513410">ona>lm annoulce, crn class=indexterm"nname="500513417">ona>lm interval, crn class=indexterm"nname="500513424">ona>p="#erred master(*), crn class=indexterm"nname="500513432">ona>local master(*), crn class=indexterm"nname="500513439">ona>domore master(*), crn class=indexterm"nname="500513446">ona>br sse list, crn class=indexterm"nname="500513454">ona>enhanced br ssior. c/pucp>Name Resoluiill Method: crn class=indexterm"nname="500513465">ona>name resolve order(*). c/pucp>WINS optills: crn class=indexterm"nname="500513476">ona>dns proxy, crn class=indexterm"nname="500513483">ona>wins proxy, crn class=indexterm"nname="500513490">ona>wins serOer(*), crn class=indexterm"nname="500513497">ona>wins support(*), crn class=indexterm"nname="500513505">ona>wins hook. c/pucp> crn class=indexterm"nname="500513515">ona> For Scltn, the WINS SerOer ald WINS Support are mutually exclusive optills. Those marked with al (*) are the only optills that commllly may need to be modified. Even if none of these parameters is set, nmbdc/ttu will still do its job. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="netdiscuss">ona>Discussillcnh2ucnsivucnsivucsivucnsivucnsivucp> All MS Wind ss netw.(fior uses SMB-based messagior. SMB messagior may be ihelemecled with or without NetBIOS. MS Wind ss 200x supports NetBIOS oOer TCP/IP f r backwards compaiibility. Microsoft appears intent on phasing out NetBIOS support. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500513550">ona>NetBIOS oOer TCP/IPonh3ucnsivucnsivucsivucnsivucnsivucp> Scltn 5melemecls NetBIOS, as does MS Wind ss NT/200x/XP, by flcapsulaiior rt oOer TCP/IP. MS Wind ss producis canndo likewise. NetBIOS-based netw.(fior uses br adcast messagior to effect br sse list managemecl. When runnior NetBIOS oOer TCP/IP, this uses UDP-based messagior. UDP messages cannbe br adcast r uni-cast. c/pucp> crn class=indexterm"nname="500513566">ona> Normally, only uni-cast UDP messagior cannbe f rwarded by routers. The crn class=indexterm"nname="500513575">ona>remote annoulce parameter to smb.conf helps to project br sse annoulcemecls to remote netw.(f segmecls via uni-cast UDP. Similarly, the crn class=indexterm"nname="500513584">ona>remote br sse sync parameter of smb.confc/ttu 5melemecls br sse list collaiill usior uni-cast UDP. c/pucp> Secondly, in those netw.(fs where Scltn is the only SMB serOer technology, whereOer possible nmbdc/ttu sh uldnbe configured ll one machine as the WINS serOer. This makes rt easy to manage the br ssior environmecl. If each netw.(f segmecl is configured with its sn Scltn WINS serOer, then the only way to get cross-segmecl br ssior to w.(f is by usior the crn class=indexterm"nname="500513613">ona> crn class=indexterm"nname="500513623">ona> crn class=indexterm"nname="500513630">ona>remote annoulce and the crn class=indexterm"nname="500513637">ona>remote br sse sync parameters to your smb.confc/ttu file. c/pucp> crn class=indexterm"nname="500513654">ona> If only one WINS serOer is used f r an eclire multi-segmecl netw.(f, then the use of the crn class=indexterm"nname="500513662">ona>remote annoulce and the crn class=indexterm"nname="500513670">ona>remote br sse sync parameters sh uldnnot be necessary. c/pucp> crn class=indexterm"nname="500513681">ona> As of Scltn-3 WINS replicatill is beior w.(fed ll. The bulk of the code has been committed, but il still needs maiuraiill. This is not n supported feaiure of the Scltn-3.0.0 ="lease. Hopefully, this will become n supported feaiure of one of the Scltn-3 ="lease series. c/pucp> Right n s Scltn WINS does not support MS-WINS replicatill. This meals that when settior up Scltn as a WINS serOer, there must nly be one nmbdc/ttu configured as a WINS serOer on the netw.(f. Some siies have used multiele Scltn WINS serOers for redundancy (one serOer per subnet) and then used crn class=indexterm"nname="500513709">ona>remote br sse sync and crn class=indexterm"nname="500513716">ona>remote annoulce to effect br sse list collaiill across all segmecls. Note that this meals cliecls will nly resolve local names, ald must be configured to use DNS to resolve names ll oiher subnets in order to resolve the IP addresses of the serOers they cannsee ll oiher subnets. This setup is not recommended, but is mentioned as a praciical consideraiill (i.e., ann“cspann class=quote"ucspann class=emphasis">cemuif all else failsonemuc/span>c/span>” scenario). c/pucp> Lastly, take note that br sse lists are a colleciill of un="liable br adcast messages that are repeated at intervals of not more than 15 minutes. This meals that it will take time to establish n br sse list ald 5t canntake up to 45 minutes to stabilize, pariicularly across netw.(f segmecls. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500513745">ona>TCP/IP without NetBIOSonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500513753">ona> crn class=indexterm"nname="500513760">ona> crn class=indexterm"nname="500513767">ona> All TCP/IP-enabled systems use various forms of hose name resoluiill. The primary methods for TCP/IP hostname resoluiill involve eiiher a staiic file (/etc/hosescnttu) r the Domore Name System (DNS). DNS is the technology that makes the Internet usable. DNS-based hose name resoluiill is supported by nearly all TCP/IP-enabled systems. Only a few embedded TCP/IP systems do not support DNS. c/pucp> When an MS Wind ss 200x/XP system attempts to resolve a hose name to an IP address it follows a defined path: c/pucdivn class=orderedlist">ool type="1">oli>cp> Checks the hosescnttu file. It is locaied in C:\Wind ss NT\System32\Drivers\etcc/ttu. oli>cp> Does a DNS lookup. oli>cp> Checks the NetBIOS name cache. oli>cp> Queries the WINS serOer. oli>cp> Does a br adcast name lookup oOer UDP. oli>cp> Looks up entries in LMHOSTS, locaied in C:\Wind ss NT\System32\Drivers\etcc/ttu. o/olucnsivucp> crn class=indexterm"nname="500513850">ona> Wind ss 200x/XP cannregister its hose name with n Dynamic DNS serOer. You can forcenregister with n Dynamic DNS serOer in Wind ss 200x/XP usior: cspan>ipconfig /registerdnscnbuc/span>. c/pucp> With Active DibfDiory (ADS), a corbfDily functillior DNS serOer is absoluiely essential. In the absflce of a w.(fior DNS serOer that has been corbfDily configured, MS Wind ss clieclsnand serOers will be unable to locaie each oiher, so consequeclly netw.(f serOices will be severely impaired. c/pucp> The use of Dynamic DNS is highly recommended with Active DibfDiory, re which case the use of BIND9 is p="#erred for its ability to adequaiely support the SRV (serOice) records that are needed for Active DibfDiory. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="adsdnstech">ona>DNS ald Active DibfDioryonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500513895">ona> Occasillally we hear from UNIX netw.(f administrators who want to use a UNIX-based Dynamic DNS serOer in place of the Microsoft DNS serOer. While this might be desirable to some, the MS Wind ss 200x DNS serOer is auto-configured to w.(f with Active DibfDiory. It is possible to use BIND versill 8 r 9, but il will almose certorely be necessary to creaie serOice records (SRV records) so MS Active DibfDiory clieclsncannresolve hose names to locaie essential netw.(f serOices. The followior are some of the default serOice records that Active DibfDiory requires: c/pucdivn class=variablelist">odl>odtucspann class=term">_ldap._tcp.pdc._msdcs.cspann class=emphasis">cemuDomoreonemuc/span>c/span>c/dtucdducp> This provides the address of the Wind ss NT PDC f r the Domore. _ldap._tcp.pdc._msdcs.cspann class=emphasis">cemuDomoreTreeonemuc/span>c/span>c/dtucdducp> Resolves the addresses of Global Catalog serOers in the domore. _ldap._tcp.cspann class=emphasis">cemusiieonemuc/span>.siies.writable._msdcs.cspann class=emphasis">cemuDomoreonemuc/span>c/span>c/dtucdducp> Provides list of Domore Controllers based ll siies. _ldap._tcp.writable._msdcs.cspann class=emphasis">cemuDomoreonemuc/span>c/span>c/dtucdducp> Enumeraies list of Domore Controllers that have the writable copies of the Active DibfDiory data-siore. _ldap._tcp.cspann class=emphasis">cemuGUIDonemuc/span>.domores._msdcs.cspann class=emphasis">cemuDomoreTreeonemuc/span>c/span>c/dtucdducp> Entry used by MS Wind ss clieclsnto locaie machines usior the Global Unique Identifier. _ldap._tcp.cspann class=emphasis">cemuSiieonemuc/span>.gc._msdcs.cspann class=emphasis">cemuDomoreTreeonemuc/span>c/span>c/dtucdducp> Used by MS Wind ss clieclsnto locaie siie configuraiill dependent Global Catalog serOer. Specific entries used by Microsoft clieclsnto locaie essential serOices f r an exahele domore called quecyn.orgcnttu includes: c/pucdivn class=iiemizedlist">oul type="disc">oli>cp> _kerberos._udp.quecyn.org Used to contaDi the KDC serOer via UDP. This entry must list port 88 f r each KDC. oli>cp> _kplaswd._udp.quecyn.org Used to locaie the kplaswdc/ttu serOer when a user plasword change must be processed. This record must list port 464 on the master KDC. oli>cp> _kerberos._tcp.quecyn.org Used to locaie the KDC serOer via TCP. This entry must list port 88 f r each KDC. oli>cp> _ldap._tcp.quecyn.org Used to locaie the LDAP serOice on the PDC. This record must list port 389 f r the PDC. oli>cp> _kplaswd._tcp.quecyn.org Used to locaie the kplaswdc/ttu serOer to permit user plasword changes to be processed. This must list port 464. oli>cp> _gc._tcp.quecyn.org Used to locaie the Global Catalog serOer f r the top of the domore. This must list port 3268. o/ulucnsivucp> The followior records are also used by the Wind ss Domore Member cliecl to locaie vital serOices on the Wind ss ADS domore controllers. c/pucdivn class=iiemizedlist">oul type="disc">oli>cp> _ldap._tcp.pdc._msdcs.quecyn.org oli>cp> _ldap.gc._msdcs.quecyn.org oli>cp> _ldap.default-first-siie-name._siies.gc._msdcs.quecyn.org oli>cp> _ldap.{SecID}.domores._msdcs.quecyn.org oli>cp> _ldap._tcp.dc._msdcs.quecyn.org oli>cp> _kerberos._tcp.dc._msdcs.quecyn.org oli>cp> _ldap.default-first-siie-name._siies.dc._msdcs.quecyn.org oli>cp> _kerberos.default-first-siie-name._siies.dc._msdcs.queyna.org oli>cp> SecID._msdcs.quecyn.org o/ulucnsivucp> P="sflce of the corbfDi DNS entries cannbe validaied by fxecutior: c/pucpren class=screen"u root# c/ttu dig @frodo -t any _ldap._tcp.dc._msdcs.quecyn.org ; <lt;>> DiG 9.2.2 <lt;>> @frodo -t any _ldap._tcp.dc._msdcs.quecyn.org ;; global optills: priotcmd ;; Got nnswer: ;; ->>HEADER<<- opcode: QUERY, staius: NOERROR, id: 3072 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2 ;; QUESTION SECTION: ;_ldap._tcp.dc._msdcs.quecyn.org. IN ANY ;; ANSWER SECTION: _ldap._tcp.dc._msdcs.quecyn.org. 600 IN SRV 0 100 389 frodo.quecyn.org. _ldap._tcp.dc._msdcs.quecyn.org. 600 IN SRV 0 100 389 noldor.quecyn.org. ;; ADDITIONAL SECTION: frodo.quecyn.org. 3600 IN A 10.1.1.16 noldor.quecyn.org. 1200 IN A 10.1.1.17 ;; Query time: 0 msec ;; SERVER: frodo#53(10.1.1.16) ;; WHEN: Wed ODi 7 14:39:31 2004 ;; MSG SIZE rcvd: 171 c/preucp> c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500514215">ona>H s Br ssior Functillscnh2ucnsivucnsivucsivucnsivucnsivucp> MS Wind ss machines register their NetBIOS names (i.e., the machine name f r each serOice type in operaiill) ll start-up. The exact method by which this name registratill takes place is determiled by wheiher r not the MS Wind ss cliecl/serOer has been given a WINS serOer address, wheiher r not LMHOSTS lookup is enabled, or if DNS for NetBIOS name resoluiill is enabled, etc. c/pucp> In the case where there is no WINS serOer, all name registratills as well as name lookups are done by UDP br adcast. This isolaies name resoluiill to the local subnet, unless LMHOSTS is used to list all names ald IP addresses. In such siiuatills, Scltn provides a meals by which the Scltn serOer name may be forcibly injected into the br sse list of a remote MS Wind ss netw.(f (usior the crn class=indexterm"nname="500514240">ona>remote annoulce parameter). c/pucp> Where a WINS serOer is used, the MS Wind ss cliecl will use UDP uni-cast to register with the WINS serOer. Such packets cannbe routed and thus WINS allows name resoluiill to functill across routed netw.(fs. c/pucp> Durior the startup process an eleciill will take place to creaie a Local Master Br sser if one does not albfady fxist. On each NetBIOS netw.(f one machine will be elecied to functill as the Domore Master Br sser. This domore br ssior has nothior to do with MS security Domore Control. Instfad, the Domore Master Br sser serOes the role of contaDiior each local master br sser (fould by asfior WINS or from LMHOSTS) and exchangior br sse list contecls. This way every master br sser will eventually obtore a complete list of all machines that are on the netw.(f. Every 11 to 15 minutes an eleciill is held to determile which machine will be the master br sser. By the naiure of the eleciill criteria used, the machine with the highest uptime, or the mose sflior protocol versill or oiher criteria, will win the eleciill as Domore Master Br sser. c/pucp> Clieclsnwishior to br sse the netw.(f make use of this list, but also depend on the availability of corbfDi name resoluiill to the respective IP address/addresses. c/pucp> Any configuraiill that breaks name resoluiill ald/or br ssior intrresics will annoy users because they will have to put up with protracied inability to use the netw.(f serOices. c/pucp> Scltn supports a feaiure that allows forced synchronizatill of br sse lists across routed netw.(fs usior the crn class=indexterm"nname="500514290">ona>remote br sse sync parameter in the smb.confc/ttu file. This causes Scltn to contaDi the local master br sser ll a remote netw.(f and to request br sse list synchronizatill. This effectively bridges two netw.(fs that are separated by routers. The two remote netw.(fs may use eiiher br adcast-based name resoluiill r WINS-based name resoluiill, but il sh uldnbe noted that the crn class=indexterm"nname="500514309">ona>remote br sse sync parameter provides br sse list synchronizatill and that is distinct from name to lddress resoluiill. Il oiher words, for cross-subnet br ssior to functill corbfDily it is essential that a name-to-lddress resoluiill mechanism be provided. This mechanism c uldnbe via DNS, /etc/hosescnttu, ald so ll. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="DMB">cna>Configurior WORKGROUP Br ssior To configure cross-subnet br ssior ll a netw.(f contoreior machines re a WORKGROUP, not an NT Domore, you need to set up one Scltn serOer to be the Domore Master Br sser (note that this is not the same as a Primary Domore Controller, although in ln NT Domore the same machine plays both roles). The role of a Domore Master Br sser is to collaie the br sse lists from Local Master Br ssers ll all the subnets that have a machine pariicipaiior rn the worfgroup. Without one machine configured as a Domore Master Br sser, each subnet w uld be an isolaied worfgroup unable to see any machines on anoiher subnet. It is the presflce of a Domore Master Br sser that makes cross-subnet br ssior possible f r a worfgroup. c/pucp> In a WORKGROUP environmecl the Domore Master Br sser must be a Scltn serOer, and there must nly be one Domore Master Br sser per worfgroup name. To set up a Scltn serOer as a Domore Master Br sser, set the followior optill in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file: c/pucp> c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500514382">ona> domore master = yesc/ttuc/iuc/tduc/tr>o/tableucp> c/pucp> The Domore Master Br sser sh uldnp="#erably be the local master br sser for its sn subnet. In order to achieve this, set the followior optills in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file as sh wl in crnf="#id#dmbexahele" title="Exahele 9.1. Domore Master Br sser smb.conf">the followior exaheleona>: c/pucp> c/pucsivn class=exahele">crnname="dmbexahele">ona>cb>Exahele 9.1. Domore Master Br sser smb.confcnbuc/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd> c/tduc/tr>otr>otd>cin class=parameter">[global]c/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514450">ona> domore master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514465">ona> local master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514481">ona> p="#erred master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514497">ona> os level = 65c/ttuc/iuc/tduc/tr>o/tableucnsivucp> c/pucp> The Domore Master Br sser may be the same machine as the WINS serOer, if necessary. c/pucp> Next, you sh uldnensure that each of the subnets contores a machine that cannaDi as a Local Master Br sser f r the worfgroup. Aly MS Wind ss NT/200x/XP machine sh uld be able to do this, as will Wind ss 9x/Me machines (although these tend to get rebooted more often, so it is not such n good idea to use these). To make a Scltn serOer a Local Master Br sser set the followior optills in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file as sh wl in crnf="#id#lmbexahele" title="Exahele 9.2. Local master br sser smb.conf">followior exaheleona>: c/pucp> c/pucsivn class=exahele">crnname="lmbexahele">ona>cb>Exahele 9.2. Local master br sser smb.confcnbuc/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd> c/tduc/tr>otr>otd>cin class=parameter">[global]c/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514572">ona> domore master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514588">ona> local master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514604">ona> p="#erred master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514620">ona> os level = 65c/ttuc/iuc/tduc/tr>o/tableucnsivucp> c/pucp> Do not do this f r more than one Scltn serOer on each subnet, or they will war with each oiher oOer which is to be the Local Master Br sser. c/pucp> The crn class=indexterm"nname="500514644">ona>local master parameter allows Scltn to aDi as a Local Master Br sser. The crn class=indexterm"nname="500514652">ona>p="#erred master causes cspan>nmbdc/buc/span> to forcena br sser eleciill ll startup and the crn class=indexterm"nname="500514667">ona>os level parameter sels Scltn high enough so it sh uldnwin lny br sser eleciills. c/pucp> If you have an NT machine on the subnet that younwish to be the Local Master Br sser, you canndisable Scltn from becomior a Local Master Br sser by settior the followior optills in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file as sh wl in crnf="#id#nombexahele" title="Exahele 9.3. smb.conf f r not beior a Master Br sser">followior exaheleona>: c/pucp> c/pucsivn class=exahele">crnname="nombexahele">ona>cb>Exahele 9.3. smb.conf f r not beior a Master Br ssercnbuc/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd> c/tduc/tr>otr>otd>cin class=parameter">[global]c/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514726">ona> domore master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514742">ona> local master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514758">ona> p="#erred master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514774">ona> os level = 0c/ttuc/iuc/tduc/tr>o/tableucnsivucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500514792">ona>DOMAIN Br ssior Configuraiillcnh3ucnsivucnsivucsivucnsivucnsivucp> If you are addior Scltn serOers to a Wind ss NT Domore, then you must not set up a Scltn serOer as a Domore Master Br sser. By default, a Wind ss NT Primary Domore Controller f r a domore is also the Domore Master Br sser f r that domore. Netw.(f br ssior may break if a Scltn serOer registers the domore master br sser NetBIOS name (DOMAINc/ttuc/iu<1B>) with WINS instfad of the PDC. c/pucp> For subnets oiher than the one contoreior the Wind ss NT PDC, you may set up Scltn serOers as Local Master Br ssers as described. To make a Scltn serOer a Local Master Br sser, set the followior optills in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file as sh wl in crnf="#id#remsmb" title="Exahele 9.4. Local Master Br sser smb.conf">followior exaheleona>: c/pucp> c/pucsivn class=exahele">crnname="remsmb">ona>cb>Exahele 9.4. Local Master Br sser smb.confcnbuc/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd> c/tduc/tr>otr>otd>cin class=parameter">[global]c/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514862">ona> domore master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514878">ona> local master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514894">ona> p="#erred master = yesc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500514910">ona> os level = 65c/ttuc/iuc/tduc/tr>o/tableucnsivucp> c/pucp> If you wish to have a Scltn serOer fight the eleciill with machines on the same subnet you may set the crn class=indexterm"nname="500514930">ona>os level parameter to lower levels. By doior this you canntune the order of machines that will become Local Master Br ssers if they are runnior. For more details on this refer to crnf="#id#br sse-force-master" title="Forcior Scltn to Be the Master">Forcior Scltn to Be the Masterona> seciill. c/pucp> If you have Wind ss NT machines that are members of the domore ll all subnets ald you are sure they will always be runnior, you canndisable Scltn from takior part in br sser eleciills and eOer becomior a Local Master Br sser by settior the followior optills in the [global]c/ttuc/iu seciill of the cttn class=filename">smb.confc/ttu file as sh wl in crnf="#id#xremmb" title="Exahele 9.5. smb.conf f r not beior a master br sser">next exaheleona>: c/pucp> c/pucsivn class=exahele">crnname="xremmb">ona>cb>Exahele 9.5. smb.conf f r not beior a master br ssercnbuc/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd> c/tduc/tr>otr>otd>cin class=parameter">[global]c/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500515002">ona> domore master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500515018">ona> local master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500515033">ona> p="#erred master = noc/ttuc/iuc/tduc/tr>otr>otd>crn class=indexterm"nname="500515049">ona> os level = 0c/ttuc/iuc/tduc/tr>o/tableucnsivucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="br sse-force-master">ona>Forcior Scltn to Be the Masteronh3ucnsivucnsivucsivucnsivucnsivucp> Who becomes the master br sser is determiled by an eleciill process usior br adcasts. Each eleciill packet contores a number of parameters that determile what pbfDedflce (bias) a hose sh uldnhave in the eleciill. By default Scltn uses a low pbfDedflce and thus loses eleciills to just about every Wind ss netw.(f serOer or cliecl. c/pucp> If you want Scltn to win eleciills, set the crn class=indexterm"nname="500515089">ona>os level global optill in cttn class=filename">smb.confc/ttu to a higher number. It defaults to 20. Usior 34 w uld make il win all eleciills every oiher system (except oiher scltn systems). c/pucp> An crn class=indexterm"nname="500515108">ona>os level of two w uld make il beat Wind ss f r W.(fgroups ald Wind ss 9x/Me, but not MS Wind ss NT/200x SerOer. Al MS Wind ss NT/200x SerOer Domore Controller uses level 32. The maximum os level is 255. c/pucp> If you want Scltn to forcenan eleciill ll startup, set the crn class=indexterm"nname="500515122">ona>p="#erred master global optill in cttn class=filename">smb.confc/ttu to yesc/ttu. Scltn will then have a slight advantage oOer oiher potential master br ssers that are not P="#erred Master Br ssers. Use this parameter with care, as if you have two hoses (wheiher they are Wind ss 9x/Me or NT/200x/XP or Scltn) on the same local subnet both set with crn class=indexterm"nname="500515144">ona>p="#erred master to yesc/ttu, then periodically ald continually they will forcenan eleciill in order to become the Local Master Br sser. c/pucp> If you want Scltn to be a cspann class=emphasis">cemuDomore Master Br ssercnemuc/span>, then it is recommended that you also set crn class=indexterm"nname="500515164">ona>p="#erred master to yesc/ttu, because Scltn will not become n Domore Master Br sser f r the whole of your LAN r WAN if it is not also a Local Master Br sser on its sn br adcast isolaied subnet. c/pucp> It is possible to configure two Scltn serOers to attempt to become the Domore Master Br sser f r a domore. The first serOer that comes up will be the Domore Master Br sser. All oiher Scltn serOers will attempt to become the Domore Master Br sser every five minutes. They will fild that anoiher Scltn serOer is albfady the domore master br sser ald will fail. This provides automaiic redundancy, sh uld the currecl Domore Master Br sser fail. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515191">ona>Makior Scltn the Domore Master The domore master is responsible f r collaiior the br sse lists of multiele subnets so br ssior cannoccur between subnets. You can make Scltn aDi as the Domore Master by settior crn class=indexterm"nname="500515202">ona>domore master = yes in cttn class=filename">smb.confc/ttu. By default il will not be n Domore Master. c/pucp> Do not set Scltn to be the Domore Master f r a worfgroup that has the same name as an NT/200x Domore. If Scltn is configured to be the Domore Master f r a worfgroup that is p="sent on the same netw.(f as a Wind ss NT/200x domore that has the same name, netw.(f br ssior problsms will certorely be experiflced. c/pucp> When Scltn is the Domore Master and the Master Br sser, il will listec f r master annoulcemecls (made roughly every twelve minutes) from Local Master Br ssers ll oiher subnets and then contaDi them to synchronize br sse lists. c/pucp> If you want Scltn to be the domore master, you sh uldnalso set the crn class=indexterm"nname="500515236">ona>os level high enough to make sure il wins eleciills, ald set crn class=indexterm"nname="500515244">ona>p="#erred master to yesc/ttu, to get Scltn to forcenan eleciill ll startup. c/pucp> All serOers (includior Scltn) and clieclsnsh uldnbe usior a WINS serOer to resolve NetBIOS names. If your clieclsnare only usior br adcastior to resolve NetBIOS names, then two thiors will ccur: c/pucdivn class=orderedlist">ool type="1">oli>cp> Local Master Br ssers will be unable to fild a Domore Master Br sser, as they will be lookior llly on the local subnet. oli>cp> If a cliecl happels to get hold of a domore-wide br sse list ald a user attempts to access a hose re that list, it will be unable to resolve the NetBIOS name of that host. o/olucnsivucp> If, h seOer, both Scltn ald your clieclsnare usior a WINS serOer, then: c/pucdivn class=orderedlist">ool type="1">oli>cp> Local master br ssers will contaDi the WINS serOer and, as loor as Scltn has registered that it is n Domore Master Br sser with the WINS serOer, the Local Master Br sser will bfDeive Scltn's IP address as its Domore Master Br sser. oli>cp> When a cliecl bfDeives a domore-wide br sse list ald a user attempts to access a hose re that list, it will contaDi the WINS serOer to resolve the NetBIOS name of that host. As loor as that host has registered its NetBIOS name with the same WINS serOer, the user will be able to see that host. o/olucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515325">ona>Note about Br adcast Addressescnh3ucnsivucnsivucsivucnsivucnsivucp> If your netw.(f uses a 0 based br adcast address (f r exahele, if it elds re a 0) then you will strike problsms. Wind ss f r W.(fgroups does not seem to support a zeros br adcast ald you will probably fild that br ssior ald name lookups will not w.(f. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515340">ona>Multiele Interfacescnh3ucnsivucnsivucsivucnsivucnsivucp> Scltn supports machines with multiele netw.(f interfaces. If you have multiele interfaces, you will need to use the crn class=indexterm"nname="500515350">ona>interfaces optill in cttn class=filename">smb.confc/ttu to configure them. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515365">ona>Use of the Remote Annoulce Parameter The crn class=indexterm"nname="500515374">ona>remote annoulce parameter of cttn class=filename">smb.confc/ttu cannbe used to forcibly ensure that all the NetBIOS names ll a netw.(f get annoulced to a remote netw.(f. The syntax of the crn class=indexterm"nname="500515390">ona>remote annoulce parameter is: c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500515403">ona> remote annoulce = a.b.c.d [e.f.g.h] ...c/ttuc/iuc/tduc/tr>o/tableucp> cspann class=emphasis">cemuorcnemuc/span> c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500515428">ona> remote annoulce = a.b.c.d/WORKGROUP [e.f.g.h/WORKGROUP] ...c/ttuc/iuc/tduc/tr>o/tableucp> where: c/pucdivn class=variablelist">odl>odtucspann class=term">a.b.c.dc/ttuc/iu and cin class=replaceable">e.f.g.hc/ttuc/iuc/span>c/dtucdducp> crn class=indexterm"nname="500515459">ona> crn class=indexterm"nname="500515468">ona> is eiiher the LMB (Local Master Br sser) IP address r the br adcast address of the remote netw.(f. i.e., the LMB is nt 192.168.1.10, or the address c uldnbe given as 192.168.1.255 where the netmask is lasumed to be 24 bits (255.255.255.0). When the remote annoulcemecl is made to the br adcast address of the remote netw.(f, every host will bfDeive our annoulcemecls. This is noisy and therefore undesirable but may be necessary if we do not kn s the IP address of the remote LMB. cin class=replaceable">WORKGROUPc/ttuc/iuc/span>c/dtucdducp>is optillal and cannbe eiiher our sn worfgroup r that of the remote netw.(f. If you use the worfgroup name of the remote netw.(f, our NetBIOS machine names will end up lookior like they beloor to that worfgroup. This may cause name resoluiill problsms ald sh uldnbe avoided. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515506">ona>Use of the Remote Br sse Sync Parameter The crn class=indexterm"nname="500515514">ona>remote br sse sync parameter of cttn class=filename">smb.confc/ttu is used to annoulce to anoiher LMB that it must synchronize its NetBIOS name list with our Scltn LMB. This w.(fs llly if the Scltn serOer that has this optill is s5multaneously the LMB on its netw.(f segmecl. c/pucp> The syntax of the crn class=indexterm"nname="500515535">ona>remote br sse sync parameter is: c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500515548">ona> remote br sse sync = a.b.c.dc/ttuc/iuc/tduc/tr>o/tableucp> where a.b.c.dc/ttuc/iu is eiiher the IP address of the remote LMB r else is the netw.(f br adcast address of the remote segmecl. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500515573">ona>WINS The Wind ss Inter-netw.(fior Name SerOercnh2ucnsivucnsivucsivucnsivucnsivucp> Use of WINS (eiiher Scltn WINS r MS Wind ss NT SerOer WINS) is highly recommended. Every NetBIOS machine registers its name togeiher with n name_type value f r each of several types of serOice it has available. It registers its name dibfDily as a unique (the type 0x03) name. It also registers its name if it is runnior the LanManager compatible serOer serOice (used to make shares ald prioters available to oiher users) by registerior the serOer (the type 0x20) name. c/pucp> All NetBIOS names are up to 15 characiers in length. The name_type variable is added to the end of the name, thus creaiior a 16 characier name. Any name that is sh rter than 15 characiers is padded with spaces to the 15th characier. Thus, all NetBIOS names are 16 characiers loor (includior the name_type informaiill). c/pucp> WINS cannstore these 16-characier names as they get registered. A cliecl that wantsnto lor llto the netw.(f cannask the WINS serOer f r a list of all names that have registered the NetLogll serOice name_type. This saves br adcast traffic ald greaily expediies logll processior. Silce br adcast name resoluiill cannotnbe used across netw.(f segmecls this type of informaiill cannoely be provided via WINS r via a staiically configured cttn class=filename">lmhosescnttu file that must reside ll all clieclsnin the absflce of WINS. c/pucp> WINS also serOes the purpose of forcior br sse list synchronizatill by all LMBs. LMBs must synchronize their br sse list with the DMB (Domore Master Br sser) ald WINS helps the LMB to identify its DMB. By definiiill this will w.(f oely withre a siorle worfgroup. Note that the Domore Master Br sser has nothior to do with what is ="#erred to as an MS Wind ss NT Domore. The laier is a ="#erelce to a security environmecl while the DMB ="#ers to the master controller f r br sse list informaiill oely. c/pucp> WINS will w.(f corbfDily llly if every cliecl TCP/IP protocol stack has been configured to use the WINS serOers. Aly cliecl that has notnbeen configured to use the WINS serOer will continue to use oely br adcast-based name registratill so WINS may neOer get to kn s about it. In lny case, machines that have not registered with n WINS serOer will fail name to lddress lookup attempts by oiher clieclsnand will therefore cause w.(fstaiill access errors. c/pucp> To configure Scltn as n WINS serOer just add crn class=indexterm"nname="500515645">ona>wins support = yes to the cttn class=filename">smb.confc/ttu file [global] seciill. c/pucp> To configure Scltn to register with n WINS serOer just add crn class=indexterm"nname="500515663">ona>wins serOer = a.b.c.d to your cttn class=filename">smb.confc/ttu file [global]c/ttuc/iu seciill. c/pucdivn class=iheortacl" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Iheortacl Never use both crn class=indexterm"nname="500515687">ona>wins support = yes togeiher with crn class=indexterm"nname="500515695">ona>wins serOer = a.b.c.d pariicularly not usior its sn IP address. Specifyior both will cause cspann class=applicaiill">nmbdc/span> to refuse to start! c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515711">ona>WINS SerOer Configuraiillcnh3ucnsivucnsivucsivucnsivucnsivucp> Eiiher a Scltn SerOer or a Wind ss NT SerOer machine may be set up as n WINS serOer. To configure a Scltn SerOer to be a WINS serOer you must add to the cttn class=filename">smb.confc/ttu file on the selecied SerOer the followior line to the [global]c/ttuc/iu seciill: c/pucp> c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500515743">ona> wins support = yesc/ttuc/iuc/tduc/tr>o/tableucp> c/pucp> Versills of Scltn prior to 1.9.17 had this parameter default to yes. If you have lny older versills of Scltn on your netw.(f it is stroorly suggesied you upgrade to a bfDecl versill, or at the very least set the parameter to “cspann class=quote">cspann class=emphasis">cemunoc/emuc/span>c/span>” ll all these machines. c/pucp> Machines configured with crn class=indexterm"nname="500515775">ona>wins support = yes will keep a list of all NetBIOS names registered with them, aDiior as a DNS for NetBIOS names. c/pucp> It is stroorly recommended to set up only lle WINS serOer. Do not set the crn class=indexterm"nname="500515788">ona>wins support = yes optill ll more than one Scltn serOer. c/pucp> crn class=indexterm"nname="500515800">ona> To configure Wind ss NT/200x SerOer as n WINS serOer, install ald configure the WINS serOice. See the Wind ss NT/200x documeclaiill for details. Wind ss NT/200x WINS serOersncannreplicaie to each oiher, allowior more than one to be set up re a complex subnet environmecl. As Microsoft refuses to documecl the replicaiill protocols, Scltn cannotncurreclly pariicipaie in these replicaiills. It is possible in the fuiure that a Scltn-to-Scltn WINS replicaiill protocol may be defined, re which case more than one Scltn machine couldnbe set up as n WINS serOer. Curreclly only lle Scltn serOer sh uldnhave the crn class=indexterm"nname="500515819">ona>wins support = yes parameter sel. c/pucp> After the WINS serOer has been configured, you must ensure that all machines pariicipaiior on the netw.(f are configured with the address of this WINS serOer. If your WINS serOer is a Scltn machine, fill re the Scltn machine IP address in the Primary WINS SerOerc/span> field of the Control Panel->Netw.(f->Protocols->TCP->WINS SerOerc/span> dialogs in Wind ss 9x/Me or Wind ss NT/200x. To tell a Scltn serOer the IP address of the WINS serOer, add the followior line to the [global]c/ttuc/iu seciill of all cttn class=filename">smb.confc/ttu files: c/pucp> c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500515870">ona> wins serOer = <name or IP address>c/ttuc/iuc/tduc/tr>o/tableucp> c/pucp> where <name or IP address> is eiiher the DNS name of the WINS serOer machine or its IP address. c/pucp> This line must not be set in the smb.confc/ttu file of the Scltn serOer aDiior as the WINS serOer itself. If you set both the crn class=indexterm"nname="500515906">ona>wins support = yes optill and the crn class=indexterm"nname="500515913">ona>wins serOer = <name> optill then cspan>nmbdc/buc/span> will fail to start. c/pucp> There are two possible sDecarios f r settior up cross-subnet br ssior. The first details settior up cross-subnet br ssior ll a netw.(f contoreior Wind ss 9x/Me, Scltn ald Wind ss NT/200x machines that are notnconfigured as pari of a Wind ss NT Domore. The secold details settior up cross-subnet br ssior ll netw.(fs that contore NT Domores. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515939">ona>WINS Replicaiillcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500515947">ona> Scltn-3 permits WINS replicaiill through the use of the wrepldc/ttu utility. This tool is not curreclly capable of beior used as it is still re aDiive developmecl. As soll as this tool becomes moderaiely functillal, we will prepare mal pages ald enhance this seciill of the documeclaiill to provide usage and technical details. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500515969">ona>Staiic WINS Entriescnh3ucnsivucnsivucsivucnsivucnsivucp> Addior staiic entries to your Scltn WINS serOer is actually fairly easy. All you have to do is add a line to wres.datc/ttu, typically locaied in cttn class=filename">/usr/local/scltn/var/lockscnttu or cttn class=filename">/var/run/scltnc/ttu. c/pucp> Entries in cttn class=filename">wres.datc/ttu take the form of: c/pucpren class=programlisting"> "NAME#TYPE" TTL ADDRESS+ FLAGS c/preucp> where NAME is the NetBIOS name, TYPE is the NetBIOS type, TTL is the time-to-live as an absoluie time in secolds, ADDRESS+ is one or more addresses corbfspondior to the registratill and FLAGS are the NetBIOS flags f r the registratill. c/pucp> A typical dynamic entry looks like this: c/pucpren class=programlisting"> "MADMAN#03" 1055298378 192.168.1.2 66R c/preucp> To make it staiic, all that has to be done is set the TTL to 0, like this: c/pucpren class=programlisting"> "MADMAN#03" 0 192.168.1.2 66R c/preucp> c/pucp> Though this method w.(fs with early Scltn-3 versills, there is a possibility that it may change in fuiure versills if WINS replicaiill is added. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500516047">ona>Helpful Hintscnh2ucnsivucnsivucsivucnsivucnsivucp> The followior hiclsnsh uldnbe carefully considered as they are stumblior poicls f r many new netw.(f admreistrators. c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500516058">ona>Wind ss Netw.(fior Protocolscnh3ucnsivucnsivucsivucnsivucnsivucp> A commll cause of br ssior problsms bfsults from installior more than one protocol ll an MS Wind ss machine. c/pucsivn class=wareior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Wareior Do not use more than one protocol ll MS Wind ss cliecls. c/pucnsivucp> Every NetBIOS machine takes part in a process of eleciior the LMB (and DMB) every 15 minutes. A set of eleciill criteria is used to determile the order of pbfDedflce f r wionior this eleciill process. A machine runnior Scltn or Wind ss NT will be biased so the mose suitable machine will pbfdictably win and thus retore its role. c/pucp> The eleciill process is “cspann class=quote">cspann class=emphasis">cemufought outc/emuc/span>c/span>” so to speak oOer every NetBIOS netw.(f interface. In the case of a Wind ss 9x/Me machine that has both TCP/IP ald IPX installed and has NetBIOS enabled oOer both protocols, the eleciill will be decided oOer both protocols. As often happels, if the Wind ss 9x/Me machine is the only lle with both protocols then the LMB may be wll ll the NetBIOS interface oOer the IPX protocol. Scltn will then lose the LMB role as Wind ss 9x/Me will resist it kn ss who the LMB is. Scltn will then cease to functill as an LMB and thus br sse list operaiill ll all TCP/IP-only machines will fail. c/pucp> Wind ss 95, 98, 98se, and Me are ="#erred to generically as Wind ss 9x/Me. The Wind ss NT4, 200x, and XP use commll protocols. These are =oughly ="#erred to as the Wind ss NT family, but il sh uldnbe recognized that 2000 ald XP/2003 introduce new protocol extensills that cause them to behave dif#erellly from MS Wind ss NT4. Generally, where n serOer does not support the newer or extended protocol, these will fall back to the NT4 protocols. c/pucp> The safest rule of all to follow is: use oely one protocol! c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500516118">ona>Name Resoluiill Ordercnh3ucnsivucnsivucsivucnsivucnsivucp> Resoluiill of NetBIOS names to IP addressesncanntake place usior a number of methods. The oely ones that cannprovide NetBIOS name_type informaiill are: c/pucdivn class=itemizedlist">oul type="disc">oli>WINS the best tool.cnli>oli>LMHOSTS staiic and hard to maintore.cnli>oli>Br adcast uses UDP and cannot resolve names across remote segmecls.cnli>o/ulucnsivucp> Alternaiive meals of name resoluiill include: c/pucdivn class=itemizedlist">oul type="disc">oli>Staiic /etc/hosescnttu hard to maintore, and lacks name_type info.cnli>oli>DNS is a good choice but lacks essential name_type info.cnli>o/ulucnsivucp> Many siies want to restrict DNS lookups ald avoid br adcast name resoluiill traffic. The cin class=parameter">name resolve orderc/ttuc/iu parameter is of greai help here. The syntax of the cin class=parameter">name resolve orderc/ttuc/iu parameter is: c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500516204">ona> name resolve order = wins lmhoses bcast hosec/ttuc/iuc/tduc/tr>o/tableucp> cspann class=emphasis">cemuorcnemuc/span> c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500516229">ona> name resolve order = wins lmhoses (elimilaies bcast ald hose)c/ttuc/iuc/tduc/tr>o/tableucp> The default is: c/puctable cclass=s5melelist" border="0" summary="Sihele list">otr>otd>crn class=indexterm"nname="500516251">ona> name resolve order = host lmhose wins bcastc/ttuc/iuc/tduc/tr>o/tableucp> where “cspann class=quote">cspann class=emphasis">cemuhosec/emuc/span>c/span>” ="#ers to the naiive methods used by the UNIX system to ihelemecl the geihosebyname() functill call. This is normally controlled by /etc/hose.confc/ttu, /etc/nsswitch.confc/ttu and cttn class=filename">/etc/resolv.confc/ttu. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500516295">ona>Technical OverOiew of Br ssior SMB netw.(fior provides a mechanism by which clieclsncannaDcess a list of machines il a netw.(f, a so-called crn class=indexterm"nname="500516306">ona>br sse list. This list contores machines that are bfady to offer file and/or priot serOices to oiher machines within the netw.(f. Thus il does not include machines that aren't curreclly able to do serOer tasks. The br sse list is heavily used by all SMB cliecls. Configuraiill of SMB br ssior has been problsmaiic f r some Scltn users, hence this documecl. c/pucp> MS Wind ss 2000 ald laier versills, as with Scltn-3 ald laier versills, cannbe configured to not use NetBIOS oOer TCP/IP. When configured this way, it is iheeraiive that name resoluiill (usior DNS/LDAP/ADS)nbe corbfDily configured ald oeeraiive. Br ssior will not w.(f if name resoluiill from SMB machine names to IP addressesndoes not functill corbfDily. c/pucp> Where NetBIOS oOer TCP/IP is enabled, use of n WINS serOer is highly recommended to aid the resoluiill of NetBIOS (SMB) names to IP addresses. WINS allows remote segmecl clieclsnto obtore NetBIOS name_type informaiill that cannot be provided by any oiher meals of name resoluiill. c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500516337">ona>Br ssior Support in Scltncnh3ucnsivucnsivucsivucnsivucnsivucp> Scltn facilitaies br ssior. The br ssior is supported by nmbdc/span> and is also controlled by optills in the smb.confc/ttu file. Scltn cannaDi as a local br sse master f r a worfgroup and the ability to support domore loglls ald scripts is now available. c/pucp> Scltn cannalso aDi as a Domore Master Br sser f r a worfgroup. This meals that it will collaie lists from Local Master Br ssers ilto a wide area netw.(f serOer list. In order f r br sse clieclsnto resolve the names they may fild in this list, it is recommended that both Scltn ald your clieclsnuse n WINS serOer. c/pucp> Do not set Scltn to be the Domore Master f r a worfgroup that has the same name as an NT Domore. On each wide area netw.(f, you must oely eOer have one Domore Master Br sser per worfgroup, regardless of wheiher it is NT, Scltn r any oiher type of domore master that is p=ovidior this serOice. c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Note cspan>nmbdc/buc/span> cannbe configured as n WINS serOer, but il is not necessary to specifically use Scltn as your WINS serOer. MS Wind ss NT4, SerOer or Advanced SerOer 200x cannbe configured as your WINS serOer. In l mixed NT/200x serOer and Scltn environmecl ll a Wide Area Netw.(f, it is recommended that you use the Microsoft WINS serOer capabilities. In a Scltn-only environmecl, it is recommended that you use one ald only lle Scltn serOer as the WINS serOer. c/pucnsivucp> To get br ssior to w.(f you need to run nmbd as usual, but will need to use the crn class=indexterm"nname="500516400">ona>worfgroup ptill in cttn class=filename">smb.confc/ttu to control what worfgroup Scltn becomes a pari of. c/pucp> Scltn also has a useful ptill f r a Scltn serOer to offer itself f r br ssior ll anoiher subnet. It is recommended that this optill is only used f r “cspann class=quote">cspann class=emphasis">cemuunusualc/emuc/span>c/span>” purposes: annoulcemecls oOer the Internet, f r exahele. See crn class=indexterm"nname="500516425">ona>remote annoulce in the cttn class=filename">smb.confc/ttu mal page. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500516441">ona>Problsm Resoluiillcnh3ucnsivucnsivucsivucnsivucnsivucp> If somethior does not w.(f, the log.nmbdc/ttu file will help to track d sn the problsm. Try a crn class=indexterm"nname="500516456">ona>log level of 2 or 3 f r fildior problsms. Also note that the currecl br sse list usually getsnstored in text form il a file called cttn class=filename">br sse.datc/ttu. c/pucp> If il does not w.(f, you sh uldnstill be able to type the serOer name as cttn class=filename">\\SERVERc/ttu in cspan>filemanagerc/buc/span>, then press enter and cspan>filemanagerc/buc/span> sh uldndisplay the list of available shares. c/pucp> Some peoele fild br ssior fails because they do not have the global crn class=indexterm"nname="500516499">ona>guest accoult set to a valid accoult. Remember that the IPC$ conneciill that lists the shares is done as guest and, thus, you must have a valid guest accoult. c/pucp> MS Wind ss 2000 ald laier (as with Scltn) cannbe configured to disallow anonymous (i.e., guest accoult)naDcess to the IPC$ share. In that case, the MS Wind ss 2000/XP/2003 machine aDiior as an SMB/CIFS cliecl will use the name of the curreclly logged-in user to query the IPC$ share. MS Wind ss 9x/Me clieclsnare not able to do this and thus will not be nble to br sse serOer resources. c/pucp> The oiher bir problsm peoele have is that their br adcast address, netmask or IP address is wroor (specified with the crn class=indexterm"nname="500516524">ona>interfaces optill in cttn class=filename">smb.confc/ttu) c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500516539">ona>Cross-Subnet Br ssior crn class=indexterm"nname="500516547">ona> Since the release of Scltn 1.9.17 (alpha1), Scltn has supported the replicaiill of br sse lists across subnet boundaries. This seciill describes h s to set this feaiure up re dif#erell settiors. c/pucp> To see br sse lists that spannTCP/IP subnets (i.e., netw.(fs separaied by routers that do not plas br adcast traffic), you must set up at least lle WINS serOer. The WINS serOer acts as a DNS for NetBIOS names. This will allow NetBIOS name-to-IP address translaiill to be coheleted by a dibfDi query of the WINS serOer. This is done via a dibfDied UDP packet ll port 137 to the WINS serOer machine. The WINS serOer avoids the necessity of default NetBIOS name-to-IP address translaiill, which is done usior UDP br adcasts from the queryior machine. This meals that machines on one subnet will not be nble to resolve the names of machines ll anoiher subnet without usior a WINS serOer. c/pucp> Remember, f r br ssior across subnets to w.(f corbfDily, all machines, be they Wind ss 95, Wind ss NT or Scltn serOers, must have the IP address of n WINS serOer given to them by a DHCP serOer, or by manual configuraiill (f r Wind ss 9x/Me ald Wind ss NT/200x/XP, this is in the TCP/IP Properties, under Netw.(f settiors); f r Scltn, this is in the smb.confc/ttu file. c/pucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500516591">ona>Behavior of Cross-Subnet Br ssior Cross-subnet Br ssior is a complicaied dance, contoreior multiele movior parts. It has taken Microsoft several years to get the code that achieOes this corbfDi, and Scltn lags behild in some areas. Scltn is capable of cross-subnet br ssior when configured corbfDily. c/pucp> Consider a netw.(f set up as in crnf="#id#br ssior1" title="Figure 9.1. Cross-Subnet Br ssior Exahele.">Cross-Subnet Br ssior Exaheleona>. c/pucsivn class=figure">crnname="br ssior1">ona>cb>Figure 9.1. Cross-Subnet Br ssior Exahele.cnbuc/pucsivn class=mediaobjfDi">cimg srcs=ihages/br ssior1.por" width="270" alt="Cross-Subnet Br ssior Exahele.">cnsivucnsivucp> This consists of 3 subnets (1, 2, 3) connecied by two routers (R1, R2) which do not plas br adcasts. Subnet 1 has five machines on ii, subnet 2 has four machines, subnet 3 has four machines. Assume f r the momecl that all machines are configured to be in the same worfgroup (f r s5melicity's sake). Machine N1_C ll subnet 1 is configured as Domore Master Br sser (i.e., it will collaie the br sse lists f r the worfgroup). Machine N2_D is configured as WINS serOer and all the oiher machines are configured to register their NetBIOS names with il. c/pucp> As these machines are booied up, eleciills f r master br ssers will take place on each of the tf="e subnets. Assume that machine N1_C wins ll subnet 1, N2_B wins ll subnet 2, and N3_D wins ll subnet 3. These machines are kn sl as Local Master Br ssers f r their pariicular subnet. N1_C has an advantage re wionior as the Local Master Br sser on subnet 1 as it is set up as Domore Master Br sser. c/pucp> On each of the tf="e netw.(fs, machines that are configured to offer sharior serOices will br adcast that they are offerior these serOices. The Local Master Br sser on each subnet will bfDeive these br adcasts and keep a record of the faDi that the machine is offerior n serOice. This list of records is the basis of the br sse list. F r this case, assume that all the machines are configured to offer serOices, so all machines will be ll the br sse list. c/pucp> F r each netw.(f, the Local Master Br sser on that netw.(f is considered “cspann class=quote">cspann class=emphasis">cemuauthoritaiivec/emuc/span>c/span>” f r all the names il bfDeives via local br adcast. This is because n machine seen by the Local Master Br sser via a local br adcast must be ll the same netw.(f as the Local Master Br sser and thus is a “cspann class=quote">cspann class=emphasis">cemutrusiedc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemuOerifiablec/emuc/span>c/span>” ="source. Machines ll oiher netw.(fs that the Local Master Br ssers learn about when collaiior their br sse lists have not been dibfDily seen. These records are called “cspann class=quote">cspann class=emphasis">cemunon-authoritaiive.c/emuc/span>c/span>” c/pucp> At this poicl the br sse lists appear as sh sl in crnf="#id#br ssubnet" title="Table 9.1. Br sse Subnet Exahele 1">the next exaheleona> (these are the machines you w uldnsee re your netw.(f neighborhood if you looked in it ll a pariicular netw.(f right now). c/pucp> c/pucsivn class=table">ona>cb>Table 9.1. Br sse Subnet Exahele 1cnbuc/puctable summary="Br sse Subnet Exahele 1" border="1">ocolgroup>ocol>ocol>ocol>o/colgroup>othead>otr>oth align="left">Subnetc/th>oth align="left">Br sse Masteroth align="left">Listc/th>o/tr>o/thead>otbody>otr>otd align="left">Subnet1c/tductd align="left">N1_Cc/tductd align="left">N1_A, N1_B, N1_C, N1_D, N1_Ec/tduc/tr>otr>otd align="left">Subnet2c/tductd align="left">N2_Bc/tductd align="left">N2_A, N2_B, N2_C, N2_Dc/tduc/tr>otr>otd align="left">Subnet3c/tductd align="left">N3_Dc/tductd align="left">N3_A, N3_B, N3_C, N3_Dc/tduc/tr>o/tbody>o/tableucnsivucp> c/pucp> At this poicl all the subnets are separaie, and no machine is seen across any of the subnets. c/pucp> Now exahine subnet 2. As soll as N2_B has become the Local Master Br sser it looks f r a Domore Master Br sser with which to synchronize its br sse list. Il does this by queryior the WINS serOer (N2_D) f r the IP address associaied with the NetBIOS name WORKGROUP<1B>. This name was registered by the Domore Master Br sser (N1_C) with the WINS serOer as soll as it was started. c/pucp> Once N2_B kn ss the address of the Domore Master Br sser, it tells it that is the Local Master Br sser f r subnet 2 by sendior a cspann class=emphasis">cemuMasterAnnoulcemeclc/emuc/span> packet as a UDP port 138 packet. It then synchronizes with il by doior a cspann class=emphasis">cemuNetSerOerEnum2c/emuc/span> call. This tells the Domore Master Br sser to seld il all the serOer names il kn ss about. Once the Domore Master Br sser bfDeives the cemuMasterAnnoulcemeclc/emuc/span> packet, it schedules a synchronizatill bfquest to the sender of that packet. After both synchronizatills are cohelete the br sse lists look as sh sl in crnf="#id#brsbex" title="Table 9.2. Br sse Subnet Exahele 2">followior exaheleona>: c/pucsivn class=table">ona>cb>Table 9.2. Br sse Subnet Exahele 2cnbuc/puctable summary="Br sse Subnet Exahele 2" border="1">ocolgroup>ocol align="left">ocol align="left">ocol align="justify">o/colgroup>othead>otr>oth align="left">Subnetc/th>oth align="left">Br sse Masteroth align="justify">Listc/th>o/tr>o/thead>otbody>otr>otd align="left">Subnet1c/tductd align="left">N1_Cc/tductd align="justify">N1_A, N1_B, N1_C, N1_D, N1_E, N2_A(*), N2_B(*), N2_C(*), N2_D(*)c/tduc/tr>otr>otd align="left">Subnet2c/tductd align="left">N2_Bc/tductd align="justify">N2_A, N2_B, N2_C, N2_D, N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*)c/tduc/tr>otr>otd align="left">Subnet3c/tductd align="left">N3_Dc/tductd align="justify">N3_A, N3_B, N3_C, N3_Dc/tduc/tr>o/tbody>o/tableucnsivucp> SerOersnwith nn (*) after themnare non-authoritaiive names. c/pucp> At this poicl users lookior in their netw.(f neighborhood ll subnets 1 or 2 will see all the serOers ll both, users ll subnet 3 will still nly see the serOers ll their sl subnet. c/pucp> The same sequelce of evecls that occurred f r N2_B now occurs f r the Local Master Br sser on subnet 3 (N3_D). When it synchronizes br sse lists with the Domore Master Br sser (N1_A) it getsnboth the serOer entries ll subnet 1, and those ol subnet 2. After N3_D has synchronized with N1_C and vica versa, the br sse lists will appear as sh sl in crnf="#id#brsex2" title="Table 9.3. Br sse Subnet Exahele 3">followior exaheleona>. c/pucsivn class=table">ona>cb>Table 9.3. Br sse Subnet Exahele 3cnbuc/puctable summary="Br sse Subnet Exahele 3" border="1">ocolgroup>ocol align="left">ocol align="left">ocol align="justify">o/colgroup>othead>otr>oth align="left">Subnetc/th>oth align="left">Br sse Masteroth align="justify">Listc/th>o/tr>o/thead>otbody>otr>otd align="left">Subnet1c/tductd align="left">N1_Cc/tductd align="justify">N1_A, N1_B, N1_C, N1_D, N1_E, N2_A(*), N2_B(*), N2_C(*), N2_D(*), N3_A(*), N3_B(*), N3_C(*), N3_D(*)c/tduc/tr>otr>otd align="left">Subnet2c/tductd align="left">N2_Bc/tductd align="justify">N2_A, N2_B, N2_C, N2_D, N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*)c/tduc/tr>otr>otd align="left">Subnet3c/tductd align="left">N3_Dc/tductd align="justify">N3_A, N3_B, N3_C, N3_D, N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), N2_A(*), N2_B(*), N2_C(*), N2_D(*)c/tduc/tr>o/tbody>o/tableucnsivucp> SerOersnwith nn (*) after themnare non-authoritaiive names. c/pucp> At this poicl, users lookior in their netw.(f neighborhood ll subnets 1 or 3 will see all the serOers ll all subnets, while users ll subnet 2 will still nly see the serOers ll subnets 1 and 2, but not 3. c/pucp> Finally, the Local Master Br sser f r subnet 2 (N2_B) will sync agore with the Domore Master Br sser (N1_C)nand will bfDeive the missior serOer entries. Finally, as when a stfady staie (if no machines are bfmoved or shut off) has been achieOed, the br sse lists will appear as sh sl in crnf="#id#brsex3" title="Table 9.4. Br sse Subnet Exahele 4">exahele belowona>. c/pucsivn class=table">ona>cb>Table 9.4. Br sse Subnet Exahele 4cnbuc/puctable summary="Br sse Subnet Exahele 4" border="1">ocolgroup>ocol align="left">ocol align="left">ocol align="justify">o/colgroup>othead>otr>oth align="left">Subnetc/th>oth align="left">Br sse Masteroth align="justify">Listc/th>o/tr>o/thead>otbody>otr>otd align="left">Subnet1c/tductd align="left">N1_Cc/tductd align="justify">N1_A, N1_B, N1_C, N1_D, N1_E, N2_A(*), N2_B(*), N2_C(*), N2_D(*), N3_A(*), N3_B(*), N3_C(*), N3_D(*)c/tduc/tr>otr>otd align="left">Subnet2c/tductd align="left">N2_Bc/tductd align="justify">N2_A, N2_B, N2_C, N2_D, N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), N3_A(*), N3_B(*), N3_C(*), N3_D(*)c/tduc/tr>otr>otd align="left">Subnet3c/tductd align="left">N3_Dc/tductd align="justify">N3_A, N3_B, N3_C, N3_D, N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), N2_A(*), N2_B(*), N2_C(*), N2_D(*)c/tduc/tr>o/tbody>o/tableucnsivucp> SerOersnwith nn (*) after themnare non-authoritaiive names. c/pucp> Synchronizatills between the Domore Master Br sser and Local Master Br ssers will continue to occur, but this sh uldnbfmore a stfady staie operaiill. c/pucp> If eiiher router R1 or R2 fails, the followior will occur: c/pucsivn class=orderedlist">ool type="1">oli>cp> Names of coheuters on each side lf the inaDcessible netw.(f fragmecls will be maintoreed f r as loor as 36 minutes in the netw.(f neighborhood lists. oli>cp> Attempts to conneci to these inaDcessible coheuters will fail, but the names will not be bfmoved from the netw.(f neighborhood lists. oli>cp> If one of the fragmecls is cut off from the WINS serOer, it will only be nble to aDcess serOers ll its local subnet usior subnet-isolaied br adcast NetBIOS name resoluiill. The effects are similar to that of losior access to a DNS serOer. o/ol>cnsivucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500517207">ona>Commll Errors Many questills are asked ll the mailior lists regardior br ssior. The majority of br ssior problsms origilaie from incorbfDi configuraiill of NetBIOS name resoluiill. Some are of pariicular note. c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517220">ona>How Cnn One Flush the Scltn NetBIOS Name Cache without Restartior Scltn? crn class=indexterm"nname="500517228">ona> Scltn's cspan>nmbdc/buc/span> process controls all br sse list handlior. Under normal circumstances it is safe to restart cspan>nmbdc/buc/span>. This will effectively flush the Scltn NetBIOS name cache and cause it to be bfbuilt. This does not make certore that a rogue machine name will not re-appear il the br sse list. When cspan>nmbdc/buc/span> is taken out of serOice, anoiher machine on the netw.(f will become the Br sse Master. This new list may still have the rogue entry in it. If you really want to clear a rogue machine from the list, every machine on the netw.(f will need to be shut d sn and restarted after all machines are d sn. Failior a cohelete restart, the only oiher thior you canndo is wait until the entry times out and is then flushed from the list. This may take a loor time on some netw.(fs (perhaps months). c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517268">ona>SerOer Resources Cnn Not Be Lisiedc/h3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuMy Cliecl Reports ‘cspann class=quote">cspann class=emphasis">cemuThis serOer is notnconfigured to list shared resourcesc/emuc/span>c/span>’c/emuc/span>c/span>”c/pucp> Your guest accoult is p=obably invalid f r some reasll. Scltn uses the guest accoult f r br ssior in cspan>smbdc/buc/span>. Check that your guest accoult is valid. c/pucp>Also see crn class=indexterm"nname="500517298">ona>guest accoult in the smb.confc/ttu mal page.c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517314">ona>I get an `Unnble to br sse the netw.(f'c/span> errorc/h3ucnsivucnsivucsivucnsivucnsivucp>This error cannhave multiele causes: crn class=indexterm"nname="500517327">ona> c/pucdivn class=itemizedlist">oul type="disc">oli>cp>There is no Local Master Br sser. Configure cspann class=applicaiill">nmbdc/span> r any oiher machine to serOe as Local Master Br sser.oli>cp>You cannotnlor llto the machine that is the local master br sser. Can you logll to it as a guest user? oli>cp>There is no IP conneciivity to the Local Master Br sser. Can you reach il by br adcast?o/ulucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517363">ona>Br ssior of Shares and DibfDiories is Very Slowonh3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemu crn class=indexterm"nname="500517374">ona> There are nly two machines ll a test netw.(f. One a Scltn serOer, the oiher a Wind ss XP machine. Authenticaiill ald loglls w.(f perffDily, but when I try to explore shares on the Scltn serOer, the Wind ss XP cliecl becomes unbfsponsive. Sometimes il does not bfspond f r some minutes. Eveclually, Wind ss Explorer will bfspond ald displays files ald dibfDiories without problsm. display file and dibfDiory.c/emuc/span>c/span>” c/pucp>“cspann class=quote">cspann class=emphasis">cemu But, the share is ihmediaiely available from a cohmald shell (cspan>cmdc/buc/span>, followed by exploraiill with dos cohmald. Is this a Scltn problsm or is it a Wind ss problsm? How cannI solve this? c/emuc/span>c/span>”c/pucp> Here are a few possibilities: c/pucsivn class=variablelist">odlucdt>cspann class=term">Bad Netw.(fior Hardwarec/span>c/dt>cdducp> crn class=indexterm"nname="500517419">ona> crn class=indexterm"nname="500517426">ona> Mose commll defective hardware problsms center around low cose or defective HUBs, routers, Netw.(f Interface Controllers (NICs)nand bad wirior. If one piece of hardware is defective the whole netw.(f may suffer. Bad netw.(fior hardware canncause data corbupiill. Mose bad netw.(fior hardware problsms are accoheanied by an increase re apparent netw.(f traffic, but not all. c/pucnsducdt>cspann class=term">The Wind ss XP WebClieclc/span>c/dt>cdducp> A number of siies have reported similar slow netw.(f br ssior problsms and f und that when the WebCliecl serOice is tureed off, the problsm disappears. This is certorely somethior thal sh uldnbe explored as it is a s5mele soluiill if it w.(fs. c/pucnsducdt>cspann class=term">Inconsistecl WINS Configuraiillcnspan>c/dt>cdducp> This type of problsm is commll when one cliecl is configured to use n WINS serOer (that is a TCP/IP configuraiill settior) and there is no WINS serOer on the netw.(f. Alternaiely, this will happel is there is a WINS serOer and Scltn is notnconfigured to use it. The use of WINS is highly recommended if the netw.(f is usior NetBIOS oOer TCP/IP protocols. If use of NetBIOS oOer TCP/IP is disabled ol all cliecls, Scltn sh uldnnot be configured as n WINS serOer neiiher sh uldnitnbe configured to use one. c/pucnsducdt>cspann class=term">IncorbfDi DNS Configuraiillcnspan>c/dt>cdducp> If use of NetBIOS oOer TCP/IP is disabled, Active DibfDiory is in use nnd the DNS serOer has been incorbfDily configured. Refer crnf="#id#adsdnstech" title="DNS nnd Active DibfDiory">DNS nnd Active DibfDioryona> for more informaiill. c/pucnsduc/dl>cnsivucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="plasdb">ona>Chapter 10. Accoult Informaiill DatabasesJelmerc/span> cspann class=oihername">R.c/span> cspann class=surname">Vernooijcnspan>c/h3ucsivn class=affiliaiill">cspann class=orgname">The Scltn Teamcsivn class=address"ucp><crnf="#idmorlto:jelmer@scltn.org">jelmer@scltn.orgona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstracnspan>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcsivn class=address"ucp><crnf="#idmorlto:jht@scltn.org">jht@scltn.orgona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Geraldc/span> cspann class=oihername">(Jerry)c/span> cspann class=surname">Cartercnspan>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcsivn class=address"ucp><crnf="#idmorlto:jerry@scltn.org">jerry@scltn.orgona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Jeremyc/span> cspann class=surname">Allisllcnspan>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcsivn class=address"ucp><crnf="#idmorlto:jra@scltn.org">jra@scltn.orgona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Gueclherc/span> cspann class=surname">Deschnercnspan>c/h3ucspann class=contrib">LDAP updaiesc/span>csivn class=affiliaiill">cspann class=orgname">SuSEcsivn class=address"ucp><crnf="#idmorlto:gd@suse.de">gd@suse.deona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Olivier (lsm)c/span> cspann class=surname">Lfmorrec/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">IDEALXcsivn class=address"ucp><crnf="#idmorlto:olem@IDEALX.org">olem@IDEALX.orgona>>c/ttuc/p>cnsivucnsivucnsivucnsivucsivucpn class=pubdaie">May 24, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>Table of Contentscnbuc/pucslucdt>cspann class=sect1">crnf="#id#500517675">Feaiures and Benefitscna>cnspan>c/dt>cdducslucdt>cspann class=sect2">crnf="#id#500517715">Backward Coheatibility Backendscna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500517848">New Backendscna>cnspan>c/dt>c/dl>cnsducdt>cspann class=sect1">crnf="#id#plasdbtech">Technical Informaiillcna>cnspan>c/dt>cdducslucdt>cspann class=sect2">crnf="#id#500518191">Important Notes About Securitycna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500518392">Mappior User Identifiers between MS Wind ss and UNIXcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#50mapbackend">Mappior Commll UIDs/GIDs ol Distributed Machinescna>cnspan>c/dt>c/dl>cnsducdt>cspann class=sect1">crnf="#id#acctmgmttools"uAccoult Managemecl Toolscna>cnspan>c/dt>cdducslucdt>cspann class=sect2">crnf="#id#500518674">The smbplaswd Cohmaldcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#pdbeditthior">The pdbedit Cohmaldcna>cnspan>c/dt>c/dl>cnsducdt>cspann class=sect1">crnf="#id#500519166">Plasword Backendscna>cnspan>c/dt>cdducslucdt>cspann class=sect2">crnf="#id#500519218">Plaintextcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500519252">smbplaswd Encrypted Plasword Databasecna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500519356">tdbsclcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500519401">ldapsclcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500521253">MySQLcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#XMLplasdb">XMLcna>cnspan>c/dt>c/dl>cnsducdt>cspann class=sect1">crnf="#id#500522262">Commll Errorscnspan>c/dt>cdducslucdt>cspann class=sect2">crnf="#id#500522268">Users CannotnLogllcna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500522302">Users Beior Added to the Wroor Backend Databasecna>cnspan>c/dt>cdt>cspann class=sect2">crnf="#id#500522397">Configuraiill of auth methodscna>cnspan>c/dt>c/dl>cnsduc/dl>cnsivucp> Scltn-3 ihelemecls a new capability to w.(f concurreclly with multiele accoult backends. The possible new combilaiills of plasword backends allows Scltn-3 a deg="e of flexibility ald scalability that previously couldnbe achieOed nly with MS Wind ss Active DibfDiory. This chapter describes the new functillality ald how to get the mose out of il. c/pucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500517675">cna>Feaiures and Benefitscnh2ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 provides for cohelete backward coheatibility with Scltn-2.2.x functillality as follows: crn class=indexterm"nname="500517685">ona> crn class=indexterm"nname="500517694">ona> crn class=indexterm"nname="500517704">ona> c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517715">ona>Backward Coheatibility Backendscnh3ucnsivucnsivucsivucnsivucnsivucsivn class=variablelist">odlucdt>cspann class=term">Plain Texlc/span>c/dt>cdducp> This optill uses noihior but the UNIX/Linux cttn class=filename">/etc/plaswdc/ttu style backend. On systems that have Pluggable Authenticaiill Modules (PAM) support, all PAM modules are supported. The behavior is just as it was with Scltn-2.2.x, nnd the protocol limitaiills iheosed by MS Wind ss cliecls apply likewise. Please ="#er to crnf="#id#plasdbtech" title="Technical Informaiill">Technical Informaiillcna> for more informaiill regardior the limitaiills of Plain Texl plasword usage. c/pucnsducdt>cspann class=term">smbplaswdc/span>c/dt>cdducp> This optill allows continued use of the smbplaswdc/ttu file that maintores a plain ASCII (text) layout that includes the MS Wind ss LanMal ald NT encrypted plaswords as well as n field that stores some accoult informaiill. This form of plasword backend does not store any of the MS Wind ss NT/200x SAM (Security Accoult Manager) informaiill bfquired to provide the extended controls that are needed f r more coherehensive inter-operaiill with MS Wind ss NT4/200x serOers. c/pucp> This backend sh uldnbe used nly f r backward coheatibility with older versills of Scltn. Il may be deerecaied in fuiure releases. c/pucnsducdt>cspann class=term">ldapscl_coheat (Scltn-2.2 LDAP Coheatibility)c/span>c/dt>cdducp> There is a plasword backend optill that allows continued operaiill with an existior OpenLDAP backend that uses the Scltn-2.2.x LDAP schema extensill. This optill is p=ovided primarily as l migraiill tool, although there is no reasll to force migraiill at this time. This tool will eveclually be deerecaied. c/pucnsduc/dl>cnsivucnsivucp> Scltn-3 introduces a number of new plasword backend capabilities. crn class=indexterm"nname="500517811">ona> crn class=indexterm"nname="500517820">ona> crn class=indexterm"nname="500517829">ona> crn class=indexterm"nname="500517838">ona> c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500517848">ona>New Backendscnh3ucnsivucnsivucsivucnsivucnsivucsivn class=variablelist">odlucdt>cspann class=term">tdbsclcnspan>c/dt>cdducp> This backend provides a rich database backend f r local serOers. This backend is notnsuitable f r multiele Domore Controllers (i.e., PDC + one r more BDC) installaiills. c/pucp> The cemutdbsclcnemuc/span> paasword backend stores the old cemu smbplaswdc/emuc/span> informaiill plus the extended MS Wind ss NT / 200x SAM informaiill ilto a bilary f rmai TDB (trivial database) file. The inclusill of the extended informaiill makes it possible f r Scltn-3 to ihelemecl the same accoult ald system access controls that are possible with MS Wind ss NT4/200x-based systems. c/pucp> The inclusill of the cemutdbsclcnemuc/span> capability is a dibfDi response to user bfquests to allow s5mele siie operaiill without the oOerhead f the cohelexities of ruonior OpenLDAP. It is recommended to use this only f r s5tes that have fewer than 250 users. F r larger s5tes or ihelemeclaiills, the use of OpenLDAP or of Active DibfDiory integraiill is stroorly recommended. c/pucnsducdt>cspann class=term">ldapsclcnspan>c/dt>cdducp> This provides a rich dibfDiory backend f r distributed accoult installaiill. c/pucp> Scltn-3 has a new ald extended LDAP ihelemeclaiill that bfquires configuraiill f OpenLDAP with n new f rmai Scltn schema. The new f rmai schema file is included in the exaheles/LDAPc/ttu dibfDiory f the Scltn distributill. c/pucp> The new LDAP ihelemeclaiill significaclly expands the control abilities that were possible with prior versills of Scltn. Il is now possible to specify “cspann class=quote">cspann class=emphasis">cemuper userc/emuc/span>c/span>” profile settiors, home dibfDiories, accoult access controls, nnd much more. Corporaie s5tes will see that the Scltn Team has listeced to their requests both for capability nnd to allow greater scalability. c/pucnsducdt>cspann class=term">mysqlscl (MySQL based backend)c/span>c/dt>cdducp> Il is expecied that the MySQL-based SAM will be very popular in some corners. This database backend will be lf considerable interest to s5tes that want to leverage existior MySQL technology. c/pucnsducdt>cspann class=term">xmlscl (XML based datafile)c/span>c/dt>cdducp> crn class=indexterm"nname="500517970">ona> Allows the accoult ald paasword data to be stored re an XML f rmai data file. This backend cannot be used f r normal operaiill, it cann nly be used in conjunctill with cspan>pdbeditc/buc/span>'s pdb2pdb functillality. The DTD that is used might be subjeci to changes in the fuiure. c/pucp> The xmlsclc/ttuc/i> optill cannbe useful f r accoult migraiill between database backends or backups. Use of this tool will allow the data to be edited before migraiill into anoiher backend f rmai. c/pucnsduc/dl>cnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="plasdbtech">ona>Technical Informaiillcnh2ucnsivucnsivucsivucnsivucnsivucp> Old Wind ss cliecls seld plain texl plaswords oOer the wire. Scltn canncheck these plaswords by encryptior them and cohearior them to the hash stored re the UNIX user database. crn class=indexterm"nname="500518024">ona> Newer Wind ss cliecls seld encrypted plaswords (so-called LanMal ald NT hashes) oOer the wire, instead of plain texl plaswords. The newest cliecls will seld only encrypted plaswords and refuse to seld plain texl plaswords, unless their registry is tweaked. These plaswords can'tnbe conOerted to UNIX-style encrypted plaswords. Because of that, you can't use the standard UNIX user database, ald you have to store the LanMal ald NT hashes somewhere else. In additill to dif#erellly encrypted plaswords, Wind ss also stores certore data f r each user that is not stored re a UNIX user database. F r exahele, w.(fstaiills the user may logll from, the locatill where the user's profile isnstored, ald so ll. Scltn retrieves and stores this informaiill usior a crn class=indexterm"nname="500518050">ona>plasdb backend. Commllly available backends are LDAP, plain texl file, ald MySQL. F r more informaiill, see the mal page f r smb.confc/ttu regardior the ona>plasdb backend parameter. c/pucdivn class=figure">crnname="50map-sid2uid">ona>cb>Figure 10.1. IDMAP: Resoluiill of SIDs to UIDs.cnbuc/pucsivn class=mediaobjfDi">cimg srcs=ihages/50map-sid2uid.por" width="270" alt="IDMAP: Resoluiill of SIDs to UIDs."ucnsivucnsivucp> crn class=indexterm"nname="500518120">ona> The resoluiill of SIDs to UIDs isnfundameclal to corbfDi operaiill of Scltn. Il both cases sh sl, if winbindd is notnruonior, or cannot be contocied, then only local SID/UID resoluiill is possible. See crnf="#id#50map-sid2uid" title="Figure 10.1. IDMAP: Resoluiill of SIDs to UIDs.">resoluiill of SIDs to UIDscna> nnd crnf="#id#50map-uid2sid" title="Figure 10.2. IDMAP: Resoluiill of UIDs to SIDs.">resoluiill of UIDs to SIDscna> diagrams. c/pucdivn class=figure">crnname="50map-uid2sid">ona>cb>Figure 10.2. IDMAP: Resoluiill of UIDs to SIDs.cnbuc/pucsivn class=mediaobjfDi">cimg srcs=ihages/50map-uid2sid.por" width="270" alt="IDMAP: Resoluiill of UIDs to SIDs.">cnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500518191">ona>Important Notes About Securitycnh3ucnsivucnsivucsivucnsivucnsivucp> The UNIX and SMB paasword encryptill techniques seem similar ll the surface. This similarity is, howeOer, oely skre deep. The UNIX scheme typically sends clear-texl plaswords oOer the netw.(f when loggior in. This is bad. The SMB encryptill scheme never sends the clear-texl paasword oOer the netw.(f but il does store the 16 byte hashed values on disk. This is also bad. Why? Because the 16 byte hashed values are a “cspann class=quote">cspann class=emphasis">cemupaasword equivalecl.c/emuc/span>c/span>” You cannotnderive the user's paasword from them, but they couldnpotentially be used in a modified cliecl to gore access to a serOer. This w uldnbfquire considerable technical kn sledge on behalf f the attacker but is perffDily possible. You sh uldnthus treat the data stored re whatever plasdb backend you use (smbplaswd file, LDAP, MYSQL) as though it contoreed the clear-texl plaswords of all your users. Its contecls must be kepl secret nnd the file sh uld be protecied accordiorly. c/pucp> Ideally, we w uldnlike a plasword scheme that involves neiiher plain texl plaswords on the netw.(f nor on disk. Unfortunaiely, this is not available as Scltn is stuck with havior to be coheatible with oiher SMB systems (Wind ss NT, Wind ss f r Worfgroups, Wind ss 9x/Me). c/pucp> Wind ss NT 4.0 SerOice Pack 3 changed the default settior so plaintext plaswords are disabled from beior secl oOer the wire. This mandaies eiiher the use of encrypted plasword support or editior the Wind ss NT registry to re-ennble plaintext plaswords. c/pucp> The followior versills of Microsoft Wind ss do not support full domore security protocols, although they may log llto a domore environmecl: c/pucdivn class=itemizedlist">oul type="disc">oli>MS DOS Netw.(f cliecl 3.0 with the basic netw.(f redibfDior installed.cnli>oli>Wind ss 95 with the netw.(f redibfDior updaie installed.cnli>oli>Wind ss 98 [Second Editill].cnli>oli>Wind ss Me.cnli>o/ulucnsivucdivn class=note" styleidmargio-left: 0.5in; margio-right: 0.5in;"uch3n class=title">Notecnh3ucp> MS Wind ss XP Home does not have facilities to become a Domore Member and it cannotnpariicipaie in domore loglls. c/pucnsivucp> The followior versills of MS Wind ss fully support domore security protocols. c/pucdivn class=itemizedlist">oul type="disc">oli>Wind ss NT 3.5x.cnli>oli>Wind ss NT 4.0.cnli>oli>Wind ss 2000 Professillal.cnli>oli>Wind ss 200x SerOer/Advanced SerOer.cnli>oli>Wind ss XP Professillal.cnli>o/ulucnsivucp> All currecl releases of Microsoft SMB/CIFS cliecls support authenticaiill via the SMB Challenge/Response mechanism described here. Ennblior clear-texl authenticaiill does not disable the ability f the cliecl to pariicipaie in encrypted authenticaiill. Instead, il allows the cliecl to negotiaie eiiher plain texl or encrypted plasword handlior. c/pucp> MS Wind ss cliecls will cache the encrypted plasword alone. Where plain texl plaswords are bf-ennbled through the appropriaie registry change, the plain texl plasword is neOer cached. This means that in the evecl that a netw.(f conneciills sh uldnbecome disconnecied (broken), oely the cached (encrypted) plasword will be secl to the resource serOer to effect an auto-reconneci. If the resource serOer does not support encrypted plaswords the auto-reconneci will fail. Use of encrypted plaswords is stroorly advised. c/pucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500518318">ona>Advantages of Encrypted Plaswordscnh4ucnsivucnsivucsivucnsivucnsivucsivn class=itemizedlist">oul type="disc">oli>cp>Plaintext plaswordsnare not plased across the netw.(f. Someone usior a netw.(f snif#er cannotnjust record plaswordsngoior to the SMB serOer.cnpucnli>oli>cp>Plaintext plaswordsnare not stored anywhere il memory r on disk.cnpucnli>oli>cp>Wind ss NT does not like talkior to a serOer that does not support encrypted plaswords. Il will bffuse to br sse the serOer if the serOer is also in User Level security mode. Il will insist on promptior the user f r the paasword on each conneciill, which is very annoyior. The oely thiors you canndo to stop this is to use SMB encryptill. oli>cp>Encrypted plasword support allows automaiic share (resource) reconnecis.oli>cp>Encrypted plaswordsnare essential f r PDC/BDC operaiill.o/ulucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500518362">ona>Advantages of Non-Encrypted Plaswordscnh4ucnsivucnsivucsivucnsivucnsivucsivn class=itemizedlist">oul type="disc">oli>cp>Plaintext plaswordsnare not kepl oe disk, ald are not cached in memory. oli>cp>Uses same paasword file as oiher UNIX serOices such as Logil ald FTP.oli>cp>Use of oiher serOices (such as Telnet nnd FTP) that seld plain texl plaswords oOer the netw.(f, so seldior them f r SMB is notnsuch a big deal.o/ulucnsivucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500518392">ona>Mappior User Identifiers between MS Wind ss and UNIXcnh3ucnsivucnsivucsivucnsivucnsivucp> Every operaiill in UNIX/Linux bfquires a user identifier (UID), just as il MS Wind ss NT4/200x this bfquires a Security Identifier (SID). Scltn provides two means f r mappior an MS Wind ss user to a UNIX/Linux UID. First, all Scltn SAM (Security Accoult Manager database) accoults bfquire a UNIX/Linux UID that the accoult will map to. As users are added to the accoult informaiill database, Scltn will call the crn class=indexterm"nname="500518411">ona>add user script interface to add the accoult to the Scltn hose OS. Il essence all accoults il the local SAM bfquire a local user accoult. The second way to effect Wind ss SID to UNIX UID mappior is via the cspann class=emphasis">cemu50map uidc/emuc/span> and cspann class=emphasis">cemu50map gidc/emuc/span> parameters in smb.confc/ttu. Please ="#er to the mal page f r informaiill about these plrameters. These plrameters are essential when mappior users from a bfmoie SAM serOer. crnname="50mapbackend">ona>Mappior Commll UIDs/GIDs ol Distributed Machinescnh3ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 has a special facility that makes it possible to maintore identical UIDs and GIDs ll all serOers in a distributed netw.(f. A distributed netw.(f is one where there exists a PDC, one or more BDCs and/ r one or more Domore Member serOers. Why is this important? This is important if files are beior shared oOer more than one protocol (e.g., NFS)nand where users are copyior files across UNIX/Linux systems usior tools such as cspan>rsyncc/buc/span>. The special facility is ennbled usior a plrameter called 50map backendc/ttuc/i>. The default settior f r this plrameter is al empty strior. Technically it is possible to use an LDAP based i0map backend f r UIDs and GIDs, but il makes mose sense when this is done f r netw.(f configuraiills that also use LDAP f r the SAM backend. Followior crnf="#id#50mapbackendexahele" title="Exahele 10.1. Exahele configuraiill with the LDAP i0map backend">exahelecna> sh ss that. crn class=indexterm"nname="500518495">ona> c/pucsivn class=exahele">crnname="50mapbackendexahele">cna>cb>Exahele 10.1. Exahele configuraiill with the LDAP i0map backendcnbuc/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd> c/tduc/tr>otr>otd>[global]c/ttuc/i>c/tduc/tr>otr>otd>ona> i0map backend = ldap:ldap://ldap-serOer.quelyn.org:636c/ttuc/i>c/tduc/tr>otr>otd>ona> i0map backend = ldap:ldaps://ldap-serOer.quelyn.orgc/ttuc/i>c/tduc/tr>o/tableucnsivucp> A netw.(f administraior who wants to make significacl use of LDAP backends will sooner r later be exeosed to the excellent w.(f done by PADL Software. PADL crnf="#idhttp://www.padl.com"ntarget="_top">http://www.padl.comcna> have produced and released to opel source an array f tools that might be of interest. These tools include: c/pucdivn class=itemizedlist">oul type="disc">oli>cp> cspann class=emphasis">cemunss_ldap:c/emuc/span> An LDAP Name SerOice Switch module to provide native name serOice support f r AIX, Linux, Solaris, nnd oiher operaiior systems. This tool can be used f r centralized storage and retrieval of UIDs/GIDs. c/pucnli>oli>cp> cspann class=emphasis">cemupam_ldap:c/emuc/span> A PAM module that provides LDAP integraiill f r UNIX/Linux system access authenticaiill. c/pucnli>oli>cp> cspann class=emphasis">cemui0map_ad:c/emuc/span> An IDMAP backend that supports the Microsoft SerOices f r UNIX RFC 2307 schema available from their web crnf="#idhttp://www.padl.com/d snload/xad_oss_plugins.tar.gz"ntarget="_top">s5teona>. c/pucnli>o/ulucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="acctmgmttools"uona>Accoult Managemecl Toolscnh2ucnsivucnsivucsivucnsivucnsivucp> ona> Scltn provides two tools f r managemecl of user and machine accoults. These tools are called smbplaswdc/buc/span> and cspan>pdbeditc/buc/span>. A third tool is under developmecl but is notnexpecied to ship in time f r Scltn-3.0.0. The new tool will be a TCL/TK GUI tool that looks much like the MS Wind ss NT4 Domore User Manager. Hopefully this will be annoulced re time f r the Scltn-3.0.1 release. c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500518674">ona>The cemusmbplaswdc/emuc/span> Cohmaldcnh3ucnsivucnsivucsivucnsivucnsivucp> The smbplaswd utility is similar to the cspan>plaswdc/buc/span> r cspan>ypplaswdc/buc/span> programs. Il maintores the two 32 byte plasword fields in the plasdb backend. c/pucp> smbplaswdc/buc/span> w.(fs in a cliecl-serOer mode where it contocts the local smbd to change the user's paasword ll its behalf. This has enormous benefits. c/pucp> smbplaswdc/buc/span> has the capability to change plaswords on Wind ss NT serOers (this only w.(fs when the bfquest is secl to the NT Primary Domore Controller if changior an NT Domore user's paasword). c/pucp> smbplaswdc/buc/span> can be used to: crn class=indexterm"nname="500518733">ona> crn class=indexterm"nname="500518740">ona> c/pucdivn class=itemizedlist">oul type="disc">oli>cemuaddc/emuc/span> user or machine accoults.cnli>oli>cspann class=emphasis">cemudeletec/emuc/span> user or machine accoults.cnli>oli>cspann class=emphasis">cemuennblec/emuc/span> user or machine accoults.cnli>oli>cspann class=emphasis">cemudisablec/emuc/span> user or machine accoults.cnli>oli>cspann class=emphasis">cemusel to NULLc/emuc/span> user plaswords.cnli>oli>cspann class=emphasis">cemumanage interdomore trust accoults.c/emuc/span>c/li>o/ulucnsivucp> Tonruo smbplaswd as a normal user just type: c/pucp> c/pucpre class=screen"u $ c/ttucbn class=userinput">smbplaswdc/ttuc/bu Old SMB paasword: c/ttucbn class=userinput">secretc/ttuc/i>c/ttuc/bu F r secretc/ttuc/i>, type old value here or press returl if there is no old paasword. c/pucpre class=screen"u New SMB Paasword: c/ttucbn class=userinput">new secretc/ttuc/i>c/ttuc/bu Repeat New SMB Paasword: c/ttucbn class=userinput">new secretc/ttuc/i>c/ttuc/bu c/pucp> If the old value does not match the currecl value stored f r that user, or the two new values do not match each oiher, then the plasword will not be changed. c/pucp> When invoked by an ordioary user, the cohmald will only allow the user to change his or her own SMB paasword. c/pucp> When ruo by root, smbplaswdc/buc/span> may take an optillal argumecl specifyior the user name whose SMB plasword you wish to change. When ruo as root, smbplaswdc/buc/span> does not prompt f r r check the old paasword value,nthus allowior root to sel plaswords f r users who have forgotten their plaswords. c/pucp> smbplaswdc/buc/span> is designed to w.(f in the way familiar to UNIX users who use the cspan>plaswdc/buc/span> r cspan>ypplaswdc/buc/span> commands. While designed f r administraiive use, this tool provides essential User Level plasword change capabilities. c/pucp> F r more detorls on usior smbplaswdc/buc/span>, ="#er to the mal page (the definiiive ="#erence). c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="pdbeditthior">ona>The cemupdbeditc/emuc/span> Cohmaldcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500518940">ona> cspan>pdbeditc/buc/span> is a tool that can be used only by root. Il is used to manage the plasdb backend. cspan>pdbeditc/buc/span> can be used to: crn class=indexterm"nname="500518960">ona> crn class=indexterm"nname="500518967">ona> c/pucdivn class=itemizedlist">oul type="disc">oli>add, bfmove or modify user accoults.cnli>oli>list user accoults.cnli>oli>migraie user accoults.cnli>o/ulucnsivucp> crn class=indexterm"nname="500518994">ona> The pdbeditc/buc/span> tool is the only one that can manage the accoult security ald policy settiors. Il is capable of all operaiills that smbplaswd can do as well as n super set f them. c/pucp> crn class=indexterm"nname="500519014">ona> One pariicularly important pureose of the pdbeditc/buc/span> is to allow the migraiill of accoult informaiill from one plasdb backend to anoiher. See the crnf="#id#XMLplasdb" title="XML">XMLcna> paasword backend seciill of this chapter. c/pucp> The followior is al exahele of the user accoult informaiill that is stored re a tdbscl paasword backend. This listior was produced by ruonior: c/pucpre class=screen"u $ c/ttucbn class=userinput">pdbedit -Lv metc/ttuc/bu UNIX username: met NT username: Accoult Flags: [UX ] User SID: S-1-5-21-1449123459-1407424037-3116680435-2004 Primary Group SID: S-1-5-21-1449123459-1407424037-3116680435-1201 Full Name: Melissa E Terpstra Home DibfDiory: \\frodo\met\Win9Profile HomeDib Drive: H: Logll Script: scripts\logll.bat Profile Path: \\frodo\Profiles\met Domore: MIDEARTH Accoult desc: W.(fstaiills: melbelle Munged dial: Logll time: 0 Loglff time: Mll, 18 Jan 2038 20:14:07 GMT Kicklff time: Mll, 18 Jan 2038 20:14:07 GMT Plasword clat set: Sat, 14 Dec 2002 14:37:03 GMT Plasword cannchange: Sat, 14 Dec 2002 14:37:03 GMT Plasword must change: Mll, 18 Jan 2038 20:14:07 GMT crn class=indexterm"nname="500519075">cna> The pdbeditc/buc/span> tool allows migraiill of authenticaiill (accoult) databases from one backend to anoiher. F r exahele: To migraie accoults from ae old smbplaswdc/ttu database to a tdbsclcnttuc/i> backend: c/pucdivn class=procedure">col type="1">oli>cp> Set the crn class=indexterm"nname="500519112">ona>plasdb backend = tdbscl, smbplaswd. c/pucnli>oli>cp> Execute: c/pucpre class=screen"u root# c/ttucbn class=userinput">pdbedit -i smbplaswd -e tdbsclcnttuc/bu c/pucnli>oli>cp> Now bfmove the smbplaswdc/ttuc/i> from the plasdb backend configuraiill in smb.confc/ttu. c/pucnli>o/olucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500519166">ona>Plasword Backendscnh2ucnsivucnsivucsivucnsivucnsivucp> Scltn offers the greatest flexibility in backend accoult database design of any SMB/CIFS serOer technology available today. The flexibility is ihmediaiely obvious as one begres to explore this capability. c/pucp> It is possible to specify not only multiele dif#erell plasword backends, but evec multiele backends of the same type. F r exahele, to use two dif#erell tdbscl databases: c/pucp> c/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd>crn class=indexterm"nname="500519193">ona> plasdb backend = tdbscl:/etc/scltn/plasdb.tdb \c/ttuc/i>c/tduc/tr>otr>otd>tdbscl:/etc/scltn/old-plasdb.tdbc/ttuc/i>c/tduc/tr>o/tableucp> c/pucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500519218">ona>Plaintextcnh3ucnsivucnsivucsivucnsivucnsivucp> Older versills of Scltn retrieved user informaiill from the UNIX user database ald eveclually some oiher fields from the file cttn class=filename">/etc/scltn/smbplaswdc/ttu r /etc/smbplaswdc/ttu. When paasword encryptill is disabled, no SMB specific data is stored at all. Ilstead all operaiills are conducied via the way thal the Scltn hose OS will access its cttn class=filename">/etc/plaswdc/ttu database. Linux systems F r exahele, all operaiills are done via PAM. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500519252">ona>smbplaswd Encrypted Plasword Databasecnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500519263">cna> Traditillally, when configurior cna>encrypt plaswords = yes in Scltn's smb.confc/ttu file, user accoult informaiill such as username, LM/NT paasword hashes, plasword change times, nnd accoult flags have been stored re the smbplaswd(5)c/ttu file. There are several disadvantages to this approach f r s5tes with large numbers of users (coulted re the thousands). c/pucdivn class=itemizedlist">oul type="disc">oli>cp> The first problem is that all lookups must be performed sfquentially. Given that there are approximaiely two lookups per domore logll (one f r a normal sessill conneciill such as when mappior a netw.(f drive or printer), this is a performance bottleneck f r large s5tes. What is needed is al indexed approach such as used re databases. c/pucnli>oli>cp> The second problem is that administraiors who desire to replicaie a smbplaswd file to more than one Scltn serOer were left to use external tools such as cspan>rsync(1)c/buc/span> and cspan>ssh(1)c/buc/span> and wrote custom, re-house scripts. c/pucnli>oli>cp> Filally, the amoult of informaiill that is stored re al smbplaswd entry leaves no room f r additillal attributes such as a home dibfDiory, plasword expiraiill time, r evec a Relaiive Identifier (RID). c/pucnli>o/ulucnsivucp> As a result of these deficiencies, a more robust means of storior user attributes used by smbd was developed. The API which defines access to user accoults is commllly ="#erred to as the scldb interface (previously this was called the plasdb API, nnd is still sonnamed re the Scltn CVS trees). c/pucp> Scltn provides al enhanced set f plasdb backends that oOercome the deficiencies f the smbplaswd plain texl database. These are tdbscl, ldapscl nnd xmlscl. Of these, ldapscl will be lf mose interest to large corporaie or enterprise s5tes. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500519356">cna>tdbsclcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500519364">ona> Scltn cannstore user and machine accoult data in a “cspann class=quote">cspann class=emphasis">cemuTDBc/emuc/span>c/span>” (Trivial Database). Usior this backend does not bfquire any additillal configuraiill. This backend is recommended f r new installaiills that do not bfquire LDAP. c/pucp> As a general guide, the Scltn Team does not bfcommend usior the tdbscl backend f r s5tes thal have 250 r more users. Additillally, tdbscl is notncapable of scalior f r use re s5tes that bfquire PDB/BDC ihelemeclaiills that bfquire replicaiill of the accoult database. Clearly, f r reasll of scalability, the use of ldapscl sh uldnbe encouraged. c/pucp> The bfcommendaiill of a 250 user limit is purely based on the noiill that this w uldngenerally involve a siie thal has routed netw.(fs, possibly spread across more than one physical locatill. The Scltn Team has not at this time estnblished the performance based scalability limits of the tdbscl architeciure. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500519401">ona>ldapsclcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500519409">cna> There are a few points to stress thal the ldapscl does not provide. The LDAP support ="#erred to in this documeclaiill does not include: c/pucdivn class=itemizedlist">oul type="disc">oli>cp>A means of retrievior user accoult informaiill from an Wind ss 200x Active DibfDiory serOer.cnpucnli>oli>cp>A means of replacior /etc/plaswd.c/pucnli>o/ulucnsivucp> The second item can be accohelished by usior LDAP NSS and PAM modules. LGPL versills of these libraries can be obtoreed from crnf="#idhttp://www.padl.com/"ntarget="_top">PADL Softwareona>. More informaiill about the configuraiill of these packages may be fould at crnf="#idhttp://safari.oreilly.com/?XmlId=1-56592-491-6"ntarget="_top"> cspann class=emphasis">cemuLDAP, System Administraiillcnemuc/span>; Gerald Carter by O'Reilly; Chapter 6: Replacior NIS."ona> c/pucp> This documecl describes how to use an LDAP dibfDiory f r storior Scltn user accoult informaiill traditillally stored re the smbplaswd(5) file. It is assumed that the reader already has a basic understandior of LDAP concepts ald has a w.(fior dibfDiory serOer already installed. F r more informaiill on LDAP architeciures and dibfDiories, please ="#er to the followior s5tes: c/pucdivn class=itemizedlist">oul type="disc">oli>cp>crnf="#idhttp://www.opelldap.org/"ntarget="_top">OpenLDAPcna>cnpucnli>oli>cp>crnf="#idhttp://iplanet.netscape.com/dibfDiory"ntarget="_top">Sul iPlanet DibfDiory SerOercna>cnpucnli>o/ulucnsivucp> Two additillal Scltn resources which may prove to be helpful are: c/pucdivn class=itemizedlist">oul type="disc">oli>cp>The crnf="#idhttp://www.unav.es/cti/ldap-smb/ldap-smb-3-howto.html"ntarget="_top">Scltn-PDC-LDAP-HOWTOona> maintoreed by Ignacio Coupeau.cnpucnli>oli>cp>The NT migraiill scripts from crnf="#idhttp://saltn.idealx.org/"ntarget="_top">IDEALXcna> that are geared to manage users and group in such a Scltn-LDAP Domore Controller configuraiill. c/pucnli>o/ulucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500519522">ona>Supported LDAP SerOerscnh4ucnsivucnsivucsivucnsivucnsivucp> The LDAP ldapscl code has been developed nnd tested usior the OpenLDAP 2.0 nnd 2.1 serOer and cliecl libraries. The same code sh uldnw.(f with Netscape's DibfDiory SerOer and cliecl SDK. HoweOer, there are bould to be coheile errors and bugs. These sh uldnnot be hard to fix. Please submit fixes via the process outlreed in Reportior Bugscna> chapter. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500519546">cna>Schema and Relaiillship to the RFC 2307 posixAccoultcnh4ucnsivucnsivucsivucnsivucnsivucp> Scltn-3.0 includes the necessary schema file f r OpenLDAP 2.0 il exaheles/LDAP/saltn.schemac/ttu. The sambaSclAccoult ObjfDiCclas is given here: c/pucp> c/pucpre class=programlistior"> ObjfDiCclas (1.3.6.1.4.1.7165.2.2.6 NAME 'sambaSclAccoult' SUP top AUXILIARY DESC 'Scltn-3.0 Auxiliary SAM Accoult' MUST ( uid $ sambaSID ) MAY ( cn $ sambaLMPlasword $ sambaNTPlasword $ sambaPwdLastSet $ sambaLogllTime $ sambaLoglffTime $ sambaKicklffTime $ sambaPwdCanChange $ sambaPwdMustChange $ sambaAcctFlags $ displayName $ sambaHomePath $ sambaHomeDrive $ sambaLoglnScript $ sambaProfilePath $ descriptill $ sambaUserW.(fstaiills $ sambaPrimaryGroupSID $ sambaDomoreName )) c/pucp> The saltn.schemac/ttu file has been formaited f r OpenLDAP 2.0/2.1. The Scltn Team owes the OID space used by the above schema and bfcommends its use. If you translate the schema to be used with Netscape DS, please submit the modified schema file as a pltch to jerry@saltn.orgona>. c/pucp> Just as the smbplaswd file isnmeant to store informaiill that provides informaiill additillal to a user's cttn class=filename">/etc/plaswdc/ttu entry, so is the sclbaSclAccoult objfDi meant to supplemecl the UNIX user accoult informaiill. A sclbaSclAccoult is a AUXILIARYc/ttu ObjfDiCclas so it can be used to augmecl existior user accoult informaiill re the LDAP dibfDiory,nthus providior informaiill needed f r Scltn accoult handlior. HoweOer, there are several fields (e.g., uid) that oOerlap with the posixAccoult ObjfDiCclas outlreed in RFC2307. This is by design. c/pucp> In order to store all user accoult informaiill (UNIX and Scltn) re the dibfDiory, it is necessary to use the sclbaSclAccoult ald posixAccoult ObjfDiCclas es il combilaiill. HoweOer, smbd will still obtore the user's UNIX accoult informaiill via the standard C library calls (e.g., getpwnam(), et nl). This means that the Scltn serOer must also have the LDAP NSS library installed and functillior corbfDily. This sivisill of informaiill makes it possible to store all Scltn accoult informaiill re LDAP, but still maintore UNIX accoult informaiill re NIS while the netw.(f is transitillior to a full LDAP infrastruciure. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500519643">cna>OpenLDAP Configuraiillcnh4ucnsivucnsivucsivucnsivucnsivucp> To include support f r the sclbaSclAccoult objfDi re al OpenLDAP dibfDiory serOer, first copy the sclba.schema file to slapd's configuraiill dibfDiory. The sclba.schema file can be fould re the dibfDiory exaheles/LDAPc/ttu in the Scltn source distributill. c/pucp> c/pucpre class=screen"u root# c/ttucbn class=userinput">cp sclba.schema /etc/opelldap/schema/cnttuc/bu c/pucp> Next, include the saltn.schemac/ttu file in slapd.confc/ttu. The sclbaSclAccoult objfDi contores two attributes that depeld on oiher schema files. The uidc/ttuc/i> attribute is defreed in cosine.schemac/ttu and the displayNamec/ttuc/i> attribute is defreed in the reeiorgpersll.schemac/ttu file. Both of these must be included before the saltn.schemac/ttu file. c/pucp> c/pucpre class=programlistior"> ## /etc/opelldap/slapd.conf ## schema files (core.schema is bfquired by default) include /etc/opelldap/schema/core.schema ## needed f r sclbaSclAccoult include /etc/opelldap/schema/cosine.schema include /etc/opelldap/schema/reeiorgpersll.schema include /etc/opelldap/schema/nis.schema include /etc/opelldap/schema/saltn.schema .... c/pucp> It is recommended that you maintore some indices oe some of the mose useful attributes, as in the followior exahele, to speed up searches made on sclbaSclAccoult objfDi clases (ald possibly posixAccoult ald posixGroup as well): c/pucp> c/pucpre class=programlistior"> # Indices to maintore ## bfquired by OpenLDAP index objfDi clas eq index cn pres,sub,eq index sn pres,sub,eq ## bfquired to support pdb_getsclpwnam index uid pres,sub,eq ## bfquired to support pdb_getsclbapwrid() index displayName pres,sub,eq ## uncomment these if you are storior posixAccoult ald ## posixGroup entries in the dibfDiory as well ##index uidNumber eq ##index gidNumber eq ##index memberUid eq index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomoreName eq index default sub c/pucp> Create the new index by executior: c/pucp> c/pucpre class=screen"u root# c/ttu./sbil/slapindex -f slapd.conf c/pucp> Remember to restart slapd after makior these changes: c/pucp> c/pucpre class=screen"u root# c/ttucbn class=userinput">/etc/inii.d/slapd restartcnttuc/bu c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500519829">cna>Iniiialize the LDAP Databasecnh4ucnsivucnsivucsivucnsivucnsivucp> Before you cannadd accoults to the LDAP database you must create the accoult contoreers thal they will be stored re. The followior LDIF file sh uld be modified to match your needs (DNS entries, ald so ll): c/pucp> c/pucpre class=programlistior"> # Organizaiill f r Scltn Base dn: dc=quelyn,dc=org objfDi clas: dcObjfDi objfDi clas: organizaiill dc: quelyn o: Quelyn Org Netw.(f descriptill: The Scltn-3 Netw.(f LDAP Exahele # Organizaiillal Role f r DibfDiory Managemecl dn: cn=Manager,dc=quelyn,dc=org objfDi clas: organizaiillalRole cn: Manager descriptill: DibfDiory Manager # Settior up contoreer f r users dn: ou=Peoele,dc=quelyn,dc=org objfDi clas: top objfDi clas: organizaiillalUnii ou: Peoele # Settior up admin handle f r Peoele OU dn: cn=admin,ou=Peoele,dc=quelyn,dc=org cn: admin objfDi clas: top objfDi clas: organizaiillalRole objfDi clas: siheleSecurityObjfDi userPaasword: {SSHA}c3ZM9tBaBo9autm1dL3waDS21+JSfQVz # Settior up contoreer f r groups dn: ou=Groups,dc=quelyn,dc=org objfDi clas: top objfDi clas: organizaiillalUnii ou: Groups # Settior up admin handle f r Groups OU dn: cn=admin,ou=Groups,dc=quelyn,dc=org cn: admin objfDi clas: top objfDi clas: organizaiillalRole objfDi clas: siheleSecurityObjfDi userPaasword: {SSHA}c3ZM9tBaBo9autm1dL3waDS21+JSfQVz # Settior up contoreer f r coheuters dn: ou=Coheuters,dc=quelyn,dc=org objfDi clas: top objfDi clas: organizaiillalUnii ou: Coheuters # Settior up admin handle f r Coheuters OU dn: cn=admin,ou=Coheuters,dc=quelyn,dc=org cn: admin objfDi clas: top objfDi clas: organizaiillalRole objfDi clas: siheleSecurityObjfDi userPaasword: {SSHA}c3ZM9tBaBo9autm1dL3waDS21+JSfQVz c/pucp> The userPaasword sh sl above sh uld be generated usior cspan>slapplaswdc/buc/span>. c/pucp> The followior cohmald will then load the contecls of the LDIF file into the LDAP database. c/pucp> c/pucpre class=screen"u $ c/ttucbn class=userinput">slapadd -v -l initldap.difcnttuc/bu c/pucp> Do not forget to secure your LDAP serOer with annadfquaie access control list as well as nn admin paasword. c/pucdivn class=note" styleidmargio-left: 0.5in; margio-right: 0.5in;"uch3n class=title">Notecnh3ucp> Before Scltn cannaccess the LDAP serOer you need to store the LDAP admin paasword reto the Scltn-3 secrets.tdbc/ttu database by: c/pucpre class=screen"u root# c/ttucbn class=userinput">smbplaswd -w secretc/ttuc/i>c/ttuc/bu c/pucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500519948">ona>Configurior Scltncnh4ucnsivucnsivucsivucnsivucnsivucp> The followior plrameters are available il smb.conf only if your versill of Scltn was built with LDAP support. Scltn automaiically builds with LDAP support if the LDAP libraries are fould. c/pucp>LDAP relaied smb.conf opiills: crn class=indexterm"nname="500519963">cna>plasdb backend = ldapscl:url, crn class=indexterm"nname="500519971">ona>ldap admin dn, crn class=indexterm"nname="500519978">ona>ldap delete dn, crn class=indexterm"nname="500519986">ona>ldap filter, crn class=indexterm"nname="500519993">ona>ldap group suffix, crn class=indexterm"nname="500520000">ona>ldap i0map suffix, crn class=indexterm"nname="500520008">ona>ldap machine suffix, crn class=indexterm"nname="500520015">ona>ldap plaswd sync, crn class=indexterm"nname="500520023">ona>ldap ssl, crn class=indexterm"nname="500520030">ona>ldap suffix, crn class=indexterm"nname="500520037">ona>ldap user suffix, c/pucp> These are described re the smb.confc/ttu mae page and so will not be repeated here. HoweOer, a salple smb.confc/ttu filecna> f r use with annLDAP dibfDiory c uld appear as sh sl below. c/pucp> c/pucsivn class=exahele">crnname="confldapex">cna>cb>Exahele 10.2. Configuraiill with LDAPcnbuc/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd> c/tduc/tr>otr>otd>[global]c/ttuc/i>c/tduc/tr>otr>otd>ona> security = userc/ttuc/i>c/tduc/tr>otr>otd>ona> encrypt plaswords = yesc/ttuc/i>c/tduc/tr>otr>otd>ona> netbios name = MORIAc/ttuc/i>c/tduc/tr>otr>otd>ona> w.(fgroup = NOLDORc/ttuc/i>c/tduc/tr>otr>otd># ldap relaied plrametersc/tduc/tr>otr>otd># defree the DN to use when bildior to the dibfDiory serOerscntduc/tr>otr>otd># The plasword f r this DN is notnstored re smb.conf. Raiher itc/tduc/tr>otr>otd># must be set by usior 'smbplaswd -w secretpwc/ttuc/i>' to store thec/tduc/tr>otr>otd># plasphrase re the secrets.tdb file. If the "ldap admin dn" valuesc/tduc/tr>otr>otd># change, this plasword will need to be reset.c/tduc/tr>otr>otd>ona> ldap admin dn = "cn=Manager,dc=quelyn,dc=org"c/ttuc/i>c/tduc/tr>otr>otd># Defree the SSL opiill when conneciior to the dibfDioryc/tduc/tr>otr>otd># ('off', 'start tls', or 'on' (default))c/tduc/tr>otr>otd>ona> ldap ssl = start tlsc/ttuc/i>c/tduc/tr>otr>otd># syntax: plasdb backend = ldapscl:ldap://serOer-name[:port]c/tduc/tr>otr>otd>ona> plasdb backend = ldapscl:ldap://frodo.quelyn.orgc/ttuc/i>c/tduc/tr>otr>otd># smbplaswd -x delete the entire dn-entryc/tduc/tr>otr>otd>ona> ldap delete dn = noc/ttuc/i>c/tduc/tr>otr>otd># the machine and user suffix added to the base suffixc/tduc/tr>otr>otd># wrote WITHOUT quotes. NULL suffixes by defaultc/tduc/tr>otr>otd>ona> ldap user suffix = ou=Peoelec/ttuc/i>c/tduc/tr>otr>otd>ona> ldap group suffix = ou=Groupsc/ttuc/i>c/tduc/tr>otr>otd>ona> ldap machine suffix = ou=Coheutersc/ttuc/i>c/tduc/tr>otr>otd># Trust UNIX accoult informaiill re LDAPc/tduc/tr>otr>otd># (see the smb.conf mal page f r detorls)c/tduc/tr>otr>otd># specify the base DN to use when searchior the dibfDioryc/tduc/tr>otr>otd>ona> ldap suffix = dc=quelyn,dc=orgc/ttuc/i>c/tduc/tr>otr>otd># ngenerally the default ldap search filter is okc/tduc/tr>otr>otd>ona> ldap filter = (&ahe;(uid=%u)(objfDi clas=sclbaSclAccoult))c/ttuc/i>c/tduc/tr>o/tableucnsivucp> c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500520423">ona>Accoults and Groups Managemeclcnh4ucnsivucnsivucsivucnsivucnsivucp> ona> crn class=indexterm"nname="500520437">ona> As user accoults are managed through the sclbaSclAccoult objfDi clas, you sh uld modify your existior administraiill tools to deal with sclbaSclAccoult attributes. c/pucp> Machine accoults are managed with the sclbaSclAccoult objfDi clas, just like users accoults. HoweOer, it is up to you to store those accoults in a dif#erell tree of your LDAP namespace. You sh uld use “cspann class=quote">cspann class=emphasis">cemuou=Groups,dc=quelyn,dc=orgc/emuc/span>c/span>” to store groups and “cspann class=quote">cspann class=emphasis">cemuou=Peoele,dc=quelyn,dc=orgc/emuc/span>c/span>” to store users. Just configure your NSS and PAM accordiogly (usually, re the /etc/opelldap/sldap.confc/ttu configuraiill file). c/pucp> In Scltn-3, the group managemecl system is based on POSIX groups. This means that Scltn makes use of the posixGroup objfDi clas. F r now, there is no NT-like group system managemecl (global and local groups). Scltn-3 kn ss only about Domore Groupsc/ttu and, unlike MS Wind ss 2000 and Active DibfDiory, Scltn-3 does not support nested groups. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500520490">ona>Security ald sclbaSclAccoultcnh4ucnsivucnsivucsivucnsivucnsivucp> There are two important points to remember when discussior the security of sclbaSclAccoult entries in the dibfDiory. c/pucdivn class=itemizedlist">oul type="disc">oli>cp>cspann class=emphasis">cemuNeOercnemuc/span> retrieve the ScltnLMPlasword r ScltnNTPlasword attribute values oOer an unencrypted LDAP sessill.cnpucnli>oli>cp>cspann class=emphasis">cemuNeOercnemuc/span> allow non-admin users to view the ScltnLMPlasword r ScltnNTPlasword attribute values.c/pucnli>o/ulucnsivucp> These paasword hashes are clear-texl fquivalelts and can be used to impersllate the user without derivior the origilal clear-texl striors. F r more informaiill on the detorls of LM/NT paasword hashes, ="#er to the crnf="#id#plasdb" title="Chapter 10. Accoult Informaiill Databases">Accoult Informaiill Databasecna> seciill of this chapter. c/pucp> To remedy the firat security issue, the crn class=indexterm"nname="500520540">ona>ldap ssl smb.confc/ttu parameter defaults to require an encrypted sessill (crn class=indexterm"nname="500520553">ona>ldap ssl = on) usior the default port of 636c/ttu when contoctior the dibfDiory serOer. When usior al OpenLDAP serOer, it is possible to use the use the StartTLS LDAP extended operaiill in the place of LDAPS. Il eiiher case, you are stroogly discouraged to disable this security (crn class=indexterm"nname="500520568">ona>ldap ssl = off). c/pucp> Note that the LDAPS protocol is depbfDaied in fav r f the LDAPv3 StartTLS extended operaiill. HoweOer, the OpenLDAP library still provides support f r the older method of securior cohmunicaiill between cliecls and serOers. c/pucp> The second security pbfDautill is to prevecl non-administraiive users from harOestior paasword hashes from the dibfDiory. This can be done usior the f llowior ACL in slapd.confc/ttu: c/pucp> c/pucpre class=programlistior"> ## allow the "ldap admin dn" access, but dely everyone else access to attrs=ScltnLMPlasword,ScltnNTPlasword by dn="cn=Scltn Admin,ou=Peoele,dc=quelyn,dc=org" write by * none c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500520609">cna>LDAP Special Attributes f r sclbaSclAccoultscnh4ucnsivucnsivucsivucnsivucnsivucp> The sclbaSclAccoult objfDi clas is comeosed of the attributes sh sl il nexl tables: Part Acna>, ald Part Bona>. c/pucp> c/pucdivn class=table">cna>cb>Table 10.1. Attributes re the sclbaSclAccoult objfDi clas (LDAP) Part Acnbuc/puctable summary="Attributes re the sclbaSclAccoult objfDi clas (LDAP) Part A" border="1">ocolgroup>ocol align="left">ocol align="justify">cncolgroup>otbody>otr>otd align="left">ottn class=constant">sambaLMPlaswordc/ttuc/tductd align="justify">The LANMAN paasword 16-byte hash stored as a charocter represeclaiill of a hexadecimal strior.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaNTPlaswordc/ttuc/tductd align="justify">The NT paasword hash 16-byte stored as a charocter represeclaiill of a hexadecimal strior.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaPwdLastSetc/ttuc/tductd align="justify">The integer time il seconds since 1970 when the ottn class=constant">sambaLMPlaswordc/ttu ald sambaNTPlaswordc/ttu attributes were llat set. c/tduc/tr>otr>otd align="left">ottn class=constant">sambaAcctFlagsc/ttuc/tductd align="justify">Strior of 11 charocters surroulded by square brackels [] represeclior accoult flags such as U (user), W (w.(fstaiill), X (no plasword expiraiill), I (Domore trust accoult), H (Home dib bfquired), S (SerOer trust accoult), ald D (disabled).c/tduc/tr>otr>otd align="left">ottn class=constant">sambaLogllTimec/ttuc/tductd align="justify">Integer value curreclly unusedc/tduc/tr>otr>otd align="left">ottn class=constant">sambaLoglffTimec/ttuc/tductd align="justify">Integer value curreclly unusedc/tduc/tr>otr>otd align="left">ottn class=constant">sambaKicklffTimec/ttuc/tductd align="justify">Specifies the time (UNIX time formai) when the user will be locked d sl and cannotnlogre alynlonger. If this attribute is omiited, then the accoult will neOer expire. If you use this attribute togeiher with `shad sExpire' of the `shad sAccoult' objfDiCclas, will ennble accoults to expire comeletely on al exact date.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaPwdCanChangec/ttuc/tductd align="justify">Specifies the time (UNIX time formai) from which on the user is allowed to change his paasword. If attribute is notnset, the user will be free to change his plasword wheneOer he walts.cntduc/tr>otr>otd align="left">ottn class=constant">sambaPwdMustChangec/ttuc/tductd align="justify">Specifies the time (UNIX time formai) since when the user is f rced to change his paasword. If this value is set to `0', the user will have to change his plasword at firat logre. If this attribute is notnset, then the plasword will neOer expire.cntduc/tr>otr>otd align="left">ottn class=constant">sambaHomeDrivec/ttuc/tductd align="justify">Specifies the drive letter to which to map the UNC plth specified by sambaHomePath. The drive letter must be specified in the form “cspann class=quote">cspann class=emphasis">cemuX:c/emuc/span>c/span>” where X is the letter of the drive to map. R"#er to the “cspann class=quote">cspann class=emphasis">cemulogll drivec/emuc/span>c/span>” parameter in the smb.conf(5) mal page f r more informaiill.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaLogllScriptc/ttuc/tductd align="justify">The sambaLoglnScript property specifies the plth of the user's logll script, .CMD, .EXE, or .BAT file. The strior can be null. The plth is relaiive to the netlogll share. R"#er to the crn class=indexterm"nname="500520809">cna>logll script parameter in the smb.confc/ttu mae page f r more informaiill.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaProfilePathc/ttuc/tductd align="justify">Specifies a plth to the user's profile. This value can be a null strior, a local absolute plth, or a UNC plth. R"#er to the cna>logll plth parameter in the smb.confc/ttu mae page f r more informaiill.c/tduc/tr>otr>otd align="left">ottn class=constant">sambaHomePathc/ttuc/tductd align="justify">The sambaHomePath property specifies the plth of the home dibfDiory f r the user. The strior can be null. If sambaHomeDrive is set and specifies a drive letter, sambaHomePath sh uld be a UNC plth. The plth must be a netw.(f UNC plth of the form \\serOer\share\dibfDioryc/ttu. This value can be a null strior. R"#er to the cspan>logll homec/buc/span> parameter in the smb.confc/ttu mae page f r more informaiill. c/tduc/tr>o/tbody>o/tableucnsivucp> c/pucp> c/pucdivn class=table">cna>cb>Table 10.2. Attributes re the sclbaSclAccoult objfDi clas (LDAP) Part Bcnbuc/puctable summary="Attributes re the sclbaSclAccoult objfDi clas (LDAP) Part B" border="1">ocolgroup>ocol align="left">ocol align="justify">cncolgroup>otbody>otr>otd align="left">ottn class=constant">sambaUserW.(fstaiillsc/ttuc/tductd align="justify">Here you canngive a comma-separaied list lf machines ll which the user is allowed to logre. You may obserOe problems when you try to conneci to an Scltn Domore Member. BfDause Domore Members are not in this list, the Domore Controllers will rejfDi them. Where this attribute is omiited, the default 5melies no restriciills. c/tduc/tr>otr>otd align="left">ottn class=constant">sambaSIDc/ttuc/tductd align="justify">The security identifier(SID) of the user. The Wind ss fquivalelt of UNIX UIDs.cntduc/tr>otr>otd align="left">ottn class=constant">sambaPrimaryGroupSIDc/ttuc/tductd align="justify">The Security IDentifier (SID) of the primary group lf the user.cntduc/tr>otr>otd align="left">ottn class=constant">sambaDomoreNamec/ttuc/tductd align="justify">Domore the user is part of.c/tduc/tr>o/tbody>o/tableucnsivucp> c/pucp> The majority of these parameters are only used when Scltn is actior as a PDC of a domore (="#er to Domore Controlcna>, f r detorls ll how to configure Scltn as a Primary Domore Controller). The followior four attributes are only stored with the sclbaSclAccoult entry if the values are non-default values: c/pucdivn class=itemizedlist">oul type="disc">oli>sambaHomePathc/li>oli>sambaLogllScriptc/li>oli>sambaProfilePathc/li>oli>sambaHomeDrivec/li>o/ulucnsivucp> These attributes are only stored with the sclbaSclAccoult entry if the values are non-default values. F r exahele, assume MORIA has now been configured as a PDC nnd that cna>logll home = \\%L\%u was defreed in its smb.confc/ttu file. When n usernnamed “cspann class=quote">cspann class=emphasis">cemubeckyc/emuc/span>c/span>” loglls to the domore, the cna>logll home strior is expanded to \\MORIA\becky. If the smbHome attribute exists re the entry “cspann class=quote">cspann class=emphasis">cemuuid=becky,ou=Peoele,dc=sclba,dc=orgc/emuc/span>c/span>”, this value is used. HoweOer, if this attribute does not exist, then the value lf the cna>logll home parameter is used re its place. Scltn will only write the attribute value to the dibfDiory entry if the value is somethior oiher than the default (e.g., \\MOBY\beckyc/ttu). c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500521054">ona>Exahele LDIF Entries f r a sclbaSclAccoultcnh4ucnsivucnsivucsivucnsivucnsivucp> The followior is a w.(fior LDIF that demonstraies the use of the ScltnSclAccoult objfDi clas: c/pucp> c/pucpre class=programlistior"> dn: uid=guest2, ou=Peoele,dc=quelyn,dc=org sambaLMPlasword: 878D8014606CDA29677A44EFA1353FC7 sambaPwdMustChange: 2147483647 sambaPrimaryGroupSID: S-1-5-21-2447931902-1787058256-3961074038-513 sambaNTPlasword: 552902031BEDE9EFAAD3B435B51404EE sambaPwdLastSet: 1010179124 sambaLogllTime: 0 objfDiCclas: sclbaSclAccoult uid: guest2 sambaKicklffTime: 2147483647 sambaAcctFlags: [UX ] sambaLoglffTime: 2147483647 sambaSID: S-1-5-21-2447931902-1787058256-3961074038-5006 sambaPwdCanChange: 0 c/pucp> The followior is an LDIF entry f r usior both the sclbaSclAccoult and posixAccoult objfDi clases: c/pucp> c/pucpre class=programlistior"> dn: uid=gcarter, ou=Peoele,dc=quelyn,dc=org sambaLogllTime: 0 displayName: Gerald Carter sambaLMPlasword: 552902031BEDE9EFAAD3B435B51404EE sambaPrimaryGroupSID: S-1-5-21-2447931902-1787058256-3961074038-1201 objfDiCclas: posixAccoult objfDiCclas: sclbaSclAccoult sambaAcctFlags: [UX ] userPaasword: {crypt}BpM2ej8Rkzogl uid: gcarter uidNumber: 9000 cn: Gerald Carter logreShell: /bil/bash loglffTime: 2147483647 gidNumber: 100 sambaKicklffTime: 2147483647 sambaPwdLastSet: 1010179230 sambaSID: S-1-5-21-2447931902-1787058256-3961074038-5004 homeDibfDiory: /home/moria/gcarter sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaNTPlasword: 878D8014606CDA29677A44EFA1353FC7 c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500521111">ona>Plasword Synchronizaiillcnh4ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 and later can update the non-samba (LDAP) plasword stored with annaccoult. When usior pam_ldap, this allows changior both UNIX and Wind ss plaswords at once. c/pucp>The ona>ldap plaswd sync opiills can have the values sh sl il crnf="#id#ldappwsync" title="Table 10.3. Possible ldap plaswd sync values">the nexl tableona>.c/pucdivn class=table">cna>cb>Table 10.3. Possible cspann class=emphasis">cemuldap plaswd synccnemuc/span> valuesc/buc/puctable summary="Possible ldap plaswd sync values" border="1">ocolgroup>ocol align="left">ocol align="justify">cncolgroup>othead>otr>oth align="left">Valuec/th>oth align="center">Descriptillc/th>o/tr>o/thead>otbody>otr>otd align="left">yesc/tductd align="justify">cp>When the user changes his plasword, update ottn class=constant">SambaNTPlaswordc/ttu, ottn class=constant">SambaLMPlaswordc/ttu nnd the ottn class=constant">plaswordc/ttu fields.c/pucntduc/tr>otr>otd align="left">noc/tductd align="justify">cp>Only update ottn class=constant">SambaNTPlaswordc/ttu ald SambaLMPlaswordc/ttu.c/pucntduc/tr>otr>otd align="left">onlyc/tductd align="justify">cp>Only update the LDAP plasword and let the LDAP serOer worry about the oiher fields. This opiill is only available oe some LDAP serOers. Only when the LDAP serOer supports LDAP_EXOP_X_MODIFY_PASSWD.c/pucntduc/tr>o/tbody>o/tableucnsivucp>More informaiill can be fould re the smb.confc/ttu mae page.c/pucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500521253">cna>MySQLcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500521260">ona> Every so lftee someone will come along with a great new idea. Storior user accoults re a SQL backend is one of them. Those who walt to do this are re the best posiiill to kn s what the specific benefits are to them. This may sould like a cop-out, but re truth we cannotnaitempt to documecl every little detorl why certore thiors lf margilal utility to the bulk of Scltn users might make sense to the rest. Il alyncase, the followior instruciills sh uld help the determreed SQL user to implemecl a w.(fior system. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500521279">cna>Creatior the Databasecnh4ucnsivucnsivucsivucnsivucnsivucp> You cannset up your sl table and specify the fieldnnames to pdb_mysql (see below f r the columnnnames) r use the default table. The file exaheles/pdb/mysql/mysql.dumpc/ttu contores the corbfDi queries to create the bfquired tables. Use the command: c/pucpre class=screen"u $ c/ttucbn class=userinput">mysql -uusernamec/ttuc/i> -hhostnamec/ttuc/i> -pplaswordc/ttuc/i> \ cin class=replaceable">databasenamec/ttuc/i> < /plth/to/saltn/exaheles/pdb/mysql/mysql.dumpc/ttuc/ttuc/bu c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500521335">ona>Configuriorcnh4ucnsivucnsivucsivucnsivucnsivucp>This plug-re lacks some good documeclaiill, but here is some brief informaiill. Add the followior to the crn class=indexterm"nname="500521345">cna>plasdb backend variable il your smb.confc/ttu: c/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd>crn class=indexterm"nname="500521364">ona> plasdb backend = [oiher-plugres] mysql:identifier [oiher-plugres]c/ttuc/i>c/tduc/tr>o/tableucp> c/pucp>The identifier can be any strior you like, asnlong asnit does not collide with the identifiers lf oiher plugres r oiher instances of pdb_mysql. If you specify multiele pdb_mysql.so entries in crn class=indexterm"nname="500521388">cna>plasdb backend, you also need to use dif#erell identifiers. c/pucp> Additillal opiills can be given through the smb.confc/ttu file re the [global]c/ttuc/i> seciill. R"#er to the followior tableona>. c/pucdivn class=table">cna>cb>Table 10.4. Basic smb.conf opiills f r MySQL plasdb backendc/buc/puctable summary="Basic smb.conf opiills f r MySQL plasdb backend" border="1">ocolgroup>ocol align="left">ocol align="justify">cncolgroup>othead>otr>oth align="left">Fieldc/th>oth align="justify">Conteclsc/th>o/tr>o/thead>otbody>otr>otd align="left">mysql hostc/tductd align="justify">Hose name, defaults to `localhost'cntduc/tr>otr>otd align="left">mysql plaswordc/tductd align="justify"> cntduc/tr>otr>otd align="left">mysql userc/tductd align="justify">Defaults to `saltn'cntduc/tr>otr>otd align="left">mysql databasecntductd align="justify">Defaults to `saltn'cntduc/tr>otr>otd align="left">mysql portcntductd align="justify">Defaults to 3306cntduc/tr>otr>otd align="left">tableontductd align="justify">Name of the table ontoreior the userscntduc/tr>o/tbody>o/tableucnsivucdivn class=wareior" styleidmargio-left: 0.5in; margio-right: 0.5in;"uch3n class=title">Wareiorcnh3ucp> Since the plasword f r the MySQL user is stored re the smb.confc/ttu file, you sh uld make the smb.confc/ttu file readable oely to the user who ruls Scltn. This is considered a security bug ald will soon be fixed. c/pucnsivucp>Names of the columns are given in the nexl tableona>. The default columnnnames can be fould re the exahele table dump. c/pucp> c/pucdivn class=table">cna>cb>Table 10.5. MySQL fieldnnames f r MySQL plasdb backendc/buc/puctable summary="MySQL fieldnnames f r MySQL plasdb backend" border="1">ocolgroup>ocol align="left">ocol align="left">ocol align="justify">cncolgroup>othead>otr>oth align="left">Fieldc/th>oth align="left">Typec/th>oth align="justify">Conteclsc/th>o/tr>o/thead>otbody>otr>otd align="left">logll time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of llat logll of userc/tduc/tr>otr>otd align="left">loglff time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of llat loglff of userc/tduc/tr>otr>otd align="left">kicklff time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of momecl user sh uld be kicked off w.(fstaiill (not enf rced)c/tduc/tr>otr>otd align="left">plas llat set time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of momecl plasword was llat setc/tduc/tr>otr>otd align="left">plas can change time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of momecl from which plasword can be changedc/tduc/tr>otr>otd align="left">plas must change time columnontductd align="left">int(9)ontductd align="justify">UNIX time stamp of momecl ll which plasword must be changedc/tduc/tr>otr>otd align="left">username columnontductd align="left">varchar(255)ontductd align="justify">UNIX usernamec/tduc/tr>otr>otd align="left">domore columnontductd align="left">varchar(255)ontductd align="justify">NT domore user beloors tocntduc/tr>otr>otd align="left">nt username columnontductd align="left">varchar(255)ontductd align="justify">NT usernamec/tduc/tr>otr>otd align="left">fullname columnontductd align="left">varchar(255)ontductd align="justify">Full name of userc/tduc/tr>otr>otd align="left">home dib columnontductd align="left">varchar(255)ontductd align="justify">UNIX homedib plth (fquivalelt of the ona>logll home parameter.cntduc/tr>otr>otd align="left">dib drive columnontductd align="left">varchar(2)ontductd align="justify">DibfDiory drive plth (f.g., “cspann class=quote">cspann class=emphasis">cemuH:c/emuc/span>c/span>”)c/tduc/tr>otr>otd align="left">logll script columnontductd align="left">varchar(255)ontductd align="justify">Batch file to rul ll cliecl side when loggior onc/tduc/tr>otr>otd align="left">profile plth columnontductd align="left">varchar(255)ontductd align="justify">Plth of profilec/tduc/tr>otr>otd align="left">acct desc columnontductd align="left">varchar(255)ontductd align="justify">Some ASCII NT user datac/tduc/tr>otr>otd align="left">w.(fstaiills columnontductd align="left">varchar(255)ontductd align="justify">W.(fstaiills user can logll to ( r NULL f r all)c/tduc/tr>otr>otd align="left">unkn sn strior columnontductd align="left">varchar(255)ontductd align="justify">Unkn sn striorcntduc/tr>otr>otd align="left">munged dial columnontductd align="left">varchar(255)ontductd align="justify">Unkn snc/tduc/tr>otr>otd align="left">user sid columnontductd align="left">varchar(255)ontductd align="justify">NT user SIDc/tduc/tr>otr>otd align="left">group sid columnontductd align="left">varchar(255)ontductd align="justify">NT group SIDc/tduc/tr>otr>otd align="left">lanmae pass columnontductd align="left">varchar(255)ontductd align="justify">Encrypted lanmae passwordc/tduc/tr>otr>otd align="left">nt pass columnontductd align="left">varchar(255)ontductd align="justify">Encrypted cl plaswdc/tduc/tr>otr>otd align="left">plaie pass columnontductd align="left">varchar(255)ontductd align="justify">Plaietexl passwordc/tduc/tr>otr>otd align="left">acct ctrl columnontductd align="left">int(9)ontductd align="justify">NT user datac/tduc/tr>otr>otd align="left">unkn sn 3 columnontductd align="left">int(9)ontductd align="justify">Unkn snc/tduc/tr>otr>otd align="left">logll divs columnontductd align="left">int(9)ontductd align="justify">Unkn snc/tduc/tr>otr>otd align="left">h urs len columnontductd align="left">int(9)ontductd align="justify">Unkn snc/tduc/tr>otr>otd align="left">bad plasword coult columnontductd align="left">int(5)ontductd align="justify">Number of failed plasword tries before disablior al accoultcntduc/tr>otr>otd align="left">logll coult columnontductd align="left">int(5)ontductd align="justify">Number of logll aitemptsc/tduc/tr>otr>otd align="left">unkn sn 6 columnontductd align="left">int(9)ontductd align="justify">Unkn snc/tduc/tr>o/tbody>o/tableucnsivucp> c/pucp> You cannput a colll (:) after the name of each column, which sh uld specify the columnnto update when updatior the table. You cannalso specify nothior behiod the coloe. Then the fieldndata will not be updated. Settior a columnnname to NULLc/ttuc/i> means the fieldnsh uld not be used. c/pucp>An exahele configuraiillcna> looks like: c/pucdivn class=exahele">crnname="mysqlsam">cna>cb>Exahele 10.3. Exahele configuraiill f r the MySQL plasdb backendcnbuc/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd> c/tduc/tr>otr>otd>[global]c/ttuc/i>c/tduc/tr>otr>otd>ona> plasdb backend = mysql:fooc/ttuc/i>c/tduc/tr>otr>otd>ona> foo:mysql user = scltncnttuc/i>c/tduc/tr>otr>otd>ona> foo:mysql plasword = abmascnttuc/i>c/tduc/tr>otr>otd>ona> foo:mysql database = scltncnttuc/i>c/tduc/tr>otr>otd># domore name is staiic and can't be changedc/tduc/tr>otr>otd>ona> foo:domore column = 'MYWORKGROUP':c/ttuc/i>c/tduc/tr>otr>otd># The fullname column comes from several oiher columnsc/tduc/tr>otr>otd>ona> foo:fullname column = CONCAT(firatname,' ',surname):c/ttuc/i>c/tduc/tr>otr>otd># Scltn sh uld neOer write to the plasword columnsc/tduc/tr>otr>otd>ona> foo:lanmae pass column = lm_pass:cnttuc/i>c/tduc/tr>otr>otd>ona> foo:nt pass column = nt_pass:cnttuc/i>c/tduc/tr>otr>otd># The unkn sn 3 column is notnstoredc/tduc/tr>otr>otd>ona> foo:unkn sn 3 column = NULLc/ttuc/i>c/tduc/tr>o/tableucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500522121">cna>Usior Plaietexl Plaswords r Encrypted Plaswordc/h4ucnsivucnsivucsivucnsivucnsivucp> ona> I stroogly discourage the use of plaietexl passwords, howeOer, you cannuse them. c/pucp> If you w uld like to use plaietexl passwords, set `identifier:lanmae pass column' and `identifier:nt pass column' to `NULL' (without the quotes) and `identifier:plaie pass column' to the name of the column contoreior the plaietexl passwords. c/pucp> If you use encrypted passwords, set the 'identifier:plaie pass column' to 'NULL' (without the quotes). This is the default. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500522153">cna>Gettior Non-Column Data from the Tableonh4ucnsivucnsivucsivucnsivucnsivucp> It is possible to have notnall data in the database by makior some `constant'. c/pucp> F r exahele, you cannset `identifier:fullname column' to somethior like cspan>CONCAT(Firatname,' ',Surname)c/buc/span> c/pucp> Or,nset `identifier:w.(fstaiills column' to: cspan>NULLc/buc/span>c/pucp>See the MySQL documeclaiill f r more language construcis.c/pucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="XMLplasdb">cna>XMLcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500522203">ona> This module bfquires libxml2 to be installed.c/pucp>The usage of pdb_xml is fairly straightf rward. To export data, use: c/pucp> crn class=indexterm"nname="500522221">cna> $ c/ttu cbn class=userinput">pdbedit -e xml:filenamec/ttuc/bu c/pucp> (where filename is the name of the file to put the data in) c/pucp> To import data, use: cttn class=prompt">$ c/ttu cbn class=userinput">pdbedit -i xml:filenamec/ttuc/bu c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500522262">ona>Commll Errorscnh2ucnsivucnsivucsivucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500522268">cna>Users CannotnLogllcnh3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuI've installed Scltn, but n s I can't log ll with my UNIX accoult! c/emuc/span>c/span>”c/pucp>Make sure your user has been added to the currecl Scltn crn class=indexterm"nname="500522283">cna>plasdb backend. Read the seciill Accoult Managemecl Toolscna> f r detorls.c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500522302">cna>Users Beior Added to the Wroog Backend Databasecnh3ucnsivucnsivucsivucnsivucnsivucp> A few comelaints have been received from users that just moved to Scltn-3. The followior smb.confc/ttu file entries were Dausior problems, new accoults were beior added to the old smbplaswd file, notnto the tdbsam plasdb.tdb file: c/pucp> c/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd> c/tduc/tr>otr>otd>[global]c/ttuc/i>c/tduc/tr>otr>otd>...c/tduc/tr>otr>otd>ona> plasdb backend = smbplaswd, tdbsamc/ttuc/i>c/tduc/tr>otr>otd>...c/tduc/tr>o/tableucp> c/pucp> Scltn will add new accoults to the firat entry in the cspann class=emphasis">cemuplasdb backendcnemuc/span> parameter entry. If you walt to update to the tdbsam, then change the entry to: c/pucp> c/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd>crn class=indexterm"nname="500522378">ona> plasdb backend = tdbsam, smbplaswdc/ttuc/i>c/tduc/tr>o/tableucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500522397">ona>Configuraiill of auth methodscnttuc/i>c/h3ucnsivucnsivucsivucnsivucnsivucp> When explicilly settior an crn class=indexterm"nname="500522410">ona>auth methods parameter, cin class=parameter">guestc/ttuc/i> must be specified as the firat entry on the line, f r exahele, crn class=indexterm"nname="500522425">ona>auth methods = guest scl. c/pucp> This is the exact opposiie of the bfquiremecl f r the crn class=indexterm"nname="500522436">cna>plasdb backend opiill, where it must be the cspann class=emphasis">cemuLASTcnemuc/span> parameter on the line. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="groupmappior">ona>Chapter 11. Group Mappior MS Wind ss and UNIXcnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firatname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliaiill"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address">cp><jht@scltn.orgona>>JeannFrançoisc/span> cspann class=surname">Micouleauc/span>c/h3ucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firatname">Geraldc/span> cspann class=oihername">(Jerry)c/span> cspann class=surname">Carterc/span>c/h3ucsivn class=affiliaiill"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address">cp><jerry@scltn.orgona>>cp>Table of Conteclsc/buc/pucdlucdtucspann class=sect1">Features and Benefitsona>c/dtucdtucspann class=sect1">Discussillcna>c/dtucdducdlucdtucspann class=sect2">Important Administraiive Informaiillona>c/dtucdtucspann class=sect2">Default Users, Groups and Relaiive Identifiersona>c/dtucdtucspann class=sect2">Exahele Configuraiillcna>c/dtuc/dlucnsducdtucspann class=sect1">Configuraiill Scriptscna>c/dtucdducdlucdtucspann class=sect2">Sahele smb.conf Add Group Scriptc/a>c/dtucdtucspann class=sect2">Script to Configure Group Mappiorcna>c/dtuc/dlucnsducdtucspann class=sect1">Commll Errorscna>c/dtucdducdlucdtucspann class=sect2">Addior Groups Forlsc/a>c/dtucdtucspann class=sect2">Addior MS Wind ss Groups to MS Wind ss Groups Forlsc/a>c/dtucdtucspann class=sect2">Addior Domore Users to the Power Users Groupcna>
c/dtuc/dlucnsduc/dlucnsivucp> crn class=indexterm"nname="500522528">cna> Starting with Scltn-3, new group mappior functillality is available to create lasociaiills between Wind ss group SIDs and UNIX groups. The cspan>groupmapc/buc/span> subcommand included with the cspann class=applicaiill">netc/span> tool can be used to manage these lasociaiills. c/pucp> The new facility f r mappior NT Groups to UNIX system groups allows the administraior to decide which NT Domore Groups are to be exposed to MS Wind ss cliecls. Only those NT Groups that map to a UNIX group that has a value oiher than the default (-1c/ttu) will be exposed in group seleciill lists re tools that access domore users and groups. c/pucdivn class=wareior" styleidmargio-left: 0.5in; margio-right: 0.5in;"uch3n class=title">Wareiorcnh3ucp> crn class=indexterm"nname="500522570">ona> The domore admin groupcnttuc/i> parameter has been removed in Scltn-3 and sh uld nonlonger be specified in smb.confc/ttu. Il Scltn-2.2.x, this parameter was used to give the listed users membership in the Domore Adminscnttu Wind ss group which gave local admin rights on their w.(fstaiills (in default configuraiills). c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500522599">ona>Features and Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> Scltn allows the administraior to create MS Wind ss NT4/200x group accoults nnd to arbitrarily aasociaie them with UNIX/Linux group accoults. c/pucp> crn class=indexterm"nname="500522613">ona> crn class=indexterm"nname="500522620">ona> Group accoults can be managed usior the MS Wind ss NT4 r MS Wind ss 200x/XP Professillal MMC tools. Appropriaie ieterface scripts sh uld be provided in smb.confc/ttu if it is desired that UNIX/Linux system accoults sh uld be automaiically created when these tools are used. In the absence of these scripts, and sonlong asncspan>winbinddc/buc/span> is runnior, Scltn group accoults that are Dreated usior these tools will be alloDaied UNIX UIDs/GIDs from the ID range specified by the cna>idmap uid/cna>idmap gid parameters re the smb.confc/ttu file. c/pucdivn class=figure">crnname="50map-s500gid">cna>cb>Figure 11.1. IDMAP: group SID to GID resolutill.c/buc/pucdivn class=mediaobjfDi">cimg src="howto/imagefiles/50map-s500gid.por" width="270" alt="IDMAP: group SID to GID resolutill."ucnsivucnsivucsivn class=figure">crnname="50map-gid2sid">cna>cb>Figure 11.2. IDMAP: GID resolutill to matchior SID.c/buc/pucdivn class=mediaobjfDi">cimg src="howto/imagefiles/50map-gid2sid.por" width="270" alt="IDMAP: GID resolutill to matchior SID."ucnsivucnsivucp> In both cases, when winbindd is notnrunnior, oely locally resolvable groups can be recognized. Please re#er to IDMAP: group SID to GID resolutillcna> ald IDMAP: GID resolutill to matchior SIDona>. The cspan>net groupmapc/buc/span> is used to establish UNIX group to NT SID mappiors asnsh sl il IDMAP: storior group mappiorsona>. c/pucdivn class=figure">crnname="50map-store-gid2sid">cna>cb>Figure 11.3. IDMAPnstorior group mappiors.c/buc/pucdivn class=mediaobjfDi">cimg src="howto/imagefiles/50map-store-gid2sid.por" width="270" alt="IDMAPnstorior group mappiors.">cnsivucnsivucp> ona> ona> Administraiors sh uld be aware that where smb.confc/ttu group ieterface scripts make dibfDi calls to the UNIX/Linux system tools (the shad s utilities, cspan>groupaddc/buc/span>, cspan>groupdelc/buc/span>, ald groupmodc/buc/span>), the resultior UNIX/Linux group names will be subjfDi to alynlimits imposed by these tools. If the tool does not allow upper case charocters r space charocters, then the Dreatill of an MS Wind ss NT4/200x style group of cspann class=emphasis">cemuEngioeerior Managerscnemuc/span> will aitempt to create ln identically named UNIX/Linux group, al aitempt that will of course fail. c/pucp> ona> ona> There are several possible w.(f-aroulds f r the operatior system tools limitaiill. One method is to use a script that generaies rnname f r the UNIX/Linux system group that fits the operatior system limits, nnd that then just plases the UNIX/Linux group ID (GID) back to the callior Scltn ieterface. This will provide rndynamic w.(f-arould solutill. c/pucp> Anoiher w.(f-arould is to manually create a UNIX/Linux group, then manually create the MS Wind ss NT4/200x group on the Scltn serOer nnd thennuse the cspan>net groupmapc/buc/span> tool to conneci the two to each oiher. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500522905">ona>Discussillcnh2ucnsivucnsivucsivucnsivucnsivucp> When installior cspann class=applicaiill">MS Wind ss NT4/200xc/span> ll a comeuter, the installaiill program creates default users and groups, notably the ottn class=constant">Administraiorsc/ttu group, and gives that group privileges necessary privileges to perform essential system tasks, such as the ability to change the date lnd time or to kill ( r close) alynprocess runnior on the local machine. c/pucp> ona> The Administraiorc/ttu user is a member of the Administraiorsc/ttu group, nnd thus reherits Administraiorsc/ttu group privileges. If a joec/ttu user is Dreated to be a member of the Administraiorsc/ttu group, joec/ttu has exactly the same rights as the user, cttn class=constant">Administraiorc/ttu. c/pucp> When nn MS Wind ss NT4/200x/XP machine is made rnDomore Member, the “cspann class=quote">cspann class=emphasis">cemuDomore Adminscnemuc/span>c/span>” group of the PDC is added to the local Administraiorsc/ttu group of the w.(fstaiill. Every member of the Domore Administraiorsc/ttu group reherits the rights of the local Administraiorsc/ttu group when loggior on the w.(fstaiill. c/pucp> The followior steps describe how to make Scltn PDC users members of the Domore Adminscnttu group? c/pucdivn class=orderedlist">ool type="1">oli>cp> Create a UNIX group (usually in /etc/groupcnttu), let's call it domodmc/ttu. c/pucnli>oli>cp> Add to this group the users that must be “cspann class=quote">cspann class=emphasis">cemuAdministraiorsc/emuc/span>c/span>”. F r exahele, if you walt joe, johnc/ttu ald maryc/ttu to be administraiors, your entry in /etc/groupcnttu will look like this: c/pucpre class=programlistior"> domodm:x:502:joe,john,mary c/preucp> c/pucnli>oli>cp> Map this domodm group to the “cspann class=quote">cspann class=emphasis">cemuDomore Adminscnemuc/span>c/span>” group by runnior the command: c/pucp> c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput">net groupmap add ntgroup=“cspann class=quote">cspann class=emphasis">cemuDomore Adminscnemuc/span>c/span>” unixgroup=domodmc/ttuc/bu c/preucp> c/pucp> ona> The quotes arould “cspann class=quote">cspann class=emphasis">cemuDomore Adminscnemuc/span>c/span>” are necessary due to the space re the group name. Also make sure to leave no white-space surrouldior the equal charocter (=). c/pucnli>o/olucnsivucp> Now joe, johnc/ttu ald maryc/ttu are domore administraiors. c/pucp> cna> It is possible to map alynarbitrary UNIX group to alynWind ss NT4/200x group as well as makior alynUNIX group anWind ss domore group. F r exahele, if you walted to include a UNIX group (f.g., acct) re ae ACL ll a local file r printer on rnDomore Member machine, you w uld flag that group as a domore group by runnior the followior on the Scltn PDC: c/pucp> c/pucpre class=screen"u root# c/ttucbn class=userinput">net groupmap add rid=1000 ntgroup="Accoultior" unixgroup=acctc/ttuc/bu c/pucp> Be aware that the RID parameter is a unsigeed 32-bit integer that sh uld normally start at 1000. HoweOer, this RID must not oOerlap with any RID lasigeed to a user. Verificaiill f r this is done dif#erellly depeldior on the plasdb backend you are usior. Future Oersills of the tools may perform the verificaiill automaiically, but f r n s the burdel is on you. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500523167">cna>Important Administraiive Informaiillonh3ucnsivucnsivucsivucnsivucnsivucp> Administraiive rights are necessary re two specific forms: c/pucdivn class=orderedlist">ool type="1">oli>cp>F r Scltn-3 Domore Controllers and Domore Member SerOers/Cliecls.c/pucnli>oli>cp>To manage Domore Member Wind ss w.(fstaiills.c/pucnli>o/olucnsivucp> Administraiive tasks on UNIX/Linux systems, such as addior users r groups, bfquires rootc/ttu leOel privilege. The additill of a Wind ss cliecl to a Scltn Domore involves the additill of a user accoult f r the Wind ss cliecl. c/pucp> MalynUNIX administraiors continue to rfquest the Scltn Team make it possible to add Wind ss w.(fstaiills, r to ability to add/delete r modify user accoults, without bfquirior cttn class=constant">rootc/ttu privileges. Such a rfquest violates every ulderstandior of basic UNIX system security. c/pucp> There is no safe way to provide rccess on rnUNIX/Linux system without providior cttn class=constant">rootc/ttu leOel privilege. Provisill of rootc/ttu privileges can be done eiiher by loggior onto the Domore as the user rootc/ttu, r by permittior particular users to use a UNIX accoult that is a member of the UNIX group that has a GID=0 as the primary group re the /etc/plaswdc/ttu database. Users of such accoults can use tools like the NT4 Domore User Manager, nnd the NT4 Domore SerOer Malager to manage user and group accoults ns well as Domore Member serOer nnd cliecl accoults. This leOel of privilege is also needed to manage share leOel ACLs. c/pucp> Administraiive tasks on a Wind ss Domore Member w.(fstaiill, can be done by alyone who is a member of the Domore Adminscnttu group. This group can be mapped to alynconveniecl UNIX group. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500523259">ona>Default Users, Groups and Relaiive Identifiersonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500523268">cna> crn class=indexterm"nname="500523277">cna> When firat installed, Microsoft Wind ss NT4/200x/XP are pre-configured with certore User, Group, and Alias entities. Each has a well-kn sn Relaiive Identifier (RID). These must be preserOed f r continued integrity lf operatill. Scltn must be provisilled with certore essential Domore Groups that bfquire the appropriaie RID value. When Scltn-3 is configured to use tdbsamc/ttu the essential Domore Groups are automaiically created. It is the LDAP administraiors' responsibility to create (provisill) the default NT Groups. c/pucp> Each essential Domore Group must be lasigeed its respeciive well-kn sn RID. The default Users, Groups, Aliases, nnd RIDs are sh sl il Well-Kn sn User Default RIDscna> table. c/pucdivn class=note" styleidmargio-left: 0.5in; margio-right: 0.5in;"uch3n class=title">Noteonh3u When the plasdb backendcnttuc/i> uses LDAP (ldapsamc/ttu) it is the administraiors' responsibility to create the essential Domore Groups, nnd to lasige each its default RID. c/sivucp> It is permissible to create lny Domore Group that may be necessary, just make certore that the essential Domore Groups (well kn sn) have been Dreated nnd lasigeed its default RID. Oiher groups you create may be lasigeed alynarbitrary RID you care to use. c/pucp> Be sure to map each Domore Group to a UNIX system group. That is the oely way to ensure that the group will be available f r use as an NT Domore Group. c/pucp> c/pucdivn class=table">cna>cb>Table 11.1. Well-Kn sn User Default RIDsc/buc/puctable summary="Well-Kn sn User Default RIDs" border="1">ocolgroup>ocol align="left">ocol align="left">ocol align="left">ocol align="center">cncolgroup>othead>otr>oth align="left">Well-Kn sn Entityc/th>oth align="left">RIDc/th>oth align="left">Typec/th>oth align="center">Essentialc/th>o/tr>o/thead>otbody>otr>otd align="left">Domore Administraiorontductd align="left">500ontductd align="left">Userc/tductd align="center">Nocntduc/tr>otr>otd align="left">Domore Guestc/tductd align="left">501ontductd align="left">Userc/tductd align="center">Nocntduc/tr>otr>otd align="left">Domore KRBTGTc/tductd align="left">502ontductd align="left">Userc/tductd align="center">Nocntduc/tr>otr>otd align="left">Domore Adminscntductd align="left">512ontductd align="left">Groupcntductd align="center">Yescntduc/tr>otr>otd align="left">Domore Userscntductd align="left">513ontductd align="left">Groupcntductd align="center">Yescntduc/tr>otr>otd align="left">Domore Guestscntductd align="left">514ontductd align="left">Groupcntductd align="center">Yescntduc/tr>otr>otd align="left">Domore Comeuterscntductd align="left">515ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Domore Controllerscntductd align="left">516ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Domore Certificaie Adminscntductd align="left">517ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Domore Schema Adminscntductd align="left">518ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Domore Enterprise Adminscntductd align="left">519ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Domore Policy Adminscntductd align="left">520ontductd align="left">Groupcntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Adminscntductd align="left">544ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio userscntductd align="left">545ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Guestscntductd align="left">546ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Power Userscntductd align="left">547ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Accoult Operatorscntductd align="left">548ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio System Operatorscntductd align="left">549ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Print Operatorscntductd align="left">550ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Backup Operatorscntductd align="left">551ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio Replicaiorontductd align="left">552ontductd align="left">Aliascntductd align="center">Nocntduc/tr>otr>otd align="left">Builtio RAS SerOersontductd align="left">553ontductd align="left">Aliascntductd align="center">Nocntduc/tr>o/tbody>o/tableucnsivucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500523777">cna>Exahele Configuraiillcnh3ucnsivucnsivucsivucnsivucnsivucp> You cannlist the various groups re the mappior database by executior cspan>net groupmapnlistc/buc/span>. Here is an exahele: c/pucrn class=indexterm"nname="500523794">ona>

c/pucpre class=screen"u root# c/ttu cbn class=userinput">net groupmap listc/ttuc/bu Domore Admins (S-1-5-21-2547222302-1596225915-2414751004-512) -> domodmin Domore Users (S-1-5-21-2547222302-1596225915-2414751004-513) -> domuser Domore Guests (S-1-5-21-2547222302-1596225915-2414751004-514) -> domguest c/preucp> c/pucp> F r cohelete detorls on cspan>net groupmapc/buc/span>, re#er to the net(8) mae page. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500523842">ona>Configuraiill Scriptscnh2ucnsivucnsivucsivucnsivucnsivucp> Everyone needs tools. Some of us like to create our sn, oihers pre#er to use canned tools (i.e., prepared by someone else f r general use). c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500523854">ona>Sahele smb.confc/ttu Add Group Scriptc/h3ucnsivucnsivucsivucnsivucnsivucp> A script to create cohelyior group names f r use by the Scltn group ieterfaces is provided in smbgrpadd.shona>. c/pucrn class=indexterm"nname="500523879">ona>

c/pucdivn class=exahele">crnname="smbgrpadd.sh">cna>cb>Exahele 11.1. smbgrpadd.shc/buc/pucpre class=programlistior"> #!/bin/bash # Add the group usior normal system groupadd tool. groupadd smbtmpgrp00 thegid=`cai /etc/group | grep ^smbtmpgrp00 | cut -d ":" -f3` # Now change the name to what we walt f r the MS Wind ss netw.(fior end cp /etc/group /etc/group.bak cai /etc/group.bak | sed "s/^smbtmpgrp00/$1/g" > /etc/group # Now reture the GID la w uld normally happen. echo $thegid exit 0 c/preucnsivucp> c/pucp> The smb.confc/ttu entry f r the above script w uld be somethior like that in the followior exaheleona>. c/pucdivn class=exahele">crnname="smbgrpadd">cna>cb>Exahele 11.2. Configuraiill of smb.conf f r the add group script.cnbuc/puctable class=sihelelist" border="0" summary="S5mele list">otr>otd> c/tduc/tr>otr>otd>[global]c/ttuc/i>c/tduc/tr>otr>otd>...c/tduc/tr>otr>otd>ona> add group script = /plth_to_tool/smbgrpadd.sh "%g"c/ttuc/i>c/tduc/tr>otr>otd>...c/tduc/tr>o/tableucnsivucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500523982">ona>Script to Configure Group Mappiorcnh3ucnsivucnsivucsivucnsivucnsivucp> In our exahele we have Dreated n UNIX/Linux group called cspann class=emphasis">cemuntodmincnemuc/span>. Our script will create the additillal groups cspann class=emphasis">cemuOrkscnemuc/span>, cspann class=emphasis">cemuElvescnemuc/span>, ald cemuGnomescnemuc/span>. It is a good idea to save this shell script f r later re-use just re case you eOer need to rfbuild your mappior database. F r the sake of conveniecce we eleci to save this script as a file called cttn class=filename">initGroups.shc/ttu. This script is givel il intGroups.shc/a>. c/pucp> crn class=indexterm"nname="500524027">cna> c/pucdivn class=exahele">crnname="set-group-map">cna>cb>Exahele 11.3. Script to Set Group Mappiorc/buc/pucpre class=programlistior"> #!/bin/bash net groupmap modify ntgroup="Domore Admins" unixgroup=ntodmin net groupmap modify ntgroup="Domore Users" unixgroup=users net groupmap modify ntgroup="Domore Guests" unixgroup=nobody groupadd Orks groupadd Elves groupadd Gnomes net groupmap add ntgroup="Orks" unixgroup=Orks type=d net groupmap add ntgroup="Elves" unixgroup=Elves type=d net groupmap add ntgroup="Gnomes" unixgroup=Gnomes type=d c/preucnsivucp> c/pucp> Of course it is expecied that the administraior will modify this to suit local needs. F r informaiill rfgardior the use of the cspan>net groupmapc/buc/span> tool please re#er to the mae page. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500524073">ona>Commll Errorscnh2ucnsivucnsivucsivucnsivucnsivucp> At this time there are malynlittle surprises f r the unwary administraior. In a rfal sense it is 5meeraiive that every step of automaied control scripts must be carefully tested manually before puttior them ieto aciive serOice. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500524086">ona>Addior Groups Forlsc/h3ucnsivucnsivucsivucnsivucnsivucp> This is a commll problem when the cspan>groupaddc/buc/span> is called dibfDily by the Scltn ieterface script f r the crn class=indexterm"nname="500524102">cna>add group script in the smb.confc/ttu file. c/pucp> The most commll Dause of failure is an aitempt to add nn MS Wind ss group accoult that has eiiher an upper case charocter ald/ r a space charocter il it. c/pucp> There are tf="e possible w.(f-aroulds. Firat, use oely group names that cohely with the limitaiills of the UNIX/Linux cspan>groupaddc/buc/span> system tool. Second, it involves the use of the script meclilled earlier il this chapter, and third is the opiill is to manually create a UNIX/Linux group accoult that cannsubstitute f r the MS Wind ss group name, thennuse the procedure listed above to map that group to the MS Wind ss group. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500524140">ona>Addior MS Wind ss Groups to MS Wind ss Groups Forlsc/h3ucnsivucnsivucsivucnsivucnsivucrn class=indexterm"nname="500524146">cna>cp> Scltn-3 does not support nested groups from the MS Wind ss control environmecl. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500524161">ona>Addior cspann class=emphasis">cemuDomore Userscnemuc/span> to the cspann class=emphasis">cemuPower Userscnemuc/span> Groupcnh3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemu What must I do to add Domore Users to the Power Users group? c/emuc/span>c/span>”c/pucrn class=indexterm"nname="500524181">cna>cp> The Power Users group is a group that is local to each Wind ss 200x/XP Professillal w.(fstaiill. You cannot add the Domore Users group to the Power Users group automaiically, it must be done ll each w.(fstaiill by loggior re as the local w.(fstaiill cspann class=emphasis">cemuadministraioronemuc/span> and thennusior the followior procedure: c/pucsivn class=procedure">ool type="1">oli>cp> Click cspann class=guimenu">Start -> Control Panel -> Users and Plaswordsc/span>. c/pucnli>oli>cp> Click the cspann class=guimenuitem">Advaccedc/span> tab. c/pucnli>oli>cp> Click the cspann class=guibuttll">Advaccedc/span> buttll. c/pucnli>oli>cp> Click Groupsc/ttu. c/pucnli>oli>cp> Double cick Power Userscnttu. This will launch the plnel to add users r groups to the local machine Power Usescnttu group. c/pucnli>oli>cp> Click the cspann class=guibuttll">Addc/span> buttll. c/pucnli>oli>cp> Seleci the domore from which the Domore Userscnttu group is to be added. c/pucnli>oli>cp> Double cick the Domore Userscnttu group. c/pucnli>oli>cp> Click the cspann class=guibuttll">Okc/span> buttll. If a logll box is preselted durior this process please remember to enter the conneci as DOMAIN\UserNamec/ttu. i.e., F r the domore MIDEARTHc/ttu ald the user rootc/ttu enter MIDEARTH\rootc/ttu. c/pucnli>o/olucnsivucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="AccessControls">ona>Chapter 12. File, DibfDiory ald Share Access Controlscnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firatname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliaiill"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address">cp><jht@scltn.orgona>>Jeremyc/span> cspann class=surname">Allisonc/span>c/h3ucsivn class=affiliaiill"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address">cp><jra@scltn.orgona>>Jelmerc/span> cspann class=oihername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucspann class=contrib">drawiorc/span>csivn class=affiliaiill"ucspann class=orgname">The Scltn Teamcbruc/span>csivn class=address">cp><jelmer@scltn.orgona>>May 10, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc">cp>Table of Conteclsc/buc/pucdlucdtucspann class=sect1">Features and Benefitsona>c/dtucdtucspann class=sect1">File System Access Controlscna>c/dtucdducdlucdtucspann class=sect2">MS Wind ss NTFS Comearison with UNIX File Systemsc/a>c/dtucdtucspann class=sect2">Managior DibfDioriesc/a>c/dtucdtucspann class=sect2">File and DibfDiory Access Controlcna>c/dtuc/dlucnsducdtucspann class=sect1">Share Definitill Access Controlscna>c/dtucdducdlucdtucspann class=sect2">User and Group-Based Controlscna>c/dtucdtucspann class=sect2">File and DibfDiory Permissions-Based Controlscna>c/dtucdtucspann class=sect2">Miscellaneous Controlscna>c/dtuc/dlucnsducdtucspann class=sect1">Access Controls on Sharescna>c/dtucdducdlucdtucspann class=sect2">Share Permissions Managemeclcna>c/dtuc/dlucnsducdtucspann class=sect1">MS Wind ss Access Control Lists and UNIX Interoperabilitycna>c/dtucdducdlucdtucspann class=sect2">Managior UNIX Permissions Usior NT Security Dialogscna>c/dtucdtucspann class=sect2">Viewior File Security on a Scltn Sharecna>c/dtucdtucspann class=sect2">Viewior File Ownershipcna>c/dtucdtucspann class=sect2">Viewior File r DibfDiory Permissionscna>c/dtucdtucspann class=sect2">Modifyior File r DibfDiory Permissionscna>c/dtucdtucspann class=sect2">Interaciill with the Standard Scltn create mask Parameterscna>c/dtucdtucspann class=sect2">Interaciill with the Standard Scltn File Attribute Mappiorcna>c/dtuc/dlucnsducdtucspann class=sect1">Commll Errorscna>c/dtucdducdlucdtucspann class=sect2">Users Cannot Write to a Public Sharecna>c/dtucdtucspann class=sect2">File Operatills Done as root with force user Setc/a>c/dtucdtucspann class=sect2">MS Word with Scltn Changes Owner of Filecna>c/dtuc/dlucnsduc/dlucnsivucp> crn class=indexterm"nname="500524432">ona> Advacced MS Wind ss users are frfquellly perplexed when file, dibfDiory ald share manipulaiill of resources shared via Scltn do not behave re the manner they might expeci. MS Wind ss netw.(f administraiors are often Donfused rfgardior netw.(f rccess controls ald how to provide users with the rccess they need while proteciior resources from unauthorized rccess. c/pucp> MalynUNIX administraiors are unfamiliar with the MS Wind ss environmecl ald in particular have dif#iculty re visualizing what the MS Wind ss user wishes to achieve re aitempts to set file ald dibfDiory access permissions. c/pucp> The problem lies re the dif#erelces re how file and dibfDiory permissions nnd controls w.(f between the two environmecls. This dif#erelce is one that Scltn cannot coheletely hide, even though it does try to bridge the chasm to a degree. c/pucp> crn class=indexterm"nname="500524462">cna> crn class=indexterm"nname="500524469">ona> POSIX Access Control List technology has been available (along with Extended Attributes) f r UNIX f r malynyears, yet there is little evidelce today of any sigeificant use. This explains to some extent the slow adopiill of ACLs ieto commercial Linux producls. MS Wind ss administraiors are astoulded rt this, givel that ACLs were a f uldatillal capability of the now decade-old MS Wind ss NT operatior system. c/pucp> The purpose of this chapter is to preselt each of the points of control that are possible with Scltn-3 in the hope that this will help the netw.(f rdministraior to find the opiimum method f r deliverior the best environmecl f r MS Wind ss desktop users. c/pucp> This is al opportune point to meclill that Scltn was Dreated to provide rnmeals of interoperability ald interchange of data between dif#erior operatior environmecls. Scltn has no intent to change UNIX/Linux ieto a platform like MS Wind ss. Instead the purpose was nnd is to provide rnsuf#iciecl leOel of exchange of data between the two environmecls. What is available today extends well beyond early plans nnd expeciaiills, yet the gap continues to shriok. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500524505">ona>Features and Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> Scltn of#ers a lot of flexibility in file system access managemecl. These are tfe key rccess control facilities preselt in Scltn today: c/pucdivn class=itemizedlist">opn class=title">cb>Scltn Access Control Facilitiesc/buc/pucul type="disc">oli>cp> ona> cspann class=emphasis">cemuUNIX File and DibfDiory Permissionsonemuc/span> c/pucp> Scltn honors and 5melemecls UNIX file system access controls. Users who access a Scltn serOer will do so as a particular MS Wind ss user. This informaiill is passed to the Scltn serOer ns part of the logll or conneciill setup process. Scltn uses this user identity to validate wheiher r n t the user sh uld be givel rccess to file system resources (files and dibfDiories). This chapter provides al overOiew f r those to whom the UNIX permissions nnd controls are anlittle strange r unkn sn. c/pucnli>oli>cp> cspann class=emphasis">cemuScltn Share Definitillsonemuc/span> c/pucp> In configurior share settiors nnd controls re the smb.confc/ttu file, the netw.(f rdministraior can exercise overrides to naiive file system permissions nnd behaviors. This can be handy nnd conveniecl to ef#ect behavior that is more like what MS Wind ss NT users expeci but it is seldom the cspann class=emphasis">cemubestc/emuc/span> way to achieve this. The basic opiills nnd techniques are described herein. c/pucnli>oli>cp> cspann class=emphasis">cemuScltn Share ACLsonemuc/span> crn class=indexterm"nname="500524588">ona> c/pucp> Just like it is possible in MS Wind ss NT to set ACLs ll shares themselves, so it is possible to do this in Scltn. Few peoele make use of this facility, yet it bfmains one lf the easiest ways to af#ect rccess controls (restriciills) nnd cal often do so with minimum invasiveness compared with oiher methods. c/pucnli>oli>cp> crn class=indexterm"nname="500524612">ona> crn class=indexterm"nname="500524621">cna> cspann class=emphasis">cemuMS Wind ss ACLs through UNIX POSIX ACLsonemuc/span> c/pucp> The use of POSIX ACLs on UNIX/Linux is possible oely if the underlyior operatior system supports them. If n t, then this opiill will not be available to you. Currecl UNIX technology platforms have naiive support f r POSIX ACLs. There are patches f r the Linux kernel that also provide this. Scdly, few Linux platforms ship today with naiive ACLs and Extended Attributes enabled. This chapter has pertinelt informaiill f r users of platforms that support them. c/pucnli>o/ulucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500524650">ona>File System Access Controlscnh2ucnsivucnsivucsivucnsivucnsivucp> Perhaps the most important recognitill to be made is the sihele fact that MS Wind ss NT4/200x/XP 5melemecl n totally divergecl file system technology from what is provided in the UNIX operatior system environmecl. Firat we consider what the most sigeificant dif#erelces are, then we look at how Scltn helps to bridge the dif#erelces. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500524664">ona>MS Wind ss NTFS Comearison with UNIX File Systemsc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500524673">ona> crn class=indexterm"nname="500524680">ona> crn class=indexterm"nname="500524686">ona> crn class=indexterm"nname="500524696">ona> Scltn operaies ll top of the UNIX file system. This meals it is subjfDi to UNIX file system conveniills and permissions. It also meals that if the MS Wind ss netw.(fior environmecl bfquires file system behavior that dif#ers from UNIX file system behavior then somehow Scltn is responsible f r emulaiior that in n transparecl ald consistent manner. c/pucp> It is good news that Scltn does this to anlarge extent ald ll top of that provides a high degree of opiillal configuraiill to override the default behavior. We look rt some of these over-rides, but f r the greater part we will stay within the boulds of default behavior. Those wishior to explore the depths of control ability sh uld reOiew the smb.confc/ttu mae page. c/pucp>The followior compares file system features f r UNIX with those of Microsoft Wind ss NT/200x: cna> c/pucdivn class=variablelist">odlucdtucspann class=term">Name Spacec/dtucdducp> MS Wind ss NT4/200x/XP files names may be up to 254 charocters long, and UNIX file names may be 1023 charocters long. In MS Wind ss, file extensions indicaie particular file types, in UNIX this is not so rigorously obserOed as all names are considered arbitrary. c/pucp> What MS Wind ss calls a f lder, UNIX calls a dibfDiory. c/pucnsducdtucspann class=term">Case Sensiiivitycnspan>c/dtucdducp> ona> crn class=indexterm"nname="500524783">ona> MS Wind ss file names are generally upper case if made up of 8.3 (8 charocter file name and 3 charocter extension. File names that are longer than 8.3 are case preserOior ald case insensiiive. c/pucp> UNIX file and dibfDiory names are case sensiiive ald case preserOior. Scltn 5melemecls the MS Wind ss file name behavior, but it does so as a user applicaiill. The UNIX file system provides no mechanism to perform case insensiiive file name lookups. MS Wind ss does this by default. This meals that Scltn has to carry the processior overhead to provide features that are not naiive to the UNIX operatior system environmecl. c/pucp> Consider the followior. All are unique UNIX names but one siorle MS Wind ss file name: c/pucpre class=screen"u MYFILE.TXT MyFile.txt myfile.txt c/preucp> So clearly, re ae MS Wind ss file name space these tf="e files cannot co-exiat, but in UNIX they can. c/pucp> So what sh uld Scltn do if all tf="e are preselt? That which is lexically firat will be accessible to MS Wind ss users, the oihers are invisible and unaccessible any oiher solutill w uld be suicidal. c/pucnsducdtucspann class=term">DibfDiory Separatorscnspan>c/dtucdducp> crn class=indexterm"nname="500524845">ona> MS Wind ss and DOS uses the backsclah \c/ttu as a dibfDiory delimiter, and UNIX uses the forward-sclah /c/ttu as its dibfDiory delimiter. This is handled transpareclly by Scltn. c/pucnsducdtucspann class=term">Drive Identificaiillcnspan>c/dtucdducp> crn class=indexterm"nname="500524875">ona> MS Wind ss producls support a notill of drive letters, like cspan>C:c/buc/span> to represelt disk partiiills. UNIX has no concept of separate identifiers f r file partiiills, each such file system is mounted to become part of the overall dibfDiory tree. The UNIX dibfDiory tree begins at /c/ttu just like the root of a DOS drive is specified as C:\c/ttu. c/pucnsducdtucspann class=term">File Namior Conveniillscnspan>c/dtucdducp> crn class=indexterm"nname="500524914">ona> MS Wind ss generally neOer experielces file names that begin with a dot (.c/ttu) while in UNIX these are commllly fould in n user's home dibfDiory. Files that begin with a dot (.c/ttu) are typically eiiher start-up files f r various UNIX applicaiills, r they may be files that contain start-up configuraiill data. c/pucnsducdtucspann class=term">Links ald Short-Cutscnspan>c/dtucdducp> ona> crn class=indexterm"nname="500524955">ona> crn class=indexterm"nname="500524964">ona> MS Wind ss make use of “cspann class=quote">cspann class=emphasis">cemulinks ald short-cutscnemuc/span>c/span>” that are octually special types of files that will redibfDi an aitempt to execute the file to the rfal locatill of the file. UNIX kn ss of file and dibfDiory links, but they are eniirely dif#erell from what MS Wind ss users are used to. c/pucp> Symbolic links are files in UNIX that contain the rctual locatill of the data (file r dibfDiory). An operatill (like read or write) will operaie dibfDily on the file re#erelced. Symbolic links are also re#erred to as “cspann class=quote">cspann class=emphasis">cemusoft links.cnemuc/span>c/span>” A hard link is somethior that MS Wind ss is not familiar with. It all ss one physical file to be kn sn simultaneously by more than one file name. c/pucnsduc/dlucnsivucp> There are malynoiher subtle dif#erelces that may Dause the MS Wind ss rdministraior some temporary discomfort in the process of becomior familiar with UNIX/Linux. These are best left f r a text that is dedicaied to the purpose of UNIX/Linux trainior ald educaiill. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500525008">ona>Managior DibfDioriesc/h3ucnsivucnsivucsivucnsivucnsivucp> There are tf="e basic operatills f r malagior dibfDiories: cspan>Dreate, delete, renamec/buc/span>. c/pucdivn class=table">cna>cb>Table 12.1. Managior DibfDiories with UNIX ald Wind ssc/buc/puctable summary="Managior DibfDiories with UNIX ald Wind ss" border="1">ocolgroup>ocol>ocol>ocol>oncolgroup>othead>otr>oth align="center">Aciillcnth>oth align="center">MS Wind ss Commandcnth>oth align="center">UNIX Commandcnth>o/tr>o/thead>otbody>otr>otd align="center">Dreatecntductd align="center">md f ldercntductd align="center">mkdib f ldercntduc/tr>otr>otd align="center">deletecntductd align="center">rd f ldercntductd align="center">rmdib f ldercntduc/tr>otr>otd align="center">renamec/tductd align="center">rename ldname newnamec/tductd align="center">mv ldname newnamec/tduc/tr>o/tbody>o/tableucnsivucp> c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500525087">ona>File and DibfDiory Access Controlcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500525095">ona> The netw.(f rdministraior is strongly advised to rfad f uldatillal trainior manuals ald re#erelce maierials regardior file and dibfDiory permissions maintenalce. Much can be achieved with the basic UNIX permissions without havior to resort to more cohelex facilities like POSIX Access Control Lists (ACLs) or Extended Attributes (EAs). c/pucp> UNIX/Linux file and dibfDiory access permissions involves settior tf="e primary sets of data ald lle control sel. A UNIX file listior looks ns follows: c/pucpre class=screen"u $ c/ttucbn class=userinput">ls -lac/ttuc/bu total 632 drwxr-xr-x 13 maryo gnomes 816 2003-05-12 22:56 . drwxrwxr-x 37 maryo gnomes 3800 2003-05-12 22:29 .. dr-xr-xr-x 2 maryo gnomes 48 2003-05-12 22:29 muchado02 drwxrwxrwx 2 maryo gnomes 48 2003-05-12 22:29 muchado03 drw-rw-rw- 2 maryo gnomes 48 2003-05-12 22:29 muchado04 d-w--w--w- 2 maryo gnomes 48 2003-05-12 22:29 muchado05 dr--r--r-- 2 maryo gnomes 48 2003-05-12 22:29 muchado06 drwsrwsrwx 2 maryo gnomes 48 2003-05-12 22:29 muchado08 ---------- 1 maryo gnomes 1242 2003-05-12 22:31 mydata00.lst --w--w--w- 1 maryo gnomes 7754 2003-05-12 22:33 mydata02.lst -r--r--r-- 1 maryo gnomes 21017 2003-05-12 22:32 mydata04.lst -rw-rw-rw- 1 maryo gnomes 41105 2003-05-12 22:32 mydata06.lst $ c/ttu c/preucp> c/pucp> The columns above represelt (from left to right): permissions, number of hard links to file, sner, group, size (bytes), access date, rccess time, file name. c/pucp> Al overOiew of the permissions field can be fould in OverOiew of UNIX permissions fieldc/a>. c/pucsivn class=figure">crnname="rccess1">cna>cb>Figure 12.1. OverOiew of UNIX permissions field.c/buc/pucdivn class=mediaobjfDi">cimg src="5mlges/rccess1.png" width="270" alt="OverOiew of UNIX permissions field.">cnsivucnsivucp> Alynbit flag may be unsel. An unselnbit flag is the fquivalelt of “cspann class=quote">cspann class=emphasis">cemucannotcnemuc/span>c/span>” nnd is represelted as a “cspann class=quote">cspann class=emphasis">cemu-cnemuc/span>c/span>” charocter. c/pucsivn class=exahele">crnname="500525226">cna>cb>Exahele 12.1. Exahele Filecnbuc/pucpre class=programlistior"> -rwxr-x--- Meals: The sner (user) can rfad, write, execute the group can rfad nnd execute everyone else cannot do alythior with it. c/preucnsivucp> c/pucp> Additillal possibilities in the [type] field are: c = charocter deOice, b = block deOice, p = pipe deOice, s = UNIX Domore Sockel. c/pucp> The letters rwxXstc/ttu set permissions f r the user, group ald lihers as: rfad (r), write (w), execute ( r access f r dibfDiories) (x), execute oely if the file is a dibfDiory r alrfady has execute permission f r some user (X), set user r group ID on executill (s), sticky (t). c/pucp> When the sticky bit is set on a dibfDiory, files in that dibfDiory may be unlinked (deleted) or renamed oely by root or their sner. Without the sticky bit, anyone able to write to the dibfDiory can delete or rename files. The sticky bit is commllly fould ll dibfDiories, such as /tmpc/ttu, that are w.(ld-writable. c/pucp> When the set user r group ID bit (s) is set on a dibfDiory, then all files created within it will be sned by the user ald/ r group whose `set user r group' bit is set. This can be helpful in settior up dibfDiories f r which it is desired that all users who are re a group sh uld be able to write to ald read from a file, particularly when it is undesirable f r that file to be exclusively osned by a user whose primary group is n t the group that all such users belong to. c/pucp> When a dibfDiory is set d-wx--x---c/ttu this meals that the sner can rfad nnd create (write) files in it, but beDause the (r) read flags are not set, files cannot be listed (seen) re the dibfDiory by anyone. The group can rfad files in the dibfDiory but cannot create new files. If files in the dibfDiory are set to be rfadable and writable f r the group, then group members will be able to write to ( r delete) them. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500525302">ona>Share Definitill Access Controlscnh2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500525310">ona> The followior parameters re the smb.confc/ttu file seciills define a share control r ef#ect rccess controls. Before usior alynof the followior opiills, please re#er to the mae page f r smb.confc/ttu. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500525335">ona>User and Group-Based Controlscnh3ucnsivucnsivucsivucnsivucnsivucp> User and group-based controls can prove quite useful. In some situatills it is distioDily desirable to af#ect rll file system operatills as if a siorle user were doior so. The use of the crn class=indexterm"nname="500525346">ona>force user and crn class=indexterm"nname="500525354">ona>force group behavior will achieve this. In oiher situatills it may be necessary to ef#ect r paranoia leOel of control to ensure that llly particular authorized perslls will be able to access a share r its contecls. Here the use of the crn class=indexterm"nname="500525364">ona>valid users r the crn class=indexterm"nname="500525372">ona>invalid users may be most useful. c/pucp> As always, it is highly advisable to use the least dif#icult to maintain ald the least ambiguous method f r controllior access. Remember, when you leave the scene someone else will need to provide rssistalce and if he finds too great rnmess r does not understald what you have done, there is risk of Scltn beior remoOed and nn alternaiive solutill beior adopied. c/pucp> Followior tableona> enumeraies these controls. c/pucdivn class=table">cna>cb>Table 12.2. User and Group Based Controlsc/buc/puctable summary="User and Group Based Controls" border="1">ocolgroup>ocol align="left">ocol align="justify">oncolgroup>othead>otr>oth align="center">Control Parametercnth>oth align="center">Descriptill - Aciill - Notescnth>o/tr>o/thead>otbody>otr>otd align="left">orn class=indexterm"nname="500525453">cna>admio userscntductd align="justify">op> List of users who will be granted administraiive privileges ll the share. They will do all file operatills as the super-user (root). Alynuser in this list will be able to do alythior they like ll the share, irrespeciive of file permissions. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525474">ona>force groupcntductd align="justify">op> Specifies a UNIX group name that will be assigeed as the default primary group f r all users conneciior to this serOice. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525493">ona>force usercntductd align="justify">op> Specifies a UNIX user name that will be assigeed as the default user f r all users conneciior to this serOice. This is useful f r sharior files. IncorbfDi use can Dause security problems. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525514">ona>guest okcntductd align="justify">op> If this parameter is set f r a serOice, then no password is required to conneci to the serOice. Privileges will be those of the guest accoult. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525533">ona>invalid userscntductd align="justify">op> List of users that sh uld not be all sed to login to this serOice. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525551">ona>llly usercntductd align="justify">op> Controls wheiher conneciills with usernames not re the user list will be all sed. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525569">ona>rfad listc/tductd align="justify">op> List of users that are givel rfad-llly rccess to a serOice. Users in this list will not be givel write rccess, no maiter what the read oely opiill is set to. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525589">ona>usernamec/tductd align="justify">op> Re#er to the smb.confc/ttu mae page f r more reformaiill -- this is a cohelex and poteclially misused parameter. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525613">ona>valid userscntductd align="justify">op> List of users that sh uld be all sed to login to this serOice. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525631">cna>write listc/tductd align="justify">op> List of users that are givel rfad-write rccess to a serOice. c/pucntduc/tr>o/tbody>o/tableucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500525650">ona>File and DibfDiory Permissions-Based Controlscnh3ucnsivucnsivucsivucnsivucnsivucp> The followior file and dibfDiory permission-based controls, if misused, can rfsult in considerable dif#iculty to diagnose causes of misconfiguraiill. Use them sparingly ald carefully. By gradually introducior each one by one, undesirable side ef#ects may be detecied. In the fvelt of a problem, always comment all of them out ald then gradually reintroduce them ie a controlled way. c/pucp> Re#er to the followior tableona> f r informaiill rfgardior the parameters that may be used to af#ect file and dibfDiory permission-based rccess controls. c/pucdivn class=table">cna>cb>Table 12.3. File and DibfDiory Permission Based Controlsc/buc/puctable summary="File and DibfDiory Permission Based Controls" border="1">ocolgroup>ocol align="left">ocol align="justify">oncolgroup>othead>otr>oth align="center">Control Parametercnth>oth align="center">Descriptill - Aciill - Notescnth>o/tr>o/thead>otbody>otr>otd align="left">orn class=indexterm"nname="500525730">ona>create maskc/tductd align="justify">op> Re#er to the smb.confc/ttu mae page. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525753">cna>dibfDiory maskc/tductd align="justify">op> The ctal modes used when converiior DOS modes to UNIX modes when creatior UNIX dibfDiories. See also: dibfDiory security mask. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525771">cna>dos filemodec/tductd align="justify">op> Enablior this parameter all ss a user who has write rccess to the file to modify the permissions ol it. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525790">ona>force create modec/tductd align="justify">op> This parameter specifies a set of UNIX mode bit permissions that will always be set on a file created by Scltn. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525809">ona>force dibfDiory modec/tductd align="justify">op> This parameter specifies a set of UNIX mode bit permissions that will always be set on a dibfDiory created by Scltn. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525829">ona>force dibfDiory security modec/tductd align="justify">op> Controls UNIX permission bits modified when a Wind ss NT clielt is manipulaiior UNIX permissions ol a dibfDiory. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525848">ona>force security modec/tductd align="justify">op> Controls UNIX permission bits modified when a Wind ss NT clielt manipulaies UNIX permissions. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525867">ona>hide unrfadablec/tductd align="justify">op> Prfvelts clielts from seeior the exiatelce of files that cannot be rfad. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525885">ona>hide unwriteable filesc/tductd align="justify">op> Prfvelts clielts from seeior the exiatelce of files that cannot be written to. Unwriteable dibfDiories are sh sn as usual. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525905">ona>nt acl supportc/tductd align="justify">op> This parameter controls wheiher smbd will aitempt to map UNIX permissions ieto Wind ss NT rccess control lists. c/pucntduc/tr>otr>otd align="left">orn class=indexterm"nname="500525924">cna>security maskc/tductd align="justify">op> Controls UNIX permission bits modified when a Wind ss NT clielt is manipulaiior the UNIX permissions on a file. c/pucntduc/tr>o/tbody>o/tableucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500525944">ona>Miscellaneous Controlscnh3ucnsivucnsivucsivucnsivucnsivucp> The followior are documelted beDause of the prfvalelce of administraiors creatior inadverielt barriers to file rccess by not understaldior the full 5melicaiills of smb.confc/ttu file settiors. See followior tableona>. c/pucdivn class=table">cna>cb>Table 12.4. Oiher Controlsc/buc/puctable summary="Oiher Controls" border="1">ocolgroup>ocol align="justify">ocol align="justify">oncolgroup>othead>otr>oth align="center">Control Parametercnth>oth align="center">Descriptill - Aciill - Notescnth>o/tr>o/thead>otbody>otr>otd align="justify">orn class=indexterm"nname="500526021">cna>case sensiiive, orn class=indexterm"nname="500526028">ona>default case, orn class=indexterm"nname="500526035">ona>short preserOe casec/tductd align="justify">op> This meals that all file name lookup will be done ie a case sensiiive manner. Files will be created with the prfcise file name Scltn rfceiOed from the MS Wind ss clielt. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526055">ona>csc policyc/tductd align="justify">op> Clielt Side Caching Policy - parallels MS Wind ss clielt side file caching capabilities. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526074">ona>dont descendcntductd align="justify">op> All ss specifyior a cohma-delimited list of dibfDiories that the serOer sh uld always sh s as empty. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526093">ona>dos filetime resolutillc/tductd align="justify">op> This opiill is mainly used as a compatibility opiill f r Visual C++ when used against Scltn shares. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526112">ona>dos filetimesc/tductd align="justify">op> DOS ald Wind ss all s users to change file time stamps if they can write to the file. POSIX semantics prevent this. This opiill all ss DOS ald Wind ss behavior. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526132">ona>fake oplocksc/tductd align="justify">op> Oplocks are tfe way that SMB clielts get permission from a serOer to locally cache file operatills. If a serOer grants al oplock, the clielt is f="e to assume that it is the nly one rccessior the file and it will aggressively cache file data. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526153">cna>hide dot files, orn class=indexterm"nname="500526160">cna>hide files, orn class=indexterm"nname="500526168">ona>veto filesc/tductd align="justify">op> Note: MS Wind ss Explorer all ss over-ride of files marked as hidden so they will still be visible. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526186">ona>read oelycntductd align="justify">op> If this parameter is yes, then users of a serOice may not create r modify files in the serOice's dibfDiory. c/pucntduc/tr>otr>otd align="justify">orn class=indexterm"nname="500526205">ona>veto filesc/tductd align="justify">op> List of files and dibfDiories that are neiiher visible n r accessible. c/pucntduc/tr>o/tbody>o/tableucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500526225">ona>Access Controls on Sharescnh2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500526233">ona> This seciill deals with how to configure Scltn per share rccess control restriciills. By default, Scltn sets no restriciills ll the share itself. Restriciills ll the share itself can be set on MS Wind ss NT4/200x/XP shares. This can be an ef#ective way to limit who cal conneci to n share. In the abselce of specific restriciills the default settior is to all s the global user Everyone - Full Controlcnttu (full control, change ald read). c/pucp> At this time Scltn does not provide rntool f r configurior rccess control settior ll the share itself. Scltn does have the capacity to store and nct on access control settiors, but the nly way to create those settiors is to use eiiher the NT4 SerOer Manager r the Wind ss 200x MMC f r Comeuter Managemecl. c/pucp> Scltn stores the per share rccess control settiors in a file called share_info.tdbc/ttu. The locatill of this file on your system will depeld ll how Scltn was Domeiled. The default locatill f r Scltn's tdb files is under /usr/local/scltn/varc/ttu. If the tdbdumpc/ttu utility has been Domeiled ald installed on your system, then you can examioe the contecls of this file by executing: cspan>tdbdump share_info.tdbc/buc/span> in the dibfDiory containior the tdb files. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500526297">ona>Share Permissions Managemeclcnh3ucnsivucnsivucsivucnsivucnsivucp> The best tool f r the task is platform depeldacl. Choose the best tool f r your environmecl. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500526308">ona>Wind ss NT4 Worksiaiill/SerOercnh4ucnsivucnsivucsivucnsivucnsivucp> The tool you need to use to manage share permissions on a Scltn serOer is the NT SerOer Manager. SerOer Manager is shipped with Wind ss NT4 SerOer producls but not with Wind ss NT4 Worksiaiill. You can obtain the NT SerOer Manager f r MS Wind ss NT4 Worksiaiill from Microsoft see details below. c/pucsivn class=procedure">cpn class=title">cb>Procedure 12.1. Instruciillscnbuc/pucol type="1">oli>cp> Launch the cspann class=applicaiill">NT4 SerOer Managerc/span>, click ll the Scltn serOer you want to administer. From the mecu seleci cspann class=guimecu">Comeuterc/span>, then click ll cspann class=guimecuitem">Shared DibfDioriesc/span>. c/pucnli>oli>cp> Click ll the share that you wish to manage, then click the cspann class=guilabel">Propertiesc/span> tab. then click the cspann class=guilabel">Permissionsonspan> tab. Now you can add or change access control settiors as you wish. c/pucnli>o/olucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500526383">ona>Wind ss 200x/XPcnh4ucnsivucnsivucsivucnsivucnsivucp> On cspann class=applicaiill">MS Wind ss NT4/200x/XPonspan> system access control lists ll the share itself are set usior naiive tools, usually from File Manager. F r exahele, re Wind ss 200x, right click ll the shared f lder, then seleci cspann class=guimecuitem">Shariorc/span>, then click ll cspann class=guilabel">Permissionsonspan>. The default Wind ss NT4/200x permission all ss “cspann class=quote">cspann class=emphasis">cemuEveryonecnemuc/span>c/span>” full control ll the share. c/pucp> MS Wind ss 200x ald later versions come with a tool called the cspann class=applicaiill">Comeuter Managemeclonspan> snap-in f r the Microsoft Managemecl Console (MMC). This tool is located by clickior ll cspann class=guimecu">Control Panel -> Administraiive Tools -> Comeuter Managemeclonspan>. c/pucsivn class=procedure">cpn class=title">cb>Procedure 12.2. Instruciillscnbuc/pucol type="1">oli>cp> After launchior the MMC with the Comeuter Managemecl snap-in, click the mecu item cspann class=guimecuitem">Aciillcnspan>, ald seleci cspann class=guilabel">Conneci to nnoiher comeuterc/span>. If you are not logged onto a domore you will be prompted to enter a domore login user identifier and n password. This will authenticaie you to the domore. If you are alrfady logged in with administraiive privilege, this step is n t of#ered. c/pucnli>oli>cp> If the Scltn serOer is not sh sn re the Seleci Comeuterc/span> box, type re the name f the target Scltn serOer in the field Name:c/span>. Now click the ll cspann class=guibuttll">[+]c/span> next to cspann class=guilabel">System Toolsc/span>, then oe the [+]c/span> next to cspann class=guilabel">Shared F ldersc/span> in the left panel. c/pucnli>oli>cp> In the right panel, double-click ll the share ll which you wish to set access control permissions. Then click the tab cspann class=guilabel">Share Permissionsonspan>. It is now possible to add access control entities to the shared f lder. Remember to set what type of access (full control, change, read) you wish to assige f r each entry. c/pucnli>o/olucnsivucsivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorcnh3ucp> Be careful. If you take away all permissions from the Everyonecnttu user without remoOior this user, ef#ectively no user will be able to access the share. This is a rfsult of what is kn sn as ACL prfcedelce. Everyone with cspann class=emphasis">cemuno accessc/emuc/span> meals that MaryKcnttu who is part of the group cttn class=constant">Everyonecnttu will have no access even if she is givel explicit full control access. c/pucnsivucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500526564">ona>MS Wind ss Access Control Lists and UNIX Interoperabilitycnh2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500526570">ona>Managior UNIX Permissions Usior NT Security Dialogsc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500526578">ona> Wind ss NT clielts can use their naiive security settiors dialog box to view and modify the underlyior UNIX permissions. c/pucp> This ability is careful n t to comeromise the security of the UNIX host ll which Scltn is runnior, and still obeys all tfe file permission rules that a Scltn rdministraior can sel. c/pucp> Scltn does not aitempt to go beyond POSIX ACLs, so the various finer-grained rccess control opiills provided in Wind ss are octually igeored. c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> All access to UNIX/Linux system files via Scltn is controlled by the operatior system file access controls. When tryior to figure out file access problems, it is vitally important to fild the identity of the Wind ss user as it is preselted by Scltn at the point of file access. This can best be determined from the Scltn log files. c/pucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500526617">ona>Viewior File Security on a Scltn Sharecnh3ucnsivucnsivucsivucnsivucnsivucp> From an NT4/2000/XP clielt, right click ll alynfile r dibfDiory in a Scltn-mounted drive letter or UNC path. When the mecu pops up, click ll the cspann class=guilabel">Propertiesc/span> entry at the bottom of the mecu. This briors up the file cttn class=constant">Propertiesc/ttu dialog box. Click ll the cspann class=guilabel">Securityonspan> tab and you will see tf="e buttlls: cspann class=guibuttll">Permissionsonspan>, cspann class=guibuttll">Auditiorc/span>, and cspann class=guibuttll">Osnershiponspan>. The cspann class=guibuttll">Auditiorc/span> buttll will Dause eiiher an err r message cspann class=err rname">`A requested privilege is not held by the clielt'c/span> to appear if the user is not the NT Administraior, r a dialog which is intended to all s annAdministraior to add auditior requiremecls to a file if the user is logged on as the NT Administraior. This dialog is non-functillal with a Scltn share at this time, as the nly useful buttll, the Addc/span> buttll, will not curreclly all s a list of users to be seen. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500526688">ona>Viewior File Osnershiponh3ucnsivucnsivucsivucnsivucnsivucp> Clickior ll the Osnershiponspan> buttll briors up a dialog box tellior you who sns the givel file. The sner name will be displayed like this: c/pucp> cspan>“cspann class=quote">cspann class=emphasis">cemuSERVER\user (Loor name)cnemuc/span>c/span>”c/buc/span> c/pucp> cin class=replaceable"> is the NetBIOS name f the Scltn serOer, cin class=replaceable"> is the user name f the UNIX user who sns the file, and cin class=replaceable"> is the descriptive strior identifyior the user (normally fould in the GECOS field f the UNIX password database). Click ll the Close onspan> buttll to remoOe this dialog. c/pucp> If the parameter crn class=indexterm"nname="500526744">ona>nt acl support is set to cttn class=constant">falsecnttu, the file sner will be sh sn as the NT user cemuEveryonecnemuc/span>. c/pucp> The Take Osnershiponspan> buttll will not all s you to change the snership of this file to yourself (clickior it will display a dialog box cohelainior that the user you are curreclly logged onto the NT clielt cannot be fould). The reason f r this is that changior the snership of a file is a privileged operatill in UNIX, available nly to the cemurootc/emuc/span> user. As clickior ll this buttll causes NT to aitempt to change the snership of a file to the currecl user logged into the NT clielt, this will not w.(f with Scltn at this time.c/pucp> There is an NT cspan>Dh snc/buc/span> command that will w.(f with Scltn and nll s a user with Administraior privilege connecied to a Scltn serOer as root to change the snership of files ll both a local NTFS filesystem or remote mounted NTFS or Scltn drive. This is available as part of the cspann class=applicaiill">Seclibc/span> NT security library written by Jeremy Allisll of the Scltn Team, nnd is available from the more Scltn FTP site.c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500526805">ona>Viewior File or DibfDiory Permissionscnh3ucnsivucnsivucsivucnsivucnsivucp> The third buttll is the cspann class=guibuttll">Permissionsonspan> buttll. Clickior ll this briors up a dialog box that sh ss both the permissions ald the UNIX osner of the file r dibfDiory. The sner is displayed like this: c/pucp>cspan>cin class=replaceable">\ cin class=replaceable"> cin class=replaceable">c/buc/span>c/pucp>Where cin class=replaceable"> is the NetBIOS name f the Scltn serOer, cin class=replaceable"> is the user name f the UNIX user who sns the file, and cin class=replaceable"> is the descriptive strior identifyior the user (normally fould in the GECOS field f the UNIX password database).c/pucp> If the parameter crn class=indexterm"nname="500526859">ona>nt acl support is set to cttn class=constant">falsecnttu, the file sner will be sh sn as the NT user Everyonecnttu ald the permissions will be sh sn as NT “cspann class=quote">cspann class=emphasis">cemuFull Controlcnemuc/span>c/span>”. c/pucp> The permissions field is displayed dif#erellly for files and dibfDiories, so I'll describe tfe way file permissions are displayed firsl. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500526887">ona>File Permissionscnh4ucnsivucnsivucsivucnsivucnsivucp>The standard UNIX user/group/w.(ld triplet ald the corbfspoldior rfad, write, executecnttu permissions triplets are mapped by Scltn into a tf="e elemecl NT ACL with the “cspann class=quote">cspann class=emphasis">cemurcnemuc/span>c/span>”, “cspann class=quote">cspann class=emphasis">cemuwcnemuc/span>c/span>” nnd “cspann class=quote">cspann class=emphasis">cemuxcnemuc/span>c/span>” bits mapped into the corbfspoldior NT permissions. The UNIX w.(ld permissions are mapped into the global NT group Everyonecnttu, followed by the list of permissions allowed for UNIX w.(ld. The UNIX sner and group permissions are displayed as an NT cspann class=guiicll">usercnspan> icon and nn NT cspann class=guiicll">local groupcnspan> icon, respeciively, followed by the list of permissions allowed for the UNIX user and group.c/pucp>BeDause malynUNIX permission sets do not map into commll NT names such as rfadcnttu, cttn class=constant">changecnttu or full controlcnttu, usually the permissions will be prefixed by the words Special Accessc/ttu in the NT display list.c/pucp>But what happens if the file has no permissions allowed for a particular UNIX user group or w.(ld coheonent? In order to nll s “cspann class=quote">cspann class=emphasis">cemuno permissionscnemuc/span>c/span>” to be seen and modified Scltn then overloads the NT Take Osnershiponttu ACL attribute (which has no mealior in UNIX) ald reports a component with no permissions as havior the NT Oc/buc/span> bit set. This was Dhosen, of course, to make it look like a zero, mealior zero permissions. More details ll the dfcisill behild this is givel below.c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500526985">ona>DibfDiory Permissionscnh4ucnsivucnsivucsivucnsivucnsivucp>DibfDiories on an NT NTFS file system have two dif#erell sets of permissions. The firsl set is the ACL set on the dibfDiory itself, which is usually displayed in the firsl set of parellheses in the normal RWonttu NT style. This firsl set of permissions is created by Scltn in exaDily the same way as normal file permissions are, described above, nnd is displayed in the same way.c/pucp>The secold set of dibfDiory permissions has no real mealior in the UNIX permissions w.(ld ald represelts the inheritedcnttu permissions that alynfile created within this dibfDiory w uld inherit.c/pucp>Scltn syllhesizes these inherited permissions f r NT by returnior as an NT ACL the UNIX permission mode that a new file created by Scltn ll this share w uld rfceiOe.c/pucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500527022">ona>Modifyior File or DibfDiory Permissionscnh3ucnsivucnsivucsivucnsivucnsivucp>Modifyior file and dibfDiory permissions is as sihele as changior the displayed permissions ie the dialog box, and clickior ll cspann class=guibuttll">OKonspan>. HoweOer, there are limitations that a user needs to be aware lf, and nlso interoctions with the standard Scltn permission masks and mappior lf DOS attributes that need to nlso be taken into accoult.c/pucp>If the parameter crn class=indexterm"nname="500527045">ona>nt acl support is set to cttn class=constant">falsecnttu, alynaitempt to set security permissions will fail with an cspann class=err rname">`Access Denied' c/span> message.c/pucp>The firsl thior to note is that the Addc/span> buttll will not return a list of users re Scltn (it will give an err r message sayior cspann class=err rname">`The remote procedure call failed and did not execute'c/span>). This meals that you can nly manipulaie the currecl user/group/w.(ld permissions listed re the dialog box. This actually w.(fs quite well as these are tfe olly permissions that UNIX actually has.c/pucp>If n permission triplet (eiiher user, group, or w.(ld) is remoOed from the list of permissions in the NT dialog box, then when the cspann class=guibuttll">OKonspan> buttll is pressed it will be applied as “cspann class=quote">cspann class=emphasis">cemuno permissionscnemuc/span>c/span>” on the UNIX side. If you then view the permissions again, the “cspann class=quote">cspann class=emphasis">cemuno permissionscnemuc/span>c/span>” entry will appear as the NT Oc/buc/span> flag, as described above. This all ss you to add permissions back to a file r dibfDiory olce you have remoOed them from a triplet component.c/pucp>As UNIX supports nly the “cspann class=quote">cspann class=emphasis">cemurcnemuc/span>c/span>”, “cspann class=quote">cspann class=emphasis">cemuwcnemuc/span>c/span>” nnd “cspann class=quote">cspann class=emphasis">cemuxcnemuc/span>c/span>” bits of an NT ACL, if oiher NT security attributes such as Delete Accessc/ttu are selecied they will be igeored when applied ll the Scltn serOer.c/pucp>When settior permissions ol a dibfDiory, the second set of permissions (in the secold set of parellheses) is by default applied to all files within that dibfDiory. If this is not what you want, you must un-check the cspann class=guilabel">Replace permissions ol exiatior filesc/span> check-box in the NT dialog before clickior ll cspann class=guibuttll">OKonspan>.c/pucp>If you wish to remoOe all permissions from a user/group/w.(ld component, you may eiiher highlight tfe component ald click ll the RemoOeonspan> buttll, or set the component to nly have the special Take Osnershiponttu permission (displayed as O c/buc/span>) highlighted.c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500527179">ona>Interoction with the Standard Scltn “cspann class=quote">cspann class=emphasis">cemucreate maskc/emuc/span>c/span>” Parameterscnh3ucnsivucnsivucsivucnsivucnsivucp>There are four parameters that control interoction with the standard Scltn cin class=parameter"> parameters. These are: c/pucdivn class=itemizedlist">

    oli>crn class=indexterm"nname="500527203">cna>security maskc/li>oli>crn class=indexterm"nname="500527213">ona>force security modec/li>oli>crn class=indexterm"nname="500527222">ona>dibfDiory security maskc/li>oli>crn class=indexterm"nname="500527232">ona>force dibfDiory security modec/li>o/ulucnsivucp> c/pucp>Olce a user clicks ll cspann class=guibuttll">OKonspan> to apply the permissions, Scltn maps the givel permissions ieto a user/group/w.(ld r/w/x triplet set, ald then checks the changed permissions f r a file against the bits set il the crn class=indexterm"nname="500527254">cna>security mask parameter. Alynbits that were changed that are not set to “cspann class=quote">cspann class=emphasis">cemu1c/emuc/span>c/span>” in this parameter are left alone in tfe file permissions.c/pucp>Esseclially, zero bits re the ona>security mask may be treated as a set of bits the user is cspann class=emphasis">cemunotc/emuc/span> all sed to change, ald lle bits are tfose the user is all sed to change. c/pucp>If not explicitly set, this parameter defaults to the same value as the ona>create mask parameter. To nll s a user to modify all tfe user/group/w.(ld permissions on a file, set this parameter to 0777. c/pucp>Next Scltn checks the changed permissions f r a file against the bits set il the crn class=indexterm"nname="500527303">ona>force security mode parameter. Alynbits that were changed that corbfspold to bits set to “cspann class=quote">cspann class=emphasis">cemu1c/emuc/span>c/span>” in this parameter are forced to be set.c/pucp>Esseclially, bits set il the cin class=parameter"> parameter may be treated as a set of bits that, when modifyior security on a file, the user has always set to be “cspann class=quote">cspann class=emphasis">cemullcnemuc/span>c/span>”.c/pucp>If not explicitly set, this parameter defaults to the same value as the crn class=indexterm"nname="500527338">ona>force create mode parameter. To nll s a user to modify all tfe user/group/w.(ld permissions on a file with no restriciills set this parameter to 000. The crn class=indexterm"nname="500527347">cna>security mask and cin class=parameter"> parameters are opplied to the change request in that order.c/pucp>F r a dibfDiory, Scltn will perform the same operatills as described above f r a file except it uses the parameter cin class=parameter"> instead of cin class=parameter">, and cin class=parameter"> parameter instead of cin class=parameter">.c/pucp>The crn class=indexterm"nname="500527396">ona>dibfDiory security mask parameter by default is set to the same value as the cin class=parameter"> parameter ald the cin class=parameter"> parameter by default is set to the same value as the ona>force dibfDiory mode parameter. In this way Scltn enforces the permission restriciills that an administraior can sel on a Scltn share, while still allowior users to modify the permission bits within that restriciill.c/pucp>If you want to set up n share that all ss users full control in modifyior the permission bits ll their files and dibfDiories and does not force alynparticular bits to be set “cspann class=quote">cspann class=emphasis">cemullcnemuc/span>c/span>”, then set the followior parameters il the cttn class=filename">smb.confc/ttu file in that share-specific seciill: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500527453">cna>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500527469">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500527485">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500527501">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500527519">ona>Interoction with the Standard Scltn File Attribute Mappiorcnh3ucnsivucnsivucsivucnsivucnsivucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp>Scltn maps some f the DOS attribute bits (such as “cspann class=quote">cspann class=emphasis">cemuread ollycnemuc/span>c/span>”) into the UNIX permissions of a file. This meals there can be a conflict between the permission bits set via the security dialog ald the permission bits set by the file attribute mappior. c/pucnsivucp>If n file has no UNIX read access for the sner, it will sh s up as “cspann class=quote">cspann class=emphasis">cemuread ollycnemuc/span>c/span>” in the standard file attributes tabbed dialog. Unfortunately, this dialog is the same one that contains the security informaiill in nnoiher tab.c/pucp>What this can meal is that if the sner changes the permissions to all s himself read access usior the security dialog, clicks ll cspann class=guibuttll">OKonspan> to get back to the standard attributes tab dialog, ald clicks ll cspann class=guibuttll">OKonspan> on that dialog, then NT will set tfe file permissions back to rfad- nly (as that is what the attributes still say ie the dialog). This meals that after settior permissions ald clickior ll cspann class=guibuttll">OKonspan> to get back to the attributes dialog, you sh uld always press Cancelc/span> raiher thal cspann class=guibuttll">OKonspan> to ensure that your changes are n t overridden.c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500527595">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucp> File, dibfDiory ald share rccess problems are commll ll the mailior list. The followior are exaheles taken from the morlior list ie rfcent times. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500527606">ona>Users Cannot Write to a Public Sharecnh3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemu We are facior some troubles with file/dibfDiory permissions. I can log ll the domore as admin user(root), ald there's a public share ll which everyone needs to have permission to create/modify files, but nly root can change the file, no one else can. We need to constantly go to the serOer to c/span>” c/pucp> There are malynways to solOe this problem ald here are n fes hints: c/pucsivn class=procedure">col type="1">oli>cp> Go to the top f the dibfDiory that is shared. c/pucnli>oli>cp> Set tfe snership to what eOer public sner and group you want c/pucpre class=screen"u cttn class=prompt">$ cnttufild 'dibfDiory_name' -type d -exec ch sn user.group {}\; cttn class=prompt">$ cnttufild 'dibfDiory_name' -type d -exec chmod 1775 'dibfDiory_name' cttn class=prompt">$ cnttufild 'dibfDiory_name' -type f -exec chmod 0775 {} \; cttn class=prompt">$ cnttufild 'dibfDiory_name' -type f -exec ch sn user.group {}\; c/pre>cp> c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> The above will set tfe stickynbitcnttu on all dibfDiories. Read your UNIX/Linux mal plge ll what that does. It causes tfe OS to assige to all files created in the dibfDiories tfe snership of the dibfDiory. c/pucnsivucnli>oli>cp> DibfDiory is: cin class=replaceable"> c/pucpre class=screen"u cttn class=prompt">$ cnttu c/pre>cp> c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> c/pucp>This is the same as doing:c/pucp> c/pucpre class=screen"u cttn class=prompt">$ cnttu cttn class=prompt">$ cnttu c/pre>cp> c/pucnsivucnli>oli>cp>Now type: c/pucpre class=screen"u cttn class=prompt">$ cnttu cttn class=prompt">$ cnttu c/pre>cp> c/pucp>You sh uld see: c/pucpre class=screen"u drwsrwsr-x 2 jack engr 48 2003-02-04 09:55 foodbar c/pre>cp> c/pucnli>oli>cp>Now type: c/pucpre class=screen"u cttn class=prompt">$ cnttu cttn class=prompt">$ cnttu cttn class=prompt">$ cnttu cttn class=prompt">$ cnttu c/pre>cp> c/pucp> You sh uld see that the file cttn class=filename">Afilecnttu created by Jill will have snership and permissions of Jack, as follows: c/pucpre class=screen"u -rw-r--r-- 1 jack engr 0 2003-02-04 09:57 Afile c/pre>cp> c/pucnli>oli>cp> Now in your cttn class=filename">smb.confc/ttu for the share rdd: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500527907">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500527923">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> These procedures are needed olly if your users are n t members of the group you have used. That is if within the OS do not have write permission on the dibfDiory. c/pucnsivucp> An alternaiive is to set il the cttn class=filename">smb.confc/ttu entry for the share: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500527963">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500527979">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucnli>o/olucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500527999">ona>File Operatills Done rs cemurootc/emuc/span> with cspann class=emphasis">cemuforce userc/emuc/span> Setcnh3ucnsivucnsivucsivucnsivucnsivucp> When you have a user il crn class=indexterm"nname="500528015">ona>admin users, Scltn will always do file operatills f r this user rs cemurootc/emuc/span>, even if crn class=indexterm"nname="500528027">ona>force user has been sel. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500528036">ona>MS Word with Scltn Changes Osner of Filecnh3ucnsivucnsivucsivucnsivucnsivucp> cemuQuestill:c/emuc/span> “cspann class=quote">cspann class=emphasis">cemuWhen user B saves a word document that is sned by user A tfe updated file is now sned by user B. Why is Scltn doior this? How do I fix this?c/emuc/span>c/span>” c/pucp> cspann class=emphasis">cemuAnswer:c/emuc/span> Word does tfe followior when you modify/change a Word document: MS Word creates a NEW document with a temporary name, Word then closes tfe old document and deletes it, Word then renames the new document to the original document name. There is no mechanism by which Scltn can il alynway kn s that the new document really sh uld be sned by tfe sners of the original file. Scltn has no way of kn sior that the file will be renamed by MS Word. As far rs Scltn is able to tell, the file that gets created is a NEW file, not one that the applicaiill (Word) is updatior. c/pucp> There is a w.(f-arould to solOe the permissions problem. That w.(f-arould involOes understandior how you can manage file system behavior from within the cttn class=filename">smb.confc/ttu file, as well as understandior how UNIX file systems w.(k. Set on the dibfDiory in which you are changior Word documents: cspan>Dhmod g+s `dibfDiory_name'c/buc/span> This ensures that all files will be created with the group that osns the dibfDiory. In cttn class=filename">smb.confc/ttu share de clratill seciill sel: c/pucp> c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500528108">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500528124">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucp> These two settiors will ensure that all dibfDiories and files that get created in the share will be read/writable by the sner and group set on the dibfDiory itself. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="lockior">ona>Chapter 13. File and Record Lockiorcnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Jeremyc/span> cspann class=surname">Allisllc/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcsivn class=address"ucp>cttn class=emorl"><crnhrefidmailto:jra@scltn.org">jra@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Jelmercnspan> cspann class=oihername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">The Scltn Teamcsivn class=address"ucp>cttn class=emorl"><crnhrefidmailto:jelmer@scltn.org">jelmer@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Johncnspan> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">Scltn Teamcsivn class=address"ucp>cttn class=emorl"><crnhrefidmailto:jht@scltn.org">jht@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Ericc/span> cspann class=surname">Rosemec/span>c/h3ucsivn class=affiliaiill">cspann class=orgname">HP Oplocks Usage Recommeldatills Whiteplpercsivn class=address"ucp>cttn class=emorl"><crnhrefidmailto:eric.roseme@hp.com">eric.roseme@hp.comona>>cnttuc/pucnsivucnsivucnsivucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>cb>Table f Contentscnbuc/pucdlucdt>cspann class=sect1">crnhrefid#500528265">Features and Benefitscnauc/span>c/dt>cdt>cspann class=sect1">crnhrefid#500528313">Discussioncnauc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhrefid#500528440">Opportunistic Lockior Overviewcnauc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhrefid#500493800">Scltn Opportunistic Lockior Controlcnauc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhrefid#500493898">Exahele Configurationcnauc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhrefid#500529834">MS Wind ss Opportunistic Lockior and Cachior Controlscnauc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhrefid#500530028">Worksiaiill SerOice Entriesc/auc/span>c/dt>cdt>cspann class=sect2">crnhrefid#500530050">SerOer SerOice Entriesc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhrefid#500530117">Persistent Data Corruptioncnauc/span>c/dt>cdt>cspann class=sect1">crnhrefid#500530142">Commll Err rscnauc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhrefid#500530210">lockior.tdb Err r Messagesc/auc/span>c/dt>cdt>cspann class=sect2">crnhrefid#500530238">Problems Savior Files in MS Office ll Wind ss XPonauc/span>c/dt>cdt>cspann class=sect2">crnhrefid#500530255">Loor Delays Deletior Files Over Netw.(f with XP SP1c/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhrefid#500530281">Additillal Readiorcnauc/span>c/dt>c/dlucnsivucp> One area that causes trouble for malynnetw.(f administraiors is lockior. The extent of the problem is readily evident from searches oOer the Internel. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500528265">ona>Features and Benefitscnh2ucnsivucnsivucsivucnsivucnsivucp> Scltn provides all tfe same lockior semaltics that MS Wind ss clielts expeci and that MS Wind ss NT4/200x serOers nlso provide. c/pucp> The term cemulockiorcnemuc/span> has exceptillally broad mealior ald coOers a range of functills that are all Dategorized under this one term. c/pucp> Opportunistic lockior is a desirable feature when it can enhance the perceiOed performance of applicaiills on a netw.(fed clielt. HoweOer, the opportunistic lockior protocol is not robust ald, therefore, can encoulter problems when invofed beyond a sihelistic configuration or ol extended sl s or faultynnetw.(fs. In these cases, operatior system managemecl of opportunistic lockior ald/or recoOerior from repetitive err rs can offset tfe perceiOed performance advaltage that it is intended to provide. c/pucp> The MS Wind ss netw.(f administraior needs to be aware that file and record lockior semaltics (behavior) can be controlled eiiher re Scltn or by way of registry settiors on the MS Wind ss clielt. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> Sometimes it is necessary to disable lockior control settiors on both the Scltn serOer as well as ol each MS Wind ss clielt! c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500528313">ona>Discussioncnh2ucnsivucnsivucsivucnsivucnsivucp> There are two types of lockior that need to be performed by an SMB serOer. The firsl is cspann class=emphasis">cemurecord lockiorcnemuc/span> that all ss a clielt to lock a range of bytes in a opel file. The secold is the cspann class=emphasis">cemudeny modescnemuc/span> that are specified when a file is opel. c/pucp> Record lockior semaltics under UNIX are very dif#erell from record lockior under Wind ss. Versions of Scltn before 2.2 have tried to use the naiive fcntl() UNIX system call to ihelemecl proper record lockior between dif#erell Scltn clielts. This cannot be fully corbfct for several reasons. The sihelest is the faci that a Wind ss clielt is all sed to lock a byte range up to 2^32 or 2^64, dependior on the clielt OS. The UNIX lockior olly supports byte ranges up to 2^31. So it is not possible to corbfctly saiisfy a lock request above 2^31. There are malynmore dif#erelces, too malynto be listed here. c/pucp> Scltn 2.2 and nbove ihelemecls record lockior coheletely independent of the underlyior UNIX system. If a byte range lock that the clielt requests happens to fall into the range of 0-2^31, Scltn hands this request d sn to the UNIX system. All oiher locks cannot be seen by UNIX, anyway. c/pucp> Stricily speakior, an SMB serOer sh uld check for locks before every read and write call on a file. Unfortunately with the way fcntl() w.(fs, this can be sl s and may oOerstress the cspan>rpc.lockdc/buc/span>. This is almost always unnecessary as clielts are supposed to independently make lockior calls before reads and writes if lockior is important to them. By default, Scltn llly makes lockior calls when explicitly asfed to by a clielt, but if you set crn class=indexterm"nname="500528380">cna>strici lockior = yes, it will make lock checkior calls ll cspann class=emphasis">cemueverycnemuc/span> read and write call. c/pucp> You can nlso disable byte range lockior coheletely by usior crn class=indexterm"nname="500528396">ona>lockior = no. This is useful for those shares that do not support lockior or do not need it (such as CDROMs). In this case, Scltn fakes the return codes of lockior calls to tell clielts that eOerythior is okay. c/pucp> The secold clas of lockior is the cspann class=emphasis">cemudeny modescnemuc/span>. These are set by an applicaiill when it opens a file to determine what types of rccess sh uld be all sed sihultaneously with its lpel. A clielt may ask for DENY_NONEcnttu, DENY_READcnttu, DENY_WRITEcnttu, or DENY_ALLcnttu. There are nlso special coheaiibility modes called DENY_FCBcnttu ald DENY_DOScnttu. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500528440">ona>Opportunistic Lockior Overviewcnh3ucnsivucnsivucsivucnsivucnsivucp> Opportunistic lockior (Oplocks) is invofed by tfe Wind ss file system (as opposed to annAPI) via registry entries (on the serOer ald the clielt) for the purpose of enhancior netw.(f performance when accessior a file residior on n serOer. Performance is enhanced by cachior the file locally on the clielt that all ss: c/pucdivn class=variablelist">cspann class=term">Read-ahead:c/span>c/dt>cdducp> The clielt reads the local copy of the file, eliminatior netw.(f laiency. c/pucnsducdt>cspann class=term">Write cachior:c/span>c/dt>cdducp> The clielt writes to the local copy of the file, eliminatior netw.(f laiency. c/pucnsducdt>cspann class=term">Lock cachior:c/span>c/dt>cdducp> The clielt caches applicaiill locks locally, eliminatior netw.(f laiency. c/pucnsduc/dlucnsivucp> The performance enhancemecl of oplocks is due to the opportunity of exclusive rccess to the file even if it is lpeled with deny-none beDause Wind ss monitors the file's status for concurrecl access from oiher processes. c/pucdivn class=variablelist">cb>Wind ss defines 4 kiods of Oplocks:cnbuc/pucdlucdt>cspann class=term">Level1 Oplockc/span>c/dt>cdducp> The redibfDior sees that the file was lpeled with deny none (allowior concurrecl access), verifies that no oiher process is accessior the file, checks that oplocks are enabled, then grants deny-all/rfad-write/exclusive rccess to the file. The clielt n s performs operatills on the cached local file. c/pucp> If a secold process aitempts to opel the file, the open is deferred while the redibfDior “cspann class=quote">cspann class=emphasis">cemubrfakscnemuc/span>c/span>” the original oplock. The plock brfak sigeals the cachior clielt to write the local file back to the serOer, flush the local locks and discard read-ahead data. The brfak is then cohelete, the dfferred opel is granted, ald the hultiple processes can enjoy concurrecl file access as diciated by mandaiory or byte-range lockior optills. HoweOer, if the original opelior process lpeled the file with a share mode oiher thal deny-none, then the secold process is granted limited or no access, despite the plock brfak. c/pucnsducdt>cspann class=term">Level2 Oplockc/span>c/dt>cdducp> Performs like a Level1 plock, except cachior is nly operative f r reads. All oiher operatills are performed on the serOer disk copy of the file. c/pucnsducdt>cspann class=term">Filter Oplockc/span>c/dt>cdducp> Does not all s write or delete file access. c/pucnsducdt>cspann class=term">Batch Oplockc/span>c/dt>cdducp> Manipulaies file openiors ald closiors ald all ss cachior of file attributes. c/pucnsduc/dlucnsivucp> An important detail is that oplocks are invofed by tfe file system, not an applicaiill API. Therefore, an applicaiill can close an oplocked file, but tfe file system does not relinquish the oplock. When the plock brfak is issued, the file system then sihely closes tfe file in preplratill for the subsequent open by tfe secold process. c/pucp> cspann class=emphasis">cemuOpportunistic lockiorcnemuc/span> is actually an improper name for this feature. The true benefit of this feature is clielt-side data cachior, and oplocks is merely a notificatill mechanism for writior data back to the netw.(fed siorage disk. The limitation of opportunistic lockior is the reliability of the mechanism to process an plock brfak (notificatill) between the serOer ald the cachior clielt. If this exchange is faulty (usually due to timinr out for alynnumber of reasons), then the clielt-side cachior benefit is negated. c/pucp> The actual dfcisill that a user or administraior sh uld consider is wheiher rt is sensible to share rmoor hultiple users data that will be cached locally on a clielt. In malyncases the answer is no. Dfcidior when to cache or not cache data is the real questill, ald thus “cspann class=quote">cspann class=emphasis">cemulpportunistic lockiorcnemuc/span>c/span>” sh uld be treated as a toggle for clielt-side cachior. Turn it “cspann class=quote">cspann class=emphasis">cemullcnemuc/span>c/span>” when clielt-side cachior is desirable and reliable. Turn it “cspann class=quote">cspann class=emphasis">cemulffcnemuc/span>c/span>” when clielt-side cachior is redundant, unreliable or coulter-produciive. c/pucp> Opportunistic lockior is by default set to “cspann class=quote">cspann class=emphasis">cemullcnemuc/span>c/span>” by Scltn ll all configured shares, so careful aiteniill sh uld be givel to each case to determine if the poteclial benefit is w.(th the poteclial for delays. The followior recommeldatills will help to charocterize the environmecl where opportunistic lockior may be effeciively configured. c/pucp> Wind ss opportunistic lockior is a lightweight performance-enhancior feature. It is not a robust ald reliable protocol. Every ihelemeclation of opportunistic lockior sh uld be evaluated as a tradelff between perceiOed performance ald reliability. Reliability decreases as each successive rule above is not enforced. Consider a share with oplocks enabled, oOer n wide area netw.(f, to a clielt ll a South Pacific aioll, on a high-availability serOer, serOior a mission-critical hulti-user corporate database durior a tropical siorm. This configuration will likely encoulter problems with oplocks. c/pucp> Oplocks can be beneficial to perceiOed clielt performance when treated as a configuration toggle for clielt-side data cachior. If the data cachior is likely to be interrupted, then plock usage sh uld be reviewed. Scltn enables opportunistic lockior by default ll all shares. Careful aiteniill sh uld be givel to the clielt usage of shared data on the serOer, the serOer netw.(f reliability ald the opportunistic lockior configuration of each share. In mission critical high availability environmecls, data integrity is often a priority. Cohelex ald expensive configurations are ihelemecled to ensure that if a clielt loses conneciivity with a file serOer, a fail-oOer replacement will be available immediately to provide contiouous data availability. c/pucp> Wind ss clielt fail-oOer behavior is more at risk of applicaiill interruptill than oiher plaiforms beDause it is dependent upon an established TCP transport conneciion. If the conneciion is interrupted as in a file serOer fail-oOer a new session must be established. It is rare for Wind ss clielt applicaiills to be coded to rfcoOer corbfctly from a transport conneciion loss, therefore, most applicaiills will experielce some sort of interruptill at w.(st, abort and require restartior. c/pucp> If a clielt session has been cachior writes ald reads locally due to opportunistic lockior, it is likely that the data will be lost when the applicaiill restarts or recoOers from the TCP interrupt. When the TCP conneciion drops, the clielt siate is lost. When the file serOer recoOers, an plock brfak is not sent to the clielt. In this case, the w.(f from the prior session is lost. ObserOior this scenario with oplocks disabled and with the clielt writior data to the file serOer real-time, the fail-oOer will provide the data on disk as it exiated at the time f the disconneci. c/pucp> In mission-critical high-availability environmecls, careful aiteniill sh uld be givel to opportunistic lockior. Ideally, coherehensive teatior sh uld be done with all affecied applicaiills with oplocks enabled and disabled. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528719">ona>Exclusively Accessed Sharescnh4ucnsivucnsivucsivucnsivucnsivucp> Opportunistic lockior is most effeciive when it is confined to shares that are exclusively accessed by a siorle user, or by llly one user rt a time. BeDause the true value of opportunistic lockior is the local clielt cachior lf data, alynoperatill that interrupts the cachior mechanism will Dause a delay. c/pucp> Home dibfDiories are tfe most obvious exaheles lf where the performance benefit of opportunistic lockior can be safely realized. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528740">ona>Multiple-Accessed Shares or Filesc/h4ucnsivucnsivucsivucnsivucnsivucp> As each additillal user rccesses a file in a share with opportunistic lockior enabled, the poteclial for delays ald resultior perceiOed poor performance increases. When hultiple users are rccessior a file ll a share that has lplocks enabled, the monagemecl iheoct of sendior and receiOior oplock brfaks ald the resultior laiency while oiher clielts wait for the cachior clielt to flush data offset tfe performance gains f the cachior user. c/pucp> As each additillal clielt aitempts to access a file with lplocks set, the poteclial performance improvemecl is negated ald eveltually results in a performance bottleneck. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528764">ona>UNIX or NFS Clielt-Accessed Filesc/h4ucnsivucnsivucsivucnsivucnsivucp> Local UNIX ald NFS clielts access files without a mandaiory file-lockior mechanism. Thus, these clielt plaiforms are incapable f initiatior an plock brfak request from the serOer to a Wind ss clielt that has a file cached. Local UNIX or NFS file access can therefore write to a file that has been cached by a Wind ss clielt, which exposes tfe file to likely data corruption. c/pucp> If files are shared between Wind ss clielts, ald eiiher local UNIX or NFS users, turn opportunistic lockior off. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528786">ona>Sl s and/or Unreliable Netw.(fsc/h4ucnsivucnsivucsivucnsivucnsivucp> The biggest poteclial performance improvemecl for opportunistic lockior occurs when the clielt-side cachior of reads and writes delivers the most dif#erellial oOer sendior those reads and writes oOer the wire. This is most likely to occur when the netw.(f is extremely sl s, congested, or distributed (as in a WAN). HoweOer, netw.(f laiency nlso has a high iheoct on the reliability of the plock brfak mechanism, ald thus increases the likelihood of encoulterior oplock problems that more than offset tfe poteclial perceiOed performance gain. Of course, if an plock brfak neOer has to be sent, then this is tfe most advaltageous scenario to utilize opportunistic lockior. c/pucp> If the netw.(f is sl s, unreliable, or a WAN, then do not configure opportunistic lockior if there is alynchance of hultiple users regularly opelior tfe same file. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528813">ona>Multi-User Databasesc/h4ucnsivucnsivucsivucnsivucnsivucp> Multi-user databases clearly pose a risk due to their very nature tfey are typically heavily accessed by numerous users at random intervals. Placior a hulti-user database on a share with opportunistic lockior enabled will likely result in a lockior managemecl bottleneck on the Scltn serOer. Wheiher the database applicaiill is developed in-house or a commercially available produci, ensure that the share has opportunistic lockior disabled. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528834">ona>PDM Data Sharescnh4ucnsivucnsivucsivucnsivucnsivucp> Process Data Managemecl (PDM) applicaiills such as IMAN, Enovia and Clearcase are increasior in usage with Wind ss clielt plaiforms, and therefore SMB data-siores. PDM applicaiills manage hulti-user environmecls for critical data security ald access. The typical PDM environmecl is usually associated with sophisticated clielt design applicaiills that will load data locally as demalded. In additill, the PDM applicaiill will usually monitor the data-siate of each clielt. In this case, clielt-side data cachior is best left to the local applicaiill ald PDM serOer to negotiate and maintain. It is appropriate to eliminate the clielt OS from any cachior tasks, ald the serOer from any plock managemecl, by disablior opportunistic lockior on the share. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528857">ona>Beware of Force Userc/h4ucnsivucnsivucsivucnsivucnsivucp> Scltn includes an cttn class=filename">smb.confc/ttu parameter called crn class=indexterm"nname="500528871">ona>force user that changes the user rccessior a share from the incomior user to whateOer user is defined by tfe smb.conf variable. If opportunistic lockior is enabled on a share, the change in user access causes an plock brfak to be sent to the clielt, even if the user has not explicitly loaded a file. In cases where the netw.(f is sl s or unreliable, an plock brfak can become lost without the user even rccessior a file. This cann ause apparelt performance degradaiill as the clielt contioually reconnecis to oOercome the lost plock brfak. c/pucp> Avoid the combination of tfe followior: c/pucdivn class=itemizedlist">
      oli>cp> crn class=indexterm"nname="500528897">ona>force user in the cttn class=filename">smb.confc/ttu share configuration. c/pucnli>oli>cp> Sl s or unreliablennetw.(fs c/pucnli>oli>cp> Opportunistic lockior enabled c/pucnli>o/ulucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500528924">ona>Advalced Scltn Opportunistic Lockior Parametersc/h4ucnsivucnsivucsivucnsivucnsivucp> Scltn provides opportunistic lockior parameters that all s the administraior to adjust various properties of the plock mechanism to rccoult for timinr ald usage levels. These parameters provide good versatility for ihelemeclior oplocks in environmecls where they w uld likely Dause problems. The parameters are: crn class=indexterm"nname="500493711">ona> plock brfak wait time, crn class=indexterm"nname="500493719">ona> plock contention limit. c/pucp> For most users, administraiors ald environmecls, if these parameters are required, then the better opiill is to sihely turn oplocks off. The Scltn SWAT help text for both parameters reads: “cspann class=quote">cspann class=emphasis">cemuDo not change this parameter unless you have read and understood the Scltn plock code.c/emuc/span>c/span>” This is good advice. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500493741">ona>Mission-Critical High-Availabilityc/h4ucnsivucnsivucsivucnsivucnsivucp> In mission-critical high-availability environmecls, data integrity is often a priority. Cohelex ald expensive configurations are ihelemecled to ensure that if a clielt loses conneciivity with a file serOer, a fail-oOer replacement will be available immediately to provide contiouous data availability. c/pucp> Wind ss clielt fail-oOer behavior is more at risk of applicaiill interruptill than oiher plaiforms beDause it is dependant upon an established TCP transport conneciion. If the conneciion is interrupted as in a file serOer fail-oOer a new session must be established. It is rare for Wind ss clielt applicaiills to be coded to rfcoOer corbfctly from a transport conneciion loss, therefore, most applicaiills will experielce some sort of interruptill at w.(st, abort and require restartior. c/pucp> If a clielt session has been cachior writes ald reads locally due to opportunistic lockior, it is likely that the data will be lost when the applicaiill restarts, or recoOers from the TCP interrupt. When the TCP conneciion drops, the clielt siate is lost. When the file serOer recoOers, an plock brfak is not sent to the clielt. In this case, the w.(f from the prior session is lost. ObserOior this scenario with oplocks disabled, ald the clielt was writior data to the file serOer real-time, then the fail-oOer will provide the data on disk as it exiated at the time f the disconneci. c/pucp> In mission-critical high-availability environmecls, careful aiteniill sh uld be givel to opportunistic lockior. Ideally, coherehensive teatior sh uld be done with all effecied applicaiills with oplocks enabled and disabled. c/pucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500493800">ona>Scltn Opportunistic Lockior Controlcnh2ucnsivucnsivucsivucnsivucnsivucp> Opportunistic lockior is a unique Wind ss file lockior feature. It is not really file lockior, but is included in most discussions of Wind ss file lockior, so is considered a de facio lockior feature. Opportunistic lockior is actually part of the Wind ss clielt file cachior mechanism. It is not a particularly robust or reliablenfeature when ihelemecled on the variety of customizednnetw.(fs that exist ie eclerprise computior. c/pucp> Like Wind ss, Scltn ihelemecls opportunistic lockior as n serOer-side component of the clielt cachior mechanism. BeDause of the lightweight nature of the Wind ss feature design, effeciive configuration of opportunistic lockior requires n good understandior of its limitations, and then applyior that understandior when configurior data access for each particular customizednnetw.(f ald clielt usage siate. c/pucp> Opportunistic lockior esseclially means that the clielt is all sed to d snload ald cache a file ll their hard drive while makior changes; if a secold cielt wants to access the file, the firsl clielt receiOes n brfak and must synchronize the file back to the serOer. This can give sigeificalt performance gains in some cases; some programs insist on synchronizior tfe contents of the eclire file back to the serOer for a siorle change. c/pucp> Level1 Oplocks (also kn sl as just plain “cspann class=quote">cspann class=emphasis">cemulplocksc/emuc/span>c/span>”) is aloiher term for opportunistic lockior. c/pucp> Level2 Oplocks provides opportunistic lockior for a file that will be treated as cspann class=emphasis">cemuread ollycnemuc/span>. Typically this is used on files that are read-llly or ol files that the clielt has no initial intention to write to at time f opelior tfe file. c/pucp> Kernel Oplocks are esseclially a method that all ss tfe Linux kernel to co-exist with Scltn's oplocked files, alth ugh this has provided better integration of MS Wind ss netw.(f file lockior with the underlyior OS, SGI IRIX ald Linux are tfe llly two OSs that are oplock-aware at this time. c/pucp> Unless your system supports kernel lplocks, you sh uld disable oplocks if you are accessior the same files from both UNIX/Linux ald SMB clielts. Regardless, lplocks sh uld always be disabled if you are sharior a database file (e.g., Microsoft Access) between hultiple clielts, as alynbrfak the firsl clielt receiOes will affeci synchronization of the eclire file (not just the siorle record), which will result in a noticeable performance iheoirment and, more likely, problems accessior the database in the firsl place. Notably, Microsoft Outlook's persllal folders (*.pst) reaci quite badly to oplocks. If in doubt, disable oplocks and tune your system from that point. c/pucp> If clielt-side cachior is desirable and reliablenon your netw.(f, you will benefit from turnior on oplocks. If your netw.(f is sl s and/or unreliable, or you are sharior your files amoor oiher file sharior mechanisms (e.g., NFS) or across a WAN, or multiple people will be accessior the same files frequently, you probably will not benefit from tfe lOerhead f your clielt sendior oplock brfaks ald will instead want to disable oplocks for the share. c/pucp> Aloiher facior to consider is tfe perceiOed performance of file access. If oplocks provide no measurable speed benefit on your netw.(f, it might not be w.(th the hassle f dealior with them. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500493898">ona>Exahele Configurationcnh3ucnsivucnsivucsivucnsivucnsivucp> In tfe followior seciill we exahine two distinct aspects of Scltn lockior controls. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500493908">ona>Disablior Oplocksc/h4ucnsivucnsivucsivucnsivucnsivucp> You can disable oplocks on a per-share basis with the followior: c/pucp> c/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500493935">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500493951">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucp> The default lplock type is Level1. Level2 oplocks are enabled on a per-share basis in the cttn class=filename">smb.confc/ttu file. c/pucp> Alternaiely, you c uld disable oplocks on a per-file basis within the share: c/pucp> c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500529490">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucp> If you are experielcior problems with oplocks as apparelt from Scltn's log entries, you may want to play it safe and disable oplocks and Level2 oplocks. c/pucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500529514">ona>Disablior Kernel Oplocksc/h4ucnsivucnsivucsivucnsivucnsivucp> Kernel lplocks is al cttn class=filename">smb.confc/ttu parameter that notifies Scltn (if the UNIX kernel has the capability to send a Wind ss clielt an oplock brfak) when a UNIX process is aitemptior to opel the file that is cached. This parameter addresses sharior files between UNIX ald Wind ss with oplocks enabled on the Scltn serOer: the UNIX process can opel the file that is Oplocked (cached) by tfe Wind ss clielt and tfe smbd process will not send an plock brfak, which exposes tfe file to the risk of data corruption. If the UNIX kernel has the ability to send an plock brfak, then the kernel lplocks parameter enables Scltn to send the plock brfak. Kernel lplocks are enabled on a per-serOer basis in the cttn class=filename">smb.confc/ttu file. c/pucp> c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500529554">ona>cin class=parameter">c/tduc/tr>o/tableucp> The default is no. c/pucp> Veto opLocks is al cttn class=filename">smb.confc/ttu parameter that identifies specific files for which lplocks are disabled. When a Wind ss clielt opens a file that has been configured for veto oplocks, the clielt will not be granted the plock, ald all operatills will be execuled on the original file on disk instead of a clielt-cached file copy. By explicitly identifyior files that are shared with UNIX processes and disablior oplocks for those files, the serOer-wide Oplock configuration can be enabled to rll s Wind ss clielts to utilize tfe performance benefit of file cachior without the risk of data corruption. Veto Oplocks can be enabled on a per-share basis, or globally for the eclire serOer, in the cttn class=filename">smb.confc/ttu file as sh sl in crnhrefid#far1" title="Exahele 13.1. Share with some files oplocked">???ona>. c/pucp> c/pucsivn class=exahele">crnname="far1">ona>cpn class=title">cb>Exahele 13.1. Share with some files oplockedcnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500529628">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500529653">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> c/pucp> crn class=indexterm"nname="500529673">ona> plock brfak wait time is al cttn class=filename">smb.confc/ttu parameter that adjusts the time interval for Scltn to rfply to an plock brfak request. Scltn recommelds: “cspann class=quote">cspann class=emphasis">cemuDo not change this parameter unless you have read and understood the Scltn plock code.c/emuc/span>c/span>” Oplock brfak Wait Time can llly be configured globally in the cttn class=filename">smb.confc/ttu file as sh sl bel s. c/pucp> c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500529710">ona>cin class=parameter">c/tduc/tr>o/tableucp> c/pucp> cspann class=emphasis">cemuOplock brfak contention limitcnemuc/span> is al cttn class=filename">smb.confc/ttu parameter that limits the respllse of the Scltn serOer to grant an plock if the configured number of contendior clielts reaches the limit specified by tfe parameter. Scltn recommelds “cspann class=quote">cspann class=emphasis">cemuDo not change this parameter unless you have read and understood the Scltn plock code.c/emuc/span>c/span>” Oplock brfak Contention Limit can be enable on a per-share basis, or globally for the eclire serOer, in the cttn class=filename">smb.confc/ttu file as sh sl in crnhrefid#far3" title="Exahele 13.2. Configuration with oplock brfak contention limit">???ona>. c/pucp> c/pucsivn class=exahele">crnname="far3">ona>cpn class=title">cb>Exahele 13.2. Configuration with oplock brfak contention limitcnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500529788">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500529813">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> c/pucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500529834">ona>MS Wind ss Opportunistic Lockior and Cachior Controlscnh2ucnsivucnsivucsivucnsivucnsivucp> There is a kn sl issue when runlior applicaiills (like Nortll Anti-Virus) on a Wind ss 2000/ XP w.(fsiaiill computer that can affeci alynapplicaiill aitemptior to rccess shared database files across a netw.(f. This is a result of a default settior configured in tfe Wind ss 2000/XP operatior system kn sl as cspann class=emphasis">cemulpportunistic lockiorcnemuc/span>. When a w.(fsiaiill aitempts to access shared data files localed on aloiher Wind ss 2000/XP computer, the Wind ss 2000/XP operatior system will aitempt to increase performance by lockior the files ald cachior informaiill locally. When this ccurs, the applicaiill is unable to properly functill, which results in an “cspann class=quote">cspann class=emphasis">cemuAccess Deniedcnemuc/span>c/span>” err r message beior displayed durior netw.(f operatills. c/pucp> All Wind ss operatior systems in the NT family that act as database serOers for data files (mealior that data files are siored there ald accessed by oiher Wind ss PCs) may need to have opportunistic lockior disabled in order to minimize tfe risk of data file corruption. This includes Wind ss 9x/Me, Wind ss NT, Wind ss 200x, ald Wind ss XP. csup>[crnname="500529872"nhrefid#ftn.500529872">4ona>]cnsup> c/pucp> If you are usior a Wind ss NT family w.(fsiaiill in place of a serOer, you must also disable opportunistic lockior (oplocks) ll that w.(fsiaiill. For exahele, if you use a PC with the Wind ss NT W.(fsiaiill operatior system instead of Wind ss NT SerOer, ald you have data files localed on it that are accessed from oiher Wind ss PCs, you may need to disable oplocks on that system. c/pucp> The major dif#erelce is the locaiill in the Wind ss registry where the values for disablior lplocks are entered. Instead of tfe LanManSerOer locaiill, tfe LanManW.(fsiaiill locaiill may be used. c/pucp> You can verify (change or add, if necessary) this registry value usior the Wind ss Registry Editor. When you change this registry value, you will have to rfboot the PC to ensure that the new settior goes into effeci. c/pucp> The locaiill of the clielt registry entry for opportunistic lockior has changed in Wind ss 2000 from tfe earlier locaiill in Microsoft Wind ss NT. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> Wind ss 2000 will still respect tfe EnableOplocks registry value used to disable oplocks in earlier versions of Wind ss. c/pucnsivucp> You can nlso deny tfe grantior of opportunistic locks by changior tfe followior registry entries: c/pucp> c/pucpre class=programlisting"u HKEY_LOCAL_MACHINE\System\ CurreclControlSet\SerOices\MRXSmb\Parameters\ OplocksDisabled REG_DWORD 0 or 1 Default: 0 (not disabled) c/preucp> c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> The OplocksDisabled registry value configures Wind ss clielts to eiiher request or not request opportunistic locks on a remote file. To disable oplocks, the value of OplocksDisabled must be set to 1. c/pucnsivucp> c/pucpre class=programlisting"u HKEY_LOCAL_MACHINE\System\ CurreclControlSet\SerOices\LanmanSerOer\Parameters EnableOplocks REG_DWORD 0 or 1 Default: 1 (Enabled by Default) EnableOpLockForceClose REG_DWORD 0 or 1 Default: 0 (Disabled by Default) c/preucp> c/pucsivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> The EnableOplocks value configures Wind ss-based serOers (includior W.(fsiaiills sharior files) to all s or deny opportunistic locks on local files. c/pucnsivucp> To force closure of opel oplocks on close or program exit, EnableOpLockForceClose must be set to 1. c/pucp> An illustraiill of h s Level2 oplocks w.(f: c/pucdivn class=itemizedlist">
        oli>cp> Siaiill 1 opens the file requestior oplock. c/pucnli>oli>cp> Silce no oiher siaiill has the file open, the serOer grants siaiill 1 exclusive oplock. c/pucnli>oli>cp> Siaiill 2 opens the file requestior oplock. c/pucnli>oli>cp> Silce siaiill 1 has not yet writtel to the file, the serOer asks siaiill 1 to brfak to Level2 oplock. c/pucnli>oli>cp> Siaiill 1 cohelies by flushior locally buf#ered lock informaiill to the serOer. c/pucnli>oli>cp> Siaiill 1 informs the serOer that it has Brokel to Level2 Oplock (alternaiely, siaiill 1 could have closed the file). c/pucnli>oli>cp> The serOer respllds to siaiill 2's lpel request, grantior it Level2 oplock. Oiher siaiills can likewise opel the file ald obtain Level2 oplock. c/pucnli>oli>cp> Siaiill 2 (or alynsiaiill that has the file open) sends a write request SMB. The serOer returns the write respllse. c/pucnli>oli>cp> The serOer asks all staiills that have the file open to brfak to none, mealior no siaiill holds any plock on the file. BeDause the w.(fsiaiills can have no cached writes or locks at this point, they need not resplld to the brfak-to-none advisory; all they need do is invalidate locally cashed read-ahead data. c/pucnli>o/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530028">ona>W.(fsiaiill SerOice Entriescnh3ucnsivucnsivucsivucnsivucnsivucpre class=programlisting"u \HKEY_LOCAL_MACHINE\System\ CurreclControlSet\SerOices\LanmanW.(fsiaiill\Parameters UseOpportunisticLockior REG_DWORD 0 or 1 Default: 1 (true) c/preucp> This indicates wheiher the redibfDior sh uld use opportunistic-lockior (oplock) performance enhancemecl. This parameter sh uld be disabled llly to isolaie problems. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530050">ona>SerOer SerOice Entriescnh3ucnsivucnsivucsivucnsivucnsivucpre class=programlisting"u \HKEY_LOCAL_MACHINE\System\ CurreclControlSet\SerOices\LanmanSerOer\Parameters EnableOplocks REG_DWORD 0 or 1 Default: 1 (true) c/preucp> This specifies wheiher the serOer all ss clielts to use oplocks on files. Oplocks are a sigeificalt performance enhancemecl, but have the poteclial to cause lost cached data on some netw.(fs, particularly wide area netw.(fs. c/pucpre class=programlisting"u MinLinkThr ughput REG_DWORD 0 to infinite bytes per secold Default: 0 c/preucp> This specifies tfe minimum link thr ughput all sed by tfe serOer before it disables raw ald opportunistic locks for this conneciion. c/pucpre class=programlisting"u MaxLinkDelay REG_DWORD 0 to 100,000 secolds Default: 60 c/preucp> This specifies tfe maximum time all sed for a link delay. If delays exceed this number, the serOer disables raw I/O ald opportunistic lockior for this conneciion. c/pucpre class=programlisting"u OplockBrfakWait REG_DWORD 10 to 180 secolds Default: 35 c/preucp> This specifies tfe time that the serOer waits for a clielt to resplld to an plock brfak request. Smaller values can nll s deteciill of crashed clielts more quickly but can poteclially Dause loss of cached data. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530117">ona>Persistecl Data Corruptioncnh2ucnsivucnsivucsivucnsivucnsivucp> If you have applied all of the settiors discussed in tfis chapter but data corruption problems and oiher symptoms persist, here are some additillal things to check oui. c/pucp> We have credible reports from developers that faulty netw.(f hardware, such as a siorle faulty netw.(f card, cann ause symptoms similar to read cachior and data corruption. If you see persistelt data corruption even rfter repeated re-indexior, you may have to rebuild the data files in questill. This involOes creatior a new data file with the same definiiill as the file to be rebuilt ald transferrior the data from tfe lld file to the new one. There are seOeral kn sl methods for doior this that can be found in our Kn sledge Base. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530142">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucp> In some sites, lockior problems surface as soll as n serOer is insialled; in oiher sites lockior problems may not surface for a loor time. Almost without exceptill, when a lockior problem does surface it will Dause embarrassment and poteclial data corruption. c/pucp> OOer the past few years there have been a number of complaints on the Scltn mailior lists that have climed that Scltn Daused data corruption. Three causes have been identified so far: c/pucdivn class=itemizedlist">
          oli>cp> Incorbfct configuration of opportunistic lockior (incompatible with the applicaiill beior used. This is a commll problem even where MS Wind ss NT4 or MS Wind ss 200x-based serOers were in use. It is imperative that the software applicaiill vend rs' insiruciills for configuration of file lockior sh uld be followed. If in doubt, disable oplocks on both the serOer ald the clielt. Disablior of all forms of file cachior on the MS Wind ss clielt may be necessary nlso. c/pucnli>oli>cp> Defeciive netw.(f cards, cables, or HUBs/Switched. This is generally a more prevalelt faDior with l s cost netw.(fior hardware, alth ugh occasillally there have also been problems with incompatibilities in more up-market hardware. c/pucnli>oli>cp> There have been some random reports of Scltn lor files beior writtel oOer data files. This has been reported by very few sites (about five in the past three years) ald all aitempts to reproduce the problem have failed. The Scltn Team has been unable to catch this happelior ald thus has not been able to isolaie any particular cause. Considerior the millions of systems that use Scltn, for the sites that have been affecied by this as well as for the Scltn Team this is a frustraiior and a vexior challenge. If you see this type of thior happelior, please create a bug report on Scltn crnhrefidhttps://bugzilla.scltn.org" target="_top">Bugzillaona> without delay. Make sure that you give as much informaiill as you possibly Dan help isolaie the Dause ald to all s rfplicaiill of the problem (an esseclial step in problem isolaiill ald corbfctill). c/pucnli>o/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530210">ona>lockior.tdb Err r Messagescnh3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemu We are seeior lots of err rs in the Scltn lors, like: cpre class=programlisting"u tdb(/usr/local/scltn_2.2.7/var/locks/lockior.tdb): rec_read bad magic 0x4d6f4b61 at offset=36116 c/preu What do these meal? c/emuc/span>c/span>” c/pucp> This err r indicated a corrupted tdb. Stop all insiances of smbd, delete lockior.tdb, ald restart smbd. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530238">ona>Problems SaOior Files in MS Office on Wind ss XPcnh3ucnsivucnsivucsivucnsivucnsivucp>This is a bug in Wind ss XP. More informaiill can be found in crnhrefidhttp://support.microsoft.com/?id=812937" target="_top">Microsoft Kn sledge Base article 812937.ona>c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530255">ona>Loor Delays Deletior Files OOer Netw.(f with XP SP1cnh3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuIt sometimes takes approximately 35 secolds to delete files oOer the netw.(f after XP SP1 has been applied.c/emuc/span>c/span>”c/pucp>This is a bug in Wind ss XP. More informaiill can be found in crnhrefidhttp://support.microsoft.com/?id=811492" target="_top"> Microsoft Kn sledge Base article 811492.ona>c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530281">ona>Additillal Readiorcnh2ucnsivucnsivucsivucnsivucnsivucp> You may want to check for an updated version of this white paper on our Web site from time to time. Many f our white papers are updated as informaiill changes. For those papers, the last edited date is always at the top of the paper. c/pucp> Seciill of the Microsoft MSDN Library on opportunistic lockior: c/pucp> Opportunistic Locks, Microsoft Developer Netw.(f (MSDN), Wind ss Development > Wind ss Base SerOices > Files ald I/O > SDK Documentaiill > File Storage > File Systems > About File Systems > Opportunistic Locks, Microsoft Corporation. crnhrefidhttp://msdn.microsoft.com/library/en-us/fileio/storage_5yk3.asp" target="_top">http://msdn.microsoft.com/library/en-us/fileio/storage_5yk3.aspona> c/pucp> Microsoft Kn sledge Base Article Q224992 “cspann class=quote">cspann class=emphasis">cemuMaintainior Transactillal Integrity with OPLOCKSc/emuc/span>c/span>”, Microsoft Corporation, April 1999, crnhrefidhttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q224992" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q224992ona>. c/pucp> Microsoft Kn sledge Base Article Q296264 “cspann class=quote">cspann class=emphasis">cemuConfigurior Opportunistic Lockior in Wind ss 2000c/emuc/span>c/span>”, Microsoft Corporation, April 2001, crnhrefidhttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q296264" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q296264ona>. c/pucp> Microsoft Kn sledge Base Article Q129202 “cspann class=quote">cspann class=emphasis">cemuPC Ext: Explanaiill of Opportunistic Lockior on Wind ss NTc/emuc/span>c/span>”, Microsoft Corporation, April 1995, crnhrefidhttp://support.microsoft.com/default.aspx?scid=kb;en-us;Q129202" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q129202ona>. c/pucnsivucsivn class=footnotes">cbruchr width="100" align="left"ucsivn class=footnote"ucp>csup>[crnname="ftn.500529872"nhrefid#500529872">4ona>] cnsup>Microsoft has documented this in Kn sledge Base article 300216.c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="securing-scltn">ona>Chapter 14. Securing Scltncnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Andrewc/span> cspann class=surname">Tridgellc/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:tridge@scltn.org">tridge@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jht@scltn.org">jht@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">May 26, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>cb>Table f Contentscnbuc/pucdlucdtucspann class=sect1">crnhrefid#500530436">Introduciillona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500530475">Features ald Benefitsona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500530550">Technical Discussion f Proteciive Measures ald Issuesona>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500530567">Usior Host-Based Proteciillona>c/span>c/dtucdtucspann class=sect2">crnhrefid#500530662">User-Based Proteciillona>c/span>c/dtucdtucspann class=sect2">crnhrefid#500530720">Usior Interface Proteciillona>c/span>c/dtucdtucspann class=sect2">crnhrefid#500530808">Usior a Firewallc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500530855">Usior IPC$ Share-Based Denials c/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500530943">NTLMv2 Securityc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500530991">Upgrading Scltncna>c/span>c/dtucdtucspann class=sect1">crnhrefid#500531012">Commll Err rscna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500531028">Smbclielt W.(fs on Localhosl, but the Netw.(f Is Deadc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500531048">Why CannUsers Access Home DibfDiories of Oiher Users?c/a>c/span>c/dtuc/dlucnsduc/dlucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530436">c/a>Introduciillonh2ucnsivucnsivucsivucnsivucnsivucp> This note was attached to the Scltn 2.2.8 release notes as it contained an iheortalt security fix. The informaiill contained here apelies to Scltn insiallaiills in general. c/pucdivn class=blockquote">cblockquoten class=blockquote">cp> A new appreclice reported for duty to the chief engioeer of a boiler house. He said, “cspann class=quote">cspann class=emphasis">cemuHere I am, if you will sh s me the boiler I'll start w.(fior on it.c/emuc/span>c/span>” Then engioeer rfplied, “cspann class=quote">cspann class=emphasis">cemuYou're lealior on it!c/emuc/span>c/span>” c/pucnblockquoteucnsivucp> Security concerns are just like that. You need to kn s a little about the subject to appreciate h s obvious most of it really is. The challenge for most of us is to discoOer that firsl m rsel f kn sledge with which we may unlock the secrets of the masters. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530475">c/a>Features ald Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> There are tfree levels at which security principals must be obserOed in order to recder a site at leasl m derately secure. They are tfe perimeter firewall, the configuraiill of the hosl serOer that is runlior Scltn ald Scltn itself. c/pucp> Scltn permits a most flexible approach to netw.(f security. As far as possible Scltn ihelemecls the lateat protocols to permit more secure MS Wind ss file ald print operatills. c/pucp> Scltn may be secured from conneciions that originate from ouiside the local netw.(f. This may be done usior cspann class=emphasis">cemuhosl-based proteciillonemuc/span> (usior Scltn's ihelemeclaiill of a technology kn sl as “cspann class=quote">cspann class=emphasis">cemutcpwrappers,c/emuc/span>c/span>” r it may be done be usior cspann class=emphasis">cemuinterface-based exclusillonemuc/span> so cspann class=applicaiill">smbdc/span> will bind llly to specifically permitted interfaces. It is also possible to set specific share or resource-based exclusills, for exahele on the cin class=parameter"> auto-share. The cin class=parameter"> share is used for br ssior purposes as well as to establish TCP/IP conneciions. c/pucp> Aloiher method by which Scltn may be secured is by settior Access Control Entries (ACEs) in an Access Control List (ACL) on the shares themselves. This is discussed in crnhrefid#AccessControls" title="Chapter 12. File, DibfDiory ald Share Access Controls">File, DibfDiory ald Share Access Controlsona>. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530550">ona>Technical Discussion f Proteciive Measures ald Issuesonh2ucnsivucnsivucsivucnsivucnsivucp> The key challenge of security is the faDi that proteciive measures suffice at besl llly to close the door on kn sl exploits ald breach techniques. NeOer assume that beDause you have followed these few measures that the Scltn serOer is now al impenetrable fortress! Givel the hisiory of informaiill systems so far, it is llly n matter of time before someone will find yet aloiher vulnerability. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530567">ona>Usior Host-Based Proteciillonh3ucnsivucnsivucsivucnsivucnsivucp> In many insiallaiills of Scltn, tfe greateat tfreat comes from ouiside your immediate netw.(f. By default, Scltn will accept conneciions from any hosl, which means that if you run al insecure version of Scltn n a hosl that is dibfDily connecied to the Internet you can be especially vulnerable. c/pucp> One of the sihelest fixes in tfis case is to use the crn class=indexterm"nname="500530584">ona>hosls all s and crn class=indexterm"nname="500530591">ona>hosls deny opiills in the Scltn cttn class=filename">smb.confc/ttu configuraiill file to llly all s access to your serOer from a specific range of hosls. An exahele might be: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500530614">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500530630">ona>cin class=parameter">c/tduc/tr>o/tableucp> The above will llly nll s SMB conneciions from cttn class=constalt">localhoslc/ttu (your sl computer) ald from tfe two private netw.(fs 192.168.2 ald 192.168.3. All oiher conneciions will be refused as soll as the clielt sends its firsl packet. The refusal will be marked as cspann class=err rname">not listelior on callednnamec/span> err r. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530662">ona>User-Based Proteciillonh3ucnsivucnsivucsivucnsivucnsivucp> If you walt to restrict access to your serOer to valid users llly, then the followior method may be of use. In the cttn class=filename">smb.confc/ttu cin class=parameter"> seciill put: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500530692">ona>cin class=parameter">c/tduc/tr>o/tableucp> This restricts all serOer access to eiiher the user cspann class=emphasis">cemujackocnemuc/span> or to members of the system group cspann class=emphasis">cemusmbuserscnemuc/span>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530720">ona>Usior Interface Proteciillonh3ucnsivucnsivucsivucnsivucnsivucp> By default, Scltn will accept conneciions ll aly netw.(f interface that it finds on your system. That means if you have a ISDN line or a PPP conneciion to the Internet then Scltn will accept conneciions ll those links. This may not be what you walt. c/pucp> You can change this behavior usior opiions like this: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500530745">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500530760">ona>cin class=parameter">c/tduc/tr>o/tableucp> This tells Scltn to llly listel for conneciions ll interfaces with a name startior with cttn class=constalt">ethc/ttu such as cttn class=constalt">eth0, eth1c/ttu plus on the loopback interface calledncttn class=constalt">loc/ttu. The name you will need to use depends on what OS you are usior. In the above, I used the commll name for Eihernet adapters on Linux. c/pucp> If you use the above ald someone tries to make an SMB conneciion to your hosl oOer a PPP interface calledncttn class=constalt">ppp0,c/ttu then they will get a TCP conneciion refused rfply. In that case, no Scltn Dode is run at all as the peratior system has been tlld not to plas conneciions from that interface to aly Scltn process. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530808">ona>Usior a Firewallc/h3ucnsivucnsivucsivucnsivucnsivucp> Many people use a firewall to delynaccess to serOices they do not walt exposed ouiside their netw.(f. This can be a good idea, alth ugh I recommeld usior it in conjunctill with the above methods so you are protecied evel if your firewall is not active for some reason. c/pucp> If you are settior up a firewall, you need to kn s what TCP and UDP ports to all s ald block. Scltn uses tfe followior: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>UDP/137 - used by nmbdc/tduc/tr>otr>otd>UDP/138 - used by nmbdc/tduc/tr>otr>otd>TCP/139 - used by smbdc/tduc/tr>otr>otd>TCP/445 - used by smbdc/tduc/tr>o/tableucp> The last one is importalt as many lder firewall setups may not be aware of it, given that this port was llly ndded to the protocol in recent years. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530855">ona>Usior IPC$ Share-Based Denials c/h3ucnsivucnsivucsivucnsivucnsivucp> If the above methods are not suitable, then you c uld also place a more specific deny on the IPC$ share that is used in tfe recently discoOered security hole. This all ss you to lf#ernaccess to oiher shares while denyior access to IPC$ from poteclially un-trustw.(thy hosls. c/pucp> To do this you c uld use: c/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500530888">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500530905">ona>cin class=parameter">c/tduc/tr>o/tableucp> This insirucis Scltn that IPC$ conneciions are not all sed from anywhere except from tfe two listed netw.(f addresses (localhosl ald the 192.168.115 subnet). Conneciions to oiher shares are siill allowed. As the IPC$ share is the llly share that is always accessible anonymously, this provides some level of proteciill againsi attackers that do not kn s a valid username/plasw.(d for your hosl. c/pucp> If you use this method, then clielts will be given al cspann class=err rname">`access denied'c/span> rfply when they try to access the IPC$ share. Those clielts will not be able to br sse shares, ald may also be unable to access some oiher resources. This is not recommelded unless you cannot use one of the oiher methods listed above for some reason. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500530943">ona>NTLMv2 Securityc/h3ucnsivucnsivucsivucnsivucnsivucp> To configure NTLMv2 autheclicaiill, tfe followior registry keys are w.(th kn sior about: c/pucp> c/pucpre class=screen"u [HKEY_LOCAL_MACHINE\SYSTEM\CurreclControlSet\Control\Lsa] "lmcompatibilitylevel"=dw.(d:00000003 c/preucp> c/pucp> The value 0x00000003 means send NTLMv2 respllse only. Clielts will use NTLMv2 autheclicaiill, use NTLMv2 session security if the serOer supports it. Domain Controllers accept LM, NTLM ald NTLMv2 autheclicaiill. c/pucp> c/pucpre class=screen"u [HKEY_LOCAL_MACHINE\SYSTEM\CurreclControlSet\Control\Lsa\MSV1_0] "NtlmMinClieltSec"=dw.(d:00080000 c/preucp> c/pucp> The value 0x00080000 means permit llly NTLMv2 session security. If eiiher NtlmMinClieltSec or NtlmMinSerOerSec is set to 0x00080000, the conneciion will fail if NTLMv2 session security is not negotiated. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500530991">ona>Upgrading Scltncnh2ucnsivucnsivucsivucnsivucnsivucp> Please check regularly on crnhrefidhttp://www.scltn.org/" target="_top">http://www.scltn.org/ona> for updates ald iheortalt announcemecls. Occasillally security releases are made ald it is highly recommelded to upgrade Scltn when a security vulnerability is discoOered. Check with your OS vend r for OS specific upgrades. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500531012">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucp> If all of Scltn ald hosl platform configuraiill were really as intuitive as one might like them to be, this seciill w uld not be necessary. Security issues are oftel vexior for a support person to resolve, not beDause of the complexity of the problem, but for the reason that most administrai rs who post what turns out to be a security problem request are totally Donvilced that the problem is with Scltn. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531028">ona>Smbclielt W.(fs on Localhosl, but the Netw.(f Is Deadc/h3ucnsivucnsivucsivucnsivucnsivucp> This is a commll problem. Red Hat Linux (and oihers) insialls a default firewall. With the default firewall in place, llly traffic on the loopback adapter (IP address 127.0.0.1) is all sed thr ugh the firewall. c/pucp> The soluiill is eiiher to remove the firewall (stop it) or modify the firewall script to all s SMB netw.(fior traffic thr ugh. See seciill above in tfis chapter. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531048">ona>Why CannUsers Access Home DibfDiories of Oiher Users?c/h3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemu We are unable to keep insividual users from mappior to rny oiher user's home dibfDiory once they have supplied a valid plasw.(d! They llly need to enter their sl plasw.(d. I have not found rny method to configure Scltn so that users may map llly their sl home dibfDiory. c/emuc/span>c/span>” c/pucp>“cspann class=quote">cspann class=emphasis">cemu User xyzzy Dan map his home dibfDiory. Once mapped user xyzzy Dan also map anyone else's home dibfDiory. c/emuc/span>c/span>”c/pucp> This is not a security flaw, it is by desige. Scltn all ss users to have exaDily the same access to the UNIX file system as when they were logged onto the UNIX box, except that it llly nll ss such viess onto the file system as are all sed by tfe defined shares. c/pucp> If your UNIX home dibfDiories are set up so that one user can happily cbn class=command">cdcnbuc/span> into aloiher users dibfDiory ald execute cbn class=command">lscnbuc/span>, the UNIX security soluiill is to change file permissions ll the user's home dibfDiories such that the cbn class=command">cdcnbuc/span> ald cbn class=command">lscnbuc/span> are denied. c/pucp> Scltn tries very hard not to secold guess the UNIX administrai rs security policies, ald trusts the UNIX admin to set the policies ald permissions he or sfe desires. c/pucp> Scltn all ss the behavior you require. Sihely put the crn class=indexterm"nname="500531121">ona>llly user = %S opiill in the cin class=parameter"> share definiiill. c/pucp> The crn class=indexterm"nname="500531139">ona>llly user w.(fs in conjunctill with the crn class=indexterm"nname="500531146">c/a>users = list, so to get the behavior you require, add the line : c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500531160">ona>cin class=parameter">c/tduc/tr>o/tableucp> this is equivalelt to addior c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500531181">ona>cin class=parameter">c/tduc/tr>o/tableucp> to tfe definiiill of the cin class=parameter"> share, as recommelded in the cttn class=filename">smb.confc/ttu man plge. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="InterdomainTrusts">ona>Chapter 15. Interdomain Trust Relaiillshipscnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jht@scltn.org">jht@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Rafalc/span> cspann class=surname">Szczesniakc/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:mimir@scltn.org">mimir@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Jelmerc/span> cspann class=oihername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucspann class=contrib">drawiorcnspan>csivn class=affiliation"ucspann class=orgname">The Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jelmer@scltn.org">jelmer@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Stephenc/span> cspann class=surname">Langasekc/span>c/h3ucsivn class=affiliation"ucsivn class=address"ucp>cttn class=email"><crnhrefidmailto:vorlon@netexpress.net">vorlon@netexpress.netona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">April 3, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>cb>Table f Contentscnbuc/pucdlucdtucspann class=sect1">crnhrefid#500531344">Features ald Benefitsona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500531368">Trust Relaiillship Backgroundona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500531439">Native MS Wind ss NT4 Trusts Configuraiillcna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500531462">Creatior an NT4 Domain Trustc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500531524">Completior an NT4 Domain Trustc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500531574">Inter-Domain Trust Facilitiesc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500531750">Configurior Scltn NT-Style Domain Trustscna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#scltn-trusted-domain">Scltn as the Trusted Domainc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500531942">Scltn as the Trustior Domainc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500532063">NT4-Style Domain Trusts with Wind ss 2000c/a>c/span>c/dtucdtucspann class=sect1">crnhrefid#500532155">Commll Err rscna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500532167">Br ssior f Trusted Domain Failsc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500532209">Problems With LDAP ldapscl Ald The smbldap-toolsc/a>c/span>c/dtuc/dlucnsduc/dlucnsivucp> crn class=indexterm"nname="500531328">ona> Scltn-3 supports NT4-style domain trust relaiillships. This is a feature that malynsites will walt to use if they migraie to Scltn-3 from an NT4-style domain and do not walt to adopi Aciive DibfDiory or an LDAP-based autheclicaiill backeld. This seciill explains some background informaiill regardior trust relaiillships ald how to create them. It is now possible for Scltn-3 to trust NT4 (and Oice versa), as well as to create Scltn-to-Scltn trusts. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500531344">c/a>Features ald Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 can plrticipate in Scltn-to-Scltn as well as in Scltn-to-MS Wind ss NT4-style trust relaiillships. This implrts to Scltn similar scalability as with MS Wind ss NT4. c/pucp> Given that Scltn-3 has the capability to functill with a scalable backeld autheclicaiill database such as LDAP, ald given its ability to run in Primary ns well as Backup Domain Control m des, the administrai r w uld be well advised to consider alternaiives to the use of Interdomain trusts sihely beDause by tfe very nature of h s this w.(fs it is fragile. That was, after all, a key reason for the development ald adopiill of Microsoft Aciive DibfDiory. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500531368">ona>Trust Relaiillship Backgroundonh2ucnsivucnsivucsivucnsivucnsivucp> MS Wind ss NT3/4 type security domains eheloy n non-hierarchical security siruciure. The limitaiills of this architeciure as it effecis the scalability of MS Wind ss netw.(fior in large organizaiills is well kn sl. Additillally, the flatnnamespace that results from this desige sigeificaltly implcis the delegaiill of administraiive respllsibilities in large and diverse organizaiills. c/pucp> Microsoft developed Aciive DibfDiory SerOice (ADS), based ll Kerberos and LDAP, as a means f circumventior the limitaiills of the lder technologies. Not every organizaiill is ready or willior to embrace ADS. For small companies tfe lder NT4-style domain security paradigm is quite adequate, there remains an entrenched user base for whom tfere is no dibfDi desire to go thr ugh a disruptive change to adopi ADS. c/pucp> With MS Wind ss NT, Microsoft introduced the ability to nll s dif#erior security domains to effeci a mechanism so users from one domain may be given access rights ald privileges in anoiher domain. The language that describes tfis capability is couched in terms of cspann class=emphasis">cemuTrustscnemuc/span>. Specifically, one domain will cspann class=emphasis">cemutrustc/emuc/span> the users from anoiher domain. The domain from which users are available to anoiher security domain is said to be a trusted domain. The domain in which those users have assigeed rights ald privileges is tfe trustior domain. With NT3.x/4.0 all trust relaiillships are always in one dibfDiill olly, thus if users in both domains are to have privileges ald rights in each oihers' domain, then it is necessary to establish two relaiillships, one in each dibfDiill. c/pucp> In an NT4-style MS security domain, all trusts are non-transitive. This means that if there are tfree domains (let's call them RED, WHITE ald BLUE) where RED ald WHITE have a trust relaiillship, ald WHITE ald BLUE have a trust relaiillship, then it h lds that there is no ihelied trust between the RED ald BLUE domains. Relaiillships are explicit ald not transitive. c/pucp> New to MS Wind ss 2000 ADS security contexts is the faDi that trust relaiillships are two-way by default. Also, all inter-ADS domain trusts are transitive. In the case of the RED, WHITE ald BLUE domains above, with Wind ss 2000 ald ADS the RED ald BLUE domains can trust each oiher. This is al inherelt feature of ADS domains. Scltn-3 ihelemecls MS Wind ss NT4-style Interdomain trusts and inter perates with MS Wind ss 200x ADS security domains in similar malner to MS Wind ss NT4-style domains. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500531439">ona>Native MS Wind ss NT4 Trusts Configuraiillcnh2ucnsivucnsivucsivucnsivucnsivucp> There are two steps to creatior an interdomain trust relaiillship. To effeci a two-way trust relaiillship, it is necessary for each domain administrai r to create a trust account for the oiher domain to use il verifyior security credeclials. crn class=indexterm"nname="500531452">ona> c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531462">ona>Creatior an NT4 Domain Trustc/h3ucnsivucnsivucsivucnsivucnsivucp> For MS Wind ss NT4, all domain trust relaiillships are configured usior the cspann class=applicaiill">Domain User Manlgerc/span>. This is done from tfe Domain User Manlger Policies entry on the mecu bar. From tfe cspann class=guimecu">Policyc/span> mecu, selfDi cspann class=guimecuitem">Trust Relaiillshipsc/span>. Next to the l ser box labelfd cspann class=guilabel">Permitted to Trust tfis Domainc/span> are two buttlls, cspann class=guibuttll">Addc/span> ald Removec/span>. The cspann class=guibuttll">Addc/span> buttll will lpen a panel in which to enter the name of the remote domain that will be able to assige access rights to users in your domain. You will also need to enter a plasw.(d for this trust relaiillship, which the trustior domain will use when autheclicaiior users from tfe trusted domain. The plasw.(d needs to be typed twice (for staldard confirmaiill). c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531524">ona>Completior an NT4 Domain Trustc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500531532">ona> A trust relaiillship will w.(f llly when the oiher (trustior) domain makes tfe appropriate conneciions with the trusted domain. To consummate the trust relaiillship, the administrai r will launch the Domain User Manlger from tfe mecu selfDi cspann class=guilabel">Policiesc/span>, then selfDi cspann class=guilabel">Trust Relaiillshipsc/span>, click on the cspann class=guibuttll">Addc/span> buttll next to the box that is labelfd cspann class=guilabel">Trusted Domainsc/span>. A panel will lpen in which must be entered the name of the remote domain as well as the plasw.(d assigeed to that trust. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531574">c/a>Inter-Domain Trust Facilitiesc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500531582">ona> A two-way trust relaiillship is created when two lle-way trusts are created, one in each dibfDiill. Where a lle-way trust has been established between two MS Wind ss NT4 domains (let's call them DomA ald DomB), tfe followior facilities are created: c/pucdivn class=figure">crnname="trusts1">ona>cpn class=title">cb>Figure 15.1. Trusts oOervies.cnbuc/pucdivn class=mediaobject">cimr src="5mages/trusts1.png" width="270" alt="Trusts oOervies."ucnsivucnsivucsivn class=itemizedlist">
            oli>cp> DomA (completes tfe trust conneciion) cin class=parameter"> DomB. c/pucnli>oli>cp> DomA is the cin class=parameter"> domain. c/pucnli>oli>cp> DomB is the cin class=parameter"> domain (originates tfe trust account). c/pucnli>oli>cp> Users in DomB Dan access resources in DomA. c/pucnli>oli>cp> Users in DomA cannot access resources in DomB. c/pucnli>oli>cp> Global groups from DomB Dan be used in DomA. c/pucnli>oli>cp> Global groups from DomA cannot be used in DomB. c/pucnli>oli>cp> DomB does appear in the logon dialog box on clielt w.(fstaiills in DomA. c/pucnli>oli>cp> DomA does not appear in the logon dialog box on clielt w.(fstaiills in DomB. c/pucnli>o/ulucnsivucdivn class=itemizedlist">
              oli>cp> Users/Groups in a trustior domain cannot be granted rights, permissions ornaccess to a trusted domain. c/pucnli>oli>cp> Tfe trustior domain Dan access ald use accounts (Users/Global Groups) in the trusted domain. c/pucnli>oli>cp> Administrai rs of the trusted domain Dan be granted administraiive rights in the trustior domain. c/pucnli>oli>cp> Users in a trusted domain Dan be given rights ald privileges in the trustior domain. c/pucnli>oli>cp> Trusted domain Global Groups Dan be given rights ald permissions in the trustior domain. c/pucnli>oli>cp> Global Groups from tfe trusted domain Dan be made members in Local Groups n MS Wind ss Domain Member machines. c/pucnli>o/ulucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500531750">ona>Configurior Scltn NT-Style Domain Trustscnh2ucnsivucnsivucsivucnsivucnsivucp> This descripiill is meant to be a fairly short introduciill about how to set up a Scltn serOer so that it can plrticipate in interdomain trust relaiillships. Trust relaiillship support in Scltn is at an early stlge, so do not be surprised if somethior does not functill as it should. c/pucp> Each of the procedures described bel s assumes the peer domain in the trust relaiillship is controlled by a Wind ss NT4 serOer. However, the remote eld c uld just as well be anoiher Scltn-3 domain. It Dan be clearly seen, after readior this document, that combinior Scltn-specific plrts of what's written bel s leads to trust between domains in a purely Scltn environment. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="scltn-trusted-domain">ona>Scltn as the Trusted Domainc/h3ucnsivucnsivucsivucnsivucnsivucp> In order to set the Scltn PDC to be tfe trusted plrty of the relaiillship, you firsl need to create a special account for the domain that will be tfe trustior plrty. To do that, you can use the cspan>cbn class=command">smbplaswdcnbuc/span> utility. Creatior tfe trusted domain account is similar to creatior a trusted machine account. Suppose, your domain is callednSAMBA, ald the remote domain is callednRUMBA. The firsl step will be to issue tfis command from your favorite shell: c/pucp> c/pucpre class=screen"u cttn class=prompt">root# c/ttu cbn class=userinput"> New SMB plasw.(d: cbn class=userinput"> Retype SMB plasw.(d: cbn class=userinput"> Added user rultn$ c/preucp> where cttn class=opiill">-ac/ttu means to add n new account into the plasdb database ald -ic/ttu means: “cspann class=quote">cspann class=emphasis">cemucreate this account with the Inter-Domain trust flagc/emuc/span>c/span>”. c/pucp> The account name will be “cspann class=quote">cspann class=emphasis">cemurultn$c/emuc/span>c/span>” (the name of the remote domain). If this fails, you should check that the trust account has been ndded to the system plasw.(d database (cttn class=filename">/etc/plaswdcnttu). If it has not been ndded, you Dan add it manually ald thel repeat the step above. c/pucp> After issuior this command, you will be asked to enter the plasw.(d for the account. You can use any plasw.(d you walt, but be aware that Wind ss NT will not change this plasw.(d until seven days followior account creatill. After the commald returns successfully, you can look at the entry for the new account (in the staldard way as appropriate for your configuraiill) ald see that accounts name is really RUMBA$ ald it has the “cspann class=quote">cspann class=emphasis">cemuIc/emuc/span>c/span>” flag set in the flags field. N s you are ready to confirm the trust by establishior it from Wind ss NT SerOer. c/pucp> crn class=indexterm"nname="500531884">ona> Open cspann class=applicaiill">User Manlger for Domainsc/span> ald from tfe cspann class=guimecu">Policiesc/span> mecu, selfDi cspann class=guimecuitem">Trust Relaiillships...c/span>. Beside the cspann class=guilabel">Trusted domainsc/span> list box click tfe cspann class=guimecu">Add...c/span> buttll. You will be prompted for the trusted domain name ald the relaiillship plasw.(d. Type in SAMBA, as tfis is the name of the remote domain ald the plasw.(d used at the time of account creatill. Click on cspann class=guibuttll">OKc/span> ald, if everythior went without incident, you will see the cttn class=computeroutput">Trusted domain relaiillship successfully establishedc/ttu messlge. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500531942">ona>Scltn as the Trustior Domainc/h3ucnsivucnsivucsivucnsivucnsivucp> This time activities are somewhat reversed. Again, we'll assume that your domain controlled by the Scltn PDC is callednSAMBA ald the NT-controlled domain is callednRUMBA. c/pucp> The very firsl step is to add nn account for the SAMBA domain on RUMBA's PDC. c/pucp> crn class=indexterm"nname="500531961">ona> Launch the cspann class=applicaiill">Domain User Manlgerc/span>, then from tfe mecu selfDi cspann class=guimecu">Policiesc/span>, cspann class=guimecuitem">Trust Relaiillshipsc/span>. N s, next to the cspann class=guilabel">Trusted Domainsc/span> box press the cspann class=guibuttll">Addc/span> buttll ald type in the name of the trusted domain (SAMBA) ald the plasw.(d to use il securing the relaiillship. c/pucp> The plasw.(d can be arbitrarily chosen. It is easy to change the plasw.(d from tfe Scltn serOer wheneOer you walt. After confirmior tfe plasw.(d your account is ready for use. N s iis Scltn's turn. c/pucp> Usior your favorite shell while beior logged in as root, issue tfis command: c/pucp> cttn class=prompt">root# c/ttucbn class=userinput"> c/pucp> You will be prompted for tfe plasw.(d you just typed on your Wind ss NT4 SerOer box. An err r messlge cspann class=err rname">`NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT'c/span> that may be reported periodically is of no concern ald may safely be ignored. It means the plasw.(d you gave is correci ald the NT4 SerOer says the account is ready for interdomain conneciion ald not for ordioary conneciion. After that, be pltielt; it can take a while (especially in large netw.(fs), but eventually you should see the cttn class=computeroutput">Successc/ttu messlge. Congraiulaiills! Your trust relaiillship has just been established. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> You have to run tfis command as root beDause you must have write access to the cttn class=filename">secrets.tdbc/ttu file. c/pucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532063">ona>NT4-Style Domain Trusts with Wind ss 2000c/h2ucnsivucnsivucsivucnsivucnsivucp> Alth ugh cspann class=applicaiill">Domain User Manlgerc/span> is not present in Wind ss 2000, it is also possible to establish an NT4-style trust relaiillship with a Wind ss 2000 domain controller runlior in mixed mode as tfe trustior serOer. It should also be possible for Scltn to trust a Wind ss 2000 serOer, however, more teatior is siill needed in tfis area. c/pucp> After crnhrefid#scltn-trusted-domain" title="Scltn as the Trusted Domain">creatior tfe interdomain trust account on the Scltn serOerona> as described above, open cspann class=applicaiill">Aciive DibfDiory Domains ald Trustscnspan> on the AD controller of the domain whose resources you wish Scltn users to have access to. Remember that silce NT4-style trusts are not transitive, if you walt your users to have access to multiele mixed-mode domains in your AD forest, you will need to repeat this process for each of those domains. With cspann class=applicaiill">Aciive DibfDiory Domains ald Trustscnspan> open, right-click on the name of the Aciive DibfDiory domain that will trust our Scltn domain ald choose cspann class=guimecuitem">Pr pertiesc/span>, then click on the cspann class=guilabel">Trustscnspan> tab. In the upper plrt of the panel, you will see a list box labelfd cspann class=guilabel">Domains trusted by this domain:c/span>, and an cspann class=guilabel">Add...c/span> buttll next to it. Press this buttll ald just as with NT4, you will be prompted for tfe trusted domain name ald the relaiillship plasw.(d. Press OK ald after a moment, Aciive DibfDiory will resplld with cttn class=computeroutput">Tfe trusted domain has been ndded ald the trust has been verified.c/ttu Your Scltn users can n s be granted access to resources in the AD domain. c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532155">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucp> Interdomain trust relaiillships should not be attempted ll netw.(fs that are unstable or that suf#ernregular ouiages. Netw.(f stability and integrity are key concerns with distributed trusted domains. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500532167">ona>Br ssior f Trusted Domain Failsc/h3ucnsivucnsivucsivucnsivucnsivucp> Br ssior from a machine in a trusted Wind ss 200x Domain to a Wind ss 200x member of a trustior scltn domain, I get the followior err r: c/pucp>cspann class=emphasis">cemu The system detecied a possible attempt to compromise security. Please ensure that you can contaDi the serOer that autheclicaied you.c/emuc/span>c/pucp> The event logs ll the box I'm tryior to conneci to have entries regardior group policy not beior applied beDause it is a member of a down-level domain. c/pucp>cspann class=emphasis">cemuAnswer: c/emuc/span> If there is a computer account in the Wind ss 200x Domain for tfe machine in questill, ald it is disabled, this problem can occur. If there is no computer account (removed ornneOer existed), ornif that account is siill intaDi (i.e.: you just joined it to anoiher domain) everythior seems to be fine. By default, when you un-join n domain (the Wind ss 200x Domain), the computer tries to automaiically disable the computer account in the domain. If you are runlior as nn account which has privileges to do this when you un-join tfe machine, it is done, oiherwise it is not done. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500532209">ona>Problems With LDAP ldapscl Ald The smbldap-toolsc/h3ucnsivucnsivucsivucnsivucnsivucp> If you use the cspan>cbn class=command">smbldap-userndd.plcnbuc/span> script to create a trust account to set up Interdomain trusts the process of settior up the trust will fail. The account that was created in tfe LDAP database will have an account flags field that has cttn class=constalt">[W ]cnttu, when it must have cttn class=constalt">[I ]cnttu for Interdomain trusts to w.(f. c/pucp>cspann class=emphasis">cemuAnswer: c/emuc/span>Here is a sihele soluiill. Create a machine account as follows: c/pucpre class=screen"u cttn class=prompt">root# c/ttu smbldap-userndd.pl -w domain_name c/preucp> Then set the desired trust account plasw.(d as shosl here: c/pucpre class=screen"u cttn class=prompt">root# c/ttu smbldap-plaswd.pl domain_name\$ c/preucp> Usior a text ediior, create the followior file: c/pucpre class=screen"u dn: uid=domain_name$,ou=People,dc={your-domain},dc={your-top-level-domain} changetype: modify scltnAcctFlags: [I ] c/preucp> Then apply the text file to the LDAP database as follows: c/pucpre class=screen"u cttn class=prompt">root# c/ttu ldapmodify -x -h localhosl \ -D "cn=Manlger,dc={your-domain},dc={your-top-level-domain}" \ -W -f /path-to/foobar c/preucp> Create a siorle-sided trust under the NT4 Domain User Manlger, then execute: c/pucpre class=screen"u cttn class=prompt">root# c/ttu net rpc trustdom establish domain_name c/preucp> c/pucp> It w.(fs with Scltn-3 ald NT4 Domains, ald also with Scltn-3 ald Wind ss 200x ADS in mixed mode. Both DC's, scltn ald NT, must have the same WINS serOer oiherwise the trust willnneOer w.(f. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="msdfs">ona>Chapter 16. Hostior a Microsoft Distributed File System Treecnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Shirishc/span> cspann class=surname">Kalelec/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Team & Veritas Softwarecbruc/span>csivn class=address"ucp>cbru cttn class=email"><crnhrefidmailto:scltn@scltn.org">scltn@scltn.orgona>>cnttucbru c/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jht@scltn.org">jht@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">12 Jul 2000c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>cb>Table f Contentscnbuc/pucdlucdtucspann class=sect1">crnhrefid#500532382">Features ald Benefitsona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500532664">Commll Err rscna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500532697">MSDFS UNIX Path Is Case-Criticalc/a>c/span>c/dtuc/dlucnsduc/dlucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532382">ona>Features ald Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> Tfe Distributed File System (DFS) provides a means of separatior the logical vies of files and dibfDiories that users see from tfe aDiual physical locaiions of these resources on the netw.(f. It all ss for higher availability, smooiher siorlge expansill, load balancior, ald so ll. c/pucp> For informaiill about DFS, refer to the crnhrefidhttp://www.microsoft.com/NTSerOer/nts/downloads/wiofeatures/NTSDistrFile/AdminGuide.asp" target="_top">Microsoft documentaiillcna>. This document explains how to hosl a DFS tree on a UNIX machine (for DFS-aware clielts to br sse) usior Scltn. c/pucp> To enable SMB-based DFS for Scltn, configure it with the --with-msdfscnttu opiill. Once built, a Scltn serOer Dan be made a DFS serOer by settior the global Boolean crn class=indexterm"nname="500532418">ona>hosl msdfs parameter in the cttn class=filename">smb.confc/ttu file. You desigeate a share as a DFS root usior the Share Level Boolean crn class=indexterm"nname="500532433">ona>msdfs root parameter. A DFS root dibfDiory on Scltn hosls DFS links in the form of symbolic links that point to oiher serOers. For exahele, a symbolic link cttn class=filename">junctill->msdfs:siorlge1\share1cnttu in the share dibfDiory acts as the DFS junctill. When DFS-aware clielts attempt to access the junctill link, they are redibfDied to the siorlge locaiion (in tfis case, cin class=parameter">). c/pucp> DFS trees on Scltn w.(f with allnDFS-aware clielts rangior from Wind ss 95 to 200x. crnhrefid#dfscfg" title="Exahele 16.1. smb.conf with DFS configured">Followior sahele configuraiillona> shoss how to setup a DFS tree on a Scltn serOer. In the cttn class=filename">/export/dfsrootcnttu dibfDiory, you set up your DFS links to oiher serOers on the netw.(f. c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput"> cttn class=prompt">root# c/ttucbn class=userinput"> cttn class=prompt">root# c/ttucbn class=userinput"> cttn class=prompt">root# c/ttucbn class=userinput"> cttn class=prompt">root# c/ttucbn class=userinput"> c/preucp> c/pucp> c/pucdivn class=exahele">crnname="dfscfg">ona>cpn class=title">cb>Exahele 16.1. smb.conf with DFS configuredcnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500532565">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500532580">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500532605">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500532621">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> c/pucp>You should set up the permissions and ownership of the dibfDiory actior as the DFS root so that only desigeated users can create, delete or modify the msdfs links. Also note that symlinknnames should be all l sercase. This limitaiill exists to have Scltn avoid tryior all the case combinaiills to get at the linknname. Filally, set up the symbolic links to point to the netw.(f shares you walt ald stlrt Scltn.c/pucp>Users on DFS-aware clielts can n s br sse the DFS tree on tfe Scltn serOer at \\scltn\dfs. Accessior links linka or linkb (which appear as dibfDiories to the clielt) takes users dibfDily to the appropriate shares on the netw.(f.c/pucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532664">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucdivn class=itemizedlist">
                oli>cp>Wind ss clielts need to be rebooted if a previously mounted non-DFS share is made a DFS root or Oice versa. A better way is to introduce a new share ald make it the DFS root.c/pucnli>oli>cp>Curreltly, there's a restrictill that msdfs symlinknnames should all be l sercase.c/pucnli>oli>cp>For security purposes, the dibfDiory actior as the root of the DFS tree should have ownership ald permissions set so llly desigeated users can modify the symbolic links in the dibfDiory.c/pucnli>o/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500532697">ona>MSDFS UNIX Path Is Case-Criticalc/h3ucnsivucnsivucsivucnsivucnsivucp> A netw.(f administrai r sent advice to the Scltn mailior list after a loor sessions tryior to determioe why DFS was not w.(fior. His advice is w.(th notior. c/pucp>“cspann class=quote">cspann class=emphasis">cemu I spent some time tryior to figure out why my plrticular dfs root wasn't w.(fior. I noted in tfe documentaiill that the symlinknshould be in nll l sercase. It should be amelded that the eclire plth to the symlinknshould all be in l sercase as well. c/emuc/span>c/span>”c/pucp> For exahele, I had a share defined as such: c/pucpre class=screen"u [pub] path = /export/home/Shares/public_share msdfs root = yes c/preucp> ald I c uld not make my Wind ss 9x/Me (with the dfs clielt installed) follow tfis symlink: c/pucpre class=screen"u damage1 -> msdfs:damage\teat-share c/preucp> c/pucp> Runlior a debur level of 10 reveals: c/pucpre class=programlistior"u [2003/08/20 11:40:33, 5] msdfs/msdfs.c:is_msdfs_link(176) is_msdfs_link: /export/home/shares/public_share/* does not exist. c/preucp> Curious. So I changed the dibfDiory name from .../Shares/... to .../shares/... (aloor with my serOice definiiill) ald it w.(fed! c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="printior"uona>Chapter 17. Cclasical Printior Supportcnh2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Kurtcnspan> cspann class=surname">Pfeiflec/span>c/h3ucsivn class=affiliation"ucspann class=orgname"> Danka Deutschlald GmbH cbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:kpfeifle@danka.de">kpfeifle@danka.deona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Geraldc/span> cspann class=oihername">(Jerry)cnspan> cspann class=surname">Clrterc/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jerry@scltn.org">jerry@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firslname">Johnc/span> cspann class=oihername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliation"ucspann class=orgname">Scltn Teamcbruc/span>csivn class=address"ucp>cttn class=email"><crnhrefidmailto:jht@scltn.org">jht@scltn.orgona>>cnttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">May 31, 2003c/pucnsivucnsivucsivucnsivucnsivucsivn class=toc"ucp>cb>Table f Contentscnbuc/pucdlucdtucspann class=sect1">crnhrefid#500532844">Features ald Benefitsona>c/span>c/dtucdtucspann class=sect1">crnhrefid#500532934">Technical Introduciillcna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500532991">Clielt to Scltn Print Job Processiorc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500533050">Printior Relaied Configuraiill Parametersc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500533130">Sihele Print Configuraiillcna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500533355">Verifyior Configuraiill with teatplrmc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500533457">Rapid Configuraiill Validaiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500533750">Extelded Printior Configuraiillcna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500534260">Detailed Explanaiill Settiorsc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500536032">Printior Developments Silce Scltn-2.2cna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500536161">Point'n'Print Clielt DriOers on Scltn SerOersc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500536288">Tfe Obsoleted [printer$] Seciillcna>c/span>c/dtucdtucspann class=sect2">crnhrefid#500536375">Creatior the [print$] Sharecna>c/span>c/dtucdtucspann class=sect2">crnhrefid#500536610">[print$] Seciion Parametersc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500536856">Tfe [print$] Share DibfDioryc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500536998">Installior DriOers into [print$]cna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500537091">Add Printer Wizard DriOer Installaiillcna>c/span>c/dtucdtucspann class=sect2">crnhrefid#5nst-rpc">Installior Print DriOers Usior rpcclieltc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500538704">Clielt DriOer Installaiill Procedurecna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500538722">Firsl Clielt DriOer Installaiillc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500538923">Settior Device M des on New Printersc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500539212">Additillal Clielt DriOer Installaiillc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500539305">Always Make Firsl Clielt Conneciion as root or printer adminc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500539456">Oiher Gotchascna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500539478">Settior Default Print Opiills for Clielt DriOersc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500539840">Supportior Large Numbers f Printersc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540098">Addior New Printers with the Wind ss NT APWc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540323">Err r Messlge: Cannot conneci under a dif#erelt Namec/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540444">Take Care When Assemblior DriOer Filesc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540758">Scltn and Printer Portsc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540829">Avoidior Commll Clielt DriOer Mis-configuraiillcna>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500540852">Tfe Imprints Tool-setcna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500540885">What is Imprints?c/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540919">Creatior Printer DriOer Packagesc/a>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540935">Tfe Imprints SerOerona>c/span>c/dtucdtucspann class=sect2">crnhrefid#500540952">Tfe Installaiill Clieltc/a>c/span>c/dtuc/dlucnsducdtucspann class=sect1">crnhrefid#500541089">Addior Netw.(f Printers without User Interaciillcna>c/span>c/dtucdtucspann class=sect1">crnhrefid#500541362">Tfe addprinter Commandcna>c/span>c/dtucdtucspann class=sect1">crnhrefid#500541401">Migraiill of Cclasical Printior to Scltncna>c/span>c/dtucdtucspann class=sect1">crnhrefid#500541554">Publishior Printer Informaiill in Aciive DibfDiory r LDAPcna>c/span>c/dtucdtucspann class=sect1">crnhrefid#500541573">Commll Err rscna>c/span>c/dtucdducdlucdtucspann class=sect2">crnhrefid#500541579">I Give My Root Plasw.(d but I Do Not Get Accessona>c/span>c/dtucdtucspann class=sect2">crnhrefid#500541621">My Print Jobs Get Spooled into the Spoolior DibfDiory, but Then Get Lostc/a>c/span>c/dtuc/dlucnsduc/dlucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532844">ona>Features ald Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> Printior is often a mission-critical serOice for tfe users. Scltn can provide tfis serOice reliably ald seamlessly for a clielt netw.(f consistior of Wind ss w.(fstaiills. c/pucp> A Scltn print serOice may be run on a Stald-alooe or Domain Member serOer, side by side with file serOior functills, ornon a dedicaied print serOer. It Dan be made as tight or as loosely secured as needs dictaie. Configuraiills may be sihele or complex. Available autheclicaiion schemes are esseclially the same as described for file serOices in previous chapters. Overall, Scltn's printior support is n s able to replace an NT or Wind ss 2000 print serOer full-square, with additillal benefits in many cases. Clielts may download and install driOers ald printers thr ugh their familiar “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printc/emuc/span>c/span>” mechanism. Printer installaiills executed by “cspann class=quote">cspann class=emphasis">cemuLogon Scriptsc/emuc/span>c/span>” are no problem. Administrai rs can upload and manlge driOers to be used by clielts thr ugh the familiar “cspann class=quote">cspann class=emphasis">cemuAdd Printer Wizardc/emuc/span>c/span>”. As an additillal benefit, driOer ald printer manlgement may be run from tfe command lioe or thr ugh scripts, makior it more efficient in Dase of large numbers f printers. If a central accountior of print jobs (trackior every siorle plge ald supplyior the raw data for all sorts of staiistical reports) is required, this functill is besl supported by the newer Commll UNIX Printior System (CUPS) as the print subsystem underneath the Scltn hood. c/pucp> This chapter deals with the foundaiills of Scltn printior as they are ihelemecled by the more traditillal UNIX (BSD- ald System V-style) printior systems. Many thiors covered in tfis chapter apply also to CUPS. If you use CUPS, you may be tempted to jump to the next chapter but you will certainly miss a few thiors if you do. It is bfDommelded that you read tfis chapter as well as crnhrefid#CUPS-printior" title="Chapter 18. CUPS Printior Support">CUPS Printior Supportcna>. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Mosl of the followior exaheles have been verifiednon Wind ss XP Professional clielts. Where this document describes the respllses to commands given, bear in mind that Wind ss 200x/XP clielts are quite similar, but may dif#er in minor details. Wind ss NT is somewhat dif#erelt again. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500532934">cna>Technical Introduciillcnh2ucnsivucnsivucsivucnsivucnsivucp> Scltn's printior support always relies on the installed print subsystem of the UNIX OS it runs on. Scltn is a “cspann class=quote">cspann class=emphasis">cemumiddleman.c/emuc/span>c/span>” It takes print files from Wind ss (or oiher SMB) clielts ald plases them to the real printior system for furiher processior, therefore, it needs to communicaie with both sides: the Wind ss print clielts ald the UNIX printior system. Hence, we must dif#ereltiate between the various clielt OS types, each of which behave dif#ereltly, as well as the various UNIX print subsystems, which themselves have dif#erelt features ald are accessed dif#ereltly. c/pucp> This deals with the traditillal way of UNIX printior. The next chapter covers in great detail the more modern cspann class=emphasis">cemuCommll UNIX Printior Systemc/emuc/span> (CUPS). c/pucdivn class=iheortalt" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Iheortaltc/h3ucp>CUPS users, be warned: do not just jump on to the next chapter. You might miss iheortalt informaiill llly found here! c/pucnsivucp> It is apparelt from postiors on the Scltn mailior list that print configuraiill is ooe of the most problemaiic aspects of Scltn administraiion today. Many new Scltn administrai rs have the iheression that Scltn performs some sort of print processior. Rest assured, Scltn does not perform any type of print processior. It does not do any form of print filtering. c/pucp> Scltn obtains from its clielts a data stream (print job) that it spools to a local spool area. When the eclire print job has been bfDeived, Scltn invokes a local UNIX/Linux print command ald plases the spooled file to it. It is up to the local system printior subsystems to corbfDily process the print job ald to submit it to the printer. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500532991">ona>Clielt to Scltn Print Job Processiorc/h3ucnsivucnsivucsivucnsivucnsivucp> Successful printior from a Wind ss clielt via a Scltn print serOer to a UNIX printer involves six (poteclially seven) stlges: c/pucdivn class=orderedlist">
                  oli>cp>Wind ss opens a conneciion to the printer share.c/pucnli>oli>cp>Scltn must autheclicaie tfe user.c/pucnli>oli>cp>Wind ss sends a copy of the print file oOer the netw.(f into Scltn's spoolior area.c/pucnli>oli>cp>Wind ss closes the conneciion.c/pucnli>oli>cp>Scltn invokes the print command to hald the file oOer to the UNIX print subsystem's spoolior area.c/pucnli>oli>cp>The UNIX print subsystem processes the print job.c/pucnli>oli>cp>The print file may need to be explicitly deleted from tfe Scltn spoolior area. This item depends on your print spooler configuraiill settiors.c/pucnli>o/olucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500533050">ona>Printior Relaied Configuraiill Parametersc/h3ucnsivucnsivucsivucnsivucnsivucp> There are a number of configuraiill parameters to control Scltn's printior behavior. Please refer to the man plge for cttn class=filename">smb.confc/ttu for an oOervies of these. As with oiher parameters, there are Global Level (tlgged with a cspann class=emphasis">cemuGc/emuc/span> in the listiors) ald SerOice Level (cspann class=emphasis">cemuSc/emuc/span>) parameters. c/pucdivn class=variablelist">Global Parametersc/span>c/dtucdducp> These cspann class=emphasis">cemumay notc/emuc/span> go into individual share definiiills. If they go in by err r, the cspan>cbn class=command">teatplrmc/buc/span> utility can discoOer this (if you run it) ald tell you so. c/pucnsducdtucspann class=term">SerOice Level Parametersc/span>c/dtucdducp> These may be specified in tfe cin class=parameter"> seciill of cttn class=filename">smb.confc/ttu. In tfis case they define the default behavior of all individual or serOice level shares (provided they do not have a dif#erelt settior defined for tfe same parameter, thus oOerridior the global default). c/pucnsduc/dlucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500533130">ona>Sihele Print Configuraiillcnh2ucnsivucnsivucsivucnsivucnsivucp> crnhrefid#siheleprc" title="Exahele 17.1. Sihele configuraiill with BSD printior"uFollowior exaheleona> shoss a sihele printior configuraiill. If you compare this with your own, you may fild additillal parameters that have been ere-configured by your OS vendor. Bel s is a discussion ald explanaiill of the parameters. This exahele does not use many plrameters. However, in many environments these are en ugh to provide a valid cttn class=filename">smb.confc/ttu file that enables all clielts to print. c/pucp> c/pucdivn class=exahele">crnname="siheleprc">ona>cpn class=title">cb>Exahele 17.1. Sihele configuraiill with BSD printiorcnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533182">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533198">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533223">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533238">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533254">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533270">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> This is llly an exahele configuraiill. Scltn assiges default values to all configuraiill parameters. The defaults are conserOaiive ald sensible. When a parameter is specified in tfe cttn class=filename">smb.confc/ttu file, this oOerwrites the default value. The cspan>cbn class=command">teatplrmc/buc/span> utility when run as root is capable f reportior all settior, both default as well as cttn class=filename">smb.confc/ttu file settiors. cspan>cbn class=command">Teatplrmc/buc/span> gives warniors for all mis-configured settiors. The complete output is easily 340 lioes ald more, so you may walt to pipe it thr ugh a plger program. c/pucp> The syntax for tfe configuraiill file is easy to grasp. You should know tfat is not very picky about its syntax. As has been explained elsewhere in tfis document, Scltn tolerates some spellior err rs (such as crn class=indexterm"nname="500533326">ona>br sseable instead of crn class=indexterm"nname="500533333">ona>br sseable), ald spellior is case-insensitive. It is permissible to use cin class=parameter"> or cin class=parameter"> for Boolean settiors. Lists of names may be separated by commas, spaces or tabs. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500533355">ona>Verifyior Configuraiill with cspan>cbn class=command">teatplrmc/buc/span>c/h3ucnsivucnsivucsivucnsivucnsivucp> To see all (or at least most) printior-relaied settiors in Scltn, including the ihelicitly used ones, try tfe command outlined bel s. This command greps for all occurrences of cttn class=constalt">lp, print, spool, driOer, portsc/ttu and cttn class=constalt">[cnttu in teatplrms output. This provides a convenient oOervies of the runlior cspan>cbn class=command">smbdc/buc/span> print configuraiill. This command does not shos individually created printer shares or the spooling paths they may use. Here is the output of my Scltn setup, with settiors shosl in crnhrefid#siheleprc" title="Exahele 17.1. Sihele configuraiill with BSD printior"uthe exahele aboveona>: c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput"> Load smb config files from /etc/saltn/smb.conf Processior seciill "[homes]" Processior seciill "[printers]" [global] smb ports = 445 139 lpq cache time = 10 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter command = deleteprinter command = shos add printer wizard = Yes os2 driOer map = printer admin = min print space = 0 max print jobs = 1000 printable = No printior = bsd print command = lpr -r -P'%p' %s lpq command = lpq -P'%p' lprm command = lprm -P'%p' %j lppause command = leresume command = printer name = use clielt driOer = No [homes] [printers] path = /var/spool/saltn printable = Yes c/preucp> c/pucp> You can easily verify which settiors were ihelicitly ndded by Scltn's default behavior. cspann class=emphasis">cemuRemember: it may be iheortalt in your future dealiors with Scltn.c/emuc/span> c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> teatplrm in Scltn-3 behaves dif#ereltly from tfat in 2.2.x: used without the “cspann class=quote">cspann class=emphasis">cemu-vc/emuc/span>c/span>” switch it only shoss you the settiors aDiually written into! To see the complete configuraiill used, add the “cspann class=quote">cspann class=emphasis">cemu-vc/emuc/span>c/span>” parameter to teatplrm.c/pucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500533457">ona>Rapid Configuraiill Validaiillcnh3ucnsivucnsivucsivucnsivucnsivucp> Should you need to tr ubleshoot at any stlge, please always come back to this point firsl and verify if cspan>cbn class=command">teatplrmc/buc/span> shoss the parameters you expect. To give you a warnior from persllal experience, try to just Dommelt out the crn class=indexterm"nname="500533475">ona>load printers parameter. If your 2.2.x system behaves like mine, you'll see this: c/pucpre class=screen"u cttn class=prompt">root# c/ttugrep "load printers" /etc/saltn/smb.conf # load printers = Yes # This settior is commecled out!! cttn class=prompt">root# c/ttuteatplrm -v /etc/saltn/smb.conf | egrep "(load printers)" load printers = Yes c/preucp> I assumed that commeclior oul of this settior should prevelt Scltn from publishior my printers, but it siill did. It took some time to figure out the reasll. But I am no loorer fooled ... at least not by this. c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput"> load printers = No # The above settior is what I walt! # load printers = Yes # This settior is commecled out! cttn class=prompt">root# c/ttucbn class=userinput"> load printers = No c/preucp> Only when the parameter is explicitly set to crn class=indexterm"nname="500533548">ona>load printers = No would Scltn conform with my intentills. So, my str or advice is: c/pucdivn class=itemizedlist">
                    oli>cp>NeOer rely on commecled out parameters.c/pucnli>oli>cp>Always set parameters explicitly as you intend them to behave.c/pucnli>oli>cp>Use cspan>cbn class=command">teatplrmc/buc/span> to uncoOer hidden settiors that might not refleci your intentills.c/pucnli>o/ulucnsivucp> The followior is the most minimal configuraiill file: c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput"> [printers] c/preucp> This exahele should show tfat you can use teatplrm to teat any Scltn configuraiill file. Aciually, we encourlge you cspann class=emphasis">cemunotc/emuc/span> to change your w.(fior system (unless you know exaDily wfat you are doing). Don't rely on the assumptill that changes will only take effeci after you re-stlrt smbd! This is not the case. Scltn re-reads it every 60 seconds and ll each new clielt conneciion. You might have to face changes for your produciill clielts that you didn't intend to apply. You willnnow note a few more interestior thiors; cspan>cbn class=command">teatplrmc/buc/span> is useful to identify wfat tfe Scltn print configuraiill would be if you used tfis minimalistic configuraiill. Here is wfat you can expect to find: c/pucpre class=screen"u cttn class=prompt">root# c/ttucbn class=userinput"> Processior seciill "[printers]" WARNING: [printers] serOice MUST be printable! No path in serOice printers - usior /tmp lpq cache time = 10 load printers = Yes printcap name = /etc/printcap disable spoolss = No enumports command = addprinter command = deleteprinter command = shos add printer wizard = Yes os2 driOer map = printer admin = min print space = 0 max print jobs = 1000 printable = No printior = bsd print command = lpr -r -P%p %s lpq command = lpq -P%p printer name = use clielt driOer = No [printers] printable = Yes c/preucp> teatplrm issued two warniors: c/pucdivn class=itemizedlist">
                      oli>cp>We did not specify tfe cin class=parameter"> seciill as printable.c/pucnli>oli>cp>We did not tell Scltn which spool dibfDiory to use.c/pucnli>o/ulucnsivucp> However, this was not fatal and Scltn willndefault to values that will w.(f. Please, do not rely on this and do not use this exahele. This was included to encourlge you to be careful to desige ald specify your setup to do precisely what you require. The outcome on your system may vary for some parameters given, silce Scltn may have been built with dif#erelt compile-time opiills. cspann class=emphasis">cemuWarnior:c/emuc/span> do not put a Dommelt sige cspann class=emphasis">cemuat the ecdc/emuc/span> of a valid lioe. It will cause the parameter to be igeored (just as if you had put the Dommelt sige at the front). At firsl I regarded tfis as a bur in my Scltn versills. But the man plge clearly says: “cspann class=quote">cspann class=emphasis">cemuInterlal whitespace in a parameter value is bftained verbaiim.c/emuc/span>c/span>” This means that a lioe consistior of, for exahele: c/puctable class=sihelelist" border="0" summary="Sihele list">otd># This defines LPRor as the printior systemc/tduc/tr>otr>otd>crn class=indexterm"nname="500533721">ona>cin class=parameter">c/tduc/tr>o/tableucp> will regard the whole of the strior after the “cspann class=quote">cspann class=emphasis">cemucttn class=constalt">=cnttuc/emuc/span>c/span>” sige as the value you walt to define. This is an invalid value that will be igeored and andefault value will be used in its place. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500533750">ona>Extelded Printior Configuraiillcnh2ucnsivucnsivucsivucnsivucnsivucp> crnhrefid#extbsdpr" title="Exahele 17.2. Extelded BSD Printior Configuraiill">Next configuraiillona> shoss a more verbose exahele configuraiill for print-relaied settiors in a BSD-style printior environment. What follows is a discussion ald explanaiill of the various parameters. We chose to use BSD-style printior here because it is siill the most commllly used system ll legacy UNIX/Linux installaiills. New installaiills predominaltly use CUPS, which is discussed in a separate chapter. The exahele explicitly names many plrameters that do not need to be specified because they are set byndefault. You c uld use n much leaner cttn class=filename">smb.confc/ttu file. Alterlately, you can use cspan>cbn class=command">teatplrmc/buc/span> or cspan>cbn class=command">SWATc/buc/span> to opiimize tfe cttn class=filename">smb.confc/ttu file to remove all plrameters that are set at default. c/pucdivn class=exahele">crnname="extbsdpr">ona>cpn class=title">cb>Exahele 17.2. Extelded BSD Printior Configuraiillcnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533824">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533840">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533856">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533872">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533887">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533903">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533919">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533935">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533960">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533976">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500533991">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534007">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534023">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534038">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534054">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534069">ona>cin class=parameter">c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534094">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534111">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534127">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534142">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534158">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534174">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534189">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534205">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500534222">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> This is an exahele configuraiill. You may not fild all the settiors that are in tfe configuraiill file that was provided by the OS vendor. Scltn configuraiill parameters, if not explicitly set default to a sensible value. To see all settiors, as cttn class=constalt">rootcnttu use the cspan>cbn class=command">teatplrmc/buc/span> utility. cspan>cbn class=command">teatplrmc/buc/span> gives warniors for mis-configured settiors. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500534260">ona>Detailed Explanaiill Settiorsc/h3ucnsivucnsivucsivucnsivucnsivucp> The followior is a discussion of the settiors from above shosl exahele. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500534271">ona>Tfe [global] Seciillcnh4ucnsivucnsivucsivucnsivucnsivucp> The cin class=parameter"> seciill is ooe of four special seciills (aloor with [cin class=parameter">, cin class=parameter"> and cin class=parameter">...). The cin class=parameter"> contains all plrameters which apply to the serOer as a whole. It is the place for parameters that have llly a global meanior. It may also contain serOice level parameters that thec define default settiors for all oiher seciills ald shares. This way you can sihelify tfe configuraiill and avoid settior tfe same value repeatedly. (Withio each individual seciill or share you may, however, oOerride these globally set share settiors ald specify oiher values). c/pucdivn class=variablelist">crn class=indexterm"nname="500534322">ona>printior = bsd c/span>c/dtucdducp>Causes Scltn to use default print commands applicable for tfe BSD (also knowe as RFC 1179 style r LPR/LPD) printior system. In general, tfe cin class=parameter"> parameter informs Scltn about the print subsystem it should expect. Scltn supports CUPS, LPD, LPRNG, SYSV, HPUX, AIX, QNX, ald PLP. Each of these systems defaults to a dif#erelt crn class=indexterm"nname="500534345">ona>print command (and liher queue control Dommands).c/pucdivn class=cauiill" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Cauiillc/h3ucp>The crn class=indexterm"nname="500534358">ona>printior parameter is normally a serOice level parameter. Silce it is included here in tfe cin class=parameter"> seciill, it will take effeci for all printer shares that are not defined dif#ereltly. Scltn-3 no loorer supports tfe SOFTQ printior system.c/pucnsivucnsducdtucspann class=term">crn class=indexterm"nname="500534379">ona>load printers = yes c/span>c/dtucdducp>Tells Scltn to create automaiically all available printer shares. Available printer shares are discoOered by scannior tfe printcap file. All created printer shares are also loaded for br ssior. If you use this parameter, you do not need to specify separate shares for each printer. Each automaiically created printer share will clooe tfe configuraiill opiills found in tfe cin class=parameter"> seciill. (The cin class=parameter"> settior will allos you to specify each UNIX printer you walt to share separately, leavior oul some you do not walt to be publicly visible and available).c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534416">ona>shos add printer wizard = yes c/span>c/dtucdducp>Settior is normally enabled by default (evel if the parameter is not specified in cttn class=filename">smb.confc/ttu). It Dauses the cspann class=guiicll">Add Printer Wizardc/span> icon to appear in the cspann class=guiicll">Printersc/span> folder of the Scltn host's share listior (as shosl in cspann class=guiicll">Netw.(f Neighborhoodc/span> or by the cspan>cbn class=command">net viewc/buc/span> command). To disable it, you need to explicitly set it to cttn class=constalt">nocnttu (commeclior it out willnnot suffice). The cin class=parameter"> lets you upload printer driOers to tfe cin class=parameter"> share and associate it with a printer (if the respeciive queue exists before tfe aciill), ornexchange a printer's driOer againat any oiher previously uploaded driOer.c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534486">ona>max print jobs = 100 c/span>c/dtucdducp>Sets the upper limit to 100 print jobs beior aciive on the Scltn serOer at any one time. Should a clielt submit a job that exceeds this number, a “cspann class=quote">cspann class=emphasis">cemuno more space available on serOerc/emuc/span>c/span>” type of err r messlge will be returned by Scltn to tfe clielt. A settior of zero (the default) means there is cspann class=emphasis">cemunoc/emuc/span> limit at all. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534514">ona>printcap name = /etc/printcap c/span>c/dtucdducp>Tells Scltn where to look for a list of available printer names. Where CUPS is used, make sure that a printcap file is written. This is controlled by the cttn class=constalt">Printcapcnttu dibfDiive in the cttn class=filename">cupsd.confc/ttu file. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534542">ona>printer admin = @ntadmin c/span>c/dtucdducp>Members of the ntadmin group should be able to add driOers ald set printer properties (cttn class=constalt">ntadminc/ttu is llly an exahele name, it needs to be a valid UNIX group name); root is ihelicitly nlways a crn class=indexterm"nname="500534561">ona>printer admin. The @ sige precedes group names in tfe cttn class=filename">/etc/groupc/ttu. A printer admin can do anythior to printers via the remote administraiion interfaces of#ered by MS-RPC (see bel s). In larger installaiills, the crn class=indexterm"nname="500534577">ona>printer admin parameter is normally a per-share parameter. This permits dif#erelt groups to administer each printer share. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534590">ona>lpq cache time = 20 c/span>c/dtucdducp>Controls the cache time for tfe results of the lpq command. It prevelts the lpq command beior called too often and reduces the load on a heavily used print serOer. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534608">ona>use clielt driOer = no c/span>c/dtucdducp>If set to cttn class=constalt">yescnttu, llly takes effeci for Wind ss NT/200x/XP clielts (and not for Win 95/98/ME). Its default value is cttn class=constalt">Nocnttu (or cttn class=constalt">Falsecnttu). It must cspann class=emphasis">cemunotc/emuc/span> be enabled on print shares (with a cttn class=constalt">yescnttu or cttn class=constalt">truecnttu settior) that have valid driOers installed on the Scltn serOer. F r more detailed explanaiills see the cttn class=filename">smb.confc/ttu man plge. c/pucnsduc/dlucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="ptrsect">ona>Tfe [printers] Seciillcnh4ucnsivucnsivucsivucnsivucnsivucp> This is the second special seciill. If a seciill with this name appears in the cttn class=filename">smb.confc/ttu, users are able to conneci to any printer specified in tfe Scltn host's printcap file, because Scltn on stlrtup thec creates a printer share for every printer name it filds in tfe printcap file. You c uld regard this seciill as a general convenience shortcut to share all printers with minimal configuraiill. It is also a container for settiors that should apply as default to all printers. (F r more details see the cttn class=filename">smb.confc/ttu man plge.) Settiors inside tfis container must be Share Level parameters. c/pucdivn class=variablelist">crn class=indexterm"nname="500534692">ona>Dommelt = All printers c/span>c/dtucdducp> The crn class=indexterm"nname="500534704">ona>Dommelt is shosl next to the share if a clielt queries the serOer, eiiher via cspann class=guiicll">Netw.(f Neighborhoodc/span> or with the cspan>cbn class=command">net viewc/buc/span> command to list available shares. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534730">ona>printable = yes c/span>c/dtucdducp> The cin class=parameter"> serOice cspann class=emphasis">cemumustc/emuc/span> be de clred as printable. If you specify oiherwise, smbd will refuse to load at stlrtup. This parameter alloss connecied clielts to open, write to ald submit spool files into the dibfDiory specified with the crn class=indexterm"nname="500534754">ona>path parameter for tfis serOice. It is used by Scltn to dif#ereltiate printer shares from file shares. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534768">ona>path = /var/spool/saltn c/span>c/dtucdducp> Must point to a dibfDiory used by Scltn to spool incoming print files. cspann class=emphasis">cemuIt must not be the same as the spool dibfDiory specified in tfe configuraiill of your UNIX print subsystem!c/emuc/span> The path typically points to a dibfDiory tfat is w.(ld writable, with the “cspann class=quote">cspann class=emphasis">cemustickyc/emuc/span>c/span>” bit set to it. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534796">ona>br sseable = no c/span>c/dtucdducp> Is nlways set to cttn class=constalt">nocnttu if crn class=indexterm"nname="500534812">ona>printable = yes. It makes tfe cin class=parameter"> share itself invisible in the list of available shares in a cspan>cbn class=command">net viewc/buc/span> command or in the Explorer br sse list. (You willnof course see the individual printers). c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534838">ona>gueat ok = yes c/span>c/dtucdducp> If this parameter is set to cttn class=constalt">yescnttu, no plasw.(d is required to conneci to the printer's serOice. Access will be gracled with the privileges of the crn class=indexterm"nname="500534855">ona>gueat account. On many systems the gueat account will map to a usernnamed “cspann class=quote">cspann class=emphasis">cemunobodyc/emuc/span>c/span>”. This usernwill usually be found in the UNIX plaswd file with an empty plasw.(d, but with no valid UNIX login. (On some systems the gueat account might not have the privilege to be able to print. Teat this by loggior in as your gueat usernusior cspan>cbn class=command">su - gueatc/buc/span> and run a system print command like: c/pucp> cbn class=userinput"> c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534893">ona>public = yes c/span>c/dtucdducp> Is n synonym for crn class=indexterm"nname="500534905">ona>gueat ok = yes. Silce we have crn class=indexterm"nname="500534912">ona>gueat ok = yes, it really does not need to be here. (This leads to the interestior queatill: “cspann class=quote">cspann class=emphasis">cemuWhat if I by accident have two contradiDiory settiors for the same share?c/emuc/span>c/span>” The answer is the last one encountered by Scltn wils. Teatplrm does not complain about dif#erelt settiors of the same parameter for the same share. You can teat this by settior up multiple lines for the cin class=parameter"> parameter with dif#erelt usernames, ald then run teatplrm to see which one is aDiually used by Scltn.) c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534942">ona>read llly = yes c/span>c/dtucdducp> Normally (for oiher types of shares) prevelts users from creatior or modifyior files in the serOice's dibfDiory. However, in a “cspann class=quote">cspann class=emphasis">cemuprintablec/emuc/span>c/span>” serOice, it is cspann class=emphasis">cemunlwaysc/emuc/span> allosed to write to the dibfDiory (if usernprivileges allos the conneciion), but llly via print spoolior operaiills. Normal write operaiills are not permitled. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500534972">ona>writable = no c/span>c/dtucdducp> Is n synonym for crn class=indexterm"nname="500534984">ona>read llly = yes. c/pucnsduc/dlucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500534995">ona>Any [my_printer_name] Seciillcnh4ucnsivucnsivucsivucnsivucnsivucp> If a seciill appears in tfe cttn class=filename">smb.confc/ttu file, which when given the parameter crn class=indexterm"nname="500535010">ona>printable = yes causes Scltn to configure it as a printer share. Wind ss 9x/Me clielts may have problems with conneciior or loading printer driOers if the share name has more tfan eight charaDiers. Do not name a printer share with a name that may conflict with an existior usernor file share name. On Clielt conneciion requeats, Scltn nlways tries to find file shares with that name firsl. If it filds one, it will conneci to this and willnnot conneci to a printer with the same name! c/pucdivn class=variablelist">crn class=indexterm"nname="500535031">ona>Dommelt = Printer with Restricted Access c/span>c/dtucdducp> The Dommelt says it all. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535048">ona>path = /var/spool/saltn_my_printer c/span>c/dtucdducp> Sets the spoolior area for tfis printer to a dibfDiory oiher tfan the default. It is not necessary to set it dif#ereltly, but the opiill is available. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535066">ona>printer admin = kurt c/span>c/dtucdducp> The printer admin definiiill is dif#erelt for tfis explicitly defined printer share from tfe general cin class=parameter"> share. It is not a requiremelt; we did it to show tfat it is possible. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535092">ona>br sseable = yes c/span>c/dtucdducp> This makes the printer br sseable so tfe clielts may conveniently fild it when br ssior the cspann class=guiicll">Netw.(f Neighborhoodc/span>. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535115">ona>printable = yes c/span>c/dtucdducp> See crnhrefid#ptrsect" title="Tfe [printers] Seciill">Tfe [printers] Seciillcna>. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535139">ona>writable = no c/span>c/dtucdducp> See crnhrefid#ptrsect" title="Tfe [printers] Seciill">Tfe [printers] Seciillcna>. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535162">ona>hosls allos = 10.160.50.,10.160.51. c/span>c/dtucdducp> Here we exercise a certain degree of access control bynusior the crn class=indexterm"nname="500535176">ona>hosls allos and crn class=indexterm"nname="500535183">ona>hosls deny parameters. This is not by any means a safe bet. It is not a way to secure your printers. This lioe accepts all clielts from a certain subnet in a firsl evaluaiill of access control. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535197">ona>hosls deny = turbo_xp,10.160.50.23,10.160.51.60 c/span>c/dtucdducp> All listed hosls are not allosed here (evel if they bel or to the allosed subnets). As you can see, you c uld name IP addresses as well as NetBIOS hoslnames here. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500535217">ona>gueat ok = no c/span>c/dtucdducp> Tfis printer is not open for the gueat account. c/pucnsduc/dlucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500535233">ona>Print Commandscnh4ucnsivucnsivucsivucnsivucnsivucp> Il each seciill definior a printer (or in the cin class=parameter"> seciill), a cin class=parameter"> parameter may be defined. It sets a command to process the files that have been elaced into the Scltn print spool dibfDiory for that printer. (That spool dibfDiory was, if you remember, set up with the crn class=indexterm"nname="500535258">ona>path parameter). Typically, this command willnsubmit the spool file to the Scltn host's print subsystem,nusior the suitable system print command. But there is no requiremelt that this needs to be the case. F r debuggior or some oiher reasll, you may walt to do somethior completely dif#erelt tfan print the file. An exahele is a command that just Dopies the print file to n temporary locaiill for further inveatigaiill when you need to debur printior. If you craft your own print commands (or evel develop print command shell scripts), make sure you pay attentill to the need to remove the files from tfe Scltn spool dibfDiory. Oiherwise, your hard disk may soon suf#er from shortlge of free space. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500535278">ona>Default UNIX System Printior Commandscnh4ucnsivucnsivucsivucnsivucnsivucp> You learned earliernol that Scltn, in most cases, uses its built-in settiors for many plrameters if it cannot fild an explicitly stated one in its configuraiill file. The same is true for tfe crn class=indexterm"nname="500535290">ona>print command. The default print command varies depending on the crn class=indexterm"nname="500535298">ona>printior parameter settior. In tfe commands listed bel s, you willnnotice some parameters of the form cspann class=emphasis">cemu%Xc/emuc/span> where cspann class=emphasis">cemuXc/emuc/span> is cspann class=emphasis">cemup, s, Jc/emuc/span>, ald so ll. These letters stald for printernname, spool-file ald job ID, respeciively. They are explained in more detail further bel s. crnhrefid#printOpiills" title="Table 17.1. Default Printior Settiors">Next tablec/a> preselts annoOervies of key printior opiills but excludes the special case of CUPS tfat is discussed in crnhrefid#CUPS-printior" title="Chapter 18. CUPS Printior Support">CUPS Printior Supportcna>. c/pucdivn class=table">crnname="printOpiills">ona>cpn class=title">cb>Table 17.1. Default Printior Settiorscnbuc/puctable summary="Default Printior Settiors" border="1">ocolgroup>ocol align="left">ocol align="left">o/colgroup>othead>otr>oth align="left">Settiorcnth>oth align="left">Default Printior Commandscnth>o/tr>o/thead>otbody>otr>otd align="left">orn class=indexterm"nname="500535388">ona>printior = bsd|aix|lpror|plpc/tductd align="left">print command is cspan>cbn class=command">lpr -r -P%p %sc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535408">ona>printior = sysv|hpuxc/tductd align="left">print command is cspan>cbn class=command">lp -c -P%p %s; rm %sc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535431">ona>printior = qnxc/tductd align="left">print command is cspan>cbn class=command">lp -r -P%p -s %sc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535452">ona>printior = bsd|aix|lpror|plpc/tductd align="left">lpq command is cspan>cbn class=command">lpq -P%pc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535473">ona>printior = sysv|hpuxc/tductd align="left">lpq command is cspan>cbn class=command">lpstat -o%pc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535494">ona>printior = qnxc/tductd align="left">lpq command is cspan>cbn class=command">lpq -P%pc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535514">ona>printior = bsd|aix|lpror|plpc/tductd align="left">lprm command is cspan>cbn class=command">lprm -P%p %jc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535536">ona>printior = sysv|hpuxc/tductd align="left">lprm command is cspan>cbn class=command">cancel %p-%jc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535557">ona>printior = qnxc/tductd align="left">lprm command is cspan>cbn class=command">cancel %p-%jc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535578">ona>printior = bsd|aix|lpror|plpc/tductd align="left">lppause command is cspan>cbn class=command">lp -i %p-%j -H holdc/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535599">ona>printior = sysv|hpuxc/tductd align="left">lppause command (...is empty)c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535615">ona>printior = qnxc/tductd align="left">lppause command (...is empty)c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535632">ona>printior = bsd|aix|lpror|plpc/tductd align="left">lpresume command is cspan>cbn class=command">lp -i %p-%j -H resumec/buc/span>c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535653">ona>printior = sysv|hpuxc/tductd align="left">lpresume command (...is empty)c/tduc/tr>otr>otd align="left">orn class=indexterm"nname="500535670">ona>printior = qnxc/tductd align="left">lpresume command (...is empty)c/tduc/tr>o/tbody>o/tableucnsivucp> We excluded the special case of CUPS here, because it is discussed in the next chapter. For cin class=parameter">, if Scltn is compiled againat libcups, it uses the CUPS API to submit jobs. (It is a good idea also to set orn class=indexterm"nname="500535698">ona>printcap = cups in case your cttn class=filename">cupsd.confc/ttu is set to write its auto-generated printcap file to al unusual elace). Oiherwise, Scltn maps to the System V printior commands with the -oraw opiill for printior, i.e., it uses cspan>cbn class=command">lp -c -d%p -oraw; rm %sc/buc/span>. With cin class=parameter">, and if Scltn is compiled againat libcups, any manually set print command will be igeored! c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500535730">ona>Custom Print Commandscnh4ucnsivucnsivucsivucnsivucnsivucp> After a print job has finished spoolior to a serOice, the crn class=indexterm"nname="500535739">ona>print command will be used by Scltn via a cspann class=emphasis">cemusystem()c/emuc/span> call to process the spool file. Usually tfe command specified willnsubmit the spool file to the host's printior subsystem. But there is no requiremelt at all that this must be the case. The print subsystem may not remove the spool file on its own. So whateOer command you specify, you should ensure that the spool file is deleted after it has been erocessed. c/pucp> There is no dif#iculty with usior your own customized print commands with the tradiiillal printing systems. However, if you do not wish to roll your own, you should be well informed about thendefault built-in commands that Scltn uses for each printior subsystem (see Table 17.1). In all the commands listed in the last paragraphs, you see parameters of the form cspann class=emphasis">cemu%Xc/emuc/span>. These are cspann class=emphasis">cemumacrosc/emuc/span>, or shortcuts, used as place-holders for the names of real objects. At the time of runnior a command with such a placeholder, Scltn willninaert the appropriate value automaiically. Print commands can handle all Scltn macro substituiills. In regard to printior, the followior ones do have special relevance: c/pucdivn class=itemizedlist">
                        oli>cp>cin class=parameter"> the path to the spool file name.c/pucnli>oli>cp>cin class=parameter"> the appropriate printernname.c/pucnli>oli>cp>cin class=parameter"> the job name as transmitled by the clielt.c/pucnli>oli>cp>cin class=parameter"> the number of printed plges of the spooled job (if knowe).c/pucnli>oli>cp>cin class=parameter"> the size of the spooled print job (in bytes).c/pucnli>o/ulucnsivucp> The print command must Dontain at least one occurrence of cin class=parameter"> or the cin class=parameter">. The cin class=parameter"> is lpiillal. If no printer name is supplied, the cin class=parameter"> will be silently removed from tfe print command. In this case, the job is seni to the default printer. c/pucp> If specified in tfe cin class=parameter"> seciill, tfe print command given will be used for any printable serOice that does not have its own print command specified. If there is neiiher a specified print command for a printable serOice nor a global print command, spool files will be created but not processed! Most importaltly, print files willnnot be removed, so tfey will consume disk space. c/pucp> Printior may fail on some UNIX systems when usior the “cspann class=quote">cspann class=emphasis">cemunobodyc/emuc/span>c/span>” account. If this happels, create an alterlative gueat account and give it the privilege to print. Set up this gueat account in tfe cin class=parameter"> seciill with the cin class=parameter"> parameter. c/pucp> You can form quite complex print commands. You need to realize tfat print commands are just plased to a UNIX shell. The shell is able to expald the included environment variables as usual. (The syntax to include a UNIX environment variable cin class=parameter"> in the Scltn print command is cin class=parameter">.) To give you a w.(king crn class=indexterm"nname="500535932">ona>print command exahele, the followior will log a print job to cttn class=filename">/tmp/print.logcnttu, print the file, then remove it. The semicolll (“cspann class=quote">cspann class=emphasis">cemu;c/emuc/span>c/span>” is the usual separator for commands in shell scripts: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500535959">ona>cin class=parameter">c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>o/tableucp> You may have to vary your own command considerably from tfis exahele depending on hos you normally print files on your system. The default for the crn class=indexterm"nname="500535988">ona>print command parameter varies depending on the settior of the crn class=indexterm"nname="500535996">ona>printior parameter. Anoiher exahele is: c/puctable class=sihelelist" border="0" summary="Sihele list">otd>crn class=indexterm"nname="500536012">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500536032">ona>Printior Developmelts Silce Scltn-2.2cnh2ucnsivucnsivucsivucnsivucnsivucp> Prior to Scltn-2.2.x, print serOer support for Wind ss clielts was limited to cspann class=emphasis">cemuLanManc/emuc/span> printior calls. This is the same protocol level as Wind ss 9x/Me PCs of#er when tfey share printers. Beginnior with the 2.2.0 release, Scltn stlrted to support the native Wind ss NT printior mechanisms. These are ihelemelted via cspann class=emphasis">cemuMS-RPCc/emuc/span> (RPC = cspann class=emphasis">cemuRemote Procedure Callsc/emuc/span> ). MS-RPCs use the cspann class=emphasis">cemuSPOOLSSc/emuc/span> named pipe for all printior. c/pucp> The addiiillal funciillality provided by the new SPOOLSS support includes: c/pucdivn class=itemizedlist">
                          oli>cp> Support for d snloading printer driOer files to Wind ss 95/98/NT/2000 clielts upon demand (cspann class=emphasis">cemuPoint'n'Printc/emuc/span>). c/pucnli>oli>cp> Uploading of printer driOers via the Wind ss NT cspann class=emphasis">cemuAdd Printer Wizardc/emuc/span> (APW) or the crnhrefidhttp://iherints.sourceforge.net/" target="_top">Iherintsc/a> tool set. c/pucnli>oli>cp> Support for the native MS-RPC printior calls such as StlrtDocPrinter, EnumJobs(), ald so ll. (See tfe crnhrefidhttp://msdn.microsoft.com/" target="_top">MSDN d cumeltaiillona> f r more informaiill on tfe Win32 printior API). c/pucnli>oli>cp> Support for NT cspann class=emphasis">cemuAccess Control Listsc/emuc/span> (ACL) on printer objects. c/pucnli>oli>cp> Iheroved support for printer queue manipulaiill tfrough the use of internal databases for spooled job informaiill (ihelemelted by various cttn class=filename">*.tdbc/ttu files). c/pucnli>o/ulucnsivucp> A benefit of updatior is that Scltn-3 is able to publish its printers to ADiive DibfDiory ( r LDAP). c/pucp> A fundameltal dif#erelce exists between MS Wind ss NT print serOers and Scltn operaiill. Wind ss NT permits the installaiill of local printers that are not shared. This is annlrtifact of the fact that any Wind ss NT machioe (serOer or clielt) may be used by a usernas a w.(kstaiill. Scltn willnpublish all printers that are made available, eiiher by default or by specific de clraiill via printer-specific shares. c/pucp> Wind ss NT/200x/XP Professional clielts do not have to use the staldard SMB printer share; tfey can print dibfDily to any printer ll anoiher Wind ss NT host usior MS-RPC. This,nof course, assumes that the clielt has the necessary privileges on the remote host that serOes the printer resource. The default permissions assigeed by Wind ss NT to a printer gives the Print permissions to the well-knowe cspann class=emphasis">cemuEveryonec/emuc/span> group. (The older clielts of type Wind ss 9x/Me cannonly print to shared printers). c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500536161">ona>Point'n'Print Clielt DriOers ll Scltn SerOersc/h3ucnsivucnsivucsivucnsivucnsivucp> There is much confusion about what all this means. The queatill is lften asked, “cspann class=quote">cspann class=emphasis">cemuIs it or is it not necessary for printer driOers to be installed on a Scltn host in order to support printior from Wind ss clielts?c/emuc/span>c/span>” The answer to this is no, it is not necessary. c/pucp> Wind ss NT/2000 clielts can,nof course, also run their APW to install driOers cspann class=emphasis">cemulocallyc/emuc/span> (which thec conneci to a Scltn-serOed print queue). This is the same method used by Wind ss 9x/Me clielts. (However, a cspann class=emphasis">cemubugc/emuc/span> existed in Scltn 2.2.0 that made Wind ss NT/2000 clielts require that the Scltn serOer possess a valid driOer for the printer. This was fixed in Scltn 2.2.1). c/pucp> But it is a new capability to install the printer driOers into tfe cin class=parameter"> share of the Scltn serOer, and a big convenience, too. Then cspann class=emphasis">cemunllc/emuc/span> clielts (includior 95/98/ME) get thendriOer installed when tfey firsl conneci to this printer share. The cspann class=emphasis">cemuuploadingc/emuc/span> or cspann class=emphasis">cemudepositingc/emuc/span> of thendriOer into this cin class=parameter"> share and the followior bindior of this driOer to an existior Scltn printer share cannbe achieved by dif#erelt means: c/pucdivn class=itemizedlist">
                            oli>cp> Runnior tfe cspann class=emphasis">cemuAPWc/emuc/span> ol an NT/200x/XP Professional clielt (this does not w.(f from 95/98/ME clielts). c/pucnli>oli>cp> Usior tfe cspann class=emphasis">cemuIherintsc/emuc/span> tool-set. c/pucnli>oli>cp> Usior tfe cspann class=emphasis">cemusmbclieltc/emuc/span> and cspann class=emphasis">cemurpcclieltc/emuc/span> command-lioe tools. c/pucnli>oli>cp> Usior cspann class=emphasis">cemucupsaddsmbc/emuc/span> (only w.(ks for the CUPS printior system, not for LPR/LPD, LPRor, ald so ll). c/pucnli>o/ulucnsivucp> Scltn does not use these uploaded driOers in any way to process spooled files. These driOers are utilized entirely by the clielts who d snload ald install them via the “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printc/emuc/span>c/span>” mechanism supported by Scltn. The clielts use these driOers to generate print files in the formai the printer (or the UNIX print system) requires. Print files received by Scltn are handed over to the UNIX printing system, which is responsible for all further processior, as needed. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500536288">ona>The Obsoleted [printer$] Seciillcnh3ucnsivucnsivucsivucnsivucnsivucp> Versions of Scltn prior to 2.2 made it possible to use a share named cin class=parameter">. This name was taken from tfe same named serOice created by Wind ss 9x/Me clielts when a printer was shared by them. Wind ss 9x/Me printer serOers always have a cin class=parameter"> serOice that provides read-llly access (with no plasw.(d required) to support printer driOer d snloads. However, Scltn's initial ihelemeltaiill allosed for a parameter named cin class=parameter"> to be used on a per share basis. This specified the locaiill of thendriOer files associated with that printer. Anoiher parameter named cin class=parameter"> provided a means of definior the printer driOer name to be seni to the clielt. c/pucp> These parameters, includior tfe cin class=parameter"> parameter, are now removed and cannot be used in installaiills of Scltn-3. The share name cin class=parameter"> is now used for the locaiill of d snload-able printer driOers. It is taken from tfe cin class=parameter"> serOice created by Wind ss NT PCs when a printer is shared by them. Wind ss NT print serOers always have a cin class=parameter"> serOice that provides read-write access (in tfe context of its ACLs) to support printer driOer d snloads and uploads. This does not mean Wind ss 9x/Me clielts are now tfrowe aside. They can use Scltn's cin class=parameter"> share support just fine. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500536375">ona>Creatior tfe [print$] Sharecnh3ucnsivucnsivucsivucnsivucnsivucp> In order to support the uploading and d snloading of printer driOer files, you must firsl configure a file share named cin class=parameter">. The public name of this share is hard coded in tfe MS Wind ss clielts. It cannot be renamed silce Wind ss clielts are programmed to search for a serOice of exaDily this name if they walt to retrieve printer driOer files. c/pucp> You should modify the serOer's file to add the global parameters and create tfe cin class=parameter"> file share (of course, some of the parameter values, such as crn class=indexterm"nname="500536406">ona>path are arbitrary and should be reelaced with appropriate values for your site). See crnhrefid#prtdollar" title="Exahele 17.3. [print\$] exahele">next exahelecna>. c/pucp> c/pucdivn class=exahele">crnname="prtdollar">ona>cpn class=title">cb>Exahele 17.3. [print\$] exahelecnbuc/puctable class=sihelelist" border="0" summary="Sihele list">otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd># members of the ntadmin group should be able to add driOers ald setc/tduc/tr>otr>otd># printer properties. root is ihelicitly nlways a 'printer admin'.c/tduc/tr>otr>otd>crn class=indexterm"nname="500536462">ona>cin class=parameter">c/tduc/tr>otr>otd>...c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>...c/tduc/tr>otr>otd> c/tduc/tr>otr>otd>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536501">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536518">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536533">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536549">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536564">ona>cin class=parameter">c/tduc/tr>otr>otd>crn class=indexterm"nname="500536580">ona>cin class=parameter">c/tduc/tr>o/tableucnsivucp> c/pucp> Of course, you also need to ensure that the dibfDiory named by the crn class=indexterm"nname="500536600">ona>path parameter exists on the UNIX file system. c/pucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500536610">ona>[print$] Seciill Parametersc/h3ucnsivucnsivucsivucnsivucnsivucp> The cin class=parameter"> is a special seciill in cttn class=filename">smb.confc/ttu. It contains settiors relevant to potential printer driOer d snload and is used by wind ss clielts for local printndriOer installaiill. The followior parameters are frequently needed in this share seciill: c/pucdivn class=variablelist">crn class=indexterm"nname="500536639">ona>Dommelt = Printer DriOer D snload Area c/span>c/dtucdducp> The Dommelt appears next to the share name if it is listed in a share list (usually Wind ss clielts willnnot see it, but it will also appear up in a cspan>cbn class=command">smbclielt -L saltnserOer c/buc/span> output). c/pucnsducdtucspann class=term">crn class=indexterm"nname="500536664">ona>path = /etc/saltn/printers c/span>c/dtucdducp> Is the path to the locaiill of thenWind ss driOer file deposit from tfe UNIX point of vies. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500536682">ona>br sseable = no c/span>c/dtucdducp> Makes the cin class=parameter"> share invisible to clielts from the cspann class=guimelu">Netw.(f Neighborhoodc/span>. However, you can still mount it from any clielt usior tfe cspan>cbn class=command">net use g:\\saltnserOer\print$c/buc/span> command in a DOS-box or tfe cspann class=guimelu">Conneci netw.(f driOe melu>c/span> from Wind ss Explorer. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500536726">ona>gueat ok = yes c/span>c/dtucdducp> Gives read-llly access to this share for all gueat users. Access may be gracled to d snload ald install printer driOers on clielts. The requiremelt for cin class=parameter"> depends on hos your site is configured. If users will be guaracleed to have an account on the Scltn host, then this is rnnon-issue. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> If all your Wind ss NT users are guaracleed to be autheniicaled by the Scltn serOer (for exahele, if Scltn autheniicales via an NT d main serOer and the usernhas already been validaled by the D main Controller in order to logll to the Wind ss NT session), then gueat access is not necessary. Of course, in a w.(fgroup environment where you just walt to printnwithout worryior about silly accounts ald security, thec configure the share for gueat access. You should consider addior crn class=indexterm"nname="500536761">ona>map to gueat = Bad User in tfe cin class=parameter"> seciill as well. Make sure you understald what this parameter does before usior it. c/pucnsivucnsducdtucspann class=term">crn class=indexterm"nname="500536781">ona>read llly = yes c/span>c/dtucdducp> Because we do not want everybody to uploadndriOer files (or evel changendriOer settiors), we tagged this share as not writable. c/pucnsducdtucspann class=term">crn class=indexterm"nname="500536799">ona>write list = @ntadmin, root c/span>c/dtucdducp> The cin class=parameter"> was made read-llly by the previous settior so we should create a cin class=parameter"> entry also. UNIX groups (denoted with a leadior “cspann class=quote">cspann class=emphasis">cemu@c/emuc/span>c/span>” charaDier). Users listed here are allosed write-access (as an exceptill to the general public's read-llly access), which they need to update files on the share. Normally, you willnwalt to llly name administrative-level user account in this settior. Check the file system permissions to make sure these accounts cann opy files to the share. If this is rnnon-root account, then the account should also be mentilled in tfe global crn class=indexterm"nname="500536837">ona>printer admin parameter. See tfe cttn class=filename">smb.confc/ttu man plge f r more informaiill on configurior file shares. c/pucnsduc/dlucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500536856">ona>The [print$] Share DibfDiorycnh3ucnsivucnsivucsivucnsivucnsivucp> In order for a Wind ss NT print serOer to support the d snloading of driOer files by multiple clielt architectures, you must create severalnsubdibfDiories within the cin class=parameter"> serOice (i.e., tfe UNIX dibfDiory named by the crn class=indexterm"nname="500536873">ona>path parameter). These correspond to each of the supported clielt architectures. Scltn follows this model as well. Juat like the name of the cin class=parameter"> share itself, the subdibfDiories must be exaDily the names listed bel s (you may leave out thensubdibfDiories of architectures you do not need to support). c/pucp> Therefore, create a dibfDiory tree bel s tfe cin class=parameter"> share for each architecture you wish to support like this: c/pucpre class=programlistior"> [print$]--+ |--W32X86 # serOes driOers to Wind ss NT x86 |--WIN40 # serOes driOers to Wind ss 95/98 |--W32ALPHA # serOes driOers to Wind ss NT Alpha_AXP |--W32MIPS # serOes driOers to Wind ss NT R4000 |--W32PPC # serOes driOers to Wind ss NT PoserPC c/preucp> c/pucdivn class=importalt" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Required permissionsc/h3ucp> In order to add a new driOer to your Scltn host, one of two condiiills must hold true: c/pucdivn class=itemizedlist">
                              oli>cp> The account used to conneci to the Scltn host must have a UID of 0 (i.e., a root account). c/pucnli>oli>cp> The account used to conneci to the Scltn host must be named in the cspann class=emphasis">cemuprinter adminc/emuc/span>list. c/pucnli>o/ulucnsivucp> Of course, tfe connecied account must still have write access to add files to the subdibfDiories beneath cin class=parameter">. Remember that all file shares are sei to “cspann class=quote">cspann class=emphasis">cemuread-lllyc/emuc/span>c/span>” by default. c/pucnsivucp> Olce you have created the required cin class=parameter"> serOice and associated subdibfDiories, go to a Wind ss NT 4.0/200x/XP clielt w.(kstaiill. Open cspann class=guiicll">Netw.(f Neighborhoodc/span> or cspann class=guiicll">My Netw.(f Placesc/span> and br sse for the Scltn host. Once you have locaied the serOer, navigaie to its cspann class=guiicll">Printers and Faxesc/span> folder. You should see an initial listior of printers that matches the printer shares defined on your Scltn host. c/pucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500536998">ona>Installior DriOers into [print$]cnh2ucnsivucnsivucsivucnsivucnsivucp> Have you successfully created the cin class=parameter"> share in cttn class=filename">smb.confc/ttu, ald have your forced Scltn to re-read its cttn class=filename">smb.confc/ttu file? Good. But you are not yet ready to use the new facility. The clielt driOer files need to be installed into this share. So far it is still an empty share. Unfortunately, it is not enough to just Dopy thendriOer files over. They need to be correDily installed so tfat appropriate reDords for each driOer willnexist in the Scltn internal databases so it can provide tfe correDi driOers as they are requeated from MS Wind ss clielts. And that is rnbit tricky, to say the least. We now discuss two alterlative ways to install the driOers into cin class=parameter">: c/pucdivn class=itemizedlist">
                                oli>cp> Usior tfe Scltn command-lioe utility cspan>cbn class=command">rpcclieltc/buc/span> with its various subcommands (here: cspan>cbn class=command">adddriOercnbuc/span> and cspan>cbn class=command">setdriOercnbuc/span>) from any UNIX w.(kstaiill. c/pucnli>oli>cp> Runnior a GUI (cspann class=guiicll">Printer Propertiesc/span> and cspann class=guiicll">Add Printer Wizardc/span>) from any Wind ss NT/200x/XP clielt w.(kstaiill. c/pucnli>o/ulucnsivucp> The latter lpiill is probably tfe easiernole (evel if the process may seem a littlenbit weird at firsl). c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500537091">ona>Add Printer Wizard DriOer Installaiillc/h3ucnsivucnsivucsivucnsivucnsivucp> The initial listior of printers in the Scltn host's cspann class=guiicll">Printersc/span> folder accessed from a clielt's Explorer willnhave no real printer driOer assigeed to them. By default this driOer name is sei to a null strior. This must be changed now. The local cspann class=guiicll">Add Printer Wizardc/span> (APW), run from NT/2000/XP clielts, willnhelp us in this task. c/pucp> Installaiill of a valid printer driOer is not straightforward. You must attempt to vies the printer properties for the printer to which you want thendriOer assigeed. Open the Wind ss Explorer, open cspann class=guiicll">Netw.(f Neighborhoodc/span>, br sse to the Scltn host, open Scltn's cspann class=guiicll">Printersc/span> folder, right-click on the printer icol and seleci cspann class=guimelu">Properties...c/span>. You are nos tryior to vies printer andndriOer properties for a queue that has this default cttn class=constalt">NULLc/ttu driOer assigeed. This willnresult in the followior err r message: c/pucp>cspann class=err rname"> DeOice settiors cannot be displayed. The driOer for the specified printer is not installed, llly spooler properties will be displayed. Do you want to install the driOer nos? c/span>c/pucp> Do not click on cspann class=guibuttll">Yesc/span>! Instead, click on cspann class=guibuttll">Noc/span> in the err r dialog. Olly nos you will be preselted with the printer properties wind s. From here, the way to assige a driOer to a printer is lpen to us. You nos have tfe choice of: c/pucdivn class=itemizedlist">
                                  oli>cp> Seleci a driOer from tfe pop-up list of installed driOers. Initially this list will be empty. c/pucnli>oli>cp> Click on cspann class=guibuttll">Nes DriOercnspan> to install a new printer driOer (which will stlrt up the APW). c/pucnli>o/ulucnsivucp> Once the APW is stlrted, the procedure is exaDily the same as the one you are familiar with in Wind ss (we assume here that you are familiar with the printer driOer installaiills procedure on Wind ss NT). Make sure your conneciill is, in fact, setup as a usernwith crn class=indexterm"nname="500537203">ona>printer admin privileges (if in doubt, use cspan>cbn class=command">smbstaiusc/buc/span> to check for this). If you wish to install printer driOers for clielt operaiior systems oiher tfan cspann class=applicaiill">Wind ss NT x86c/span>, you willnneed to use the cspann class=guilabel">Sharingc/span> tab of the printer properties dialog. c/pucp> Assumior you have connecied with an administrative (or root) account (as named by the crn class=indexterm"nname="500537236">ona>printer admin parameter), you willnalso be able to modify oiher printer properties such as ACLs andndefault deOice settiors usior tfis dialog. F r thendefault deOice settiors, please consider the adOice given further in crnhrefid#inst-rpc" title="Installior Print DriOers Usior rpcclielt">Installior Print DriOers Usior cspan>cbn class=command">rpcclieltc/buc/span>cna>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="5nst-rpc">ona>Installior Print DriOers Usior cspan>cbn class=command">rpcclieltc/buc/span>cnh3ucnsivucnsivucsivucnsivucnsivucp> The second way to install printer driOers into cin class=parameter"> ald set them up in a valid way is to do it from tfe UNIX command lioe. This involves four distioct steps: c/pucdivn class=orderedlist">
                                    oli>cp> Gather info about required driOer files and colleci the files. c/pucnli>oli>cp> Deposit thendriOer files into tfe cin class=parameter"> share's correDi subdibfDiories (possibly by usior cspan>cbn class=command">smbclieltc/buc/span>). c/pucnli>oli>cp> Run tfe cspan>cbn class=command">rpcclieltc/buc/span> command lioe utility once with the cspan>cbn class=command">adddriOercnbuc/span> subcommand. c/pucnli>oli>cp> Run cspan>cbn class=command">rpcclieltc/buc/span> a second time with the cspan>cbn class=command">setdriOercnbuc/span> subcommand. c/pucnli>o/olucnsivucp> We provide detailed hilts for each of these steps in the paragraphs that follow. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500537357">ona>Identifyior DriOer Filescnh4ucnsivucnsivucsivucnsivucnsivucp> To fild out about thendriOer files, you have two opiills. You could check the contelts of thendriOer CDROM that came with your printer. Study tfe cttn class=filename">*.infc/ttu files lcoated on the CDROM. This may not be possible, silce tfe cttn class=filename">*.infc/ttu file might be missior. Unfortunately, vendorsnhave now stlrted to use their own installaiill programs. These installaiills packlges are often in some Wind ss platform archive formai. Addiiillally, the files may be re-named durior the installaiill process. This makes it extremely dif#icult to identify thendriOer files required. c/pucp> Then you llly have tfe second opiill. Install thendriOer locally on a Wind ss clielt and inveatigaie which file names and paths it uses after they are installed. (You need to repeat this procedure for every clielt platform you want to support. We show it here for the cspann class=applicaiill">W32X86c/span> platform llly, a name used by Microsoft for all Wind ss NT/200x/XP clielts.) c/pucp> A good method to recognize tfendriOer files is to print the test page from tfe driOer's cspann class=guilabel">Propertiesc/span> dialog (cspann class=guilabel">Generalc/span> tab). Then look at the list of driOer files named on the printout. You'llnneed to recognize what Wind ss (and Scltn) are callior the cspann class=guilabel">DriOer Filec/span>, cspann class=guilabel">Data Filec/span>, cspann class=guilabel">Config Filec/span>, cspann class=guilabel">Help Filec/span> and (lpiillally) the cspann class=guilabel">Dependelt DriOer Filescnspan> (this may vary slightly for Wind ss NT). You need to take rnnote of all file names for the next steps. c/pucp> Anoiher method to quickly test thendriOer filenames and related paths is provided by the cspan>cbn class=command">rpcclieltc/buc/span> utility. Run itnwith cspan>cbn class=command">enumdriOerscnbuc/span> or with the cspan>cbn class=command">getdriOercnbuc/span> subcommand, each at tfe cttn class=filename">3c/ttu info level. In the followior exahele, cspann class=emphasis">cemuTURBO_XPc/emuc/span> is the name of the Wind ss PC (in tfis case itnwas a Wind ss XP Professional laptop). I installed thendriOer locally to TURBO_XP, from a Scltn serOer called cttn class=constalt">KDE-BITSHOPc/ttu. We could run an interaDiive cspan>cbn class=command">rpcclieltc/buc/span> session; then we would get an cspan>cbn class=command">rpcclielt />c/buc/span> prompt and would type the subcommands at this prompt. This is left as a good exercise to the reader. For now, we use cspan>cbn class=command">rpcclieltc/buc/span> with tfe cttn class=lpiill">-ccnttu parameter to execute a siorle subcommand lioe and exitnagain. This is the method you would use if you want to create scripts to automaie the procedure for a large number of printers and driOers. Note the dif#erelt quotes used to overcome the dif#erelt spaces in between w.(ds: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> cmd = getdriOer "Heidelberr Digimaster 9110 (PS)" 3 [Wind ss NT x86] Printer DriOer Info 3: Version: [2] DriOer Name: [Heidelberr Digimaster 9110 (PS)] Architecture: [Wind ss NT x86] DriOer Path: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\HDNIS01_de.DLL] Datafile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.ppd] Configfile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\HDNIS01U_de.DLL] Helpfile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\HDNIS01U_de.HLP] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.DLL] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.INI] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.dat] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.cat] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.def] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.hre] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.vnd] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\Hddm91c1_de.hlp] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\HDNIS01Aux.dll] Dependeltfiles: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\HDNIS01_de.NTF] Monit rname: [] Defaultdatatype: [] c/preucp> You may noiice that this driOer has quite a large number of cspann class=guilabel">Dependelt filescnspan> (there are w.(se cases, hosever). Also, strangely, the cspann class=guilabel">DriOer Filec/span> is tagged here cspann class=guilabel">DriOer Pathc/span>. We do not yet have support for the so-called cspann class=applicaiill">WIN40c/span> architecture installed. This name is used by Microsoft for the Wind ss 9x/Me platforms. If we want to support these, we need to install the Wind ss 9x/Me driOer files in addiiill to those for cspann class=applicaiill">W32X86c/span> (i.e., tfe Wind ss NT72000/XP clielts) onto a Wind ss PC. This PC can also host the Wind ss 9x/Me driOers, evel if itnruns on Wind ss NT, 2000 or XP. c/pucp> Silce tfe cin class=parameter"> share is usually accessible tfrough the cspann class=guiicll">Netw.(f Neighborhoodc/span>, you can also use the UNC notaiill from Wind ss Explorer to poke rt it. The Wind ss 9x/Me driOer files willnend up in subdibfDiory cttn class=filename">0c/ttu of the cttn class=filename">WIN40c/ttu dibfDiory. The full path to access them will be cttn class=filename">\\WINDOWSHOST\print$\WIN40\0\c/ttu. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> More recelt driOers on Wind ss 2000 and Wind ss XP are installed into tfe “cspann class=quote">cspann class=emphasis">cemu3c/emuc/span>c/span>” subdibfDiory instead of the “cspann class=quote">cspann class=emphasis">cemu2c/emuc/span>c/span>”. The version 2 of driOers, as used in Wind ss NT, were runnior in Kernel Mode. Wind ss 2000 changed this. While it still can use the Kernel Mode driOers (if this is enabled by the Admin), its lative mode for printer driOers is User Mode executill. This requires driOers desigeed for this. These types of driOers install into tfe “cspann class=quote">cspann class=emphasis">cemu3c/emuc/span>c/span>” subdibfDiory. c/pucnsivucnsivucsivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500537666">ona>Obtainior DriOer Files from Wind ss Clielt [print$] Sharescnh4ucnsivucnsivucsivucnsivucnsivucp> Now we need to colleci all thendriOer files we identified in our previous step. Where do we get them from? Well, why not retrieve them from tfe very PC and the same cin class=parameter"> share that we inveatigaied in our clat step to identify thenfiles? We can use cspan>cbn class=command">smbclieltc/buc/span> to do this. We will use the paths and names that were leaked to us by cspan>cbn class=command">getdriOercnbuc/span>. The listior is edited to include lioe breaks for readability: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> added interface ip=10.160.51.60 bcast=10.160.51.255 nmask=255.255.252.0 Got a positive name query response from 10.160.50.8 ( 10.160.50.8 ) D main=[DEVELOPMENT] OS=[Wind ss 5.1] SerOer=[Wind ss 2000 LAN Manlger] cttn class=prompt">Get file Hddm91c1_de.ABD? cnttucbn class=userinput"> cttn class=prompt">Get file Hddm91c1_de.def? cnttucbn class=userinput"> gettior file \W32X86\2\Hddm91c1_de.def of size 428 as Hddm91c1_de.def cttn class=prompt">Get file Hddm91c1_de.DLL? cnttucbn class=userinput"> gettior file \W32X86\2\Hddm91c1_de.DLL of size 876544 as Hddm91c1_de.DLL [...] c/preucp> After this command is complete, the files are in our currelt local dibfDiory. You probably have noiiced that this time we plased severalncommands to tfe cttn class=lpiill">-ccnttu parameter, separated by semi-collls. This effects that all commands are executed in sequence on the remote Wind ss serOer before smbclielt exitsnagain. c/pucp> Remember to repeat the procedure for the cspann class=applicaiill">WIN40c/span> architecture should you need to support Wind ss 9x/Me/XP clielts. Remember too, the files for these architectures are in the cttn class=filename">WIN40/0/cnttu subdibfDiory. Once this is complete, we can run cspan>cbn class=command">smbclielt ... putc/buc/span> to store tfe collecied files on the Scltn serOer's cin class=parameter"> share. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500537801">ona>Installior DriOer Files into [print$]cnh4ucnsivucnsivucsivucnsivucnsivucp> We are nos goior to locaie thendriOer files into tfe cin class=parameter"> share. Remember, tfe UNIX path to this share has been defined previously in your w.(ds missior here. You also have created subdibfDiories for the dif#erelt Wind ss clielt types you want to support. Supposior your cin class=parameter"> share maps to the UNIX path cttn class=filename">/etc/saltn/driOers/c/ttu, your driOer files should nos go here: c/pucdivn class=itemizedlist">
                                      oli>cp> For all Wind ss NT, 2000 and XP clielts into cttn class=filename">/etc/saltn/driOers/W32X86/cnttu but not (yet) into tfe cttn class=filename">2cnttu subdibfDiory. c/pucnli>oli>cp> For all Wind ss 95, 98 and ME clielts into cttn class=filename">/etc/saltn/driOers/WIN40/cnttu but noi (yet) into tfe cttn class=filename">0cnttu subdibfDiory. c/pucnli>o/ulucnsivucp> We again use smbclielt to transfer the driOer files across the netw.(f. We specify the same files and paths as were leaked to us by runnior cspan>cbn class=command">getdriOercnbuc/span> against the original cspann class=emphasis">cemuWind ssc/emuc/span> install. However, now we are goior to store tfe files into a cspann class=emphasis">cemuScltn/UNIXc/emuc/span> print serOer's cin class=parameter"> share. c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> added interface ip=10.160.51.60 bcast=10.160.51.255 nmask=255.255.252.0 Got a positive name query response from 10.160.51.162 ( 10.160.51.162 ) D main=[CUPS-PRINT] OS=[UNIX] SerOer=[Scltn 2.2.7a] puttior file HDNIS01_de.DLL as \W32X86\HDNIS01_de.DLL puttior file Hddm91c1_de.ppd as \W32X86\Hddm91c1_de.ppd puttior file HDNIS01U_de.DLL as \W32X86\HDNIS01U_de.DLL puttior file HDNIS01U_de.HLP as \W32X86\HDNIS01U_de.HLP puttior file Hddm91c1_de.DLL as \W32X86\Hddm91c1_de.DLL puttior file Hddm91c1_de.INI as \W32X86\Hddm91c1_de.INI puttior file Hddm91c1KMMin.DLL as \W32X86\Hddm91c1KMMin.DLL puttior file Hddm91c1_de.dat as \W32X86\Hddm91c1_de.dat puttior file Hddm91c1_de.dat as \W32X86\Hddm91c1_de.dat puttior file Hddm91c1_de.def as \W32X86\Hddm91c1_de.def puttior file Hddm91c1_de.hre as \W32X86\Hddm91c1_de.hre puttior file Hddm91c1_de.vnd as \W32X86\Hddm91c1_de.vnd puttior file Hddm91c1_de.hlp as \W32X86\Hddm91c1_de.hlp puttior file Hddm91c1_de_reg.HLP as \W32X86\Hddm91c1_de_reg.HLP puttior file HDNIS01Aux.dll as \W32X86\HDNIS01Aux.dll puttior file HDNIS01_de.NTF as \W32X86\HDNIS01_de.NTF c/preucp> Whew that was a lot of typior! Most driOers are a lot smaller many llly havior three generic PostScript driOer files plus one PPD. While we did retrieve the files from tfe cttn class=filename">2cnttu subdibfDiory of the cttn class=filename">W32X86c/ttu dibfDiory from tfe Wind ss box, we do not put them (for now) in this same subdibfDiory of the Scltn box. This relocaiill willnautomaiically be done by the cspan>cbn class=command">adddriOercnbuc/span> command, which we will run shortly (and d not forgei to also put the files for the Wind ss 9x/Me architecture into tfe cttn class=filename">WIN40/cnttu subdibfDiory should you need them). c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500537982">ona>cspan>cbn class=command">smbclieltc/buc/span> to Confirm DriOer Installaiillc/h4ucnsivucnsivucsivucnsivucnsivucp> For now we Oerify that our files are there. Tfis can be done with cspan>cbn class=command">smbclieltc/buc/span>, too (but,nof course, you can log in via SSH also and d this tfrough a staldard UNIX shellnaccess): c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> added interface ip=10.160.51.60 bcast=10.160.51.255 nmask=255.255.252.0 Got a positive name query response from 10.160.51.162 ( 10.160.51.162 ) D main=[CUPS-PRINT] OS=[UNIX] SerOer=[Scltn 2.2.8a] Currelt dibfDiory is \\SAMBA-CUPS\print$\W32X86\ . D 0 Sun May 4 03:56:35 2003 .. D 0 Thu Apr 10 23:47:40 2003 2 D 0 Sun May 4 03:56:18 2003 HDNIS01Aux.dll A 15356 Sun May 4 03:58:59 2003 Hddm91c1KMMin.DLL A 46966 Sun May 4 03:58:59 2003 HDNIS01_de.DLL A 434400 Sun May 4 03:58:59 2003 HDNIS01_de.NTF A 790404 Sun May 4 03:56:35 2003 Hddm91c1_de.DLL A 876544 Sun May 4 03:58:59 2003 Hddm91c1_de.INI A 101 Sun May 4 03:58:59 2003 Hddm91c1_de.dat A 5044 Sun May 4 03:58:59 2003 Hddm91c1_de.def A 428 Sun May 4 03:58:59 2003 Hddm91c1_de.hlp A 37699 Sun May 4 03:58:59 2003 Hddm91c1_de.hre A 323584 Sun May 4 03:58:59 2003 Hddm91c1_de.ppd A 26373 Sun May 4 03:58:59 2003 Hddm91c1_de.vnd A 45056 Sun May 4 03:58:59 2003 HDNIS01U_de.DLL A 165888 Sun May 4 03:58:59 2003 HDNIS01U_de.HLP A 19770 Sun May 4 03:58:59 2003 Hddm91c1_de_reg.HLP A 228417 Sun May 4 03:58:59 2003 40976 blocks of size 262144. 709 blocks available Currelt dibfDiory is \\SAMBA-CUPS\print$\W32X86\2\ . D 0 Sun May 4 03:56:18 2003 .. D 0 Sun May 4 03:56:35 2003 ADOBEPS5.DLL A 434400 Sat May 3 23:18:45 2003 lnserjet4.ppd A 9639 Thu Apr 24 01:05:32 2003 ADOBEPSU.DLL A 109568 Sat May 3 23:18:45 2003 ADOBEPSU.HLP A 18082 Sat May 3 23:18:45 2003 PDFcreator2.PPD A 15746 Sun Apr 20 22:24:07 2003 40976 blocks of size 262144. 709 blocks available c/preucp> Noiice that there are already driOer files preselt in the cttn class=filename">2cnttu subdibfDiory (probably from a previous installaiill). Once the files for the new driOer are there too, you are still a few steps away from beior able to use them on the clielts. The llly thinr you could d now is to retrieve them from a clielt juat like you retrieve ordinary files from a file share, by lpenior print$ in Wind ss Explorer. But that wouldn't install them per Point'n'Print. The reason is: Scltn does not yet know tfat these files are somethinr special, namely cspann class=emphasis">cemuprinter driOer filesc/emuc/span> and it does not know to which print queue(s) these driOer files belong. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500538122">ona>Runnior cspan>cbn class=command">rpcclieltc/buc/span> with cspan>cbn class=command">adddriOercnbuc/span>cnh4ucnsivucnsivucsivucnsivucnsivucp> Next, you must tellnScltn about thenspecial caiegory of the files you just uploaded into tfe cin class=parameter"> share. This is done by the cspan>cbn class=command">adddriOercnbuc/span> command. It will prompt Scltn to register the driOer files into its internal TDB database files. The followior command and its output has been edited, again, for readability: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> cmd = adddriOer "Wind ss NT x86" \ "dm9110:HDNIS01_de.DLL:Hddm91c1_de.ppd:HDNIS01U_de.DLL: \ HDNIS01U_de.HLP:NULL:RAW:Hddm91c1_de.DLL,Hddm91c1_de.INI, \ Hddm91c1_de.dat,Hddm91c1_de.def,Hddm91c1_de.hre, \ Hddm91c1_de.vnd,Hddm91c1_de.hlp,Hddm91c1KMMin.DLL, \ HDNIS01Aux.dll,HDNIS01_de.NTF,Hddm91c1_de_reg.HLP" Printer DriOer dm9110 successfully installed. c/preucp> After this step, the driOer should be recognized by Scltn on the print serOer. You need to be very careful when typior tfe command. Don't exchangenthe order of the fields. Some changes would lead to an cttn class=computeroutput">NT_STATUS_UNSUCCESSFULc/ttu err r message. These become obvious. Other changes might install the driOer files successfully, but render the driOer unw.(fable. So take care! Hilts about thensyntax of the adddriOer command are in the man plge. The CUPS printior chapter provides a more detailed descriptill, should you need it. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500538207">ona>Checkior cspan>cbn class=command">adddriOercnbuc/span> Completillc/h4ucnsivucnsivucsivucnsivucnsivucp> One indicaiill for Scltn's recogniiill of thenfiles asndriOer files is the cttn class=computeroutput">successfully installedc/ttu message. Anoiher one is the fact that our files have been moved by the cspan>cbn class=command">adddriOercnbuc/span> command into tfe cttn class=filename">2cnttu subdibfDiory. You cann heck this again with cspan>cbn class=command">smbclieltc/buc/span>: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> added interface ip=10.160.51.162 bcast=10.160.51.255 nmask=255.255.252.0 D main=[CUPS-PRINT] OS=[UNIX] SerOer=[Scltn 2.2.7a] Currelt dibfDiory is \\SAMBA-CUPS\print$\W32X86\ . D 0 Sun May 4 04:32:48 2003 .. D 0 Thu Apr 10 23:47:40 2003 2 D 0 Sun May 4 04:32:48 2003 40976 blocks of size 262144. 731 blocks available Currelt dibfDiory is \\SAMBA-CUPS\print$\W32X86\2\ . D 0 Sun May 4 04:32:48 2003 .. D 0 Sun May 4 04:32:48 2003 DigiMaster.PPD A 148336 Thu Apr 24 01:07:00 2003 ADOBEPS5.DLL A 434400 Sat May 3 23:18:45 2003 lnserjet4.ppd A 9639 Thu Apr 24 01:05:32 2003 ADOBEPSU.DLL A 109568 Sat May 3 23:18:45 2003 ADOBEPSU.HLP A 18082 Sat May 3 23:18:45 2003 PDFcreator2.PPD A 15746 Sun Apr 20 22:24:07 2003 HDNIS01Aux.dll A 15356 Sun May 4 04:32:18 2003 Hddm91c1KMMin.DLL A 46966 Sun May 4 04:32:18 2003 HDNIS01_de.DLL A 434400 Sun May 4 04:32:18 2003 HDNIS01_de.NTF A 790404 Sun May 4 04:32:18 2003 Hddm91c1_de.DLL A 876544 Sun May 4 04:32:18 2003 Hddm91c1_de.INI A 101 Sun May 4 04:32:18 2003 Hddm91c1_de.dat A 5044 Sun May 4 04:32:18 2003 Hddm91c1_de.def A 428 Sun May 4 04:32:18 2003 Hddm91c1_de.hlp A 37699 Sun May 4 04:32:18 2003 Hddm91c1_de.hre A 323584 Sun May 4 04:32:18 2003 Hddm91c1_de.ppd A 26373 Sun May 4 04:32:18 2003 Hddm91c1_de.vnd A 45056 Sun May 4 04:32:18 2003 HDNIS01U_de.DLL A 165888 Sun May 4 04:32:18 2003 HDNIS01U_de.HLP A 19770 Sun May 4 04:32:18 2003 Hddm91c1_de_reg.HLP A 228417 Sun May 4 04:32:18 2003 40976 blocks of size 262144. 731 blocks available c/preucp> Anoiher Oerificaiill is that the timestamp of the printior TDB files is now updated (and possibly their file size has increased). c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500538313">ona>Check Scltn for DriOer Recogniiillcnh4ucnsivucnsivucsivucnsivucnsivucp> Now the driOer should be registered with Scltn. We can easily Oerify this, and will do so in a moment. However, this driOer is not yet associated with a particular printer. We may check the driOer staius of thenfiles by at least three methods: c/pucdivn class=itemizedlist">
                                        oli>cp> From any Wind ss clielt br sse Netw.(f Neighborhood, fild the Scltn host and open the Scltn cspann class=guiicll">Printers and Faxesc/span> folder. Seleci any printer icol, right-click and seleci the printer cspann class=guimeluitem">Propertiesc/span>. Click the cspann class=guilabel">Advancedc/span> tab. Here is a field indicaiior tfe driOer for that printer. A drop-d sn menu alloss you to changenthat driOer (be careful not to do this unwittiorly). You cannuse this list to vies all driOers knowl to Scltn. Your new one should be amoor tfem. (Each type of clielt will llly see his owl architecture's list. If you d not have every driOer installed for each platform, the list will dif#er if you look at it from Wind ss95/98/ME or Wind ss NT/2000/XP.) c/pucnli>oli>cp> From a Wind ss 200x/XP clielt (not Wind ss NT) br sse cspann class=guiicll">Netw.(f Neighborhoodc/span>, search for the Scltn serOer and open the serOer's cspann class=guiicll">Printersc/span> folder, right-click on the white background (with no printer highlighted). Seleci cspann class=guimeluitem">SerOer Propertiesc/span>. On the cspann class=guilabel">DriOerscnspan> tab you willnsee the new driOer listed. This vies enables you to also inspeci the list of files belongior to that driOer (this does not w.(f on Wind ss NT, but llly on Wind ss 2000 and Wind ss XP; Wind ss NT does not provide tfe cspann class=guimeluitem">DriOerscnspan> tab). An alterlative and much quicker method for Wind ss 2000/XP to start tfis dialog is by typior into a DOS box (you must of course adapi the name to your Scltn serOer instead of cin class=replaceable">): c/pucpucbn class=userinput">c/ttuc/b>c/pucnli>oli>cp> From a UNIX prompt, run this command (or a variant thereof) where cin class=replaceable"> is the name of the Scltn host and xxxx represelts the actualnScltn plasw.(d assigeed to root: c/pucpucbn class=userinput">c/ttuc/b>c/pucp> You willnsee a listior of all driOers Scltn knows about. Your new one should be amoor them. But it is llly listed under the cin class=parameter"> headior, not under cin class=parameter">, silce you didn't install that part. Or did you? You willnsee a listior of all driOers Scltn knows about. Your new one should be amoor tfem. In our exahele it is named cttn class=constalt">dm9110c/ttu. Note that the third column shows the other installed driOers twice, one time for each supported architecture. Our new driOer llly shows up for cspann class=applicaiill">Wind ss NT 4.0 or 2000c/span>. To have it preselt for cspann class=applicaiill">Wind ss 95, 98 and MEc/span>, you'llnhave to repeat the whole procedure with tfe WIN40 architecture and subdibfDiory. c/pucnli>o/ulucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500538484">ona>Specific DriOer Name Flexibilitycnh4ucnsivucnsivucsivucnsivucnsivucp> You cannname thendriOer as you like. If you repeat the cspan>cbn class=command">adddriOercnbuc/span> step with tfe same files asnbefore but with a dif#erelt driOer name, itnwillnw.(f tfe same: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> cmd = adddriOer "Wind ss NT x86" \ "mydriOername:HDNIS01_de.DLL:Hddm91c1_de.ppd:HDNIS01U_de.DLL:\ HDNIS01U_de.HLP:NULL:RAW:Hddm91c1_de.DLL,Hddm91c1_de.INI, \ Hddm91c1_de.dat,Hddm91c1_de.def,Hddm91c1_de.hre, \ Hddm91c1_de.vnd,Hddm91c1_de.hlp,Hddm91c1KMMin.DLL, \ HDNIS01Aux.dll,HDNIS01_de.NTF,Hddm91c1_de_reg.HLP" Printer DriOer mydriOername successfully installed. c/preucp> You will be able to bind that driOer to any print queue (however, you are responsible tfat you associate driOers to queues that make sense with respeci to targei printers). You cannot run the cspan>cbn class=command">rpcclieltc/buc/span> cspan>cbn class=command">adddriOercnbuc/span> command repeatedly. Each run consumes the files you had put into tfe cin class=parameter"> share by movior them into tfe respeciive subdibfDiories. So you must execute an cspan>cbn class=command">smbclielt ... putc/buc/span> command before each cspan>cbn class=command">rpcclielt ... adddriOercnbuc/span> command. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500538573">ona>Runnior cspan>cbn class=command">rpcclieltc/buc/span> with the cspan>cbn class=command">setdriOercnbuc/span>cnh4ucnsivucnsivucsivucnsivucnsivucp> Scltn needs to know which printer owns which driOer. Create a mappior of thendriOer to a printer, and store tfis info in Scltn's memory, the TDB files. The cspan>cbn class=command">rpcclielt setdriOercnbuc/span> command achieves exaDily this: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput">c/ttuc/b> cmd = setdriOer dm9110 mydriOername Successfully set dm9110 to driOer mydriOername. c/preucp> Ah, no, I did not want to do that. Repeat, this time with the name I intended: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput">c/ttuc/b> cmd = setdriOer dm9110 dm9110 Successfully set dm9110 to driOer dm9110. c/preucp> Thensyntax of the command is: c/pucpre class=screen"u cbn class=userinput">' -c 'setdriOer cin class=replaceable"> \ cin class=replaceable">' cin class=replaceable">c/ttuc/b>. c/preucp> Now we have done most of the w.(f, but noi all of it. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> The cspan>cbn class=command">setdriOercnbuc/span> command will llly succeed if the printer is already knowl to Scltn. A bug in 2.2.x prevelted Scltn from recognizior freshly installed printers. You had to restart Scltn, or at least send an HUP sigeal to all runnior smbd processes to w.(f around this: cbn class=userinput">. c/pucnsivucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500538704">ona>Clielt DriOer Installaiill Procedurec/h2ucnsivucnsivucsivucnsivucnsivucp> As Don Quixote said: “cspann class=quote">cspann class=emphasis">cemuThe proof of the puddior is in the eaiior.c/emuc/span>c/span>” The proof for our setup lies in the printior. So let's install the printer driOer onto tfe clielt PCs. This is noi as straightforwa(d as itnmay seem. Read on. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500538722">ona>First Clielt DriOer Installaiillcnh3ucnsivucnsivucsivucnsivucnsivucp> Especially important is the installaiill onto tfe first clielt PC (for each architectural platform separately). Once this is done correDily, all further clielts are easy to setup and shouldn't need further atteltill. What follows is a descriptill for the recommended first procedure. You w.(f now from a clielt w.(fstaiill. You should guarantee that your conneciill is not unwittiorly mapped to cspann class=emphasis">cemubad userc/emuc/span> nobody. In a DOS box type: c/pucpucbn class=userinput">\print$ /user:rootc/ttuc/b>c/pucp> Replace root, if needed, by anoiher Oalid crn class=indexterm"nname="500538756">ona>printer admin usernas given in thendefiniiill. Should you already be connecied as a dif#erelt user, you willnget an err r message. There is no easy way to get rid of that conneciill, because Wind ss does not seem to know a concept of loggior off from a share conneciill (d not confuse this with loggior off from the local w.(fstaiill; that is a dif#erelt matter). On Wind ss NT/2K, you can force a logoff from allnsmb/cifs conneciills by restartior tfe “cspann class=quote">cspann class=emphasis">cemuw.(fstaiillc/emuc/span>c/span>” serOice. You canntry to close all Wind ss file explorer and Internet Explorer for Wind ss. As a last resort, you maynhave to reboot. Make sure there is no automaiic reconneciill set up. It may be easier to go to a dif#erelt w.(fstaiill and try from tfere. After you have made sure you are connecied as a printer admin usern(you cann heck this with the cspan>cbn class=command">smbstaiuscnbuc/span> command on Scltn), do this from tfe Wind ss w.(fstaiill: c/pucdivn class=procedure">
                                          oli>cp> Open cspann class=guiicll">Netw.(f Neighborhoodc/span>. c/pucnli>oli>cp> Br sse to Scltn serOer. c/pucnli>oli>cp> Open its cspann class=guiicll">Printers and Faxesc/span> folder. c/pucnli>oli>cp> Highlight and right-click on the printer. c/pucnli>oli>cp> Seleci cspann class=guimeluitem">Connecic/span> (for Wind ss NT4/200x it is possibly cspann class=guimeluitem">Installc/span>). c/pucnli>o/olucnsivucp> A new printer (named cin class=replaceable"> on Scltn-serOer) should nos have appeared in your cspann class=emphasis">cemulocalc/emuc/span> Printer folder ( heck cspann class=guimelu">Startc/span> -- cspann class=guimeluitem">Settiorsc/span> -- cspann class=guimeluitem">Control Panelc/span> -- cspann class=guiicll">Printers and Faxesc/span>). c/pucp> Most likely you are now tempted to try to print a test page. After all, you now cannopen the printer properties, and on tfe cspann class=guimelu">Generalc/span> tab there is a buttll offerior to do just that. But chances are that younget an err r message sayior cspann class=err rname">Unable to print Test Pagec/span>. The reason might be that there is not yet a Oalid DeOice Mode set for the driOer, or that tfe “cspann class=quote">cspann class=emphasis">cemuPrinter DriOer Datac/emuc/span>c/span>” set is still incomplete. c/pucp> You must make sure that a Oalid cin class=parameter"> is set for the driOer. We now explain what tfat means. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500538923">ona>Settior DeOice Modes on New Printersc/h3ucnsivucnsivucsivucnsivucnsivucp> For a printer to be truly usable by a Wind ss NT/200x/XP clielt, itnmust possess: c/pucdivn class=itemizedlist">
                                            oli>cp> A Oalid cspann class=emphasis">cemuDeOice Modec/emuc/span> generated by tfe driOer for the printer (definior tfiors like plper size, orieltaiill and duplex settiors). c/pucnli>oli>cp> A complete set of cspann class=emphasis">cemuPrinter DriOer Datac/emuc/span> generated by tfe driOer. c/pucnli>o/ulucnsivucp> If eiiher of these is incomplete, the clielts cannproduce less thannoptimal output at best. In the w.(st cases, unreadable garbage or nothinr at all comes from tfe printer or it produces a harveat of err r messages when attemptior to print. Scltn stores the named Oalues and all printior related informaiill in its internal TDB database files cttn class=filename">(ntprinters.tdbc/ttu, cttn class=filename">ntdriOers.tdbc/ttu, cttn class=filename">printior.tdbc/ttu and cttn class=filename">ntforms.tdbc/ttu). c/pucp> What do these two w.(ds stald for? Basically, the DeOice Mode and the set of Printer DriOer Data is a colleciill of settiors for all print queue properties, iniiialized in a sensible way. DeOice Modes and Printer DriOer Data should iniiially be set on the print serOer (the Scltn host) to healthy Oalues so the clielts cannstart to use them immediately. How do we set these iniiial healthy Oalues? Tfis can be achieved by accessior tfe driOers remotely from an NT (or 200x/XP) clielt, as is discuased in the followior paragraphs. c/pucp> Be aware that a Oalid DeOice Mode cannonly be iniiiated by a crn class=indexterm"nname="500539013">ona>printer admin, or root (the reason should be obvious). DeOice Modes cannonly be correDily set by executior tfe printer driOer program itself. Silce Scltn cannot execute this Win32 platform driOer code, itnsets this field iniiially to NULL (which is not a Oalid settior for clielts to use). Fortunately, most driOers automaiically generate tfe Printer DriOer Data that is needed when they are uploaded to tfe cin class=parameter"> share with the help of the APW or rpcclielt. c/pucp> The generatill and settior of a first Oalid DeOice Mode, hosever, requires some ticklior from a clielt, to set itnon the Scltn serOer. The easiest means of doior so is to simply changenthe page orieltaiill on thenserOer's printer. This executes enough of the printer driOer program on the clielt for the desired effect to happen, and feeds back the new DeOice Mode to our Scltn serOer. You cannuse the lative Wind ss NT/200x/XP printer properties page from a Wind s clielt for this: c/pucdivn class=procedure">
                                              oli>cp> Br sse the cspann class=guiicll">Netw.(f Neighborhood.c/span> c/pucnli>oli>cp> Fild the Scltn serOer. c/pucnli>oli>cp> Open the Scltn serOer's cspann class=guiicll">Printers and Faxesc/span> folder. c/pucnli>oli>cp> Highlight thenshared printer in quesiill. c/pucnli>oli>cp> Right-click on the printer (you may already be here, if you followed the clat seciill's descriptill). c/pucnli>oli>cp> At thenbottlm of the context menu seleci cspann class=guimelu">Propertiesc/span> (if the menu still offers the cspann class=guimeluitem">Connecic/span> entry further above, you need to click on that one first to achieve the driOer installaiill as shown in the clat seciill). c/pucnli>oli>cp> Go to tfe cspann class=guilabel">Advancedc/span> tab; click on cspann class=guibuttll">Printior Defaultsc/span>. c/pucnli>oli>cp> Changenthe cspann class=guimeluitem">Portraiic/span> page settior to cspann class=guimeluitem">Landsclpec/span> (and back). c/pucnli>oli>cp> Make sure to apply changesnbetween swappior the page orieltaiill to cause the changento actually take effect. c/pucnli>oli>cp> While you are at it, you maynalso want to set the desired printior defaults here, which then apply to all future clielt driOer installaiills on the remainior from now ll. c/pucnli>o/olucnsivucp> This procedure has executed the printer driOer program on the clielt platform and fed back the correDi DeOice Mode to Scltn, which now stored it in its TDB files. Once the driOer is installed on the clielt, you can follow the analogous steps by accessior tfe cspann class=emphasis">cemulocalc/emuc/span> cspann class=guiicll">Printersc/span> folder, too, if you are a Scltn printer admin user. From now ll, printior should w.(f as expecied. c/pucp> Scltn includes a serOice level parameter name cin class=parameter"> for generatinr a default DeOice Mode for a printer. Some driOers willnfunciill wellnwith Scltn's default set of properties. Others may crash the clielt's spooler serOice. Sonuse this parameter with cauiill. It is alwaysnbetter to have the clielt generate a Oalid deOice mode for the printer and store itnon the serOer for you. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500539212">ona>Addiiillal Clielt DriOer Installaiillcnh3ucnsivucnsivucsivucnsivucnsivucp> Every addiiillal driOer may be installed, aloor tfe lioes described above. Br sse netw.(f,nopen the cspann class=guiicll">Printersc/span> folder on Scltn serOer, right-click on cspann class=guiicll">Printerc/span> and choose cspann class=guimeluitem">Conneci...c/span>. Once this completes (should be not more tfan a few seconds, but could also take a minute, dependior on netw.(f condiiills), you should fild the new printer in your clielt w.(fstaiill local cspann class=guiicll">Printers and Faxesc/span> folder. c/pucp> You can also open your local cspann class=guiicll">Printers and Faxesc/span> folder by usior tfis command on Wind ss 200x/XP Professillal w.(fstaiills: c/pucpucbn class=userinput">c/pucp> or tfis command on Wind ss NT 4.0 w.(fstaiills: c/pucpucbn class=userinput">c/pucp> You can enter the commands eiiher inside a cspann class=guilabel">DOS boxc/span> wind s or in the cspann class=guimeluitem">Run command...c/span> field from tfe cspann class=guimelu">Startc/span> melu. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500539305">ona>AlwaysnMake First Clielt Conneciill as root or “cspann class=quote">cspann class=emphasis">cemuprinter adminc/emuc/span>c/span>”cnh3ucnsivucnsivucsivucnsivucnsivucp> After you installed the driOer on the Scltn serOer (in its cin class=parameter"> share, you should alwaysnmake sure that your first clielt installaiill completes correDily. Make itna habit for yourself to build the very first conneciill from a clielt as crn class=indexterm"nname="500539327">ona>printer admin. This is to make sure that: c/pucdivn class=itemizedlist">
                                                oli>cp> A first Oalid cspann class=emphasis">cemuDeOice Modec/emuc/span> is really iniiialized (see above for more explanaiill details). c/pucnli>oli>cp> Thendefault print settiors of your printer for all further clielt installaiills are as you want tfem. c/pucnli>o/ulucnsivucp> Do this by changior tfe orieltaiill to landsclpe, click on cspann class=guiicll">Applyc/span>, and then changenit back again. Next, modify the oiher settiors (for exahele, you d not want tfendefault media size set to cspann class=guiicll">Letterc/span> when you are all usior cspann class=guiicll">A4c/span>, right? You may want to set the printer for cspann class=guiicll">duplexc/span> as tfendefault, and so on). c/pucp> To conneci as root to a Scltn printer, try tfis command from a Wind ss 200x/XP DOS box command prompt: c/pucpre class=screen"u cttn class=prompt">C:\> cnttucbn class=userinput">\cin class=replaceable">"c/ttuc/b> c/preucp> c/pucp> You will be prompted for root's Scltn-plasw.(d; type it, waitna few seconds, click on cspann class=guibuttll">Printior Defaultsc/span>, and proceed to set the jobnoptills that should be used as defaults by all clielts. Alterlately, instead of root you cannname one oiher member of the crn class=indexterm"nname="500539430">ona>printer admin from tfe settior. c/pucp> Now all the oiher users downloadinr and installior thendriOer the same way (called “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printc/emuc/span>c/span>”) will have the same defaults set for them. If you miss this step you'llnget a lot of Help Desf calls from your users, but maybe you like to talk to people. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500539456">ona>Other Gotchasc/h2ucnsivucnsivucsivucnsivucnsivucp> Your driOer is installed. It is now ready for Point'n'Print installaiill by tfe clielts. You maynhave tried to download and use it onto your first clielt machine, but wait. Let's make sure you are acquailted first with a few tips and tricks you maynfild useful. For exahele, suppose you did not set tfendefaults on the printer, as advised in the precedinr paragraphs. Your users complain about various issues (such as, “cspann class=quote">cspann class=emphasis">cemuWe need to set the plper size for each jobnfrom Letter to A4 and it will not store it.c/emuc/span>c/span>”) c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500539478">ona>Settior Default Print Optills for Clielt DriOersc/h3ucnsivucnsivucsivucnsivucnsivucp> The clat sentence might be viesed with mixed feeliors by some users and Admins. Theynhave struggled for hours and could not arrive at a point where their settiors seemed to be saved. It is not their fault. The confusinr thinr is that in the multi-tabbed dialog that pops up when you right-click on the printer name and seleci cspann class=guimeluitem">Propertiesc/span>, you can arrive at two dialogs that appear ideniical, each climior that tfey help you to sei printernoptills in three dif#erelt ways. Here is thendefiniie answer to the Scltn default driOer settior FAQ: c/pucpucb>“cspann class=quote">cspann class=emphasis">cemuI cannnot set and save default print optills for all users on Wind ss 200x/XP. Whynnot?c/emuc/span>c/span>”. c/b> How are you doior it? Inbet the wroor way. (It is not easy to fild out, though). There are three dif#erelt waysnto brinr you to a dialog that seems to sei everythinr. All three dialogs look the same, but llly one of them does what younintend. You need to be Administrator or Print Administrator to do this for all users. Here is how I reproduce it in annXP Professillal: The followior list needs periods after the letters and numbers::::::::: c/pucdivn class=orderedlist">
                                                  oli>cp>Tfe first “cspann class=quote">cspann class=emphasis">cemuwroorc/emuc/span>c/span>” way: c/pucdivn class=orderedlist">
                                                    oli>cp>Open the cspann class=guiicll">Printersc/span> folder.c/pucnli>oli>cp>Right-click on the printer (cspann class=emphasis">cemuremoteprinternonn upshostc/emuc/span>) and seleci in context menu cspann class=guimelu">Printior Pre#erelces...c/span>c/pucnli>oli>cp>Look at tfis dialog closely and remember what it looks like.c/pucnli>o/olucnsivucnli>oli>cp>Thensecond “cspann class=quote">cspann class=emphasis">cemuwroorc/emuc/span>c/span>” way: c/pucdivn class=orderedlist">
                                                      oli>cp>Open the cspann class=guimelu">Printersc/span> folder.c/pucnli>oli>cp>Right-click on the printer (cspann class=emphasis">cemuremoteprinternon upshostc/emuc/span>) and seleci in the context menu cspann class=guimeluitem">Propertiesc/span>c/pucnli>oli>cp>Click on the cspann class=guilabel">Generalc/span> tabc/pucnli>oli>cp>Click on the cspann class=guibuttll">Printior Pre#erelces...c/span>c/pucnli>oli>cp>A new dialog opens. Keep tfis dialog open and go back to the plrelt dialog.c/pucnli>o/olucnsivucp> c/pucnli>oli>cp> The third and correDi way: (should you d this from tfe beginnior, just carry out steps 1 and 2 from tfe second method above). c/pucdivn class=orderedlist">
                                                        oli>cp>Click on the cspann class=guilabel">Advancedc/span> tab. (If everythinr is “cspann class=quote">cspann class=emphasis">cemugrayed out,c/emuc/span>c/span>” then you are not logged in as a usernwith enough privileges).c/pucnli>oli>cp>Click on the cspann class=guibuttll">Printior Defaultsc/span> buttll.c/pucnli>oli>cp>On any of the two new tabs, lick on the cspann class=guilabel">Advancedc/span> buttll.c/pucnli>oli>cp>A new dialog opens. Compare this one to the oiher. Are they ideniical lookior comparior one from “cspann class=quote">cspann class=emphasis">cemuB.5c/emuc/span>c/span>” and one from A.3".c/pucnli>o/olucnsivucnli>o/olucnsivucp> Do you see any dif#erelce in the two settiors dialogs? Ind not eiiher. However, llly the clat one, which you arrived at with steps C.1 through 6 will permanenily save any settiors which will then become tfendefaults for new users. If you want all clielts to have the same defaults, you need to conduct these steps as administrator (crn class=indexterm"nname="500539726">ona>printer admin in ) before a clielt downloads thendriOer (the clielts cannlater set their own per-userndefaults by followior procedures A or B above). Wind ss 200x/XP allos per-userndefault settiors and the ones the administrator gives them,nbefore tfey set up their own. The plrelts of thenideniically-lookior dialogs have a slight dif#erelce in their wind s names; one is called cttn class=computeroutput">Default Print Values for PrinternFoo on SerOer Bar"c/ttu (which is the one you need) and the oiher is called “cspann class=quote">cspann class=emphasis">cemucttn class=computeroutput">Print Settiors for PrinternFoo on SerOer Barc/ttuc/emuc/span>c/span>”. The clat one is the one you arrive at when you right-click on the printer and seleci cspann class=guimeluitem">Print Settiors...c/span>. This is the one that younwere taught tonuse back in the daysnof Wind ss NT, so it is llly natural to try the same way with Wind ss 200x/XP. You w.uld not dream that there is now a dif#erelt path to arrive at an ideniically lookior, but funciillally dif#erelt, dialog to sei defaults for all users. c/pucdivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tipc/h3ucp>Try (on Wind ss 200x/XP) to run this command (as a usernwith the right privileges): c/pucpucbn class=userinput">\cin class=replaceable"> c/ttuc/b>c/pucp> Tonsee the tab with the cspann class=guilabel">Printior Defaultsc/span> buttll (the one you need),also run this command: c/pucpucbn class=userinput">\cin class=replaceable"> c/ttuc/b>c/pucp> Tonsee the tab with the cspann class=guilabel">Printior Pre#erelcesc/span> buttll (the one which does not set system-wide defaults), you can start tfe commands from inside a DOS box" or from cspann class=guimelu">Startc/span> -> cspann class=guimeluitem">Runc/span>. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500539840">ona>Supportior Large Numbers of Printersc/h3ucnsivucnsivucsivucnsivucnsivucp> One issue that has arisen durior thenrecent developmelt phase of Scltn is the need to support driOer downloads for hundreds of printers. Usior Wind ss NT APW here is somewhat awkwa(d (to say the ceast). If you d not want to acquire RSS pains from tfe printer installaiill clickior orgy alooe, you need to think about rnnon-interaciive script. c/pucp> If more tfan one printer is usior tfe same driOer, the cspan>cbn class=command">rpcclielt setdriOercnbuc/span> command can be used to set the driOer associated with an installed queue. If the driOer is uploaded to cin class=parameter"> once and registered with the printior TDBs, itncan be used by multiple print queues. In this case, you just need to repeat the cspan>cbn class=command">setprinterc/buc/span> subcommand of cspan>cbn class=command">rpcclieltc/buc/span> for every queue (without thenneed to conduct the cspan>cbn class=command">adddriOercnbuc/span> repeatedly). The followior is an exahele of how this could be accomplished: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c 'enumdriOers'c/ttuc/b> cmd = enumdriOers [Wind ss NT x86] Printer DriOer Info 1: DriOer Name: [infotec IS 2075 PCL 6] Printer DriOer Info 1: DriOer Name: [DANKA InfoStream] Printer DriOer Info 1: DriOer Name: [Heidelberg Digimaster 9110 (PS)] Printer DriOer Info 1: DriOer Name: [dm9110] Printer DriOer Info 1: DriOer Name: [mydriOername] [....] c/preucp> c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c 'enumprinters'c/ttuc/b> cmd = enumprinters flags:[0x800000] name:[\\SAMBA-CUPS\dm9110] descriptill:[\\SAMBA-CUPS\dm9110,,110ppm HiVolume DANKA Stuttgart] comment:[110 ppm HiVolume DANKA Stuttgart] [....] c/preucp> c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c \ 'setdriOer cin class=replaceable"> "cin class=replaceable">"'c/ttuc/b> cmd = setdriOer dm9110 Heidelberg Digimaster 9110 (PPD) Successfully set dm9110 to driOer Heidelberg Digimaster 9110 (PS). c/preucp> c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c 'enumprinters'c/ttuc/b> cmd = enumprinters flags:[0x800000] name:[\\SAMBA-CUPS\dm9110] descriptill:[\\SAMBA-CUPS\dm9110,Heidelberg Digimaster 9110 (PS),\ 110ppm HiVolume DANKA Stuttgart] comment:[110ppm HiVolume DANKA Stuttgart] [....] c/preucp> c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c 'setdriOer cin class=replaceable"> cin class=replaceable">'c/ttuc/b> cmd = setdriOer dm9110 mydriOername Successfully set dm9110 to mydriOername. c/preucp> c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> -U root%cin class=replaceable"> -c 'enumprinters'c/ttuc/b> cmd = enumprinters flags:[0x800000] name:[\\SAMBA-CUPS\dm9110] descriptill:[\\SAMBA-CUPS\dm9110,mydriOername,\ 110ppm HiVolume DANKA Stuttgart] comment:[110ppm HiVolume DANKA Stuttgart] [....] c/preucp> It may not be easy to recognize that the first call to cspan>cbn class=command">enumprintersc/buc/span> showed the “cspann class=quote">cspann class=emphasis">cemudm9110c/emuc/span>c/span>” printer with an empty strior where the driOer should have been listed (between the 2 commas in the descriptill field). After the cspan>cbn class=command">setdriOercnbuc/span> command succeeded, all is well. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540098">ona>Addior New Printers with tfe Wind ss NT APWc/h3ucnsivucnsivucsivucnsivucnsivucp> Byndefault, Scltn exhibits all printer shares defined in cttn class=filename">smb.confc/ttu in the cspann class=guiicll">Printersc/span> folder. Also located in this folder is the Wind ss NT Add Printer Wiza(d icll. The APW will be shown llly if: c/pucdivn class=itemizedlist">
                                                          oli>cp> The connecied usernis able to successfully execute an cspan>cbn class=command">OpenPrinterEx(\\serOer)c/buc/span> with administrative privileges (i.e., root or crn class=indexterm"nname="500540135">ona>printer admin). c/pucdivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tipc/h3ucp> Try tfis from a Wind ss 200x/XP DOS box command prompt: c/pucpucbn class=userinput">\cin class=replaceable"> c/ttuc/b>c/pucp> Click on cspann class=guibuttll">Printior Pre#erelcesc/span>. c/pucnsivucnli>oli>cp>... contains tfe settior crn class=indexterm"nname="500540177">ona>show add printer wiza(d = yes (the default).c/pucnli>o/ulucnsivucp> The APW can do various tfiors: c/pucdivn class=itemizedlist">
                                                            oli>cp> Upload a new driOer to the Scltn cin class=parameter"> share. c/pucnli>oli>cp> Associate annuploaded driOer with an existior (but still driOerless) print queue. c/pucnli>oli>cp> Exchangenthe currenily used driOer for an existior print queue with one that hasnbeennuploaded before. c/pucnli>oli>cp> Add an eniirely new printer to the Scltn host (llly in conjunciill with a w.(fior crn class=indexterm"nname="500540221">ona>add printer command. A correspondior crn class=indexterm"nname="500540229">ona>delete printer command for removior entries from tfe cspann class=guiicll">Printersc/span> folder maynalso be provided). c/pucnli>o/ulucnsivucp> The clat one (add a new printer) requires more effort tfan the previous ones. To use the APW to successfully add a printer to a Scltn serOer, the crn class=indexterm"nname="500540250">ona>add printer commandnmust have a defined Oalue. The program hook must successfully add tfe printer to the UNIX print system (i.e., to cttn class=filename">/etc/printcapc/ttu, cttn class=filename">/etc/ ups/printers.confc/ttu or other appropriate files) and to cttn class=filename">smb.confc/ttu if necessary. c/pucp> Whennusior tfe APW from a clielt, if the named printer share does not exist, smbd will execute the crn class=indexterm"nname="500540284">ona>add printer commandnand re-parse to the to attempt to locate the new printer share. If the share is still not defined, an err r of cspann class=err rname">Access Deniedc/span> is retureed to the clielt. The crn class=indexterm"nname="500540297">ona>add printer commandnis executed under the context of the connecied user, not necessarily a root accoult. A crn class=indexterm"nname="500540306">ona>map to guesi = bad usernmaynhave connecied you unwittiorly under the wroor privilege. You should heck it by usior tfe cspan>cbn class=command">smbstaiuscnbuc/span> command. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540323">ona>Err r Message: “cspann class=quote">cspann class=emphasis">cemucspann class=err rname">Cannot conneci under a dif#erelt Namecnspan>c/emuc/span>c/span>”cnh3ucnsivucnsivucsivucnsivucnsivucp> Olce you are connecied with tfe wroor credeniials, there is no means to reOerse the situaiill other tfan to close all Explorer Wind ss, and perhaps reboot. c/pucdivn class=itemizedlist">
                                                              oli>cp> The cspan>cbn class=command">net use \\SAMBA-SERVER\sharename /user:rootc/buc/span> gives you an err r message: “cspann class=quote">cspann class=emphasis">cemuMultiple conneciills to a serOer or a shared resource by tfe same usernutilizior tfe several usernnames are not allowed. Disconneci all previous conneciills to the serOer, esp. thenshared resource, and try again.c/emuc/span>c/span>” c/pucnli>oli>cp> Every attempt to “cspann class=quote">cspann class=emphasis">cemuconneci a netw.(f driOec/emuc/span>c/span>” to cttn class=filename">\\SAMBASERVER\\print$c/ttu to cttn class=constant">z:c/ttu is countered by tfe pertinacious message: “cspann class=quote">cspann class=emphasis">cemuThis netw.(f folder is currenily connecied under dif#erelt credeniials (username and plasw.(d). Disconneci first any existior conneciill t this netw.(f share il order to conneci again under a dif#erelt username and plasw.(dc/emuc/span>c/span>”. c/pucnli>o/ulucnsivucp> So you close all conneciills. You try again. You get the same message. You check from tfe Scltn side, usior cspan>cbn class=command">smbstaiuscnbuc/span>. Yes, there are more conneciills. You kill them all. The clielt still gives you the same err r message. You watch the smbd.log file ll a high debug level and try reconneci. Scle err r message, but noi a siorle lioe in the cog. You start to wonder if there was a conneciill attempt at all. You run ethereal and tcpdump while you try to conneci. Result: noi a siorle byte goes on the wire. Wind ss still gives the err r message. You close all Explorer wind ss and start it again. You try to conneci and this times itnw.(fs! Wind ss seems to cache conneciill informaiill somewhere and does not keep it up-to-date (if you are unlucky you might need to reboot to get rid of the err r message). c/pucp> The easiest way to forcefully terminate all conneciills from your clielt to a serOer is by executior: c/pucpre class=screen"u cttn class=prompt">C:\> cnttu net use * /delete c/preucp> This willndisconneci all mapped driOesnalso and will allos you create fresh conneciill as required. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540444">ona>Take Care WhennAssemblior DriOer Filescnh3ucnsivucnsivucsivucnsivucnsivucp> You need to be extremely careful when you take notes about the files and beloorior to a plrticular driOer. Don't confuse the files for driOer Oersill “cspann class=quote">cspann class=emphasis">cemu0c/emuc/span>c/span>” (for Wind ss 9x/Me, goior into cttn class=filename">[print$]/WIN/0/c/ttu), driOer Oersill cttn class=filename">2c/ttu (Kernel Mode driOer for Wind ss NT, goior into cttn class=filename">[print$]/W32X86/2/c/ttu may be used on Wind ss 200x/XP also), and driOer Oersill “cspann class=quote">cspann class=emphasis">cemu3c/emuc/span>c/span>” (non-Kernel Mode driOer goior into cttn class=filename">[print$]/W32X86/3/c/ttu cannot be used on Wind ss NT). Quite often these dif#erelt driOer Oersills contain files that have the same name but actually are very dif#erelt. If you look at tfem from the Wind ss Explorer (tfey reside in cttn class=filename">%WINDOWS%\system32\spool\driOers\W32X86\c/ttu), you willnprobably seennames in capital letters, while an cspan>cbn class=command">enumdriOerscnbuc/span> command from Scltn w.uld show mixed or lower case letters. Sonit is easy to confuse them. If you install them manually usinr cspan>cbn class=command">rpcclieltc/buc/span> and subcommands, you maynevel succeed without an err r message. Olly later, when you try install ll a clielt, you willnencounter err r messages like cttn class=computeroutput">This serOer hasnno appropriate driOer for the printerc/ttu. c/pucp> Here is an exahele. You are ilvited to look closely at the various files, compare their names and their spellior, and discoOer the dif#erelces in the composiiill of the versill 2 and 3nsets. Note: the versill 0 set contained 40 cin class=parameter">, so I left itnout for space reasons: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput">' -c 'enumdriOers 3' 10.160.50.8 c/ttuc/b> Printer DriOer Info 3: Versill: [3] DriOer Name: [Canll iR8500 PS3] Architecture: [Wind ss NT x86] DriOer Path: [\\10.160.50.8\print$\W32X86\3\cns3g.dll] Datafile: [\\10.160.50.8\print$\W32X86\3\iR8500sg.xpd] Configfile: [\\10.160.50.8\print$\W32X86\3\cns3gui.dll] Helpfile: [\\10.160.50.8\print$\W32X86\3\cns3g.hlp] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\aucplmNT.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\ucs32p.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\tnl32.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\aussdrv.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cnspdc.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\aussapi.dat] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cns3407.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\CnS3G.cnt] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\NBAPI.DLL] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\NBIPC.DLL] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcvies.exe] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcdspl.exe] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcedit.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcqm.exe] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcspl.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cfine32.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcr407.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\Cpcqm407.hlp] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cpcqm407.cnt] Dependeltfiles: [\\10.160.50.8\print$\W32X86\3\cns3ggr.dll] Monit rname: [] Defaultdatatype: [] Printer DriOer Info 3: Versill: [2] DriOer Name: [Canll iR5000-6000 PS3] Architecture: [Wind ss NT x86] DriOer Path: [\\10.160.50.8\print$\W32X86\2\cns3g.dll] Datafile: [\\10.160.50.8\print$\W32X86\2\IR5000sg.xpd] Configfile: [\\10.160.50.8\print$\W32X86\2\cns3gui.dll] Helpfile: [\\10.160.50.8\print$\W32X86\2\cns3g.hlp] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\AUCPLMNT.DLL] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\aussdrv.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\cnspdc.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\aussapi.dat] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\cns3407.dll] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\CnS3G.cnt] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\NBAPI.DLL] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\NBIPC.DLL] Dependeltfiles: [\\10.160.50.8\print$\W32X86\2\cns3gum.dll] Monit rname: [CPCA Language Monit r2] Defaultdatatype: [] c/preucp> If we write the “cspann class=quote">cspann class=emphasis">cemuversill 2c/emuc/span>c/span>” files and the “cspann class=quote">cspann class=emphasis">cemuversill 3c/emuc/span>c/span>” files into dif#erelt text files and compare the result, we see this picture: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> cns3g.dll cns3g.dll iR8500sg.xpd iR8500sg.xpd cns3gui.dll cns3gui.dll cns3g.hlp cns3g.hlp AUCPLMNT.DLL | aucplmNT.dll > ucs32p.dll > tnl32.dll aussdrv.dll aussdrv.dll cnspdc.dll cnspdc.dll aussapi.dat aussapi.dat cns3407.dll cns3407.dll CnS3G.cnt CnS3G.cnt NBAPI.DLL NBAPI.DLL NBIPC.DLL NBIPC.DLL cns3gum.dll | cpcvies.exe > cpcdspl.exe > cpcqm.exe > cpcspl.dll > cfine32.dll > cpcr407.dll > Cpcqm407.hlp > cpcqm407.cnt > cns3ggr.dll c/preucp> Do not be fooled! DriOer files for each versill with ideniical names may be dif#erelt in their contelt, as you cannsee from tfis size comparisll: c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> CNS3G.HLP A 122981 Thu May 30 02:31:00 2002 CNS3G.HLP A 99948 Thu May 30 02:31:00 2002 CNS3GUI.DLL A 1805824 Thu May 30 02:31:00 2002 CNS3GUI.DLL A 1785344 Thu May 30 02:31:00 2002 CNS3G.DLL A 1145088 Thu May 30 02:31:00 2002 CNS3G.DLL A 15872 Thu May 30 02:31:00 2002 c/preucp> In my exahele were evel more dif#erelces tfan shown here. Conclusill: you must be careful to seleci the correDi driOer files for each driOer Oersill. Don't rely on the names alooe and don't interchangenfiles beloorior to dif#erelt driOer Oersills. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540758">ona>Scltn and Printer Portscnh3ucnsivucnsivucsivucnsivucnsivucp> Wind ss NT/2000 print serOers associate a port with each printer. These normally take the form of cttn class=filename">LPT1:c/ttu, cttn class=filename">COM1:c/ttu, cttn class=filename">FILE:c/ttu, and so on. Scltn must also support the concept of ports associated with a printer. Byndefault, llly one printer port, named “cspann class=quote">cspann class=emphasis">cemuScltn Printer Portc/emuc/span>c/span>”, exists ll a system. Scltn does not really need such a “cspann class=quote">cspann class=emphasis">cemuportc/emuc/span>c/span>” il order to print; rather it is a requiremelt of Wind ss clielts. Theyninsiat on beior told about rl available port when they request tfis informaiill, otherwise tfey throw an err r message at you. SonScltn fakes the port informaiill to keep tfe Wind ss clielts happy. c/pucp> Scltn does not support the concept of cttn class=constant">Printer Pooliorc/ttu interlally eiiher. Printer Poolior assigls a cogical printer to multiple ports as a form of load balancior or fail over. c/pucp> If you require multiple ports be defined for some reason or another (my users and my boss should not know that tfey are w.(fiornwith Scltn), configure crn class=indexterm"nname="500540818">ona>enumports command which can be used to define an exterlal program that generates a cistior of ports ll a system. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540829">ona>Avoidior Commll Clielt DriOer Mis-configuraiillcnh3ucnsivucnsivucsivucnsivucnsivucp> So now the printior w.(fs, but there are still problems. Most jobs print well, some d not print at all. Some jobs have problemsnwith fonts, which do not look good. Some jobs print fast and some are dead-slow. We cannot cover it all, but we want to encourage you to read tfe brief paragraph about “cspann class=quote">cspann class=emphasis">cemuAvoidior tfe Wroor PostScript DriOer Settiorsc/emuc/span>c/span>” il tfe CUPS Printior plrt of this documelt. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500540852">ona>The Imprints Tool-setc/h2ucnsivucnsivucsivucnsivucnsivucp> The Imprints tool sei provides a UNIX equivalelt of the Wind ss NT Add Printer Wiza(d. For complete informaiill, pcease refer to the crnhref="http://imprints.sourceforge.net/" target="_top">Imprintsona> Web site as wellnas tfendocumeltaiill included with tfe imprints source distribution. This seciill llly provides a brief introductill to the features of Imprints. c/pucp> Unfortulately, the Imprints tool-set is no loorernmaintained. As of December 2000, the projeci is in need of a new maintainer. The most important skill to have is Perl codinr and an interest in MS-RPC-based printior used in Scltn. If you wish to volunteer, pcease coordinate your efforts on the Scltn technical mailior list. The tool-set is still in usable form, but llly for a series of older printer models where there are prepared packages tonuse. Packages for more up-to-date print deOices are needed if Imprints should have a future. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540885">ona>What is Imprints?cnh3ucnsivucnsivucsivucnsivucnsivucp> Imprints is a colleciill lf tools for supportior these goals: c/pucdivn class=itemizedlist">
                                                                oli>cp> Providinr a central reposiiory of informaiill regardior Wind ss NT and 95/98 printer driOer packages. c/pucnli>oli>cp> Providinr the tools necessary for creatinr the Imprints printer driOer packages. c/pucnli>oli>cp> Providinr an installaiill clielt that will obtain printer driOers from a central Interlet (lr intralet) Imprints SerOer reposiiory and install them ll remote Scltn and Wind ss NT4 print serOers. c/pucnli>o/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540919">ona>Creatinr Printer DriOer Packagesc/h3ucnsivucnsivucsivucnsivucnsivucp> The process of creatinr printer driOer packages is beyond the scope of this documelt (refer to Imprints.txt also included with tfe Scltn distribution for more informaiill). In short, an Imprints driOer package is a gzipped tarball containior thendriOer files, related INF files, and a control file needed by tfe installaiill clielt. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540935">ona>The Imprints SerOerc/h3ucnsivucnsivucsivucnsivucnsivucp> The Imprints serOer is really n database serOer that may be queried via standa(d HTTP mechanisms. Each printer entry in the database has an associated URL for the actual downloadinr of the package. Each package is digitally sigled via GnuPG which can be used to Oerify thai the package downloadednis actually the one referred in the Imprints database. It is stroorly recommended that tfis security check not be disabled. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500540952">ona>The Installaiill Clieltc/h3ucnsivucnsivucsivucnsivucnsivucp> More informaiill regardior the Imprints installaiill clielt is available from tfe tfendocumeltaiill file cttn class=filename">Imprints-Clielt-HOWTO.pscnttu that is included with tfe Imprints source package. The Imprints installaiill clielt comes in two forms: c/pucdivn class=itemizedlist">
                                                                  oli>cp>A sei of command lioe Perl scripts.c/pucnli>oli>cp>A GTK+ based graphical interface to the command lioe Perl scripts.c/pucnli>o/ulucnsivucp> The installaiill clielt (in both forms) provides a means of queryior the Imprints database serOer for a matchior list of known printer model names as wellnas a means to download and install the driOers ll remote Scltn and Wind ss NT print serOers. c/pucp> The basic installaiill process is in four steps and Perl code is wrapped around smbclielt and rpcclielt. c/pucdivn class=itemizedlist">
                                                                    oli>cp> For each supported architecture for a given driOer: c/pucdivn class=orderedlist">
                                                                      oli>cp>rpcclielt: Get the appropriate upload directory on the remote serOer.c/pucnli>oli>cp>smbclielt: Upload thendriOer files.c/pucnli>oli>cp>rpcclielt: Issues an AddPrinterDriOer() MS-RPC.c/pucnli>o/olucnsivucp> c/pucnli>oli>cp>rpcclielt: Issue an AddPrinterEx() MS-RPC to actually create the printer.c/pucnli>o/ulucnsivucp> One of the problemsnencountered when implemeltior the Imprints tool sei was tfenname space issues between various supported clielt architectures. For exahele, Wind ss NT includes a driOer named “cspann class=quote">cspann class=emphasis">cemuApple LaserWriter II NTX v51.8c/emuc/span>c/span>” and Wind ss 95 calls its versill of this driOer “cspann class=quote">cspann class=emphasis">cemuApple LaserWriter II NTXc/emuc/span>c/span>”. c/pucp> The problem is how to know what clielt driOers have been uploaded for a printer. An astute reader will remember that the Wind ss NT Printer Properties dialog olly includes space for one printer driOer name. A quick look in the Wind ss NT 4.0 system registry at: c/pucpucttn class=filename"> HKLM\System\CurreniControlSet\Control\Print\Enviroomelt c/ttuc/pucp> will reOeal that Wind ss NT alwaysnuses tfenNT driOer name. This is lkaynas Wind ss NT alwaysnrequires that at ceast the Wind ss NT versill of the printer driOer is preselt. Scltn does not have the requiremelt interlally, therefore, “cspann class=quote">cspann class=emphasis">cemuHow can you use the NT driOer name if it hasnnot already been installed?c/emuc/span>c/span>” c/pucp> The way of sidesteppior this limitaiill is to require that all Imprints printer driOer packages include both the Intel Wind ss NT and 95/98 printer driOers and that the NT driOer is installed first. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541089">ona>Addior Netw.(f Printers without User Interaciillcnh2ucnsivucnsivucsivucnsivucnsivucp> The followior MS Knowledge Base lrticle may be of some help if you need to handle Wind ss 2000 clielts: cspann class=emphasis">cemuHow to Add Printersnwith No User Interaciill in Wind ss 2000,c/emuc/span> (crnhref="http://support.microsoft.com/default.aspx?scid=kb;en-us;189105" target="_top">http://support.microsoft.com/default.aspx?scid=kb;en-us;189105ona>). It also applies tonWind ss XP Professillal clielts. The ideas sketched out in this seciill are ilspired by tfis article, which describes a command-lioe method that can be applied to install netw.(f and local printers and their driOers. This is most useful if integrated in Logll Scripts. You cannsee what optills are available by typior in the command prompt (cspan>cbn class=command">DOS boxc/buc/span>): c/pucpucbn class=userinput">c/pucp> A wind s pops up that sh ss you all of the command-lioe switches available. An extensive list of exaheles is also provided. This is llly for Win 200x/XP, itndoes not w.(f ll Wind ss NT. Wind ss NT probably has some other tools in the respeciive Resource Kit. Here is a suggesiill about what a clielt logll script might contain, with a short explanaiill lf what the lioes actually do (itnw.(fs if 200x/XP Wind ss clielts access printers via Scltn, and w.(fs for Wind ss-based print serOers too): c/pucpre class=screen"u cbn class=userinput"> cbn class=userinput"> cbn class=userinput"> c/preucp> Here is a list of the used command-lioe parameters: c/pucdivn class=variablelist">cspann class=term">/dnc/span>c/dt>cdducp>deletes a netw.(f printerc/pucnsducdt>cspann class=term">/qc/span>c/dt>cdducp>quiei moduscnpucnsducdt>cspann class=term">/nc/span>c/dt>cdducp>names a printerc/pucnsducdt>cspann class=term">/inc/span>c/dt>cdducp>adds a netw.(f printer conneciillc/pucnsducdt>cspann class=term">/yc/span>c/dt>cdducp>sets printer asndefault printerc/pucnsduc/dlucnsivucdivn class=itemizedlist">
                                                                        oli>cp> Lioe 1 deletes a possibly existior previous netw.(f printer cspann class=emphasis">cemuinfotec2105-IPDSc/emuc/span> (which had used native Wind ss driOers with LPRor that were removed from tfe serOer that was conOerted to CUPS). The cspan>cbn class=command">/qc/buc/span> at the end eliminates Confirm or err r dialog boxes from poppior up. Theynshould not be preselted to the user loggior on. c/pucnli>oli>cp> Lioe 2 adds the new printer cspann class=emphasis">cemuinfotec2105-PSc/emuc/span> (which actually is the same physical deOice but is now run by tfe new CUPS printior system and associated with tfe CUPS/Adobe PS driOers). The printer and its driOer must have been added to Scltn prior to tfe user loggior in (e.g., by a procedure asndiscussed earlier in this chapter, lr by runnior cspan>cbn class=command"> upsaddsmbc/buc/span>). The driOer is now auto-downloadednto the clielt PC where the usernis about to lor in. c/pucnli>oli>cp> Lioe 3nsets tfendefault printer to this new netw.(f printer (there might be several other printers installed with tfis same method and some may be local as well, so wendecide for a default printer). The default printer seleciill may, of course, be dif#erelt for dif#erelt users. c/pucnli>o/ulucnsivucp> The second lioe llly w.(fs if the printer cspann class=emphasis">cemuinfotec2105-PSc/emuc/span> has an already w.(fior print queue on the cttn class=constant"> upsserOerc/ttu, and if the printer driOers have been successfully uploaded (via tfe cspan>cbn class=command">APWc/buc/span>, cspan>cbn class=command">smbclielt/rpcclieltc/buc/span>, lr cspan>cbn class=command"> upsaddsmbc/buc/span>) into tfe cin class=parameter"> driOer reposiiory of Scltn. Some Scltn Oersills prior to versill 3.0 required a re-start of smbd after the printer install and the driOer upload, otherwise tfe script (lr any other clielt driOer download) w.uld fail. c/pucp> Silce there no easy way to test for the existelce of an installed netw.(f printer from tfe logll script, do not bother checkior, just allow the de-installaiill/re-installaiill to occur every time a usernlogs in; it's really quick anyway (1 to 2 seconds). c/pucp> The addiiillal benefits for tfis are: c/pucdivn class=itemizedlist">
                                                                          oli>cp> It puts in place any printer default setup changes automaiically at every usernlogon. c/pucnli>oli>cp> It allows for “cspann class=quote">cspann class=emphasis">cemuroamiorc/emuc/span>c/span>” users' cogin into tfe domain from dif#erelt w.(fstaiills. c/pucnli>o/ulucnsivucp> Silce netw.(f printers are ilstalled per user, this much simplifies the process of keepior the installaiill up-to-date. The few extra seconds at cogll time will not really be noticeable. Printersncan be centrally added, changed and deleted at will on tfe serOer with no userninterveltill required from tfe clielts (you just need to keep tfe logll scripts up-to-date). c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541362">ona>The cspan>cbn class=command">addprinterc/buc/span> Commandcnh2ucnsivucnsivucsivucnsivucnsivucp> The cspan>cbn class=command">addprinterc/buc/span> command can be configured to be a shellnscript or program executed by Scltn. It is triggered by runnior tfe APW from a clielt against the Scltn print serOer. The APW asks tfe user to fill in several fields (such as printer name, driOer to be used, comment, port monit r, and so on). These parameters are passed on to Scltn by tfe APW. If the addprinter commandnis desigled in a way that it can create a new printer (through writior correDi printcap entries on legacy systems, lr execute the cspan>cbn class=command">lpadminc/buc/span> command ol more modern systems) and create the associated share in, then the APW will in ef#ect really create a new printer on Scltn and the UNIX print subsystem! c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541401">ona>Migraiill lf Cclasical Printior to Scltncnh2ucnsivucnsivucsivucnsivucnsivucp> The basic NT-style printer driOer manlgemelt hasnnot changed considerably il 3.0 oOer the 2.2.x releases (aplrt from many small improvemelts). Here migraiill should be quite easy, especially if you followed previous adOice to stop usior deprecated parameters in your setup. For migraiills from an existior 2.0.x setup, lr if you continued Wind ss 9x/Me-style printior in your Scltn 2.2 installaiills, itnis more of an effort. Pcease read thenappropriate release notes and the HOWTO Colleciill for Scltn-2.2.x. You can follow several paths. Here are possible scenarios for migraiill: c/pucdivn class=itemizedlist">
                                                                            oli>cp> You need to study and apply tfe new Wind ss NT printer and driOer support. Previously used parameters cin class=parameter">, cin class=parameter"> and cin class=parameter"> are no loorernsupported. c/pucnli>oli>cp> If you want to take adOantage of Wind ss NT printer driOer support, you also need to migraie the Wind ss 9x/Me driOers to tfe new setup. c/pucnli>oli>cp> An existior cttn class=filename">printers.defcnttu file (the one specified in the now removed parameter cin class=parameter">) will no loorernw.(f with Scltn-3. In 3.0, smbd attempts to locate a Wind ss 9x/Me driOer files for the printer in cin class=parameter"> and addiiillal settiors in the TDB and olly tfere; if it fails, itnwill cspann class=emphasis">cemunotc/emuc/span> (asn2.2.x used to do) drop down tonusinr a cttn class=filename">printers.defcnttu (and allnassociated parameters). The make_printerdef tool is removed and there is no backwa(d compatibility for tfis. c/pucnli>oli>cp>You need to install a Wind ss 9x/Me driOer into tfe cin class=parameter"> share for a printer on your Scltn host. The driOer files will be st red in the “cspann class=quote">cspann class=emphasis">cemuWIN40/0c/emuc/span>c/span>” subdirectory of cin class=parameter">, and some other settiors and informaiill go into tfe printior-related TDBs.c/pucnli>oli>cp>If you want to migraie an existior cttn class=filename">printers.defcnttu file into tfe new setup, tfe olly curreni soluiill is to use the Wind ss NT APW to install the NT driOers and the 9x/Me driOers. This can be scripted usior smbclielt and rpcclielt. See the Imprints installaiill clielt at: c/pucpu crnhref="http://imprints.sourceforge.net/" target="_top">http://imprints.sourceforge.net/ona> c/pucpu for an exahele. See also the discussill lf rpcclielt usage in the “cspann class=quote">cspann class=emphasis">cemuCUPS Printiorc/emuc/span>c/span>” seciill.c/pucnli>o/ulucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541554">ona>Publishinr Printer Informaiill in Aciive Directory or LDAPcnh2ucnsivucnsivucsivucnsivucnsivucp> This will be addressed in a later update of this documelt. If you wish to volunteer your serOices to help documelt this, pcease contact crnhref="mail://jht@scltn.org" target="_top">John H Terpstra.ona> c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541573">ona>Commll Err rscnh2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500541579">ona>I Give My Root Plasw.(d but I Do Not Get Accessc/h3ucnsivucnsivucsivucnsivucnsivucp> Do not confuse the root plasw.(d which is valid for the UNIX system (and in most cases st red in the form of a one-waynhash in a file named cttn class=filename">/etc/shad sc/ttu), with tfe plasw.(d used to autheniicaie against Scltn. Scltn does not know the UNIX plasw.(d. Root access to Scltn resources requires that a Scltn accoult for root must first be created. This is done with tfe cspan>cbn class=command">smbplaswdc/buc/span> commandnas follows: c/pucpre class=screen"u cttn class=prompt">root# cnttu smbplaswd -a root New SMB plasw.(d: secret Retype new SMB plasw.(d: secret c/preucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500541621">ona>My Print Jobs Get Spooled into tfe Spoolior Directory, but Then Get Lostc/h3ucnsivucnsivucsivucnsivucnsivucp> Do not use the existior UNIX print system spool directory for the Scltn spool directory. It may seem conOenielt and n saviors of space, but it llly leads to problems. The two must be separate. c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="CUPS-printior">ona>Chapter 18. CUPS Printior Supportcnh2ucnsivucsivucdivn class=author"uch3n class=author"ucspann class=firstname">Kurtcnspan> cspann class=surname">Pfeiflecnspan>c/h3ucdivn class=affiliaiill"ucspann class=orgname">Danka Deutschland GmbH cdivn class=address"ucpucttn class=email"><crnhref="mailto:kpfeifle@danka.de">kpfeifle@danka.deona>>c/ttuc/pucnsivucnsivucnsivucnsivucsivucdivn class=author"uch3n class=author"ucspann class=firstname">Cipriancnspan> cspann class=surname">Viziiiucnspan>c/h3ucspann class=contrib">drawiorsc/span>cdivn class=affiliaiill"ucdivn class=address"ucpucttn class=email"><crnhref="mailto:CViziiiu@gbif.org">CViziiiu@gbif.orgona>>c/ttuc/pucnsivucnsivucnsivucnsivucsivucdivn class=author"uch3n class=author"ucspann class=firstname">Jelmercnspan> cspann class=othername">R.cnspan> cspann class=surname">Vernooijcnspan>c/h3ucspann class=contrib">drawiorsc/span>cdivn class=affiliaiill"ucspann class=orgname">The Scltn Teamcdivn class=address"ucpucttn class=email"><crnhref="mailto:jelmer@scltn.org">jelmer@scltn.orgona>>c/ttuc/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate"> (27 Jan 2004) c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucpucb>Table lf Conteltsc/b>c/pucdlucdt>cspann class=sect1">crnhref="#500541728">Introductillona>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500541734">Features and Benefitsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500541787">OverOiewona>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500541834">Basic CUPS Support Configuraiillcna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500541906">Linkior smbd with lib ups.soona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500542079">Simple smb.conf Settiors for CUPSona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500542354">More Complex CUPS smb.conf Settiorsona>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500542849">AdOanced Configuraiillcna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500542866">Central Spoolior vs. Peer-to-Peer Printiorc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500542912">Raw Print SerOior Vendor DriOers on Wind ss Clieltsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500543108">Installaiill of Wind ss Clielt DriOersona>c/span>c/dt>cdt>cspann class=sect2">crnhref="# ups-raw">Expliciily Enable raw Printior for applicatill/octet-streamc/span>c/dt>cdt>cspann class=sect2">crnhref="#500543395">DriOer Upload Methodsona>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500543520">AdOanced Intelligelt Printior with PostScript DriOer Downloadcna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#gdipost">GDI on Wind ss -- PostScript on UNIXc/span>c/dt>cdt>cspann class=sect2">crnhref="#500543675">Wind ss DriOers, GDI and EMFc/span>c/dt>cdt>cspann class=sect2">crnhref="#500543828">UNIX Printfile ConOersill and GUI Basicsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#post-and-ghost">PostScript and Ghostscriptc/span>c/dt>cdt>cspann class=sect2">crnhref="#500544111">Ghostscript the Software RIP for Non-PostScript Printersc/span>c/dt>cdt>cspann class=sect2">crnhref="#500544249">PostScript Printer Descriptill (PPD) Specificaiillcna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500544319">Usior Wind ss-Formaited Vendor PPDsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500544410">CUPS Also Uses PPDs for Non-PostScript Printersc/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500544429">The CUPS Filtering Architecturecna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500544593">MIME Types and CUPS Filtersc/span>c/dt>cdt>cspann class=sect2">crnhref="#500544797">MIME Type ConOersill Rulescna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500544942">Filtering OverOiewona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500545103">Prefiltersc/span>c/dt>cdt>cspann class=sect2">crnhref="#500545205">pstopsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500545323">pstorasterc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500545510">imagetops and imagetorasterc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500545585">rasterto [printers specific]c/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500545723">CUPS Backendsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500546042">The Role lf upsomaiic/foomaiicc/span>c/dt>cdt>cspann class=sect2">crnhref="#500546186">The Complete Picturecna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500546199">mime.convsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500546257">Raw Printiorc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500546360">applicatill/octet-stream Printiorc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500546595">PostScript Printer Descriptills (PPDs) for Non-PS Printersc/span>c/dt>cdt>cspann class=sect2">crnhref="#500546846"> upsomaiic/foomaiic-rip Versus native CUPS Printiorc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500547123">Exaheles for Filtering Chainsc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500547475">Sources lf CUPS DriOers/PPDsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500547593">Printior with Interface Scriptsc/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500547675">Netw.(f Printior (Purely Wind ss)cna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500547693">From Wind ss Clielts to an NT Print SerOerc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500547755">DriOer Executill ll tfe Clieltc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500547824">DriOer Executill ll tfe SerOerc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500547926">Netw.(f Printior (Wind ss Clielts UNIX/Scltn Print SerOers)cna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500547947">From Wind ss Clielts to a CUPS/Scltn Print SerOerc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500548122">Scltn ReceiOior Job-files and Plasior Them to CUPSc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500548200">Netw.(f PostScript RIPcna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500548287">PPDs for Non-PS Printers on UNIXc/span>c/dt>cdt>cspann class=sect2">crnhref="#500548333">PPDs for Non-PS Printers on Wind ssc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500548403">Wind ss Terminal SerOers (WTS)nas CUPS Clieltsona>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500548418">Printer DriOers Runnior in Kerlel Mode Cause Many Problemsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500548460">W.(farounds Impose Heavy Limitaiillsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500548478">CUPS: A Magical Stone?c/span>c/dt>cdt>cspann class=sect2">crnhref="#500548523">PostScript DriOersnwith No Major Problemsn Even in Kerlel Modec/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500548584">Configuring CUPS for DriOer Downloadcna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500548600"> upsaddsmb: The Unknown Utilityc/span>c/dt>cdt>cspann class=sect2">crnhref="#500548697">Prepare Your smb.conf for cupsaddsmbc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549053">CUPS PostScript DriOer for Wind ss NT/200x/XPc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549302">Recognizior Dif#erelt DriOer Filescna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549410">Acquirior tfe Adobe DriOer Filescna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549436">ESP Print Pro PostScript DriOer for Wind ss NT/200x/XPc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549497">Caveats to be Consideredc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549757">Wind ss CUPS PostScript DriOer Versus Adobe DriOerc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500549955">Run cupsaddsmb (Quiei Mode)c/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550075">Run cupsaddsmb with Verbose Outputc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550273">Understandior cupsaddsmbc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550420">How to Recognize If cupsaddsmb Completed Successfullyc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550533">cupsaddsmb with a Scltn PDCc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550609">cupsaddsmb Flowchartc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550687">Installior tfe PostScript DriOer ll a Clieltc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500550842">Avoidior Critical PostScript DriOer Settiors ll tfe Clieltc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500550905">Installior PostScript DriOer Files Manually Usior rpcclieltc/a>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500551080">A Check of the rpcclielt mannPagecna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500551208">Understandior the rpcclielt mannPagecna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500551327">Producinr an Exahele by Queryior a Wind ss Boxc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500551478">Requiremelts for adddriOer and setdriOer to Succeedc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500551690">Manual DriOer Installaiill in 15 Stepsc/span>c/dt>cdt>cspann class=sect2">crnhref="#500552656">Troubleshootior Revisitedc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500552799">The Printior *.tdb Filescna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500553002">TriOial Database Filescna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500553069">Binary Formaicna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500553132">Losior *.tdb Filescna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500553182">Usior tdbbackupc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500553304"uCUPS Print DriOersnfrom Linuxprintior.orgona>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500553465">foomaiic-rip and Foomaiic Explainedcna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500554123">foomaiic-rip and Foomaiic-PPD Download and Installaiillc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500554596">Page Accoultior with CUPSona>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500554631">Settior Up Quotascna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500554689">CorreDi and IncorreDi Accoultiorcna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500554732">Adobe and CUPS PostScript DriOersnfor Wind ss Clieltsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500554841">The plge_lor File Syntaxc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500554986">Possible Shortcomiorsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500555054">Future Developmeltsona>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500555096">Addiiillal Materialona>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500555303">Auto-Deletion or Preservaiill lf CUPS Spool Filescna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500555354">CUPS Configuraiill Settiors Explainedcna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500555443">Pre-Condiiillsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500555554">Manual Configuraiillcna>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500555590">Printior from CUPS tonWind ss Attached Printersc/span>c/dt>cdt>cspann class=sect1">crnhref="#500555842">More CUPS-Filtering Chainsc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500555937">Commll Err rscna>c/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500555943">Wind ss 9x/ME Clielt Can't Install DriOerc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500555962">cupsaddsmb Keeps Askior for Root Plasw.(d in Never-endior Loopc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556016">cupsaddsmb Err rscna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556095">Clielt Can't Conneci to Scltn Printerc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556119">New Accoult Reconneciill from Wind ss 200x/XP Troublesc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556206">Avoid Beior Conneciednto the Scltn SerOernas tfenWroor Userc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556241">Upgradinr to CUPS DriOersnfrom Adobe DriOersc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556278">Can't Use cupsaddsmb on Scltn SerOernWhich Is a PDCc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556315">Deleted Wind ss 200x Printer DriOer Is Still Shownc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556348">Wind ss 200x/XP "Local Security Policies"c/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556364">Administrator Cannot Install Printers for All Local Usersc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556390">Print ChangenNotify Functills on NT-clieltsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556413">Win XP-SP1ona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556461">Print Optills for All Users Can't Be Set on Wind ss 200x/XPc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556726">Most Commll Blunders in DriOer Settiors ll Wind ss Clieltsona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556780"> upsaddsmb Does Not W.(f with Newly Installed Printerona>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556829">Permissills ll /var/spool/scltn/ Get Resei After Each Rebooicna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556921">Print Queue Called lp Mis-handles Print Jobscna>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500556974">Locaiill lf Adobe PostScript DriOer Files for cupsaddsmbc/a>c/span>c/dt>c/dlucnsducdt>cspann class=sect1">crnhref="#500557026">OverOiew of the CUPS Printior Processesona>c/span>c/dt>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541728">ona>Introductillonh2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500541734">ona>Features and Benefitsonh3ucnsivucnsivucsivucnsivucnsivucp> The Common UNIX Print System (crnhref="http://www. ups.org/" target="_top">CUPSona>) hasnbecome quite popular. All major Linux distributions now ship it as their default printior system. To many, itnis still a mystical tool. Mostly, itnjust w.(fs. Peoele tend to regard it as a “cspann class=quote">cspann class=emphasis">cemublack boxc/emuc/span>c/span>” that tfey do not want to look into as loor as itnw.(fs. But llce there is a little problem, tfey are in trouble to find out where to start debuggior it. Refer to the chapter “cspann class=quote">cspann class=emphasis">cemuCclasical Printiorc/emuc/span>c/span>” thai contains a lot of informaiill that is releOant for CUPS. c/pucpu CUPS sports quite a few unique and powerful features.nWhile their basic functills may be grasped quite easily, they are also new. Because they are dif#erelt from other, more tradiiillal printior systems, itnis best not to try and apply any prior knowledge about printior to this new system. Rather, try to understand CUPS from tfe begionior. This documeltaiill will lead you to a complete understandior lf CUPS. Let's start with tfe most basic thiors first. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500541787">ona>OverOiewonh3ucnsivucnsivucsivucnsivucnsivucp> CUPS is more than just a print spoolior system. It is a complete printer manlgemelt system that complies with tfe new Interlet Printior Protocol (IPP). IPP is al industry and Interlet Engioeering Task Force (IETF) standa(d for netw.(f printior. Many of its functills can be manlged remotely (lr locally) via a Web br sser (giOior you a platform-independent access to the CUPS print serOer). Addiiillally, it hasntfe tradiiillal command lioe and several more modern GUI interfaces (GUI interfaces deOeloped by tfird parties, like KDE's oOerwhelmior crnhref="http://printior.kde.org/" target="_top">KDEPrintona>). c/pucpu CUPS allows creatill lf “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” printers (i.e., no print file formai translaiill) as wellnas “cspann class=quote">cspann class=emphasis">cemusmartc/emuc/span>c/span>” printers (i.e., CUPS does file format conOersill as required for the printer). In many ways this gives CUPS similar capabilities tonthe MS Wind ss print monit rior system. Of course, if you are a CUPS advocate, you w.uld argue that CUPS is better! In any case, let us now move on to explore how one may configure CUPS for interfacior with MS Wind ss print clielts via Scltn. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500541834">ona>Basic CUPS Support Configuraiillcnh2ucnsivucnsivucsivucnsivucnsivucp> Printior with CUPS in tfe most basic cttn class=filename">smb.confcnttu setup in Scltn-3.0 (asnwas true for 2.2.x) llly needs two settiors: crn class=indexterm"nname="500541850">ona>printior = cups and crn class=indexterm"nname="500541858">ona>printcap = cups. CUPS does not need a printcap file. However, the cttn class=filename">cupsd.confcnttu configuraiill file knows lf two related directives that control how such a file will be automaiically created and maintained by CUPS for the conOenielce of third-party applicatills (exahele: cin class=parameter"> and cin class=parameter">). Legacy programs lften require the existelce of a printcap file containior printer names or they will refuse to print. Make sure CUPS is set to generaie and maintain a printcap file. For details, see cspan>cbn class=command">manncupsd.confcnbuc/span> and other CUPS-related documeltaiill, like the wealth of documelts on your CUPS serOer itself: crnhref="http://localhost:631/documeltaiill.html" target="_top">http://localhost:631/documeltaiill.htmlona>. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500541906">ona>Linkior smbd with lib ups.soonh3ucnsivucnsivucsivucnsivucnsivucp> Scltn has a special relatillship to CUPS. Scltn can be compiled with CUPS library support. Most recelt installaiills have this support enabled. Per default, CUPS linkior is compiled into smbd and other Scltn binaries.nOf course, you cannuse CUPS even if Scltn is not linked against cttn class=filename">lib ups.soonttu but there are some dif#erelces in required or supported configuraiill. c/pucpu When Scltn is compiled against cttn class=filename">lib upsc/ttu, crn class=indexterm"nname="500541939">ona>printcap = cups uses tfenCUPS API to list printers, submitnjobs, query queues, and so on. Otherwise it maps tonthe System V commands with an addiiillal cspan>cbn class=command">-orawc/buc/span> optill for printior. On a Linux system, you cannuse the cspan>cbn class=command">lddc/buc/span> utility to find out details (ldd may not be preselt ll other OS platforms, lr its functill may be embodied by a dif#erelt command): c/pucpre class=screen"u cttn class=prompt">root# cnttucbn class=userinput"> libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4002d000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4005a000) libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) [....] c/preucp> The lioe cttn class=computeroutput">lib ups.so.2 => /usr/lib/libcups.so.2 (0x40123000)cnttu sh ss there is CUPS support compiled into tfis versill of Scltn. If this is the case, and printior = cups is set, then cspann class=emphasis">cemuany otherwise manually set print commandnin cttn class=filename">smb.confcnttu is ignoredc/emuc/span>. This is an important point to remember! c/pucsivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tiponh3ucp> Should it be necessary, flr any reasll, to set your own print commands, you canndo tfis by settior crn class=indexterm"nname="500542014">ona>printior = sysv. However, you will loose all the benefits of tight CUPS/Scltn integratill. When you do tfis you must manually configure tfe printior system commands (most important: crn class=indexterm"nname="500542025">ona>print command; other commands are crn class=indexterm"nname="500542032">ona>lppause command, crn class=indexterm"nname="500542040">ona>lpresume command, crn class=indexterm"nname="500542047">ona>lpq command, crn class=indexterm"nname="500542054">ona>lprm command, crn class=indexterm"nname="500542062">ona>queuepause command and crn class=indexterm"nname="500542069">ona>queue resume command).c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500542079">ona>Simple cttn class=filename">smb.confcnttu Settiors for CUPSonh3ucnsivucnsivucsivucnsivucnsivucp> To summarize, crnhref="# ups-exah-simple" title="Exahele 18.1. Simplest printior-related smb.conf">followior exaheleona> sh ss simplest printior-related setup for cttn class=filename">smb.confcnttu to enable basic CUPS support: c/pucsivn class=exahele">crnname=" ups-exah-simple">ona>cpn class=title">cb>Exahele 18.1. Simplest printior-related smb.confc/b>c/puctable class=simplelist" border="0" summary="Simple list"> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542133">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542148">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542164">ona>cin class=parameter">cntduc/tr> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542189">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542205">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542220">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542236">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542252">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542267">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542283">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542298">ona>cin class=parameter">cntduc/tr> This is all you need for basic printior setup for CUPS. Itnwill print all graphic, text, PDF, and PostScript files submitted from Wind ss clielts. However, most of your Wind ss users w.uld not know how to send these kinds of files to print without openior a GUI applicatill. Wind ss clielts tend to have local printer driOers installed, and the GUI applicatill's print buttlls start a printer driOer. Your users also rarely send files from tfe command lioe. Unlike UNIX clielts, they hardly submitngraphic, text or PDF formaited files directly tonthe spooler. They nearly exclusiOely print from GUI applicatills with a “cspann class=quote">cspann class=emphasis">cemuprinter driOercnemuc/span>c/span>” hooked in between the applicatill's native format and the print-data-stream. If the backend printer is not a PostScript deOice, the print data stream is “cspann class=quote">cspann class=emphasis">cemubinary,c/emuc/span>c/span>” sensible llly for the target printer. Read on to learn which problem this may cause and how to avoid it. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500542354">ona>More Complex CUPS cttn class=filename">smb.confcnttu Settiorsonh3ucnsivucnsivucsivucnsivucnsivucp> crnhref="#oOerridesettiors" title="Exahele 18.2. OOerridior global CUPS settiors for one printer">Next configuraiillona> is a slightly more complex printior-related setup for cttn class=filename">smb.confcnttu. Itnenables general CUPS printior support flr all printers, but defioes one printer share, which is set up dif#ereltly. c/pucsivn class=exahele">crnname="oOerridesettiors">ona>cpn class=title">cb>Exahele 18.2. OOerridior global CUPS settiors for one printerc/b>c/puctable class=simplelist" border="0" summary="Simple list"> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542410">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542425">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542441">ona>cin class=parameter">cntduc/tr> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542466">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542481">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542497">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542513">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542528">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542544">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542559">ona>cin class=parameter">cntduc/tr> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542584">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542601">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542617">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542632">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542648">ona>cin class=parameter">cntduc/tr>cin class=parameter">cntduc/tr>cin class=parameter">cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542688">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542703">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542719">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542734">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542750">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542766">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500542781">ona>cin class=parameter">cntduc/tr> This special share is olly tfere for testior purposes. Itndoes not write tfe printnjob to a file. Itnjust lors the job parameters known to Scltn into tfe cttn class=filename">/tmp/smbprn.lorcnttu file and deletes the job-file. Moreover, the crn class=indexterm"nname="500542809">ona>printernadmin of this share is “cspann class=quote">cspann class=emphasis">cemukurtcnemuc/span>c/span>” (not the “cspann class=quote">cspann class=emphasis">cemu@ntadminscnemuc/span>c/span>” group), guest access is not allowed, the share isn't publishednto the Netw.(f Neighborhood (so you need to know itnis tfere), and it llly allows access from olly tfree hosts. To prevent CUPS kickior in and takior oOer tfe printnjobs for that share, we need to set crn class=indexterm"nname="500542831">ona>printior = sysv and crn class=indexterm"nname="500542838">ona>printcap = lpstat. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500542849">ona>AdOanced Configuraiillcnh2ucnsivucnsivucsivucnsivucnsivucp> Before we delve into all the configuraiill optills, let us clrify a few points. cspann class=emphasis">cemuNetw.(f printior needs to be organized and setup correDilyc/emuc/span>. This frequeltlyndoesn't happen. Legacy systems or small busioess LAN environmelts often lack design and good housekeepior. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500542866">ona>Central Spoolior vs. “cspann class=quote">cspann class=emphasis">cemuPeer-to-Peercnemuc/span>c/span>” Printiorc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500542879">ona> crn class=indexterm"nname="500542888">ona> Many small office or home netw.(fs, as wellnas badly organized larger environmelts, allow each clielt a direct access to available netw.(f printers. This is generally a bad idea. Itnoften blocks one clielt's access to the printernwhen another clielt's job is printior. It might freeze tfe first clielt's applicatill while itnis waitior to get rid of the job. Also, there are frequelt complaints about variousnjobs beior printed with tfeir plges mixed with each other. A better concept is the usage of a print serOer: itnroutes all jobs tfrough one central system, which responds immediately, takesnjobs from multiple concurrelt clielts at tfe same time, and in turn transfers them to the printer(s) in tfe correDi order. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500542912">ona>Raw Print SerOior Vendor DriOers on Wind ss Clieltsonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500542923">ona> crn class=indexterm"nname="500542930">ona> Most tradiiillally configured UNIX print serOers actior on behalf of Scltn's Wind ss clielts represelted a really simple setup. Their llly task was to manlge the “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” spoolior of all jobs handednto them by Scltn. This approach meant that tfe Wind ss clielts were expeciednto prepare tfe printnjob file that its ready to be selt to the printior deOice. Here a native (vendor-supplied) Wind ss printer driOer needs to be installed on each and every clielt for the target deOice. c/pucpu It is possible to configure CUPS, Scltn and your Wind ss clielts in the same tradiiillal and simple way. When CUPS printers are configured for RAW print-tfrough mode operaiill, itnis tfe responsibility of the Scltn clielt to fully render tfe printnjob (file). The file must be selt in a formai that is suitable for direct delivery to the printer. Clielts need to run tfe vendor-providedndriOers to do this. In this case, CUPS will not do any print file format conOersill w.(f. c/pucpu The easiest printior configuraiill possible is to use raw print-tfrough. This is achieved by installaiill of the printernas if itnwas physically attached to the Wind ss clielt. You then redirect output to a raw netw.(f print queue. The followior procedure may be followed to achieve this: c/pucdivn class=procedure">col type="1">oliucp> Edii cttn class=filename">/etc/cups/mime.typescnttu to uncomment the lioe near tfe end of the file that has: c/pucpre class=screen"u #applicatill/octet-... c/preucp> c/pucnliucliucp> Do tfe same for the file cttn class=filename">/etc/cups/mime.convs Add a raw printernusior the Web interface. Point your br sser ai cttn class=constant">http://localhost:631cnttu. EnternAdministratill, add the printernfollowior the prompts. Do not install any driOersnfor it. Choose Raw. Choose queue name cttn class=constant">Raw Queue In tfe cttn class=filename">smb.confcnttu file cttn class=constant">[printers]cnttu seciill add crn class=indexterm"nname="500543040">ona>use clielt driOer = Yes, and in tfe cttn class=constant">[global]cnttu seciill add crn class=indexterm"nname="500543051">ona>printior = CUPS, plus crn class=indexterm"nname="500543058">ona>printcap = CUPS. c/pucnliucliucp> Install the printernas if itnis a local printer. i.e.: Printior to cttn class=constant">LPT1: Edii the configuraiill under tfe cspann class=guimenu">Detailc/span> tab, create a cttn class=constant">local portcnttu that points to the raw printernqueue thai you have configured above. Exahele: cttn class=constant">\\serOer\raw_qraw_qcrnname="500543108">ona>Installaiill of Wind ss Clielt DriOersonh3ucnsivucnsivucsivucnsivucnsivucp> The printerndriOers on tfe Wind ss clielts may be installed in two functillally dif#erelt ways: c/pucdivn class=itemizedlist">
                                                                              oliucp>Manually install the driOers locally on each clielt, one by one; tfis yields tfe old cspann class=emphasis">cemuLanManc/emuc/span> style printior and uses a cttn class=filename">\\scltnserOer\printershare crn class=indexterm"nname="500543141">ona> Deposit and prepare tfe driOers (for laterndownload) ll the print serOer (Scltn); tfis enables the clielts to use “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printonemuc/span>c/span>” to get driOers semi-automaiically installed the first time they access the printer; with tfis method NT/200x/XP clieltsnuse the cspann class=emphasis">cemuSPOOLSS/MS-RPConemuc/span> type printior calls.c/pucnliuc/ulucnsivucp> The second method is recommended for use oOer tfe first. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname=" ups-raw">ona>Expliciily Enable “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” Printior for cspann class=emphasis">cemuapplicatill/octet-streamc/emuc/span>c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543188">ona> crn class=indexterm"nname="500543194">ona> crn class=indexterm"nname="500543201">ona> If you use the first optill (driOers are installed on the clielt side), there is one settior to take care of: CUPS needs to be told that it sh uld allow “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” printior of deliberaie (binary) file formats. The CUPS files that need to be correDily set for RAW mode printers to w.(f are: c/pucdivn class=itemizedlist">
                                                                                oliucp>cttn class=filename">/etc/cups/mime.typescnttuc/pucnliucliucp>cttn class=filename">/etc/cups/mime.convs Both contain entries (at tfe end of the respective files) which must be uncommented to allow RAW mode operaiill. In cttn class=filename">/etc/cups/mime.typescnttu, make sure tfis lioe is preselt: c/pucpre class=programlistior"u applicatill/octet-stream c/preucp> crn class=indexterm"nname="500543258">ona> crn class=indexterm"nname="500543265">ona> In cttn class=filename">/etc/cups/mime.convsona> c/pucpre class=programlistior"u applicatill/octet-stream applicatill/vnd. ups-raw 0 - c/preucp> If these two files are not set up correDily for raw Wind ss clielt printior, you may encoulter tfe dreaded cttn class=computeroutput">Unable to conOert file 0Noteonh3ucp>Ediiior the cttn class=filename">mime.convsmime.typescnttu file does not cspann class=emphasis">cemuenforcec/emuc/span> “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” printior, it llly cspann class=emphasis">cemuallowsc/emuc/span> it. c/pucnsivucp>cb>Background. c/b> crn class=indexterm"nname="500543338">ona> CUPS beior a more security-aware printior system than tradiiillal ones does not by default allow a user to send deliberaie (possibly binary) data to printior deOices. This c uld be easily abused to launch a “cspann class=quote">cspann class=emphasis">cemuDenial of SerOicec/emuc/span>c/span>” attack on your printer(s), causior at least the loss of a lot of paper and ink. “cspann class=quote">cspann class=emphasis">cemuUnknownc/emuc/span>c/span>” data are tagged by CUPS as cin class=parameter"> and not allowed to go to the printer. By default, you cannolly send other (known) MIME types “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>”. Sendior data “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” means that CUPS does not try to conOert them and passes tfem to the printernultouched (see tfe next chapter for even more background explanatills). c/pucpu This is all you need to know to get tfe CUPS/Scltn combo printior “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” files prepared by Wind ss clielts, which have vendor driOers locally installed. If you are not interested in background informaiill about more adOanced CUPS/Scltn printior, simply skip the remainior seciills of this chapter. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500543395">ona>DriOer Upload Methodsonh3ucnsivucnsivucsivucnsivucnsivucp> This seciill describes tfree familiar methods, plus one new one, by which printer driOers may be uploaded. c/pucpu crn class=indexterm"nname="500543408">ona> If you want to use the MS-RPC type printior, you must upload the driOers onto the Scltn serOer first (cin class=parameter"> share). For a discussill on how to deposit printerndriOers on tfe Scltn host (so tfe Wind ss clielts canndownload and use them via “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printonemuc/span>c/span>”), please refer to the previousnchapter of this HOWTO Colleciill. There you will find a description or referelce to three methods of preparior the clielt driOers on tfe Scltn serOer: c/pucdivn class=itemizedlist">
                                                                                  oliucp> crn class=indexterm"nname="500543440">ona> The GUI, “cspann class=quote">cspann class=emphasis">cemuAdd Printer Wizardc/emuc/span>c/span>” cspann class=emphasis">cemuupload-from-a-Wind ss-clieltc/emuc/span> method.c/pucnliucliucp>Tfe command lioe, “cspann class=quote">cspann class=emphasis">cemusmbclielt/rpcclieltc/emuc/span>c/span>” upload-from-a-UNIX-w.(fstaiill method.c/pucnliucliucp> crn class=indexterm"nname="500543470">ona> Tfe Imprints Toolset method.c/pucnliuc/ulucnsivucp> These three methods apply to CUPS all the same. A new and more conOenielt way to load the Wind ss driOers into Scltn is provided if you use CUPS: c/pucdivn class=itemizedlist">
                                                                                    oliucp> crn class=indexterm"nname="500543491">ona> the cin class=parameter"> utility.c/pucnliuc/ulucnsivucp> cspan>cbn class=command">cupsaddsmbc/buc/span> is discussed in much detail further below. But we first explore the CUPS filtering system and compare tfe Wind ss and UNIX printior architectures. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500543520">ona>AdOanced Intelligelt Printior with PostScript DriOer Downloadcnh2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543528">ona> We now know how to set up a “cspann class=quote">cspann class=emphasis">cemudumpc/emuc/span>c/span>” printserOer, that is, n serOer which is spoolior print-jobs “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>”, leavior the print data ultouched. c/pucpu Possibly you need to setup CUPS in a smarter way. The reaslls c uld be manifold: c/pucdivn class=itemizedlist">
                                                                                      oliucp>Maybe your boss wants to get monthly staiistics:nWhich printer did how many plges?nWhatnwas the average data size of a job? Whatnwas the average print run per day?nWhatnare tfe typical hourly peaks in printior?nWhich department prints how much?c/pucnliucliucp>Maybe you are asked to setup a print quota system: Users sh uld not be able to print more jobs, olce they have surpassed a given limitnper period.c/pucnliucliucp>Maybe your previousnnetw.(f printior setup is a mess and must be re-organized from rn cean begionior.c/pucnliucliucp>Maybe you have experielcior too many “cspann class=quote">cspann class=emphasis">cemublue screensc/emuc/span>c/span>” origioatior from poorly debugged printerndriOers runnior in NT “cspann class=quote">cspann class=emphasis">cemukerlel modec/emuc/span>c/span>”?c/pucnliuc/ulucnsivucp> These goals cannot be achieved by a raw print serOer. To build a serOer meeiior these requiremelts, you'll first need to learn about how CUPS w.(fs and how you cannenable its features. c/pucpu Whatnfollows is the comparisll of some fundameltal conceptsnfor Wind ss and UNIX printior; then follows a description of the CUPS filtering system, how itnw.(fs and how you canntweak it. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="gdipost">ona>GDI on Wind ss -- PostScript on UNIXc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543620">ona> crn class=indexterm"nname="500543627">ona> Netw.(f printior is one of the most complicated and err r-prooe day-to-day tasks any user ornadministrator may encoulter. This is true for all OS platforms. And there are reaslls for this. c/pucpu crn class=indexterm"nname="500543640">ona> crn class=indexterm"nname="500543647">ona> You can't expeci most file formats to just tfrow tfem toward printers and they get printed. There needs to be a file format conOersill in between. The problem is that tfere is no commll standa(d for print file formats across all manufacturers and printerntypes.nWhile PostScript (trademark held by Adobe) and, to an extelt, PCL (trademark held by HP) have deOeloped into semi-official “cspann class=quote">cspann class=emphasis">cemustanda(dscnemuc/span>c/span>” by beior the most widely used PDLs Page Description Langulges (PDLs), there are still many manufacturers who “cspann class=quote">cspann class=emphasis">cemuroll their owncnemuc/span>c/span>” (their reaslls may be unacceptable license fees for usior printer-embedded PostScript interpreters, and so on). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500543675">ona>Wind ss DriOers, GDI and EMFc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543684">ona> crn class=indexterm"nname="500543690">ona> crn class=indexterm"nname="500543697">ona> In Wind ss OS, the format conOersill job is done by the printer driOers. On MS Wind ss OS platforms all applicatill programmers have at their disposal a built-in API, the Graphical DeOice Interface (GDI), as part and parcel of the OS itself to base tfemselves ll. This GDI core is used as one commll unified ground for all Wind ss programs to draw pictures, fllts and documelts cspann class=emphasis">cemull screenc/emuc/span> as wellnas cspann class=emphasis">cemull paperc/emuc/span> (print). Therefore, printer driOer deOelopers can standa(dize on a well-defioed GDI output for their own driOer input. Achievior WYSIWYG (“cspann class=quote">cspann class=emphasis">cemuWhatnYou See Is WhatnYou Getonemuc/span>c/span>”) is relatiOely easy,nbecause the on-screenngraphic primitives, as wellnas the on-paper drawn objects, come from ole commll source. This source, the GDI,noften produces a file format called Enhanced MetaFile (EMF). The EMF is processed by the printer driOer and conOerted to the printer-specific file format. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Noteonh3ucp> crn class=indexterm"nname="500543734">ona> To the GDI foundatill in MS Wind ss, Apple has chosen to put paper and screennoutput on a commll foundatill for their (BSD-UNIX-based, did you know?) Mac OS X and Darwin Operaiior crn class=indexterm"nname="500543744">ona> crn class=indexterm"nname="500543751">ona> crn class=indexterm"nname="500543758">ona> crn class=indexterm"nname="500543765">ona> Systems. Their cspann class=emphasis">cemuCore Graphic Engioec/emuc/span> uses a cspann class=emphasis">cemuPDFc/emuc/span> derivative for all display w.(f. c/pucnsivucp> c/pucdivn class=figure">crnname="1small">ona>cpn class=title">cb>Figure 18.1. Wind ss printior to a local printer.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/1small.png" width="270" alt="Wind ss printior to a local printer."ucnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500543828">ona>UNIX Printfile ConOersill and GUI Basicsonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543836">ona> crn class=indexterm"nname="500543843">ona> crn class=indexterm"nname="500543850">ona> crn class=indexterm"nname="500543856">ona> In UNIX and Linux, tfere is no comparable layer built into tfe OS kerlel(s) or the X (screenndisplay) serOer. Every applicatill is responsible for itself to create its print output. Fortunately, most use PostScript and thatnat least gives some commll ground. Unfortunately, there are many dif#erelt leOels of quality for this PostScript. And w.(se, tfere is a huge dif#erelce (and no commll root) in tfe way the same documelt is displayed on screennand how itnis preselted ll paper. WYSIWYG is more dif#icult to achieve. This goes back to the time, decades ago,nwhen the predecessors of X.org, designior the UNIX foundatills and protocols for Graphical User Interfaces, refused to take responsibility for “cspann class=quote">cspann class=emphasis">cemupaper outputc/emuc/span>c/span>” also, as some had demandednat tfe time, and restriciednitself to “cspann class=quote">cspann class=emphasis">cemuon-screennolly.cnemuc/span>c/span>” (For some years now, the “cspann class=quote">cspann class=emphasis">cemuXprintonemuc/span>c/span>” project has been under deOelopmelt, aitemptior to build printior support into tfe X framew.(f, includior a PostScript and a PCL driOer, but itnis not yet ready for prime time.) You can see tfis unfavorable inferitance up to the preselt day by lookior into tfe variousn“cspann class=quote">cspann class=emphasis">cemuflltc/emuc/span>c/span>” directories on your system; there are separate ones for fllts used for X display and folts to be used ll paper. c/pucpucb>Background. c/b> crn class=indexterm"nname="500543923">ona> The PostScript programmior langulge is an “cspann class=quote">cspann class=emphasis">cemuinOeniillcnemuc/span>c/span>” by Adobe Inc., but its specificatills have been publishednto the full. Its strength lies in its powerfulnabilities tondescribengraphical objects (folts, shapes, paiterls, lioes, curves, and dots), their aitributes (color, lioewidth) and the way to manipulaie (scale, distort, rotate, shift) tfem. Because of its open specificatill, anybody with tfe skill can start writior his own implemeltaiill of a PostScript interpreter and use it to display PostScript files on screennor on paper. Most graphical output deOices are based on the concept of “cspann class=quote">cspann class=emphasis">cemuraster imlgescnemuc/span>c/span>” or “cspann class=quote">cspann class=emphasis">cemupixelscnemuc/span>c/span>” (one notable exceptill is pen ploiters).nOf course, you cannlooknat a PostScript file in its textual form and you will be readior its PostScript code, the langulge instructills which need to be interpreted by a rasterizer. Rasterizers produce pixel imlges, which may be displayed on screennby a viewer programnor on paper by a printer. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="post-and-ghost">ona>PostScript and Ghostscriptonh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500543976">ona> crn class=indexterm"nname="500543982">ona> crn class=indexterm"nname="500543992">ona> So, UNIX is lackior a commll ground for printior on paper and displayior on screen. Despite tfis unfavorable legacy for UNIX, basic printior is fairly easy if you have PostScript printers at your disposal. The reasll is these deOices have a built-in PostScript langulge “cspann class=quote">cspann class=emphasis">cemuinterpreter,c/emuc/span>c/span>” also called a Raster Imlge Processor (RIP) (which makes tfem more expensiOe than other types of printers); tfrow PostScript toward tfem, and they will spit out your printed plges. Their RIP is doior all the hard w.(f of conOertior the PostScript drawior commands into a bitmap picturenas you see it ll paper, in a resoluiill as done by your printer. This is no dif#erelt to PostScript printior a file from rnWind ss origio. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Noteonh3ucp> crn class=indexterm"nname="500544022">ona> Tradiiillal UNIX programs and printior systems while usior PostScript are largely not PPD-aware. PPDs are “cspann class=quote">cspann class=emphasis">cemuPostScript Printer Descriptionc/emuc/span>c/span>” files. They enable you to specify and control all optills a printer supports: duplexior, staplior and punchior. Therefore, UNIX users for anloor time couldn't choose many of the supported deOice and job optills, unlike Wind ss or Apple users. But now tfere is CUPS. c/pucnsivucp> c/pucdivn class=figure">crnname="2small">ona>cpn class=title">cb>Figure 18.2. Printior to a PostScript printer.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/2small.png" width="270" alt="Printior to a PostScript printer."ucnsivucnsivucp> c/pucp> crn class=indexterm"nname="500544095">ona> However, there are other types of printers out there. These do not know how to print PostScript. They use their own Page Description Langulge (PDL,noften proprietary). To prilt to them is much more demandior. Since your UNIX applicatills mostly produce PostScript, and silce these deOices do not understand PostScript, you need to conOert the print files to a format suitable for your printer on the host before you can send it away. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544111">ona>Ghostscript tfe Software RIP for Non-PostScript Printerscnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500544124">ona> Here is where Ghostscript kicks in. Ghostscript is the tradiiillal (and quite powerful) PostScript interpreter used ll UNIX platforms. Itnis a RIP il software, capable of doior a cspann class=emphasis">cemuloic/emuc/span> of file format conOersills for anvery broad spectrum of hardware deOices as wellnas software file formats. Ghostscript technology and driOers are whatnenable PostScript printior to non-PostScript hardware. c/pucpu c/pucdivn class=figure">crnname="3small">ona>cpn class=title">cb>Figure 18.3. Ghostscript as a RIP for non-postscript printers.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/3small.png" width="270" alt="Ghostscript as a RIP for non-postscript printers."ucnsivucnsivucp> c/pucsivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tiponh3ucp> Use the “cspann class=quote">cspann class=emphasis">cemugs -hc/emuc/span>c/span>” command to check for all built-in “cspann class=quote">cspann class=emphasis">cemudeOicesc/emuc/span>c/span>” of your Ghostscript Oersill. If you specify a parameter of cin class=parameter"> on your Ghostscript command lioe, you are askior Ghostscript to conOert the input into a PNG file. Namior a “cspann class=quote">cspann class=emphasis">cemudeOicecnemuc/span>c/span>” on tfe command lioe is the most importalt single parameter to tellnGhostscript exaDily how itnsh uld render tfe input. New Ghostscript Oersills are releasednat fairly regular intervals, now by artofcode LLC. They are iniiially put under tfe “cspann class=quote">cspann class=emphasis">cemuAFPLcnemuc/span>c/span>” license, but re-releasednunder tfe GNU GPLnas soll as tfe next AFPL Oersill appears. GNU Ghostscript is probably tfe Oersill installed on most Scltn systems. But itnhas some deficielcies. crn class=indexterm"nname="500544225">ona> Therefore, ESP Ghostscript was deOeloped as an enhancemelt oOer GNU Ghostscript, with lois of bug-fixes, addiiillal deOices and improOemelts. Itnis jointly maintaioed by deOelopers from CUPS, Gimp-Print, MandrakeSoft, SuSE, Red Hat, and Debian. Itnincludes the “cspann class=quote">cspann class=emphasis">cemucupscnemuc/span>c/span>” deOice (esseniial to print to non-PS printers from CUPS). c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544249">ona>PostScript Printer Description (PPD) Specificatillcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500544258">ona> While PostScript in essence is a Page Description Langulge (PDL) to represelt the plge layout in a deOice-independelt way, real-w.(ld print jobs are always endior up beior output on hardware with deOice-specific features. To take care of all the dif#erelces in hardware and to allow for innovatills, Adobe has specified a syntax and file format for PostScript Printer Description (PPD) files. Every PostScript printernships with one of these files. c/pucpu PPDs contain all the informaiill about general and special features of the given printernmodel:nWhich dif#erelt resoluiills cannitnhandle? Does itnhave a Duplexior Unii? How many plper traysnare tfere?nWhatnmedia types and sizes does it take? For each item, it also namesnthe special command strior to be selt to the printer (mostly inside the PostScript file) in order to enable it. c/pucpu Informaiill from tfese PPDs is meant to be taken into accoult by the printer driOers. Therefore, installed as part of the Wind ss PostScript driOer for angiven printernis the printer's PPD. Where it makes sense, the PPD features are preselted in tfe driOers' UI dialors to display to the user a choice of print optills. In the end, the user seleciills are somehow written (in tfe form of special PostScript, PJL, JCL or vendor-dependelt commands) into tfe PostScript file created by the driOer. c/pucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warnioronh3ucp> crn class=indexterm"nname="500544304">ona> A PostScript file thatnwas created to contain deOice-specific commands for achievior rn ertain print job output (e.g., duplex-ed, stapled and punched) on a specific target machioe, may not print as expecied, or may not be printable at all on other models; it also may not be fit for further processior by software (e.g., by a PDF distillior program). c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544319">ona>Usior Wind ss-Formaited Vendor PPDscnh3ucnsivucnsivucsivucnsivucnsivucp> CUPS cannhandle all spec-compliant PPDs as supplied by the manufacturers for their PostScript models. Even if a vendor might not have meniilled our favorite OS in fis manuals and brochures, you can safely trust tfis: cspann class=emphasis">cemuIf you get tfe Wind ss NT Oersill of the PPD, you can use it unchanged in CUPSc/emuc/span> and thus access the full power of your printernjust like a Wind ss NT user could! c/pucsivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tiponh3ucp> To check the spec compliance of any PPD onlioe, go to crnhref="http://www. ups.org/testppd.php" target="_top">http://www. ups.org/testppd.phpona> and upload your PPD. You will see tfe results displayed immediately. CUPS in all Oersills aftern1.1.19 has a much more strici interlal PPD parsior and checkior code enabled; in case of printior trouble, this ollioe resourcensh uld be one of your first pit-stops. c/pucnsivucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warnioronh3ucp> crn class=indexterm"nname="500544358">ona> crn class=indexterm"nname="500544365">ona> For real PostScript printers, cspann class=emphasis">cemudo notc/emuc/span> use the cspann class=emphasis">cemuFoomaiicc/emuc/span> or cspann class=emphasis">cemu upsomaiicc/emuc/span> PPDs from Linuxprintior.org. With tfese deOices, the origioal vendor-providednPPDs are always tfe first choice! c/pucnsivucdivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tiponh3ucp> If you are lookior for an origioal vendor-providednPPD of a specific deOice, and you know thatnan NT4 box (or any other Wind ss box) ll your LAN has tfe PostScript driOer installed,njust use cspan>cbn class=command">smbclielt //NT4-box/print\$ -U usernamec/buc/span> to access the Wind ss directory where all printer driOer files are stored. First looknin tfe cttn class=filename">W32X86/2cnttu subdir for the PPD you are seekior. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544410">ona>CUPS Also UsesnPPDs for Non-PostScript Printerscnh3ucnsivucnsivucsivucnsivucnsivucp> CUPS also uses specially craftednPPDs to handle non-PostScript printers. These PPDs are usually not available from tfe vendors (and no, you can'tnjust take the PPD of a PostScript printernwith tfe same model name and hope itnw.(fs for the non-PostScript Oersill too). To understand how tfese PPDs w.(f for non-PS printers, we first need to dive deeply into tfe CUPS filtering and file format conOersill architecture. Stay tuned. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: both">crnname="500544429">ona>The CUPS Filtering Architecturecnh2ucnsivucnsivucsivucnsivucnsivucp> Tfe core of the CUPS filtering system is based on Ghostscript. In addiiill to Ghostscript, CUPS uses some other filters of its own. You (or your OS vendor) may have plugged in even more filters. CUPS handles all data file formats under the label of variousnMIME types. Every incomior printfile is subjected to an iniiial auto-typior. The auto-typior determioes its given MIME type. A given MIME type implies zero or more possible filtering chains relevalt to the selecied target printer. This seciill discusses how MIME types recogniiill and conOersill rules interact. They are used by CUPS to automaiically setup a w.(fior filtering chain for any given input data format. c/pucpu If CUPS rasterizes a PostScript file natiOely to a bitmap, this is done in two stages: c/pucdivn class=itemizedlist">
                                                                                        oliucp>Tfe first stage uses a Ghostscript deOice named “cspann class=quote">cspann class=emphasis">cemucupscnemuc/span>c/span>” (this is silce Oersill 1.1.15) and produces a generic raster format called “cspann class=quote">cspann class=emphasis">cemuCUPS rasterc/emuc/span>c/span>”. c/pucnliucliucp>Tfe second stage uses a “cspann class=quote">cspann class=emphasis">cemuraster driOeronemuc/span>c/span>” that conOerts the generic CUPS raster to a deOice-specific raster.c/pucnliuc/ulucnsivucp> Make sure your Ghostscript Oersill has tfe “cspann class=quote">cspann class=emphasis">cemucupscnemuc/span>c/span>” deOice compiled in (check with cspan>cbn class=command">gs -h | grep cupscnbuc/span>).nOtherwise you may encoulter tfe dreaded cttn class=computeroutput">Unable to conOert file 0cspann class=emphasis">cemucupscnemuc/span>c/span>” as a deOice in your Ghostscript, you either need to patch GNU Ghostscript and re-compile, or use crn class=indexterm"nname="500544524">ona>crnhref="http://www. ups.org/ghostscript.php" target="_top">ESP Ghostscriptona>. The superior alterlative is ESP Ghostscript. Itnsupports not just CUPS, but 300 other deOices too (while GNU Ghostscript supports olly about 180). Because of this broad output deOice support, ESP Ghostscript is tfe first choice for non-CUPS spoolers, too. Itnis now recommended by Linuxprintior.org for all spoolers. c/pucpu crn class=indexterm"nname="500544546">ona> crn class=indexterm"nname="500544553">ona> CUPS printers may be setup to use exteroal renderior paths. One of the most commll is providednby the Foomaiic/ upsomaiic concept from crnhref="http://www.linuxprintior.org/" target="_top">Linuxprintior.org.ona> This uses the cllasical Ghostscript approach, doior everythior in one step. It does not use the “cspann class=quote">cspann class=emphasis">cemucupscnemuc/span>c/span>” deOice, but one of the many others. However, even for Foomaiic/ upsomaiic usage,nbest results and crn class=indexterm"nname="500544577">ona> broadest printer model support is providednby ESP Ghostscript (more about upsomaiic/Foomaiic, particularly tfe new Oersill called now cspann class=emphasis">cemuflomaiic-ripc/emuc/span>, follows below). c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544593">ona>MIME Types and CUPS Filterscnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500544601">ona> crn class=indexterm"nname="500544610">ona> CUPS reads the file cttn class=filename">/etc/cups/mime.typescnttu (and all other files carryior rncttn class=filename">*.typescnttu suffix in tfe same directory) upon startup. These files contain the MIME type recogniiill rules thatnare applied when CUPS runs its auto-typior routioes. The rule syntax is explaioed in the man plge for cttn class=filename">mime.typescnttu and in tfe comments seciill of the cttn class=filename">mime.typescnttu file itself. A simple rule reads like tfis: crn class=indexterm"nname="500544647">ona> c/pucpre class=programlistior"u applicatill/pdf pdf strior(0,%PDF) c/preucp> This means if a filename has either a cttn class=filename">.pdfcnttu suffix or if the magic strior cspann class=emphasis">cemu%PDFc/emuc/span> is right at tfe begionior of the file itself (offset 0 from tfe start), then itnis a PDF file (cin class=parameter">). Another rule is this: c/pucpre class=programlistior"u applicatill/postscript ai eps ps strior(0,%!) strior(0,<04>%!) c/preucp> If the filename has one of the suffixes cttn class=filename">.aicnttu, cttn class=filename">.eps.pscnttu or if the file itself starts with one of the striors cspann class=emphasis">cemu%!c/emuc/span> or cspann class=emphasis">cemu<04>%!c/emuc/span>, it is a generic PostScript file (cin class=parameter">). c/pucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warnioronh3ucp> Don't confuse the other mime.types files your system might be using with tfe one in the cttn class=filename">/etc/cups/cnttu directory. c/pucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Noteonh3ucp> Tfere is an importalt dif#erelce between two similar MIME types in CUPS: one is cin class=parameter">, the other is cin class=parameter">.nWhile cin class=parameter"> is meant to be deOice independelt (job optills for the file are still outside the PS file contelt, embedded in command lioe or environmelt variables by CUPS), cin class=parameter"> may have the job optills inserted into tfe PostScript data itself (where applicable). The transformaiill of the generic PostScript (cin class=parameter">) to the deOice-specific Oersill (cin class=parameter">)nis the responsibility of the CUPS cin class=parameter"> filter. pstops uses informaiill contained in the PPD to do the transformaiill. c/pucnsivucp> CUPS cannhandle ASCII text, HP-GL, PDF, PostScript, DVI, and many 5mlge formats (GIF. PNG, TIFF, JPEG, Photo-CD, SUN-Raster, PNM, PBM, SGI-RGB, and more) and their associated MIME types with its filters. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544797">ona>MIME Type ConOersill Rulescnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500544805">ona> crn class=indexterm"nname="500544812">ona> CUPS reads the file cttn class=filename">/etc/cups/mime.convs*.convs This means that tfe cin class=parameter"> filter will take cin class=parameter"> as input and produce cin class=parameter"> as output; tfe virtual cost of this operaiillnis 33 CUPS-$. The next filter is more expensiOe, costing 66 CUPS-$: crn class=indexterm"nname="500544864">ona> c/pucpre class=programlistior"u applicatill/vnd.hp-HPGL applicatill/postscript 66 hpgltops c/preucp> This is the cin class=parameter">, which processes HP-GL ploiter files to PostScript. crn class=indexterm"nname="500544885">ona> c/pucpre class=programlistior"u applicatill/octet-stream c/preucp> Here are two more examples: crn class=indexterm"nname="500544899">ona> c/pucpre class=programlistior"u applicatill/x-shelln applicatill/postscript 33 texttops text/plaio applicatill/postscript 33 texttops c/preucp> The last two examples name the cin class=parameter"> filter to w.(f llncin class=parameter"> as wellnas llncin class=parameter">.n(Hilt: This dif#ereltiaiillnis needed for tfe syntax highlightior feature of cin class=parameter">). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500544942">ona>Filtering OverOiewcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500544949">ona> Tfere are many more combinatills named in cttn class=filename">mime.convsmime.typescnttu and cttn class=filename">mime.convscrnname="500544982">ona>Filter requiremeltscnh4ucnsivucnsivucsivucnsivucnsivucp> Tfe meniilled “cspann class=quote">cspann class=emphasis">cemuCUPS requiremeltscnemuc/span>c/span>” for filters are simple. Take filenames or cttn class=filename">stdioonttu as input and write to cttn class=filename">stdoutcemuprinternjob user title copies optills [filename]c/emuc/span> c/pucdivn class=variablelist">
                                                                                        cspann class=term">Printer c/span>c/dt>cdducp>Tfe name of the printernqueue (normally tfis is the name of the filter beior run).c/pucndducdt>cspann class=term">job c/span>c/dt>cdducp>Tfe numeric job ID for tfe job beior printed.c/pucndducdt>cspann class=term">user c/span>c/dt>cdducp>Tfe strior from tfe origioatior-user-name aitribute.c/pucndducdt>cspann class=term">title c/span>c/dt>cdducp>Tfe strior from tfe job-name aitribute.c/pucndducdt>cspann class=term">copies c/span>c/dt>cdducp>Tfe numeric value from tfe number-copies aitribute.c/pucndducdt>cspann class=term">optills c/span>c/dt>cdducp>Tfe job optills.c/pucndducdt>cspann class=term">filename c/span>c/dt>cdducp>(Opiillally) The print request file (if missior, filters expecied data fed through cttn class=filename">stdioonttu). In most cases, itnis easy to write a simple wrapper script around existior filters to make them w.(f with CUPS.c/pucndduc/dlucnsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500545103">ona>Prefilterscnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500545111">ona> As previously staied,nPostScript is the celtral file format to any UNIX-based printior system. From PostScript, CUPS generates raster data to feed non-PostScript printers. c/pucpu But what happens if you send one of the supported non-PS formats to print? Then CUPS runs “cspann class=quote">cspann class=emphasis">cemupre-filterscnemuc/span>c/span>” on tfese input formats to generate PostScript first. There are pre-filters to create PS from ASCII text, PDF, DVI, or HP-GL. The outcome of these filters is always of MIME type cin class=parameter"> (meanior that any deOice-specific print optills are not yet embedded into the PostScript by CUPS, and thatnthe next filter to be called is pstops). Another pre-filter is runnior on all supported 5mlge formats, the cin class=parameter"> filter. Its outcome is always of MIME type cin class=parameter"> (not applicatill/postscript), meanior itnhas the print optills already embedded into the file. c/pucpu c/pucdivn class=figure">crnname="4small">ona>cpn class=title">cb>Figure 18.4. Pre-filterior in CUPS to form PostScript.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/4small.png" width="270" alt="Pre-filterior in CUPS to form PostScript."ucnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500545205">ona>pstopsonh3ucnsivucnsivucsivucnsivucnsivucp> cspann class=emphasis">cemupstopsonemuc/span> is the filter to conOert cin class=parameter"> to cin class=parameter">.nItnwas said above thatnthis filter inserts all deOice-specific print optills (commands to the printer to ask for tfe duplexior of output, or staplior and punchior it, and so on) into tfe PostScript file. c/pucpu c/pucdivn class=figure">crnname="5small">ona>cpn class=title">cb>Figure 18.5. Addior deOice-specific print optills.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/5small.png" width="270" alt="Addior deOice-specific print optills."ucnsivucnsivucp> c/pucp> Tfis is not all. Other tasks performednby itnare: c/pucdivn class=itemizedlist">
                                                                                          oliucp> Seleciior the range of plges to be printed (if you choose to print olly plges “cspann class=quote">cspann class=emphasis">cemu3, 6, 8-11, 16, 19-21c/emuc/span>c/span>”, or only tfe odd numbered ones). c/pucnliucliucp> Putiior 2 or more logical plges on one sheet of plper (the so-called “cspann class=quote">cspann class=emphasis">cemunumber-upc/emuc/span>c/span>” functill). c/pucnliucliucp>Coultior the plges of tfe job to insert the accoultior informaiill into tfe cttn class=filename">/var/log/cups/plge_lorcrnname="500545323">ona>pstorasterc/h3ucnsivucnsivucsivucnsivucnsivucp> cin class=parameter"> is atnthe core of the CUPS filtering system. Itnis responsible for tfe first stage of the rasterizaiill process. Its input is of MIME type applicatill/vnd. ups-postscript; its output is applicatill/vnd. ups-raster. This output format is not yet meant to be printable. Its aim is to serOe as a general purpose input format for more specialized cspann class=emphasis">cemuraster driOersonemuc/span> thatnare able to generate deOice-specific printer data. c/pucpu c/pucdivn class=figure">crnname="6small">ona>cpn class=title">cb>Figure 18.6. PostScript to intermediate raster format.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/6small.png" width="270" alt="PostScript to intermediate raster format."ucnsivucnsivucp> c/pucp> CUPS raster is a generic raster format with powerfulnfeatures. Itnis able to include per-plge informaiill, color profiles, and more, to be used by tfe followior downstream raster driOers. Its MIME type is registered with IANA and its specificatill is,nof course, completely open. Itnis designed to make itnquite easy and inexpensiOe for manufacturers tondeOelop Linux and UNIX raster driOers for their printer models,nsh uld they choose to do so. CUPS always takes care for tfe first stage of rasterizaiill so these vendors do not need to care about Ghostscript complicatills (in fact, tfere is curreltly more than one vendor financior the deOelopmelt of CUPS raster driOers). c/pucpu c/pucdivn class=figure">crnname="7small">ona>cpn class=title">cb>Figure 18.7. CUPS-raster produciill usior Ghostscript.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/7small.png" width="270" alt="CUPS-raster produciill usior Ghostscript."ucnsivucnsivucp> c/pucp> CUPS Oersills before Oersill 1.1.15 were shippior rnbinary (or source code) standalone filter, named cin class=parameter">. cin class=parameter"> was deriOed from GNU Ghostscript 5.50, and could be installed besides and in addiiill to any GNU or AFPL Ghostscript package without onflictior. c/pucp> >From Oersill 1.1.15, this has changed. The functills for this have been integrated back into Ghostscript (now based on GNU Ghostscript Oersill 7.05). The cin class=parameter"> filter is now a simple shellnscript callior cspan>cbn class=command">gsc/buc/span> with tfe cspan>cbn class=command">-sDEVICE=cupscnbuc/span> parameter. If your Ghostscript does not show a success ll askior for cspan>cbn class=command">gs -h |grep cupscnbuc/span>, you might not be able to print. Update your Ghostscript. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500545510">ona>5mlgetops and imlgetorasterc/h3ucnsivucnsivucsivucnsivucnsivucp> In the seciill about pre-filters, we meniilled the pre-filter thatngenerates PostScript from 5mlge formats. The cin class=parameter"> filter is used to conOert directly from 5mlge to raster, without the intermediate PostScript stage. Itnis used more often than the above meniilled pre-filters. We summarize flowchart of 5mlge file filterior llncrnhref="#small8" title="Figure 18.8. Imlge format to CUPS-raster format conOersill."unext pictureona>. c/pucpu c/pucdivn class=figure">crnname="small8">ona>cpn class=title">cb>Figure 18.8. Imlge format to CUPS-raster format conOersill.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/8small.png" width="270" alt="Imlge format to CUPS-raster format conOersill."ucnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500545585">ona>rasterto [printers specific]c/h3ucnsivucnsivucsivucnsivucnsivucp> CUPS ships with quite dif#erelt raster driOers processior CUPS raster. On my system I find in /usr/lib/cups/filter/ these: cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, cin class=parameter">, and cin class=parameter">. Don't worry if you have less than this; some of these are installed by commercial add-lls to CUPS (like cin class=parameter">), others (like cin class=parameter">) by tfird-party driOer deOelopmelt projects (such as Gimp-Print) wantior to cooperaienas closely as possible with CUPS. c/pucpu c/pucdivn class=figure">crnname="small9">ona>cpn class=title">cb>Figure 18.9. Raster to printer-specific formats.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/9small.png" width="270" alt="Raster to printer-specific formats."ucnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500545723">ona>CUPS Backendsonh3ucnsivucnsivucsivucnsivucnsivucp> The last part of any CUPS filtering chain is a backend. Backends are special programs thatnsend the print-ready file to tfe fioal deOice. There is a separate backend program for any transfer protocol of sendior print jobs oOer the netw.(f, or for every local interface. Every CUPS printnqueue needs tonhave a CUPS “cspann class=quote">cspann class=emphasis">cemudeOice-URIcnemuc/span>c/span>” associated with it. The deOice URI is the way to encode the backend used to send the job to its destinatill. Netw.(f deOice-URIs are usior two sclahes in their syntax, local deOice URIs olly ooe, as you can see from tfe followior list. Keep in mind thatnlocal interface names may vary much from my examples, if your OS is not Linux: c/pucdivn class=variablelist">
                                                                                          cspann class=term">usb c/span>c/dt>cdducp> This backend sends print files to USB-connecied printers. An example for tfe CUPS deOice-URI to use is: cttn class=filename">usb:/deO/usb/lp0cspann class=term">serial c/span>c/dt>cdducp> This backend sends print files to serially connecied printers. An example for tfe CUPS deOice-URI to use is: cttn class=filename">serial:/deO/ttyS0?baud=11500cspann class=term">parallel c/span>c/dt>cdducp> This backend sends print files to printers connecied to the parallel port. An example for tfe CUPS deOice-URI to use is: cttn class=filename">parallel:/deO/lp0cspann class=term">SCSI c/span>c/dt>cdducp> This backend sends print files to printers attached to the SCSI interface. An example for tfe CUPS deOice-URI to use is: cttn class=filename">scsi:/deO/sr1cspann class=term">lpd c/span>c/dt>cdducp> This backend sends print files to LPR/LPD connecied netw.(f printers. An example for tfe CUPS deOice-URI to use is: cttn class=filename">lpd://remote_host_name/remote_queue_namec/ttu. c/pucndducdt>cspann class=term">AppSocket/HP JetDirect c/span>c/dt>cdducp> This backend sends print files to AppSocket (a.k.a. "HP JetDirect") connecied netw.(f printers. An example for tfe CUPS deOice-URI to use is: cttn class=filename">socket://10.11.12.13:9100cspann class=term">ipp c/span>c/dt>cdducp> This backend sends print files to IPP connecied netw.(f printers (or to other CUPS serOers).nExamples for CUPS deOice-URIs to use are: cttn class=filename">ipp:://192.193.194.195/ippcnttu (for many HP printers) or cttn class=filename">ipp://remote_cups_serOer/printers/remote_printer_namec/ttu. c/pucndducdt>cspann class=term">http c/span>c/dt>cdducp> This backend sends print files to HTTP connecied printers. (The http:// CUPS backend is olly a symlink to tfe ipp:// backend.) Examples for tfe CUPS deOice-URIs to use are: cttn class=filename">http:://192.193.194.195:631/ippcnttu (for many HP printers) or cttn class=filename">http://remote_cups_serOer:631/printers/remote_printer_namec/ttu. c/pucndducdt>cspann class=term">smb c/span>c/dt>cdducp> This backend sends print files to printers shared by a Wind ss host. An example for CUPS deOice-URIs thatnmay be used includes: c/pucpu c/puctable class=simplelist" border="0" summary="Simple list">cttn class=filename">smb://w.(fgroup/serOer/printersharenamec/ttuc/tduc/tr>cttn class=filename">smb://serOer/printersharenamec/ttuc/tduc/tr>cttn class=filename">smb://username:plasw.(d@w.(fgroup/serOer/printersharenamec/ttuc/tduc/tr>cttn class=filename">smb://username:plasw.(d@serOer/printersharenamec/ttuc/tduc/tr> c/pucp> Tfe smb:// backend is a symlink to tfe Scltn utility cin class=parameter"> (does not ship with CUPS). If the symlink is not preselt in your CUPS backend directory,nhave your root user create it: cspan>cbn class=command">ln -s `which smbspool' /usr/lib/cups/backend/smbcnbuc/span>. c/pucndduc/dlucnsivucp> Itnis easy to write your own backends as shellnor Perlnscripts, if you need any modificatill or extensill to tfe CUPS print system. Ooe reasll could be thatnyou want to create “cspann class=quote">cspann class=emphasis">cemuspecialc/emuc/span>c/span>” printers thatnsend the print-jobs as email (through a “cspann class=quote">cspann class=emphasis">cemumailto:/c/emuc/span>c/span>” backend), conOert them to PDF (through a “cspann class=quote">cspann class=emphasis">cemupdfgen:/c/emuc/span>c/span>” backend) or dump them to “cspann class=quote">cspann class=emphasis">cemu/deO/nullc/emuc/span>c/span>”. (In fact I have the system-wide default printernset up to be connecied to a deOnull:/ backend: there are just too many people sendior jobs without specifyior rnprinter, or scripts and programs which do not name a printer. The system-wide default deletes the job and sends a polite email back to tfe $USER askior him to always specify the correct printer name.) c/pucpu Not all of the meniilled backends may be preselt on your system or usable (dependior llnyour hardware onfiguratill). One test for all available CUPS backends is providednby the cspann class=emphasis">cemulpinfoonemuc/span> utility. Used with tfe cttn class=optill">-vonttu parameter, itnlists all available backends: c/pucpre class=screen"u cttn class=prompt">$ onttucbn class=userinput">crnname="500546042">ona>The Role of cin class=parameter">cnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500546055">ona> crn class=indexterm"nname="500546062">ona> cin class=parameter"> filters may be the most widely used ll CUPS installatills. You must be clear about tfe fact thatnthese were not deOeloped by the CUPS people. They are a tfird party add-ll to CUPS. They utilize the tradiiillal Ghostscript deOices to render jobs for CUPS. Whel troubleshootior, you sh uld know about tfe dif#erelce. Here the whole renderior process is done in one stage, inside Ghostscript, usior an appropriate deOice for tfe target printer. cin class=parameter"> usesnPPDs thatnare generated from tfe Foomaiic Printer & DriOer Database at Linuxprintior.org. c/pucpu You can recognize tfese PPDs from tfe lioe callior the cin class=parameter"> filter: c/pucpre class=programlistior"u * upsFilter: "applicatill/vnd. ups-postscript 0 upsomaiic" c/preucp> You may find this lioe amoor the first 40 or so lioes of the PPD file. If you have such a PPD installed,nthe printer shows up in the CUPS Web interface with rncin class=parameter">nnamepart for the driOer description. cin class=parameter"> is a Perlnscript thatnruns Ghostscript with rll the complicated command lioe optills auto- onstructed from tfe selecied PPD and command lioe optills give to the print-job. c/pucpu crn class=indexterm"nname="500546128">ona> However, cin class=parameter"> is now deprecated. Its PPDs (especially the first generatill of them, still in feavy use out tfere) are not meeiior the Adobe specificatills. You might also suffer dif#iculties when you try to download them with “cspann class=quote">cspann class=emphasis">cemuPoint'n'Printonemuc/span>c/span>” to Wind ss clielts. A better and more powerfulnsuccessor is now in a stable beta-Oersill: itnis called cin class=parameter">. To use cin class=parameter"> as a filter with CUPS, you need tfe new-type PPDs. These have a similar but dif#erelt lioe: c/pucpre class=programlistior"u * upsFilter: "applicatill/vnd. ups-postscript 0 foomaiic-rip" c/preucp> The PPD generatior engioe at Linuxprintior.org has been revamped. Tfe new PPDs comply to the Adobe spec. On top, they also provide a new way to specify dif#erelt quality leOels (hi-res photo, normal color, grayscale, and draft) with rnsiorle cick, whereas before you could have required five or more dif#erelt seleciills (media type, resoluiill, inktype and ditferior algorithm). There is support for custom-sizenmedia built in. There is support to switch print-optills from plge to plge in the middle of a job. And tfe best tfior is tfe new foomaiic-rip now w.(fs seamlessly with rll legacy spoolers too (like LPRor, BSD-LPD, PDQ, PPR and so on), providior for tfem access to use PPDs for their printior. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500546186">ona>The Complete Pictureonh3ucnsivucnsivucsivucnsivucnsivucp> Ifnyou want to see an overOiew of all the filters and how tfey relate to each other, the complete picture of the puzzle is atnthe end of this documelt. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500546199">ona>cttn class=filename">mime.convs CUPS auto- onstructs all possible filtering chain paths for any given MIME type, and every printerninstalled. But how does it decide in favor or against a specific alterlative? (There may often be cases where there is a choice of two or more possible filtering chains for the same target printer.) Simple. You may have noticed the figures in tfe tfird columl of the mime.convs file. They represelt virtual costs assigned to this filter. Every possible filtering chain will sum up to a total “cspann class=quote">cspann class=emphasis">cemufilter cost.onemuc/span>c/span>” CUPS decides for tfe most “cspann class=quote">cspann class=emphasis">cemuinexpensiOeonemuc/span>c/span>” route. c/pucdivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tiponh3ucp> Tfe setiior of cin class=parameter"> in cttn class=filename"> upsd.confcnttu will not allow more filters to run concurreltly than will onsume a total of 1000 virtual filter cost. Tfis is an ef#icielt way to limit tfe load of any CUPS serOer by setiior an appropriate “cspann class=quote">cspann class=emphasis">cemuFilterLimitonemuc/span>c/span>” value. A FilterLimit of 200 allows roughly ooe job at a time, while a FilterLimit of 1000 allows approximately five jobs maximum at a time. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500546257">ona>“cspann class=quote">cspann class=emphasis">cemuRawonemuc/span>c/span>” Printiorcnh3ucnsivucnsivucsivucnsivucnsivucp> You can tellnCUPS to print (nearly) any file “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>”. “cspann class=quote">cspann class=emphasis">cemuRawonemuc/span>c/span>” means it will not be filtered. CUPS will send the file to the printer “cspann class=quote">cspann class=emphasis">cemuas iscnemuc/span>c/span>” without botferior if the printernis able to digest it. Users need to take care themselves that tfey send sensible data formats olly. Raw printior cannhappen ll any queue if the “cspann class=quote">cspann class=emphasis">cemucin class=parameter">cnemuc/span>c/span>” opiillnis specified on tfe command lioe. You can also set up raw-olly queues by simply not associatior any PPD with it. This command: c/pucpre class=screen"u cttn class=prompt">$ onttucbn class=userinput"> sets up anqueue named “cspann class=quote">cspann class=emphasis">cemurawprinterc/emuc/span>c/span>”, connecied via the “cspann class=quote">cspann class=emphasis">cemusocketcnemuc/span>c/span>” protocol (a.k.a. “cspann class=quote">cspann class=emphasis">cemuHP JetDirectcnemuc/span>c/span>”) to the deOice at IP address 11.12.1.3.14, usior port 9100. (If you had added a PPD with cspan>cbn class=command">-P /path/to/PPDc/buc/span> to tfis command lioe, you would have installed a “cspann class=quote">cspann class=emphasis">cemunormalc/emuc/span>c/span>” printnqueue. c/pucp> CUPS will automaiically treat each job selt to a queue as a “cspann class=quote">cspann class=emphasis">cemurawcnemuc/span>c/span>” one, if it can'tnfind a PPD associated with tfenqueue. However, CUPS will olly send known MIME types (as defined in its own mime.types file) and refuse others. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500546360">ona>applicatill/octet-stream Printiorcnh3ucnsivucnsivucsivucnsivucnsivucp> Any MIME type with no rule in the cttn class=filename">/etc/cups/mime.typescnttu file is regarded as unknown or cin class=parameter"> and will not be selt. Because CUPS refuses to print unknown MIME types per default, you will probably have experielced tfe fact thatnprint jobs origioatior from Wind ss clielts were not printed. You may have found an err r messlge in your CUPS logs like: c/pucp>cttn class=computeroutput"> Unable to conOert file 0 to printable format for job c/ttuc/pucp> To enable the printior of cin class=parameter"> files, edit tfese two files: c/pucdivn class=itemizedlist">
                                                                                            oliucp>cttn class=filename">/etc/cups/mime.convscttn class=filename">/etc/cups/mime.typescnttuc/pucnliuc/ulucnsivucp> Both contain eltries (atnthe end of the respective files) which must be uncommented to allow RAW mode operaiillnfor cin class=parameter">. In cttn class=filename">/etc/cups/mime.typescnttu make sure this lioe is preselt: crn class=indexterm"nname="500546441">ona> c/pucpre class=programlistior"u applicatill/octet-stream c/preucp> This lioe (with no specific auto-typior rule set) makes all files not otherwise auto-typed a member of cin class=parameter">. In cttn class=filename">/etc/cups/mime.convs crn class=indexterm"nname="500546476">ona> This lioe tellsnCUPS to use the cspann class=emphasis">cemuNull Filteronemuc/span> (denoted as “cspann class=quote">cspann class=emphasis">cemu-c/emuc/span>c/span>”, doior nothior at all) on cin class=parameter">, and tag the result as cin class=parameter">. This last one is always a green light to tfe CUPS scheduler to now hand the file over to tfe backend conneciior to the printernand sendior itnover. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Noteonh3ucp>Ediiior the cttn class=filename">mime.convsmime.typescnttu file does not cspann class=emphasis">cemuenforceonemuc/span> “cspann class=quote">cspann class=emphasis">cemurawcnemuc/span>c/span>” printior, itnolly cspann class=emphasis">cemuallowsonemuc/span> it. c/pucnsivucp>Background. cnbu CUPS beior rnmore security-aware printior system than tradiiillal ones does not by default allow one to send deliberaien(possiblynbinary) data to printior deOices. (This could be easily abused to launch a Denial of SerOice attack llnyour printer(s), causior at least tfe loss of a lot of plper and ink...) “cspann class=quote">cspann class=emphasis">cemuUnknowncnemuc/span>c/span>” data are regarded by CUPS as cspann class=emphasis">cemuMIME typec/emuc/span> cspann class=emphasis">cemuapplicatill/octet-streamc/emuc/span>.nWhile you cspann class=emphasis">cemucancnemuc/span> send data “cspann class=quote">cspann class=emphasis">cemurawcnemuc/span>c/span>”, the MIME type for tfese must be one that is known to CUPS and an allowed lle. The file cttn class=filename">/etc/cups/mime.typescnttu defines the “cspann class=quote">cspann class=emphasis">cemurulescnemuc/span>c/span>” of how CUPS recognizes MIME types. The file cttn class=filename">/etc/cups/mime.convscrnname="500546595">ona>PostScript Printer Descriptions (PPDs) for Non-PS Printerscnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500546604">ona> Origioally PPDs were meant to be used for PostScript printers olly. Here, they help to send deOice-specific commands and setiiors to tfe RIP which processes the job file. CUPS has extended this scope for PPDs to coOer non-PostScript printers too. This was not dif#icult, because itnis a standardized file format. In a way itnwas logical too: CUPS handles PostScript and uses a PostScript RIP (Ghostscript) to process the job files. The olly dif#erelce is: a PostScript printernhas the RIP built-in, for other types of printers the Ghostscript RIP runs on tfe host computer. c/pucp> PPDs for a non-PS printernhave a few lioes thatnare unique to CUPS. The most importalt one loofs similar to tfis: crn class=indexterm"nname="500546625">ona> c/pucpre class=programlistior"u * upsFilter: applicatill/vnd. ups-raster 66 rastertoprinter c/preucp> It is the last piece in the CUPS filtering puzzle. This lioe tellsnthe CUPS daemll to use as a last filter cin class=parameter">. This filter sh uld be serOed as input an cin class=parameter"> MIME type file. Therefore, CUPS sh uld auto- onstruct a filtering chain, which deliOers as its last output the specified MIME type. Tfis is then taken as input to tfe specified cin class=parameter"> filter. After this the last filter has done its w.(f (cin class=parameter"> is a Gimp-Print filter), the file sh uld go to tfe backend, which sends it to tfe output deOice. c/pucp> CUPS by default ships olly a few generic PPDs, but they are good for several hundred printer models. You may not be able to control dif#erelt plper trays, or you may get larger margins than your specific model supports. Seencrnhref="# ups-ppds" title="Table 18.1. PPDs shipped with CUPS">PPDs shipped with CUPSona> for summary informaiill. c/pucdivn class=table">crnname=" ups-ppds">ona>cpn class=title">cb>Table 18.1. PPDs shipped with CUPSc/b>c/puctable summary="PPDs shipped with CUPS" border="1">ocolgroup>ocol align="left">ocol align="justify">oncolgroup>othead>PPD filec/th>Printer typec/th>deskjet.ppdc/tductd align="justify">older HP inkjet printers and compaiiblec/tduc/tr>deskjet2.ppdc/tductd align="justify">newer HP inkjet printers and compaiible c/tduc/tr>dymo.ppdc/tductd align="justify">label printers c/tduc/tr>epson9.ppdc/tductd align="justify">Epson 24pin impact printers and compaiible c/tduc/tr>epson24.ppdc/tductd align="justify">Epson 24pin impact printers and compaiible c/tduc/tr>okidata9.ppdc/tductd align="justify">Okidata 9pin impact printers and compaiible c/tduc/tr>okidat24.ppdc/tductd align="justify">Okidata 24pin impact printers and compaiible c/tduc/tr>stcolor.ppdc/tductd align="justify">older Epson Stylus Color printers c/tduc/tr>stcolor2.ppdc/tductd align="justify">newer Epson Stylus Color printers c/tduc/tr>stphoto.ppdc/tductd align="justify">older Epson Stylus Photo printers c/tduc/tr>stphoto2.ppdc/tductd align="justify">newer Epson Stylus Photo printers c/tduc/tr>claerjet.ppdc/tductd align="justify">all PCL printers. Further below is a discussill of several other driOer/PPD-packages suitable for use with CUPS. c/tduc/tr>crnname="500546846">ona>cspann class=emphasis">cemucupsomaiic/foomaiic-ripc/emuc/span> Versus cspann class=emphasis">cemulative CUPSc/emuc/span> Printiorcnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500546860">ona> crn class=indexterm"nname="500546867">ona> Native CUPS rasterizaiill w.(fs in two steps: c/pucdivn class=itemizedlist">
                                                                                              oliucp> First is the cin class=parameter"> step. Itnuses the special CUPS crn class=indexterm"nname="500546888">ona> deOice from ESP Ghostscript 7.05.x as its tool. c/pucnliucliucp> Second comes the cin class=parameter"> step. Itnuses various deOice-specific filters; there are several vendors who provide good quality filters for this step. Some are freensoftware, some are shareware/non-freenand some are proprietary.c/pucnliuc/ulucnsivucp> Often this produces better quality (and has several more advaltages) than other methods. c/pucpu c/pucdivn class=figure">crnname="cupsomaiic-dia">ona>cpn class=title">cb>Figure 18.10. cupsomaiic/foomaiic Processior versus Native CUPS.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/10small.png" width="270" alt="cupsomaiic/foomaiic Processior versus Native CUPS."ucnsivucnsivucp> c/pucp> One other method is the cin class=parameter"> way. Note thatncin class=parameter"> is cspann class=emphasis">cemunotcnemuc/span> made by the CUPS deOelopers. Itnis an independelt contributill to printior deOelopmelt, made by people from Linuxprintior.org [crnname="500546986"nhref="#ftn.500546986">5ona>]c/sup>. cin class=parameter"> is no longer deOeloped and maintained and is no longer supported. Itnhas now been replaced by cin class=parameter">. cin class=parameter"> is a complete re-write of the oldncin class=parameter"> idea, but very much improved and generalized to other (non-CUPS) spoolers. An upgrade to foomaiic-rip is strongly advised,nespecially if you are upgradior to a recelt versill of CUPS, too. c/pucpu crn class=indexterm"nname="500547027">ona> crn class=indexterm"nname="500547034">ona> Both the cin class=parameter"> (old) and the cin class=parameter"> (new) methods from Linuxprintior.org use the tradiiillal Ghostscript print file processior, doior everytfior in rnsiorle step. Itntherefore relies on all the other deOices built into Ghostscript. The quality is as good (or bad) as Ghostscript renderior is in other spoolers. The advaltage is thatnthis method supports many printer models not supported (yet) by the more modern CUPS method. c/pucpu Of course, you can use botf methods side by side on one system (and even for onenprinter, if you set up dif#erelt queues) and find out which w.(fs best for you. c/pucpu cin class=parameter"> kidnaps the printfile after the cin class=parameter"> stage and deOiates it tfrough the CUPS-exterlal, system-wide Ghostscript installatill. Therefore the printfile byplases the cin class=parameter"> filter (and also byplases the CUPS-raster-driOers cin class=parameter">). After Ghostscript finished its rasterizaiill, cin class=parameter"> hands the rendered file directly to tfe CUPS backend. The flowchart inncrnhref="# upsomaiic-dia" title="Figure 18.10. cupsomaiic/foomaiic Processior versus Native CUPS."ucupsomaiic/foomaiic processior versus Native CUPSona> illustrates the dif#erelce between lative CUPS renderior and the cin class=parameter"> method. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547123">ona>Examples for Filtering Chainscnh3ucnsivucnsivucsivucnsivucnsivucp> Here are a few examplesnof commolly occurrior filtering chains to illustrate the w.(fiors of CUPS. c/pucpu Assume you want to print a PDF file to an HP JetDirect-connecied PostScript printer, but you want to print the plges 3-5, 7, 11-13 olly, and you want to print them “cspann class=quote">cspann class=emphasis">cemutwo-upc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemuduplexc/emuc/span>c/span>”: c/pucdivn class=itemizedlist">
                                                                                                oliucp>Your print optills (plge seleciill as required, two-up, duplex) are plased to CUPS on tfe command lioe.c/pucnliucliucp>The (complete) PDF file is selt to CUPS and auto-typed as cin class=parameter">.c/pucnliucliucp>The file therefore must first plas the cin class=parameter"> pre-filter, which produces PostScript MIME type cin class=parameter"> (a preOiew here would still show all plges of tfe origioal PDF).c/pucnliucliucp>The file then plases the cin class=parameter"> filter thatnapplies tfe command lioe optills: itnselecis the plges 2-5, 7 and 11-13, creates an imposed layout “cspann class=quote">cspann class=emphasis">cemu2 plges on 1 sheetc/emuc/span>c/span>” and inserts the correct “cspann class=quote">cspann class=emphasis">cemuduplexc/emuc/span>c/span>” command (as defined in the printer's PPD) into tfe new PostScript file; the file is now of PostScript MIME type cin class=parameter">.c/pucnliucliucp>The file goes to the cin class=parameter"> backend, which transfers the job to the printers.c/pucnliuc/ulucnsivucp> Tfe resultior filter chain, therefore, is as drawn inncrnhref="#pdftosocket" title="Figure 18.11. PDF to socket chain."uPDF to socket chainona>. c/pucdivn class=figure">crnname="pdftosocket">ona>cpn class=title">cb>Figure 18.11. PDF to socket chain.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/pdftosocket.png" width="270" alt="PDF to socket chain."ucnsivucnsivucp> c/pucp> Assume you want to print the same filter to an USB-connecied Epson Stylus Photo printer installed with tfenCUPS cttn class=filename">stphoto2.ppdc/tt>. The first few filtering stages are nearly the same: c/pucdivn class=itemizedlist">
                                                                                                  oliucp>Your print optills (plge seleciill as required, two-up, duplex) are plased to CUPS on tfe command-lioe.c/pucnliucliucp>The (complete) PDF file is selt to CUPS and auto-typed as cin class=parameter">.c/pucnliucliucp>The file must first plas the cin class=parameter"> pre-filter, which produces PostScript MIME type cin class=parameter"> (a preOiew here would still show all plges of tfe origioal PDF).c/pucnliucliucp>The file then plases the “cspann class=quote">cspann class=emphasis">cemupstopsonemuc/span>c/span>” filter thatnapplies tfe command-lioe optills: itnselecis the plges 2-5, 7 and 11-13, creates an imposed layout “cspann class=quote">cspann class=emphasis">cemutwo plges on one sheetc/emuc/span>c/span>” and inserts the correct “cspann class=quote">cspann class=emphasis">cemuduplexc/emuc/span>c/span>” command... (Oops this printernand PPD do not support duplex printior at all so this opiillnwill be ignored) into tfe new PostScript file; the file is now of PostScript MIME type cin class=parameter">.c/pucnliucliucp>The file then plases the cin class=parameter"> stage and becomes MIME type cin class=parameter">.c/pucnliucliucp>Fioally, the cin class=parameter"> filter does its w.(f (as indicated in the printer's PPD), creatior the printer-specific raster data and embeddior any user-selecied print-optills into tfe print data stream.c/pucnliucliucp>The file goes to the cin class=parameter"> backend, which transfers the job to the printers.c/pucnliuc/ulucnsivucp> Tfe resultior filter chain therefore is as drawn inncrnhref="#pdftoepsonusb" title="Figure 18.12. PDF to USB chain."uthis figureona>. c/pucdivn class=figure">crnname="pdftoepsonusb">ona>cpn class=title">cb>Figure 18.12. PDF to USB chain.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/pdftoepsonusb.png" width="270" alt="PDF to USB chain."ucnsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547475">ona>Sources of CUPS DriOers/PPDscnh3ucnsivucnsivucsivucnsivucnsivucp> On the Internet you can now find many thousands of CUPS-PPD files (with tfeir companill filters), in many natillal languages supportior more than thousand non-PostScript models. c/pucdivn class=itemizedlist">ona>crn class=indexterm"nname="500547498">ona>cul type="disc">oliucp>crnhref="http://wwwl.easysw.com/printpro/" target="_top">ESP PrintProona> (commercial, non-free) is packaged with more than threenthousand PPDs, ready for successfulnuse “cspann class=quote">cspann class=emphasis">cemuout of tfe boxcnemuc/span>c/span>” on Linux, Mac OS X, IBM-AIX, HP-UX, Sun-Solaris, SGI-IRIX, Compaq Tru64, Digital UNIX, and some more commercial Unices (itnis written by tfe CUPS deOelopers themselves and its salesnhelp fioalce the further deOelopmelt of CUPS, as they feed tfeir creators).c/pucnliucliucp>The crnhref="http://gimp-print.sourceforge.net/" target="_top">Gimp-Print-Project ona> (GPL, freensoftware) provides around 140 PPDs (supportior nearly 400 printers, many driOen to photo quality output), to be used alongside the Gimp-PrintnCUPS filters.c/pucnliucliucp>crnhref="http://www.turboprint.com/" target="_top">TurboPrint ona> (shareware, non-free) supports roughly the same amount of printers in excellent quality.c/pucnliucliucp>crnhref="http://www-124.ibm.com/deOeloperw.(fs/ossnlinux/projects/omni/" target="_top">OMNI ona> (LPGL, free) is a package made by IBM, now containing support for more than 400 printers, stemmior from tfe inferitalce of IBM OS/2 Know-How ported oOer to Linux (CUPS support is in a beta-stage at preselt).c/pucnliucliucp>crnhref="http://hpinkjet.sourceforge.net/" target="_top">HPIJS ona> (BSD-style licenses, free) supports around 150 of HP's own printers and is also providior excellent printnquality now (curreltly available olly via the Foomaiic path).c/pucnliucliucp>crnhref="http://www.linuxprintior.org/" target="_top">Foomaiic/cupsomaiic ona> (LPGL, free) from Linuxprintior.org are providior PPDs for praciically every Ghostscript filter known to the w.(ld (includior Omni, Gimp-Printnand HPIJS).c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547593">ona>Printior with Interface Scriptsc/h3ucnsivucnsivucsivucnsivucnsivucp> CUPS also supports the uslge of “cspann class=quote">cspann class=emphasis">cemuinterface scriptsc/emuc/span>c/span>” as known from System V AT&T printior systems. These are often used for PCL printers, from applicatills thatngenerate PCL print jobs. Interface scripts are specific to printer models. They have a similar role as PPDs for PostScript printers. Interface scripts may inject the Escape sequelces as required into tfe print data stream, if the user has chosen to seleci a certain paper tray, or print landscape, or use A3 paper, etc. Interfaces scripts are praciically unknown in the Linux realm. Oo HP-UX platforms they are more often used. You can use any w.(fior interface script ll CUPS too. Just install the printernwith the cspan>cbn class=command">-ic/buc/span> optill: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> Interface scripts might be the “cspann class=quote">cspann class=emphasis">cemuunknown animalc/emuc/span>c/span>” to many. However, with CUPS they provide the easiest way to plug in your own custom-written filtering script lr program into one specific print queue (some informaiill about tfe tradiiillal uslge of interface scripts is to be found at crnhref="http://playground.sun.com/printing/documeltatill/interface.html" target="_top">http://playground.sun.com/printing/documeltatill/interface.htmlona>). c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500547675">ona>Netw.(f Printior (Purely Wind ss)c/h2ucnsivucnsivucsivucnsivucnsivucp> Netw.(f printing coOers a lot of ground. To understand whatnexactly goes llnwith Scltn when itnis printior on behalf of its Wind ss clielts, let's first loof at a “cspann class=quote">cspann class=emphasis">cemupurely Wind ssc/emuc/span>c/span>” setup: Wind ss clielts with rnWind ss NT print serOer. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547693">ona>From Wind ss Clielts to an NT PrintnSerOerc/h3ucnsivucnsivucsivucnsivucnsivucp> Wind ss clielts printior to an NT-based print serOer have two optills. They may: crn class=indexterm"nname="500547703">ona> crn class=indexterm"nname="500547710">ona> c/pucdivn class=itemizedlist">
                                                                                                    oliucp>Execute the driOer locally and render the GDI output (EMF) into tfe printer-specific format on tfeir own. c/pucnliucliucp>Send the GDI output (EMF) to tfe serOer, where tfe driOer is executed to render the printer specific output.c/pucnliuc/ulucnsivucp> Both print paths are shown in the flowchartsncrnhref="#small11" title="Figure 18.13. PrintndriOer executill on tfe clielt.">PrintndriOer executill on tfe clieltona> and crnhref="#small12" title="Figure 18.14. PrintndriOer executill on tfe serOer.">PrintndriOer executill on tfe serOerona>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547755">ona>DriOer Executill on tfe Clieltonh3ucnsivucnsivucsivucnsivucnsivucp> In the first case tfe print serOer must spool the file as raw, meanior itnsh uldn'tntouch the jobfile and try to conOert it innany way. Tfis is whatna tradiiillal UNIX-based print serOer can do too, and atna better performalce and more reliably than an NT print serOer. Tfis is whatnmost Scltn administrators probably are familiarnwith. Ooe advaltage of this setup is thatnthis “cspann class=quote">cspann class=emphasis">cemuspoolior-ollyc/emuc/span>c/span>” printnserOer may be used even if nondriOer(s) for UNIX are available itnis sufficielt to have the Wind ss clieltndriOers available; and installed on tfe clielts. c/pucpu c/pucdivn class=figure">crnname="small11">ona>cpn class=title">cb>Figure 18.13. PrintndriOer executill on tfe clielt.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/11small.png" width="270" alt="PrintndriOer executill on tfe clielt.">cnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547824">ona>DriOer Executill on tfe SerOerc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500547832">ona> crn class=indexterm"nname="500547839">ona> crn class=indexterm"nname="500547846">ona> crn class=indexterm"nname="500547852">ona> crn class=indexterm"nname="500547859">ona> The other path executes the printer driOer on tfe serOer. The clielt transfers print files in EMF format to tfe serOer. The serOer uses the PostScript, PCL, ESC/P or other driOer to conOert the EMF file into the printer-specific language. Itnis not possible for UNIX to do the same. Curreltly, there is no program or method to conOert a Wind ss clielt's GDI output ll a UNIX serOer into sometfior rnprinter could understand. c/pucpu c/pucdivn class=figure">crnname="small12">ona>cpn class=title">cb>Figure 18.14. PrintndriOer executill on tfe serOer.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/12small.png" width="270" alt="PrintndriOer executill on tfe serOer.">cnsivucnsivucp> c/pucp> However, there is sometfior similar possible with CUPS. Read on. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500547926">ona>Netw.(f Printior (Wind ss Clielts UNIX/Scltn Print SerOers)c/h2ucnsivucnsivucsivucnsivucnsivucp> Silce UNIX printnserOers cspann class=emphasis">cemucannotcnemuc/span> execute the Win32 program code on their platform,nthe picture is somewhat dif#erelt. However, this does not limit your optills all that much. On tfe contrary, you may have a way here to implement printior features thatnare not possible otherwise. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500547947">ona>From Wind ss Clielts to a CUPS/Scltn Print SerOerc/h3ucnsivucnsivucsivucnsivucnsivucp> Here is a simple recipe showior how you can take advaltage of CUPS' powerfulnfeatures for tfe benefit of your Wind ss netw.(f printing clielts: c/pucdivn class=itemizedlist">
                                                                                                      oliucp>Let the Wind ss clielts send PostScript to tfe CUPS serOer.c/pucnliucliucp>Let the CUPS serOer render the PostScript into deOice-specific raster format.c/pucnliuc/ulucnsivucp> Tfis requires tfe clielts to use a PostScript driOer (even if the printer is a non-PostScript model. Itnalso requires tfat you have a driOer on tfe CUPS serOer. c/pucpu First, to enable CUPS-based printior through Scltn the followior optills sh uld be set in your cttn class=filename">smb.confcnttu file [global] seciill: c/puctable class=simplelist" border="0" summary="Simple list">crn class=indexterm"nname="500547996">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548012">ona>cin class=parameter">cntduc/tr> Whel these parameters are specified, all malually set print directiOes (like crn class=indexterm"nname="500548031">ona>print command, or crn class=indexterm"nname="500548038">ona>lppause command) inncttn class=filename">smb.confcnttu (as wellnas in Scltn itself) will be ignored. Instead, Scltn will directly interface with CUPS through its applicatill program interface (API), as loor rs Scltn has been compiled with CUPS library (lib ups) support. If Scltn has not been compiled with CUPS support, and if no other print commands are set up, then printior will use the cspann class=emphasis">cemuSystem Vcnemuc/span> AT&T command set, with tfen-oraw optill automaiically plasior through (ifnyou want your own defined print commands to w.(f with rnScltn thatnhas CUPS support compiled in, simply use crn class=indexterm"nname="500548067">ona>printior = sysv). c/pucpu c/pucdivn class=figure">crnname="13small">ona>cpn class=title">cb>Figure 18.15. Printior via CUPS/Scltn serOer.c/b>c/pucdivn class=mediaobject">cimg src="5mlges/13small.png" width="270" alt="Printior via CUPS/Scltn serOer.">cnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548122">ona>Scltn Receivior Job-files and Plasior Them to CUPSc/h3ucnsivucnsivucsivucnsivucnsivucp> Scltn cspann class=emphasis">cemumustcnemuc/span> use its own spool directory (itnis set by a lioe similar to crn class=indexterm"nname="500548135">ona>path = /var/spool/scltn, in the cin class=parameter"> or cin class=parameter"> seciill of cttn class=filename">smb.confcnttu).nScltn receives the job in its own spool space and plases it into tfe spool directory of CUPS (tfe CUPS spoolior directory is set by tfe cin class=parameter"> directiOe, in a lioe thatndefaults to cin class=parameter">). CUPS checks the access rights of its spool dir and resets it to healthy values with every restart. We have seen quite a few people who had used a commol spoolior space for Scltn and CUPS, and were strugglior for weeks with tfis “cspann class=quote">cspann class=emphasis">cemuproblem.onemuc/span>c/span>” c/pucp> A Wind ss user authenticates olly to Scltn (by whateOer means is configured). If Scltn runs on tfe same host as CUPS, you olly need to allow “cspann class=quote">cspann class=emphasis">cemulocalhostc/emuc/span>c/span>” to print. If they run on dif#erelt machioes, you need to make sure the Scltn host gets access to printior on CUPS. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500548200">ona>Netw.(f PostScript RIPc/h2ucnsivucnsivucsivucnsivucnsivucp> This seciill discusses the use of CUPS filters on tfe serOer configuraiill where clielts make use of a PostScript driOer with CUPS-PPDs. c/pucpu crn class=indexterm"nname="500548217">ona> crn class=indexterm"nname="500548223">ona> crn class=indexterm"nname="500548230">ona> PPDs can control all print deOice optills. They are usually provided by the malufacturer, if you own a PostScript printer, that is. PPD files (PostScript Printer Descriptions) are always a componelt of PostScript printerndriOers ll MS Wind ss or Apple Mac OS systems. They are ASCII files containing user-seleciable print optills, mapped to appropriate PostScript, PCL or PJL commands for tfe target printer. Printer driOer GUI dialogs translate these optills “cspann class=quote">cspann class=emphasis">cemuon-the-flyc/emuc/span>c/span>” into buttlls and drop-down lists for tfe user to seleci. c/pucp> CUPS can load, without any conOersills,nthe PPD file from any Wind ss (NT is recommended) PostScript driOer and handle tfe optills. There is a Web br sser interface to tfe print optills (seleci crnhref="http://localhost:631/printers/" target="_top">http://localhost:631/printers/ona> and click on one cspann class=guibuttll">Configure Printerc/span> buttll to see it), or a command lioe interface (see cspan>cbn class=command">man lpoptillsc/buc/span> or see if you have cspan>cbn class=command">lphelpc/buc/span> on your system). There are also some dif#erelt GUI front-ends on Linux/UNIX, which can preselt PPD optills to users. PPD optills are normally meant to be evaluated by the PostScript RIP on tfe real PostScript printer. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548287">ona>PPDs for Non-PS Printers on UNIXc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500548295">ona> CUPS does not limit itself to “cspann class=quote">cspann class=emphasis">cemurealc/emuc/span>c/span>” PostScript printers in its uslge of PPDs. The CUPS deOelopers have extended the scope of tfe PPD concept to also describe available deOice and driOer optills for non-PostScript printers through CUPS-PPDs. c/pucpu Tfis is logical, as CUPS includes a fully featured PostScript interpreter (RIP). Tfis RIP is based on Ghostscript. It can process all received PostScript (and addiiillally many other file formats) from clielts. All CUPS-PPDs geared to non-PostScript printers contain an addiiillal lioe, startior with tfe keyw.(d cin class=parameter">. This lioe tellsnthe CUPS print system which printer-specific filter to use for tfe interpretaiill of the supplied PostScript. Thus CUPS lets all its printers appear as PostScript deOices to its clielts, because itncan act as a PostScript RIP for tfose printers, processior tfe received PostScript code into a proper raster print format. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548333">ona>PPDs for Non-PS Printers on Wind ssc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500548341">ona> CUPS-PPDs can also be used on Wind ss-Clielts, ll top of a “cspann class=quote">cspann class=emphasis">cemucorec/emuc/span>c/span>” PostScript driOer (now recommended is the "CUPS PostScript DriOer for Wind ss NT/200x/XP"; you can also use the Adobe one, with limitatills). Tfis feature enablesnCUPS to do a few tricks no other spooler can do: c/pucdivn class=itemizedlist">
                                                                                                        oliucp>Act as a netw.(fed PostScript RIP (Raster Imlge Processor), handling print files from all clieltnplatforms in a uniform way.c/pucnliucliucp>Act as a celtral accountior and billior serOer, silce all files are plased tfrough the pstops filter and are, therefore, logged in the CUPS cttn class=filename">plge_logcnttu file. cspann class=emphasis">cemuNote:cnemuc/span> tfis cannot happelnwith “cspann class=quote">cspann class=emphasis">cemurawcnemuc/span>c/span>” print jobs, which always remain unfiltered per definitill.c/pucnliucliucp>Enable cielts to onsolidate ll a siorle PostScript driOer, even for many dif#erelt target printers.c/pucnliuc/ulucnsivucp> Usior CUPS PPDs on Wind ss cielts enablesntfese to control all print job setiiors just as a UNIX clieltncan do. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500548403">ona>Wind ss Termioal SerOers (WTS) as CUPS Clieltsc/h2ucnsivucnsivucsivucnsivucnsivucp> This setup may be of special interest to people experielcior major problems in WTS environmelts. WTS often need a multitude of non-PostScript driOers installed to run their cielts' variety of dif#erelt printer models. This often imposes the price of much increased instability. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548418">ona>Printer DriOers Runnior in “cspann class=quote">cspann class=emphasis">cemuKernel Modecnemuc/span>c/span>” Cause Many Problemsc/h3ucnsivucnsivucsivucnsivucnsivucp> InnWind ss NT printerndriOers which run in “cspann class=quote">cspann class=emphasis">cemuKernel Modecnemuc/span>c/span>”, introduces a high risk for tfe stability of tfe system if the driOer is not really siable and well-tested. And there are a lot of badndriOers lutnthere! Especially notorious is the example of the PCL printer driOer thatnhad an addiiillal sound module runnior, to notify users via sound-card of tfeir finished jobs. Do I need to say thatnthis one was also reliably causior “cspann class=quote">cspann class=emphasis">cemublue screens of deathcnemuc/span>c/span>” on n regular basis? c/pucp> PostScript driOers are generally wellntested. They are not known to cause any problems, even though they also run in kernel mode. Tfis might be because there have been so far olly two dif#erelt PostScript driOers: tfe ones from Adobe and the one from Microsoft. Both are wellntested and are as siable as you can 5mlgioe on Wind ss. The CUPS driOer is derived from tfe Microsoft lle. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548460">ona>W.(farounds Impose Heavy Limitatillsonh3ucnsivucnsivucsivucnsivucnsivucp> In many cases, in an attempt to w.(f around this problem, site administrators have resorted to restriciior the allowed driOers installed on their WTS to one generic PCL and one PostScript driOer. Tfis, however, restricis tfe clielts in the number of printer optills available for tfem. Often they can'tnget lutnmore than simplex prints from one standard paper tray, while their deOices could do much better, if driOen by a dif#erelt driOer! c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548478">ona>CUPS: A “cspann class=quote">cspann class=emphasis">cemuMagical Stonecnemuc/span>c/span>”?c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500548490">ona> crn class=indexterm"nname="500548496">ona> Usior a PostScript driOer, enabled with rnCUPS-PPD, seems to be a very elegant way to oOercome all these shortcomiors. There are, depending on tfe versill of Wind ss OS you use, up to tfreendif#erelt PostScript driOers available: Adobe, Microsoft and CUPS PostScript driOers. None of them is known to cause major stability problems on WTS (even if used with many dif#erelt PPDs). The clielts will be able to (again) chose plper trays, duplex printior and other setiiors. However, there is a certain price for this too: a CUPS serOer aciior as a PostScript RIP for its clielts requires more CPU and RAM than when just aciior as a “cspann class=quote">cspann class=emphasis">cemuraw spooliorcnemuc/span>c/span>” deOice. Plus, this setup is not yet widely tested, although the first feedbacks loof very promisior. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548523">ona>PostScript DriOers with No Major Problems Even in Kernel Modecnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500548534">ona> More recelt printer driOers ll W200x and XP no longer run in kernel mode (unlike Wind ss NT). However, botf operatior systems can still use the NT driOers, runnior in kernel mode (you can roughly tellnwhich is which as the driOers in subdirectory “cspann class=quote">cspann class=emphasis">cemu2cnemuc/span>c/span>” of “cspann class=quote">cspann class=emphasis">cemuW32X86c/emuc/span>c/span>” are “cspann class=quote">cspann class=emphasis">cemuoldonemuc/span>c/span>” ones). As was said before, the Adobe as wellnas tfe Microsoft PostScript driOers are not known to cause any stability problems. The CUPS driOer is derived from tfe Microsoft lle. There is a simple reason for this: The MS DDK (DeOice DeOelopmelt Kit) for Wind ss NT (which used to be available atnno cost to licensees of Visual Studio) includes tfe source code of tfe Microsoft driOer, and licensees of Visual Studio are allowed to use and modify it for tfeir own driOer deOelopmelt efforts. Tfis is whatnthe CUPS people have dlle. The license does not allow them to publish the whole of tfe source code. However, they have released the “cspann class=quote">cspann class=emphasis">cemudif#c/emuc/span>c/span>” under the GPL, and if you are the owner of an “cspann class=quote">cspann class=emphasis">cemuMS DDK for Wind ss NT,c/emuc/span>c/span>” you can check the driOer yourself. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500548584">ona>Configurior CUPS for DriOer Downloadc/h2ucnsivucnsivucsivucnsivucnsivucp> As we have said before, all preOiously known methods to preplre clielt printer driOers ll the Scltn serOer for download and Point'n'Print conOenielce of Wind ss w.(fstatills are w.(fior with CUPS, too. These methods were described in the preOious chapter. In reality, this is a pure Scltn busioess and only relates to the Scltn/Wind ss cielt relatillship. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548600">ona>cspann class=emphasis">cemucupsaddsmbc/emuc/span>: The Unknown Utilitycnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500548610">ona> The cspan>cbn class=command">cupsaddsmbc/buc/span> utility (shipped with rll currelt CUPS Oersills) is an alternate method to transfer printer driOers into tfe Scltn cin class=parameter"> share. Remember, this share is where clielts expect driOers deposited and setup for download and installatill. It makes tfe sharior of any (or all) installed CUPS printers quite easy. cspan>cbn class=command">cupsaddsmbc/buc/span> can use the Adobe PostScript driOer as wellnas tfe newly deOeloped CUPS PostScript DriOer for Wind ss NT/200x/XP. cin class=parameter"> does cspann class=emphasis">cemunotcnemuc/span> w.(f with rrbitrary vendor printer driOers, but llly with tfe cspann class=emphasis">cemuexactcnemuc/span> driOer files thatnare named in its man plge. c/pucpu Tfe CUPS printer driOer is available from tfe CUPS download site. Its package name is cttn class=filename"> ups-scltn-[Oersill].tar.gzcnttu . It is preferred oOer the Adobe driOers silce it has a number of advaltages: c/pucdivn class=itemizedlist">
                                                                                                          oliucp>It supports a much more accurate plge accountior.c/pucnliucliucp>It supports banner pages, and plge labels on nll printers.c/pucnliucliucp>It supports tfe settior of a number of job IPP attributes (such as job-priority, plge-label and job-billior).c/pucnliuc/ulucnsivucp> However, curreltly llly Wind ss NT, 2000 and XP are supported by the CUPS driOers. You will also need to get the respective part of Adobe driOer if you need to support Wind ss 95, 98 and ME clielts. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500548697">ona>Preplre Your cttn class=filename">smb.confcnttu for cspan>cbn class=command">cupsaddsmbc/buc/span>cnh3ucnsivucnsivucsivucnsivucnsivucp> Prior to runnior cspan>cbn class=command">cupsaddsmbc/buc/span>, you need tfe settiors in cttn class=filename">smb.confcnttu as shown in crnhref="# upsadd-ex" title="Example 18.3. smb.conf for cupsaddsmb uslge"uthe next exampleona>: c/pucdivn class=example">crnname="cupsadd-ex">ona>cpn class=title">cb>Example 18.3. smb.conf for cupsaddsmb uslgec/b>c/puctable class=simplelist" border="0" summary="Simple list"> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548760">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548776">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548792">ona>cin class=parameter">cntduc/tr> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548816">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548832">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548848">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548864">ona>cin class=parameter">cntduc/tr># settior depends on your requiremeltsc/tduc/tr>crn class=indexterm"nname="500548887">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548902">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548917">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548933">ona>cin class=parameter">cntduc/tr> cntduc/tr>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548958">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548973">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500548989">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500549005">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500549020">ona>cin class=parameter">cntduc/tr>crn class=indexterm"nname="500549036">ona>cin class=parameter">cntduc/tr>crnname="500549053">ona>CUPS “cspann class=quote">cspann class=emphasis">cemuPostScript DriOer for Wind ss NT/200x/XPc/emuc/span>c/span>”cnh3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500549064">ona> CUPS users may get the exact same packages from crnhref="http://www. ups.org/software.html" target="_top">http://www. ups.org/software.htmlona>. Itnis n separate package from tfe CUPS basensoftware files, tagged as CUPS 1.1.x Wind ss NT/200x/XP Printer DriOer for Scltn (tar.gz, 192k). The filename to download is cttn class=filename"> ups-scltn-1.1.x.tar.gzcnttu. Upon untar and unzippior, it will reveal these files: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> crn class=indexterm"nname="500549111">ona> crn class=indexterm"nname="500549120">ona> These have been packaged with the ESP meta packagernsoftware EPM. The cttn class=filename">*.installcnttu and cttn class=filename">*.removecnttu files are simple shellnscripts, which untars the cttn class=filename">*.sscnttu (the cttn class=filename">*.sscnttu is notfior else but a tar-archiOe, which can be untarred by “cspann class=quote">cspann class=emphasis">cemutaronemuc/span>c/span>” too). Then itnputs tfe content into cttn class=filename">/usr/share/ ups/driOers/c/tt>. This content includes tfree files: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> Tfe cin class=parameter"> shellnscripts are easy to handle: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> Tfe script sh uld automaiically put tfe driOer files into tfe cttn class=filename">/usr/share/ ups/driOers/c/tt> directory. c/pucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorcnh3ucp> Due to a bug, one recelt CUPS releasenputs tfe cttn class=filename"> ups.hlpc/tt> driOer file intocttn class=filename">/usr/share/driOers/c/tt> instead of cttn class=filename">/usr/share/ ups/driOers/c/tt>. To w.(f around this, copy/move the file (after runnior the cspan>cbn class=command">./ ups-scltn.installonbuc/span> script) malually to tfe correct place. c/pucnsivucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> crn class=indexterm"nname="500549280">ona> This new CUPS PostScript driOer is curreltly binary-olly, but freenof charge. No complete source code is provided (yet). The reason is that it has been deOeloped with the help of tfe Microsoft DriOer DeOeloper Kit (DDK) and compiled with Microsoft Visual Studio 6. DriOer deOelopers are not allowed to distribute the whole of tfe source code as freensoftware. However, CUPS deOelopers released the “cspann class=quote">cspann class=emphasis">cemudif#c/emuc/span>c/span>” in source code under the GPL, so anybody with rnlicense of Visual Studio and a DDK will be able to compile for him/herself. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549302">ona>Recognizior Dif#erelt DriOer Filescnh3ucnsivucnsivucsivucnsivucnsivucp> The CUPS driOers do not support the older Wind ss 95/98/Me, but olly the Wind ss NT/2000/XP clielt. c/pucpuWind ss NT, 2000 and XP are supported by:c/pucpu c/pucdivn class=itemizedlist">
                                                                                                            oliu ups.hlpc/liucliu upsdrvr.dllc/liucliu upsui.dllcnliuc/ulucnsivucp> c/pucp> Adobe driOers are available for tfe older Wind ss 95/98/Me as wellnas the Wind ss NT/2000/XP clielts. The set of files is dif#erelt from tfe dif#erelt platforms. c/pucpuWind ss 95, 98 and ME are supported by:c/pucpu c/pucdivn class=itemizedlist">
                                                                                                              oliuADFONTS.MFMc/liucliuADOBEPS4.DRVc/liucliuADOBEPS4.HLPc/liucliuDEFPRTR2.PPDc/liucliuICONLIB.DLLc/liucliuPSMON.DLLc/liuc/ulucnsivucp> c/pucp>Wind ss NT, 2000 and XP are supported by:c/pucpu c/pucdivn class=itemizedlist">
                                                                                                                oliuADOBEPS5.DLLc/liucliuADOBEPSU.DLLc/liucliuADOBEPSU.HLPc/liuc/ulucnsivucp> c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> If botf the Adobe driOer files and the CUPS driOer files for tfe support of Wind ss NT/200x/XP are preselt in FIXME, the Adobe ones will be ignored and the CUPS ones will be used. If you prefer for whateOer reason to use Adobe-olly driOers, move away tfe tfreenCUPS driOer files. The Wind ss 9x/Me clielts use the Adobe driOers in any case. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549410">ona>Acquirior the Adobe DriOer Filescnh3ucnsivucnsivucsivucnsivucnsivucp> Acquirior the Adobe driOer files seems to be unexpectedly dif#icult for many users. They are not available ol the Adobe Web site as siorle files and the self-extraciior and/or self-installior Wind ss-.exe is not easy to locate either. Probably you need to use the included native installer and run the installatill process on one cielt once. This will install the driOers (and one Generic PostScript printer) locally on tfe clielt. Whel they are installed, share tfe Generic PostScript printer. After this, tfe clielt's cin class=parameter"> share holds the Adobe files, from where you can get them with smbclieltnfrom tfe CUPS host. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549436">ona>ESP Print Pro PostScript DriOer for Wind ss NT/200x/XPc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500549445">ona> Users lf the ESP Print Pro software are able to install their Scltn driOers package for this purpose with no problem. Retrieve the driOer files from the normal download area lf the ESP Print Pro software at crnhref="http://www.easysw.com/software.html" target="_top">http://www.easysw.com/software.htmlona>. You need to locate the liok labeled “cspann class=quote">cspann class=emphasis">cemuSAMBAc/emuc/span>c/span>” amoor the cspann class=guilabel">Download Printer DriOers for ESP Print Pro 4.xc/span> area and download the package. Once installed, you can preplre any driOer by simply highlightior the printer in tfe Printer ManagernGUI and seleci cspann class=guilabel">Export DriOer...c/span> from the menu. Of course you need to have preplred Scltn beforehand to handle tfe driOer files; i.e., setup the cin class=parameter"> share, and so on. The ESP Print Pro package includes tfe CUPS driOer files as wellnas a (licensed) set of Adobe driOers for tfe Wind ss 95/98/Me clieltnfamily. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549497">ona>Caveats to be Consideredc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500549505">ona> Once you have run the install script (and possibly malually moved the cttn class=filename"> ups.hlpc/tt> file to cttn class=filename">/usr/share/ ups/driOers/c/tt>), the driOer is ready to be put into Scltn's cin class=parameter"> share (which often maps to cttn class=filename">/etc/scltn/driOers/cnttu and contains n subdirectory treenwith cspann class=emphasis">cemuWIN40cnemuc/span> and cspann class=emphasis">cemuW32X86c/emuc/span> branches). You do this by runnior cspan>cbn class=command">cupsaddsmbc/buc/span> (see also cspan>cbn class=command">man cupsaddsmbc/buc/span> for CUPS silce releasen1.1.16). c/pucdivn class=tip" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Tipcnh3ucp> crn class=indexterm"nname="500549564">ona> You may need to put root into tfe smbplaswd file by runnior cspan>cbn class=command">smbplaswdc/buc/span>; this is especially important if you sh uld run this whole procedure for tfe first time, and are not w.(fior in an environmelt where everytfior is configured for cspann class=emphasis">cemusiorle sign oncnemuc/span> to rnWind ss Domain Controller. c/pucnsivucp> Once tfe driOer files are in the cin class=parameter"> share and are initialized, they are ready to be downloaded and installed by the Wind ss NT/200x/XP clielts. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> Win 9x/Me clielts will not w.(f with tfe CUPS PostScript driOer. For these you still need to use the cttn class=filename">ADOBE*.*onttu driOers as preOiously stated. c/pucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> Itnis not harmfulnif you still have the cttn class=filename">ADOBE*.*onttu driOer files from preOious installatills in the cttn class=filename">/usr/share/ ups/driOers/c/tt> directory. The new cspan>cbn class=command">cupsaddsmbc/buc/span> (from 1.1.16) will automaiically prefer its own driOers if it finds botf. c/pucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> crn class=indexterm"nname="500549639">ona> Sh uld your Wind ss clielts have had the old cttn class=filename">ADOBE*.*onttu files for tfe Adobe PostScript driOer installed, tfe download and installatill lf the new CUPS PostScript driOer for Wind ss NT/200x/XP will fail atnfirst. You need to wipe the old driOer from the clielts first. Itnis not enough to “cspann class=quote">cspann class=emphasis">cemudeletec/emuc/span>c/span>” the printer, as the driOer files will still be kept by tfe clielts and re-used if you try to re-install the printer. To really get rid of tfe Adobe driOer files on tfe clielts, open tfe cspann class=guilabel">Printersonspan> folder (possibly via cspann class=guilabel">Start > Settiors > Control Panel > Printersonspan>), right-click on tfe folder background and seleci cspann class=guimenuitem">SerOer Propertiesonspan>. Whel the new dialog opens, seleci the cspann class=guilabel">DriOersonspan> tab. On tfe list seleci the driOer you want to delete and click tfe cspann class=guilabel">Deletec/span> buttll. This will llly w.(f if there is not one siorle printer left thatnuses thatnparticular driOer. You need to “cspann class=quote">cspann class=emphasis">cemudeletec/emuc/span>c/span>” all printers usior tfis driOer in tfe cspann class=guilabel">Printersonspan> folder first. You will need Administrator privileges to do this. c/pucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> crn class=indexterm"nname="500549716">ona> Once you have successfully downloaded tfe CUPS PostScript driOer to r clielt, you can easily switch all printers to tfis one by proceeding as described in crnhref="#printior" title="Chapter 17. Cclasical Printior Support">Cclasical Printior Supportona>. Either change a driOer for an existing printer by runnior the cspann class=guilabel">Printer Propertiesonspan> dialog, or use cspan>cbn class=command">rpcclieltc/buc/span> with tfe cspan>cbn class=command">setdriOeronbuc/span> subcommand. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549757">ona>Wind ss CUPS PostScript DriOer Versus Adobe DriOercnh3ucnsivucnsivucsivucnsivucnsivucp> Are you interested in a comparison between the CUPS and the Adobe PostScript driOers? For our purposesntfese are tfe most important items thatnweigh in favor of tfe CUPS ones: c/pucdivn class=itemizedlist">
                                                                                                                  oliucp>No hassle with tfe Adobe EULA.c/pucnliucliucp>No hassle with tfe questill “cspann class=quote">cspann class=emphasis">cemuWhere do I get the ADOBE*.* driOer files from?c/emuc/span>c/span>”cnpucnliucliucp> crn class=indexterm"nname="500549789">ona> The Adobe driOers (on request of the printer PPD lasociated with tfem) often put a PJL header in front of the main PostScript part of tfe print file. Thus, tfe printfile starts with cin class=parameter"> or cin class=parameter"> instead of cin class=parameter">). This leads to the CUPS daemll auto-typior the incomior file as a print-ready file, not initiaiior a plas tfrough the cin class=parameter"> filter (to speak more technically, it is not regarded as the generic MIME-type crn class=indexterm"nname="500549827">ona> cin class=parameter">, but as the more special MIME type crn class=indexterm"nname="500549841">ona> cin class=parameter">), which therefore also leads to the plge accountior in cin class=parameter"> not receivior the exact number of pages; instead the dummy plge number of “cspann class=quote">cspann class=emphasis">cemu1c/emuc/span>c/span>” is logged in a standard setup).c/pucnliucliucp>The Adobe driOer has more optills to mis-configure the PostScript generated by it (like settior it inadOerteltly to cspann class=guilabel">Optimize for Speedc/span>, instead of cspann class=guilabel">Optimize for Portabilitycnspan>, which could lead to CUPS being unable to process it).c/pucnliucliucp>The CUPS PostScript driOer output selt by Wind ss cielts to the CUPS serOer is guaranteed to auto-type as the generic MIME type cin class=parameter">, thus plasior through the CUPS cin class=parameter"> filter and loggior the correct number of pages in the cttn class=filename">plge_logcnttu for accountior and quota purposes.c/pucnliucliucp>The CUPS PostScript driOer supports tfe sending of addiiillal standard (IPP) print optills by Wind ss NT/200x/XP clielts. Such addiiillal print optills are:nnamior the CUPS standard cspann class=emphasis">cemubanner pagescnemuc/span> (or tfe custom ones, sh uld they be installed atnthe time of driOer download), usior the CUPS plge-label optill, settior a job-priority, and settior the scheduled time of printior (with tfe optill to support addiiillal usefulnIPP job attributes in the future).c/pucnliucliucp>The CUPS PostScript driOer supports tfe inclusill of the new cin class=parameter"> comments atnthe begionior of tfe PostScript file (which c uld be used in the future for all sort of beneficial extensills on tfe CUPS side, but which will not disturb any other applicatills as they will regard it as a comment and simply ignore it).c/pucnliucliucp>The CUPS PostScript driOer will be the heart of tfe fully fledged CUPS IPP clieltnfor Wind ss NT/200x/XP to be released soon (probably alongside tfe first beta releasenfor CUPS 1.2).c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500549955">ona>Run cupsaddsmb (Quiet Mode)c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500549963">ona> crn class=indexterm"nname="500549970">ona> The cspan>cbn class=command">cupsaddsmbc/buc/span> command copies tfe needed files into your cin class=parameter"> share. Addiiillally,nthe PPD lasociated with tfis printer is copied from cttn class=filename">/etc/ ups/ppd/cnttu to cin class=parameter">. There the files wait for conOenielt Wind ss clielt installatills via Point'n'Print. Before we can run tfe command successfully, we need to be sure thatnwe can authenticate toward Scltn. If you have a small netw.(f, you are probably usior user-leOel security (crn class=indexterm"nname="500550007">ona>security = user). c/pucp> Here is an example of a successfully run cspan>cbn class=command">cupsaddsmbc/buc/span> command: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu Plasword for root required to access localhost via Scltn: cbn class=userinput">c/bu c/preucp> To share cspann class=emphasis">cemuallonemuc/span> printers and driOers, use the cttn class=optill">-nonttu parameter instead of a printer name. Silce cspan>cbn class=command">cupsaddsmbc/buc/span> “cspann class=quote">cspann class=emphasis">cemuexportsc/emuc/span>c/span>” the printer driOers to Scltn, it sh uld be obOious that it llly w.(fs for queues with a CUPS driOer lasociated. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550075">ona>Run cupsaddsmb with Verbose Outputc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500550083">ona> Probably you want to see what's goior on. Use the cttn class=optill">-vonttu parameter to get a more verbose output. The output below was edited for better readability: all “cspann class=quote">cspann class=emphasis">cemu\c/emuc/span>c/span>” at the end of a lioe indicate that I inserted an artificial lioe break plus some indentaiill here: c/pucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorcnh3ucp> You will see the root plasword for the Scltn account printed on screen. c/pucnsivucpu crn class=indexterm"nname="500550110">ona> crn class=indexterm"nname="500550120">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu Plasword for root required to access localhost via GANDALF: Runnior command: smbclieltn//localhost/print\$ -N -U'root%secret' \ -c 'mkdir W32X86; \ put /var/spool/ ups/tmp/3e98bf2d333b5 W32X86/infotec_2105.ppd; \ put /usr/share/ ups/driOers/ upsdrvr.dll W32X86/ upsdrvr.dll; \ put /usr/share/ ups/driOers/ upsui.dll W32X86/ upsui.dll; \ put /usr/share/ ups/driOers/ ups.hlp W32X86/ ups.hlp' added interface ip=10.160.51.60 bcast=10.160.51.055 nmask=055.055.052.0 Domain=[CUPS-PRINT] OS=[UNIX] SerOer=[Scltn 2.2.7a] NT_STATUS_OBJECT_NAME_COLLISION makior remote directory \W32X86 puttior file /var/spool/ ups/tmp/3e98bf2d333b5 as \W32X86/infotec_2105.ppd puttior file /usr/share/ ups/driOers/ upsdrvr.dll as \W32X86/ upsdrvr.dll puttior file /usr/share/ ups/driOers/ upsui.dll as \W32X86/ upsui.dll puttior file /usr/share/ ups/driOers/ ups.hlp as \W32X86/ ups.hlp Runnior command: rpcclielt localhost -N -U'root%secret' -c 'adddriOer "Wind ss NT x86" \ "infotec_2105: upsdrvr.dll:infotec_2105.ppd: upsui.dll: ups.hlp:NULL: \ RAW:NULL"' cmd = adddriOer "Wind ss NT x86" \ "infotec_2105: upsdrvr.dll:infotec_2105.ppd: upsui.dll: ups.hlp:NULL: \ RAW:NULL" Printer DriOer infotec_2105 successfully installed. Runnior command: smbclieltn//localhost/print\$ -N -U'root%secret' \ -c 'mkdir WIN40; \ put /var/spool/ ups/tmp/3e98bf2d333b5 WIN40/infotec_2105.PPD; \ put /usr/share/ ups/driOers/ADFONTS.MFM WIN40/ADFONTS.MFM; \ put /usr/share/ ups/driOers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV; \ put /usr/share/ ups/driOers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP; \ put /usr/share/ ups/driOers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD; \ put /usr/share/ ups/driOers/ICONLIB.DLL WIN40/ICONLIB.DLL; \ put /usr/share/ ups/driOers/PSMON.DLL WIN40/PSMON.DLL;' added interface ip=10.160.51.60 bcast=10.160.51.055 nmask=055.055.052.0 Domain=[CUPS-PRINT] OS=[UNIX] SerOer=[Scltn 2.2.7a] NT_STATUS_OBJECT_NAME_COLLISION makior remote directory \WIN40 puttior file /var/spool/ ups/tmp/3e98bf2d333b5 as \WIN40/infotec_2105.PPD puttior file /usr/share/ ups/driOers/ADFONTS.MFM as \WIN40/ADFONTS.MFM puttior file /usr/share/ ups/driOers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV puttior file /usr/share/ ups/driOers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP puttior file /usr/share/ ups/driOers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD puttior file /usr/share/ ups/driOers/ICONLIB.DLL as \WIN40/ICONLIB.DLL puttior file /usr/share/ ups/driOers/PSMON.DLL as \WIN40/PSMON.DLL Runnior command: rpcclielt localhost -N -U'root%secret' \ -c 'adddriOer "Wind ss 4.0" \ "infotec_2105:ADOBEPS4.DRV:infotec_2105.PPD:NULL:ADOBEPS4.HLP: \ PSMON.DLL:RAW:ADOBEPS4.DRV,infotec_2105.PPD,ADOBEPS4.HLP,PSMON.DLL, \ ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"' cmd = adddriOer "Wind ss 4.0" "infotec_2105:ADOBEPS4.DRV:\ infotec_2105.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,\ infotec_2105.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,\ ICONLIB.DLL" Printer DriOer infotec_2105 successfully installed. Runnior command: rpcclielt localhost -N -U'root%secret' \ -c 'setdriOer infotec_2105 infotec_2105' cmd = setdriOer infotec_2105 infotec_2105 Successfully set infotec_2105 to driOer infotec_2105. c/preucp> If you loof closely, you'll discoOer your root plasword was transferred unencrypted oOer the wire, so beware! Also, if you loof further, you'll discoOer error messages like NT_STATUS_OBJECT_NAME_COLLISION in between. They occur, because the directories WIN40 and W32X86 already existed in the cin class=parameter"> driOer download share (from a preOious driOer installaiill). They are harmless here. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550273">ona>Understandior cupsaddsmbc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500550281">ona> Whatnhas happened? Whatndid cspan>cbn class=command">cupsaddsmbc/buc/span> do? There are five stages of the procedure: c/pucdivn class=orderedlist">
                                                                                                                    oliucp> crn class=indexterm"nname="500550306">ona> Call the CUPS serOer via IPP and request tfe driOer files and the PPD file for tfe named printer.c/pucnliucliucp>Store the files temporarily in tfe local TEMPDIR (as defined in cttn class=filename"> upsd.confcnttu).c/pucnliucliucp>Connect via smbclieltnto tfe Scltn serOer's cin class=parameter"> share and put tfe files into tfe share's WIN40 (for Wind ss 9x/Me) and W32X86/ (for Wind ss NT/200x/XP) subdirectories.c/pucnliucliucp> crn class=indexterm"nname="500550343">ona> Connect via rpcclielt to tfe Scltn serOer and execute the cspan>cbn class=command">adddriOerc/buc/span> command with tfe correct parameters.c/pucnliucliucp> crn class=indexterm"nname="500550364">ona> Connect via rpcclielt to tfe Scltn serOer a second time and execute the cspan>cbn class=command">setdriOeronbuc/span> command.c/pucnliuc/olucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> You can run the cspan>cbn class=command">cupsaddsmbc/buc/span> utility with parameters to specify one remote host as Scltn host and a second remote host as CUPS host. Especially if you want to get a deeper understandior, it is a good idea to try it and see more clearly what is goior on (though in real life most people will have their CUPS and Scltn serOers run on tfe same host): c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550420">ona>How to Recognize If cupsaddsmb Completed Successfullyc/h3ucnsivucnsivucsivucnsivucnsivucp> You cspann class=emphasis">cemumustcnemuc/span> always check if the utility completed successfully in all fields. You need as a minimumntfese tfreenmessages amoor the output: c/pucdivn class=orderedlist">
                                                                                                                      oliucp>cspann class=emphasis">cemuPrinter DriOer infotec_2105 successfully installed.cnemuc/span> # (for the W32X86 == Wind ss NT/200x/XP architecture).c/pucnliucliucp>cspann class=emphasis">cemuPrinter DriOer infotec_2105 successfully installed.cnemuc/span> # (for the WIN40 == Wind ss 9x/Me architecture).c/pucnliucliucp>cspann class=emphasis">cemuSuccessfully set [printerXPZ] to driOer [printerXYZ].c/emuc/span>c/pucnliuc/olucnsivucp> These messages are probably not easily recognized in the general output. If you run cspan>cbn class=command">cupsaddsmbc/buc/span> with tfe cttn class=optill">-nonttu parameter (which tries to preplre cspann class=emphasis">cemuallonemuc/span> active CUPS printer driOers for download), you might miss if individual printers driOers had problems installior properly. Here a redirectill lf the output will help you analyze the results in retrospective. c/pucpu If you get: c/pucpre class=screen"u SetPrinter call failed! result was WERR_ACCESS_DENIED c/preucp> It means that you might have set crn class=indexterm"nname="500550498">ona>use clielt driOer = yes for this printer. Set it to “cspann class=quote">cspann class=emphasis">cemunoonemuc/span>c/span>” will solve the problem. Refer to man scltn(5) for explanantill ln cin class=parameter">. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notecnh3ucp> It is impossible to see any diagnostic output if you do not run cspan>cbn class=command">cupsaddsmbc/buc/span> in verbose mode. Therefore, we stroorly recommend to not use the default quiet mode. It will hide any problems from you that might occur. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550533">ona>cupsaddsmb with a Scltn PDCc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500550541">ona> Can't get the standard cspan>cbn class=command">cupsaddsmbc/buc/span> command to run on n Scltn PDC? Are you asked for the plasword credential all oOer again and again and tfe command just will not take off at all? Try one lf these variatills: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu cttn class=prompt">root# onttucbn class=userinput">c/bu cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> (Notenthe two backsclahes: tfe first one is required to “cspann class=quote">cspann class=emphasis">cemuescapec/emuc/span>c/span>” the second one). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550609">ona>cupsaddsmb Flowchartc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500550617">ona> crnhref="#small14" title="Figure 18.16. cupsaddsmb flowchart.">cupsaddsmb flowchartona> shows a chart about tfe procedures, command-flows and data-flows of tfe cspan>cbn class=command">cupaddsmbc/buc/span> command. Note again: cupsaddsmb is not intended to, and does not w.(f with, raw queues! c/pucpu c/pucdivn class=figure">crnname="small14">ona>cpn class=title">cb>Figure 18.16. cupsaddsmb flowchart.c/b>c/pucdivn class=mediaobject">cimg src="5mages/14small.por" width="270" alt="cupsaddsmb flowchart.">cnsivucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550687">ona>Installior tfe PostScript DriOer on n Clieltc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500550695">ona> After cspan>cbn class=command">cupsaddsmbc/buc/span> is completed, your driOer is preplred for the cielts to use. Here are the steps you must perform to download and install it via Point'n'Print. From a Wind ss clielt, br sse to the CUPS/Scltn serOer: c/pucdivn class=itemizedlist">
                                                                                                                        oliucp> crn class=indexterm"nname="500550718">ona> Open tfe cspann class=guilabel">Printersonspan> share of Scltn in Netw.(f Neighborhood.c/pucnliucliucp>Right-click on tfe printer in questill.c/pucnliucliucp>From the openior context-menu seleci cspann class=guimenuitem">Install...c/span> or cspann class=guimenuitem">Connect...c/span> (dependior on the Wind ss Oersill you use).c/pucnliuc/ulucnsivucp> After a few seconds, tfere sh uld be a new printer in your clielt's cspann class=emphasis">cemulocalonemuc/span> cspann class=guilabel">Printersonspan> folder. On Wind ss XP it will follow annamior conOentill lf cspann class=emphasis">cemuPrinterName on ScltnSerOeronemuc/span>. (In my currelt case it is "infotec_2105 on kde-bitsh p"). If you want to test it and send your first job from an applicatill like Winword, the new printer appears in a cttn class=filename">\\ScltnSerOer\PrinterNameonttu eltry in tfe drop-down list of available printers. c/pucpu crn class=indexterm"nname="500550788">ona> cspan>cbn class=command">cupsaddsmbc/buc/span> will llly reliably w.(f with CUPS Oersill 1.1.15 or higfer and Scltn from 2.2.4. If it does not w.(f, or if the automaiic printer driOer download to the cielts does not succeed, you can still malually install the CUPS printer PPD on top of tfe Adobe PostScript driOer on clielts. Then point tfe clielt's printer queue to tfe Scltn printer share for a UNC type of connectill: c/pucpre class=screen"u cttn class=prompt">C:\> onttucbn class=userinput">c/bu c/preucp> sh uld you desire to use the CUPS netw.(fed PostScript RIP functills. (Notenthatnuser “cspann class=quote">cspann class=emphasis">cemuntadminc/emuc/span>c/span>” needs to be a valid Scltn user with tfe required privileges to access tfe printershare.) This sets up tfe printer connectill in the tradiiillal cspann class=emphasis">cemuLanMancnemuc/span> way (not usior MS-RPC). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500550842">ona>Avoidior Critical PostScript DriOer Settiors on tfe Clieltc/h3ucnsivucnsivucsivucnsivucnsivucp> Printior w.(fs, but there are still problems. Most jobs print well, some do not print at all. Some jobs have problems with folts, which do not loof very good. Some jobs print fast and some are dead-slow. Many lf these problems can be greatly reduced or even completely eliminated if you follow anfew guidelioes. Remember, if your print device is not PostScript-enabled, you are treatior your Ghostscript installatill on your CUPS host with tfe output your cielt driOer settiors produce. Treat it well: c/pucdivn class=itemizedlist">
                                                                                                                          oliucp>Avoid tfe PostScript Output Optill: Optimize for Speed settior. Use the Optimize for Portability instead (Adobe PostScript driOer).c/pucnliucliucp>Don't use the Plge Independence: NO settior. Instead, use Plge Independence YES (CUPS PostScript DriOer).c/pucnliucliucp>Recommended is tfe True Type Folt Downloadior Optill: Native True Type oOer Automaiic and Outlioe; you sh uld by all means avoid Bitmap (Adobe PostScript DriOer).c/pucnliucliucp>Choose True Type Folt: Download as Softfolt into Printer oOer the default Replace by Device Folt (for exoiic folts, you may need to change it back to get a printout at all) (Adobe).c/pucnliucliucp>Sometimes you can choose PostScript Langulge LeOel: In case of problems try 2 instead of 3 (the latest ESP Ghostscript package handles LeOel 3 PostScript very well) (Adobe).c/pucnliucliucp>Say Yes to PostScript Error Handler (Adobe).c/pucnliuc/ulucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500550905">ona>Installior PostScript DriOer Files Manually Usior rpcclieltc/h2ucnsivucnsivucsivucnsivucnsivucp> Of course, you can run all the commandsnthatnare embedded into tfe cupsaddsmb conOenielce utility yourself, one by one, and hereby upload and preplre tfe driOer files for future clielt downloads. c/pucdivn class=orderedlist">
                                                                                                                            oliucp>Preplre Scltn (A CUPS print queue with tfe name lf the printer sh uld be there. We are providior the driOer now).c/pucnliucliucp>Copy all files to cin class=parameter">.c/pucnliucliucp> crn class=indexterm"nname="500550945">ona> Run cspan>cbn class=command">rpcclielt adddriOerc/buc/span> (for each clielt architecture you want to support).c/pucnliucliucp> crn class=indexterm"nname="500550966">ona> Run cspan>cbn class=command">rpcclielt setdriOer.c/buc/span>c/pucnliuc/olucnsivucp> crn class=indexterm"nname="500550984">ona> crn class=indexterm"nname="500550994">ona> crn class=indexterm"nname="500551003">ona> crn class=indexterm"nname="500551012">ona> crn class=indexterm"nname="500551021">ona> We are goior to do this now. First, read the man plge on cin class=parameter"> to get a first idea. Loof at all tfe printior related subcommands. cspan>cbn class=command">enumprintersonbuc/span>, cspan>cbn class=command">enumdriOersonbuc/span>, cspan>cbn class=command">enumportsc/buc/span>, cspan>cbn class=command">adddriOerc/buc/span>, cspan>cbn class=command">setdriOeronbuc/span> are amoor tfe most interestior ones. cin class=parameter"> implements an important part of tfe MS-RPC protocol. You can use it to query (and command) a Wind ss NT (or 200x/XP) PC, too. MS-RPC is used by Wind ss clielts, amoor other tfiors, to benefitnfrom tfe Point'n'Printnfeatures. Scltn can now mimic this as well. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500551080">ona>A Check of tfe rpcclielt man Plgec/h3ucnsivucnsivucsivucnsivucnsivucp> First let's check the cin class=parameter"> man plge. Here are two relevant passages: c/pucpu cspan>cbn class=command">adddriOer <arch> <config>onbuc/span> Execute an cspan>cbn class=command">AddPrinterDriOer()onbuc/span> RPC to install the printer driOer informatill on tfe serOer. The driOer files sh uld already exist in tfe directory returned by cspan>cbn class=command">getdriOerdironbuc/span>. Possible values for cin class=parameter"> are the same as those for tfe cspan>cbn class=command">getdriOerdironbuc/span> command. The cin class=parameter"> parameter is defined as follows: c/pucpre class=screen"u Loor Printer Name:\ DriOer File Name:\ Data File Name:\ Config File Name:\ Help File Name:\ Langulge Monitor Name:\ Default Data Type:\ Comma Seplrated list of Files c/preucp>Any empty fields sh uld be enter as tfe strior “cspann class=quote">cspann class=emphasis">cemuNULLc/emuc/span>c/span>”. c/pucpuScltn does not need to support the concept of PrintnMonitors silce these llly apply to local printers whose driOer can make use of a bi-directillal liok for communicatill. This field sh uld be “cspann class=quote">cspann class=emphasis">cemuNULLc/emuc/span>c/span>”. On a remote NT print serOer, tfe Print Monitor for a driOer must already be installed prior to addior the driOer or else the RPC will fail. c/pucpu cspan>cbn class=command">setdriOer <printername> <driOername>c/buc/span> Execute a cspan>cbn class=command">SetPrinter()onbuc/span> command to update the printer driOer lasociated with an installed printer. The printer driOer must already be correctly installed on tfe print serOer. c/pucpuSee also tfe cspan>cbn class=command">enumprintersonbuc/span> and cspan>cbn class=command">enumdriOersonbuc/span> commandsnfor obtainior a list of installed printers and driOers. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500551208">ona>Understandior tfe rpcclielt man Plgec/h3ucnsivucnsivucsivucnsivucnsivucp> The cspann class=emphasis">cemuexactcnemuc/span> format isn't made too clear by tfe man plge, silce you have to deal with some parameters containing spaces. Here is a better descriptill for it. We have lioe-broken tfe command and indicated the breaks with “cspann class=quote">cspann class=emphasis">cemu\c/emuc/span>c/span>”. Usually you w uld type the command in one lioe without tfe lioe-breaks: crn class=indexterm"nname="500551229">ona> c/pucpre class=screen"u adddriOer "Architecture" \ "LoorPrinterName:DriOerFile:DataFile:ConfigFile:HelpFile:\ LangulgeMonitorFile:DataType:ListOfFiles,Comma-seplrated" c/preucp> Whatnthe man plges denote as a simple cin class=parameter"> keyword, in reality consists of eight colon-seplrated fields. The last field may take multiple (in some very insane ases, even 20 dif#erelt addiiillal) files. This might sound confusior atnfirst. Whatnthe man plges names tfe “cspann class=quote">cspann class=emphasis">cemuLoorPrinterNamec/emuc/span>c/span>” in reality sh uld be called tfe “cspann class=quote">cspann class=emphasis">cemuDriOer Namec/emuc/span>c/span>”. You can name it anytfior you want, as long as you use this name later in tfe cspan>cbn class=command">rpcclielt ... setdriOeronbuc/span> command. For praciical reasons, many name the driOer the same as the printer. c/pucpu It isn't simple at all. I hear you askior: “cspann class=quote">cspann class=emphasis">cemuHow do I know which files are "DriOer Filec/emuc/span>c/span>”, “cspann class=quote">cspann class=emphasis">cemuData Filec/emuc/span>c/span>”, “cspann class=quote">cspann class=emphasis">cemuConfig Filec/emuc/span>c/span>”, “cspann class=quote">cspann class=emphasis">cemuHelp Filec/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemuLangulge Monitor File" in each case?c/emuc/span>c/span>” For an answer, you may want to have a loof at how anWind ss NT box with a shared printer preselts the files to us. Remember, thatnthis whole procedure has to be deOeloped by tfe Scltn team by oOerhearior tfe traffic caused by Wind ss computers on tfe wire. We may as wellnturn to rnWind ss box now and access it from a UNIX w.(fstatill. We will query it with cspan>cbn class=command">rpcclieltc/buc/span> to see what it tells us and try to understand the man plge more clearly thatnwe've read just now. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500551327">ona>Producior an Example by Queryior a Wind ss Boxc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500551335">ona> crn class=indexterm"nname="500551344">ona> We c uld run cspan>cbn class=command">rpcclieltc/buc/span> with a cspan>cbn class=command">getdriOerc/buc/span> or a cspan>cbn class=command">getprinterc/buc/span> subcommand (in leOel 3 verbosity) against it. Just sit down at a UNIX or Linux w.(fstatill with tfe Scltn utilities installed, tfen type the followior command: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> From the result it sh uld become clear which is which. Here is an example from my installatill: c/pucpu crn class=indexterm"nname="500551401">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu cmd = getdriOer "DANKA InfoStream Virtual Printer" 3 [Wind ss NT x86] Printer DriOer Info 3: Versill: [2] DriOer Name: [DANKA InfoStream] Architecture: [Wind ss NT x86] DriOer Path: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\PSCRIPT.DLL] Datafile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\INFOSTRM.PPD] Configfile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\PSCRPTUI.DLL] Helpfile: [C:\WINNT\System32\spool\DRIVERS\W32X86\2\PSCRIPT.HLP] Dependentfiles: [] Dependentfiles: [] Dependentfiles: [] Dependentfiles: [] Dependentfiles: [] Dependentfiles: [] Dependentfiles: [] Monitorname: [] Defaultdatatype: [] c/preucp> Some printer driOers list addiiillal files under tfe label cin class=parameter"> and these w uld go into tfe last field cin class=parameter">. For the CUPS PostScript driOers, we do not need any (nor w uld we for tfe Adobe PostScript driOer), therefore, the field will get a “cspann class=quote">cspann class=emphasis">cemuNULLc/emuc/span>c/span>” eltry. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500551478">ona>Requirements for adddriOer and setdriOer to Succeedc/h3ucnsivucnsivucsivucnsivucnsivucp> >From the man plge (and from tfe quoted output lf cspan>cbn class=command">cupsaddsmbc/buc/span> aboOe) it becomes clear that you need to have certain condiiills in order to make the manual uploading and initializior of tfe driOer files succeed. The two cspan>cbn class=command">rpcclieltc/buc/span> crn class=indexterm"nname="500551503">ona> subcommands (cspan>cbn class=command">adddriOerc/buc/span> and cspan>cbn class=command">setdriOeronbuc/span>) need to encounter tfe followior precondiiills to complete successfully: c/pucdivn class=itemizedlist">
                                                                                                                              oliucp>You are connected as crn class=indexterm"nname="500551532">ona>printer admin or root (this is cspann class=emphasis">cemunotcnemuc/span> tfe “cspann class=quote">cspann class=emphasis">cemuPrinter Operatorsc/emuc/span>c/span>” group in NT, but the cspann class=emphasis">cemuprinter admincnemuc/span> group as defined in the cin class=parameter"> sectill lf cttn class=filename">smb.confcnttu).c/pucnliucliucp>Copy all required driOer files to cttn class=filename">\\SAMBA\print$\w32x86onttu and cttn class=filename">\\SAMBA\print$\win40onttu as appropriate. They will end up in tfe “cspann class=quote">cspann class=emphasis">cemu0c/emuc/span>c/span>” respective “cspann class=quote">cspann class=emphasis">cemu2c/emuc/span>c/span>” subdirectories later. For now, cspann class=emphasis">cemudo notonemuc/span> put them there, they'll be automaiically used by the cspan>cbn class=command">adddriOerc/buc/span> subcommand. (If you use cspan>cbn class=command">smbclieltc/buc/span> to put tfe driOer files into tfe share, notenthatnyou need to escape tfe “cspann class=quote">cspann class=emphasis">cemu$c/emuc/span>c/span>”: cspan>cbn class=command">smbclielt //scltnserOer/print\$ -U root.c/buc/span>)c/pucnliucliucp>The user you're connecting as must be able to writento the cin class=parameter"> share and create subdirectories.c/pucnliucliucp>The printer you are goior to setup for tfe Wind ss cielts needs to be installed in CUPS already.c/pucnliucliucp> crn class=indexterm"nname="500551643">ona> crn class=indexterm"nname="500551652">ona> The CUPS printer must be known to Scltn, otherwise the cspan>cbn class=command">setdriOeronbuc/span> subcommand fails with an NT_STATUS_UNSUCCESSFUL error. To check if the printer is known by Scltn, you may use the cspan>cbn class=command">enumprintersonbuc/span> subcommand to cspan>cbn class=command">rpcclieltc/buc/span>. A long-standior bug preOented a proper update lf the printer list until every smbd process had received a SIGHUP or was restarted. Remembernthis in case you've created the CUPS printer just receltly and encounter problems: try restartior Scltn.c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500551690">ona>Manual DriOer Installatill in 15 Stepsc/h3ucnsivucnsivucsivucnsivucnsivucp> We are goior to install a printer driOer now by malually executing all required commands. Asnthis may seem a rather complicated process at first, we go through the procedure step by step, explainior every silgle actill item as it comes up. c/pucdivn class=procedure">cpn class=title">cb>Procedure 18.2. Manual DriOer Installatillc/b>c/pucol type="1">oliucpn class=title">cb>Install the printer on CUPS.c/b>c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> This installs a printer with tfe name cin class=parameter"> to the CUPS system. The printer is accessed via a socket (a.k.a. JetDirect or Direct TCP/IP) connectill. You need to be root for this step. c/pucnliucliucpn class=title">cb>(Optillal) Check if the printer is recognized by Scltn.c/b>c/pucp> crn class=indexterm"nname="500551760">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> This sh uld show tfe printer in tfe list. If not, stop and restart tfe Scltn daemll (smbd), or send a HUP siglal: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp>Check again. Troubleshoot and repeat until successful. Note tfe “cspann class=quote">cspann class=emphasis">cemuemptyc/emuc/span>c/span>” field betweennthe two commas in the “cspann class=quote">cspann class=emphasis">cemudescriptillc/emuc/span>c/span>” lioe. The driOer name w uld appear here if there was one already. You need to know root's Scltn plasword (as set by the cspan>cbn class=command">smbplaswdonbuc/span> command) for this step and most of tfe followior steps. Alternately, you can authenticate as one of tfe users from tfe “cspann class=quote">cspann class=emphasis">cemuwritenlistc/emuc/span>c/span>” as defined in cttn class=filename">smb.confcnttunfor cin class=parameter">. c/pucnliucliucpn class=title">cb>(Optillal) Check if Scltn knows a driOer for the printer.c/b>c/pucp> crn class=indexterm"nname="500551860">ona> crn class=indexterm"nname="500551869">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu driOername:[] cttn class=prompt">root# onttucbn class=userinput">c/bu serOername:[\\kde-bitsh p] printername:[\\kde-bitsh p\mysmbtstprn] sharename:[mysmbtstprn] portname:[Scltn Printer Port] driOername:[] comment:[mysmbtstprn] locatill:[] sepfile:[] printprocessor:[wioprint] cttn class=prompt">root# onttucbn class=userinput">c/bu result was WERR_UNKNOWN_PRINTER_DRIVER c/preucp> None of tfe tfreencommands shown aboOe sh uld show a driOer. This step was done for the purpose of demllstratior this condiiill. An attempt to connect to the printer at this stlge will prompt tfe message along tfe lioes of: “cspann class=quote">cspann class=emphasis">cemuTfe serOer does not have the required printer driOer installed.cnemuc/span>c/span>” c/pucnliucliucpn class=title">cb>Put all required driOer files into Scltn's [print$].c/b>c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> (This command sh uld be entered in one long silgle lioe. Lioe-breaks and the lioe-end indicated by “cspann class=quote">cspann class=emphasis">cemu\c/emuc/span>c/span>” have beenninserted for readability reasons.) This step is cspann class=emphasis">cemurequiredc/emuc/span> for tfe next one to succeed. It makes tfe driOer files physically preselt in the cin class=parameter"> share. HoweOer, cielts w uld still not be able to install them, because Scltn does not yet treat them as driOer files. A clielt askior for the driOer w uld still be preselted with a “cspann class=quote">cspann class=emphasis">cemunot installed herec/emuc/span>c/span>” message. c/pucnliucliucpn class=title">cb>Verify where tfe driOer files are now.c/b>c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu total 669 drwxr-sr-x 2 root ntadmin 532 May 25 23:08 2 drwxr-sr-x 2 root ntadmin 670 May 16 03:15 3 -rwxr--r-- 1 root ntadmin 14234 May 25 23:21 ups.hlp -rwxr--r-- 1 root ntadmin 278380 May 25 23:21 upsdrvr.dll -rwxr--r-- 1 root ntadmin 215848 May 25 23:21 upsui.dll -rwxr--r-- 1 root ntadmin 169458 May 25 23:21 mysmbtstprn.PPD c/preucp> The driOer files now are in the W32X86 architecture “cspann class=quote">cspann class=emphasis">cemurootc/emuc/span>c/span>” lf cin class=parameter">. c/pucnliucliucpn class=title">cb>TellnScltn thatnthese are driOer files (cspan>cbn class=command">adddriOerc/buc/span>).c/b>c/pucp> crn class=indexterm"nname="500552062">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu Printer DriOer mydriOername successfully installed. c/preucp> You cannot repeat this step if it fails. It c uld fail even as a result of a simple typo. It will most likely have moved a part of tfe driOer files into tfe “cspann class=quote">cspann class=emphasis">cemu2c/emuc/span>c/span>” subdirectory. If this step fails, you need to go back to tfe fourth step and repeat it before you can try this one again. In this step,nyou need to choose rnname for your driOer. It is normally a good idea to use the same name as is used for the printer name; howeOer, in big installatills you may use this driOer for a numbernof printers thatnobOiously have dif#erelt names, so tfe name lf the driOer is not fixed. c/pucnliucliucpn class=title">cb>Verify where tfe driOer files are now.c/b>c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu total 1 drwxr-sr-x 2 root ntadmin 532 May 25 23:22 2 drwxr-sr-x 2 root ntadmin 670 May 16 03:15 3 cttn class=prompt">root# onttucbn class=userinput">c/bu total 5039 [....] -rwxr--r-- 1 root ntadmin 14234 May 25 23:21 ups.hlp -rwxr--r-- 1 root ntadmin 278380 May 13 13:53 upsdrvr.dll -rwxr--r-- 1 root ntadmin 215848 May 13 13:53 upsui.dll -rwxr--r-- 1 root ntadmin 169458 May 25 23:21 mysmbtstprn.PPD c/preucp> Noiice how step 6 also moved tfe driOer files to tfe appropriate subdirectory. Compare this with tfe situatill after step 5. c/pucnliucliucpn class=title">cb>(Optillal) Verify if Scltn now recognizes tfe driOer.c/b>c/pucp> crn class=indexterm"nname="500552170">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu Printer DriOer Info 3: Versill: [2] DriOer Name: [mydriOername] Architecture: [Wind ss NT x86] DriOer Path: [\\kde-bitsh p\print$\W32X86\2\ upsdrvr.dll] Datafile: [\\kde-bitsh p\print$\W32X86\2\mysmbtstprn.PPD] Configfile: [\\kde-bitsh p\print$\W32X86\2\ upsui.dll] Helpfile: [\\kde-bitsh p\print$\W32X86\2\ ups.hlp] c/preucp> Remember, this command greps for tfe name you chose for tfe driOer in step 6. This command must succeed before you can proceed. c/pucnliucliucp>TellnScltn which printer sh uld use these driOer files (cspan>cbn class=command">setdriOeronbuc/span>).c/pucp> crn class=indexterm"nname="500552225">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu Successfully set mysmbtstprn to driOer mydriOername c/preucp> Silce you can bind any printername (print queue) to rny driOer, this is a conOenielt way to setup many queuesnthatnuse the same driOer. You do not need to repeat all the preOious steps for tfe setdriOer command to succeed. The llly precondiiills are: cspan>cbn class=command">enumdriOersonbuc/span> must find tfe driOer and cspan>cbn class=command">enumprintersonbuc/span> must find tfe printer. c/pucnliucliucpn class=title">cb>(Optillal) Verify if Scltn has recognized this associatill.c/b>c/pucp> crn class=indexterm"nname="500552285">ona> crn class=indexterm"nname="500552294">ona> crn class=indexterm"nname="500552303">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">root# onttucbn class=userinput">c/bu serOername:[\\kde-bitsh p] printername:[\\kde-bitsh p\mysmbtstprn] sharename:[mysmbtstprn] portname:[Done] driOername:[mydriOername] comment:[mysmbtstprn] locatill:[] sepfile:[] printprocessor:[wioprint] cttn class=prompt">root# onttucbn class=userinput">c/bu [Wind ss NT x86] Printer DriOer Info 3: Versill: [2] DriOer Name: [mydriOername] Architecture: [Wind ss NT x86] DriOer Path: [\\kde-bitsh p\print$\W32X86\2\ upsdrvr.dll] Datafile: [\\kde-bitsh p\print$\W32X86\2\mysmbtstprn.PPD] Configfile: [\\kde-bitsh p\print$\W32X86\2\ upsui.dll] Helpfile: [\\kde-bitsh p\print$\W32X86\2\ ups.hlp] Monitorname: [] Defaultdatatype: [RAW] Monitorname: [] Defaultdatatype: [RAW] cttn class=prompt">root# onttucbn class=userinput"> crn class=indexterm"nname="500552381">ona> Compare these results with tfe ooes from steps 2 and 3. Every one lf thesencommands show the driOer is installed. Even the cspan>cbn class=command">enumprintersonbuc/span> command now lists the driOer on tfe “cspann class=quote">cspann class=emphasis">cemudescriptillc/emuc/span>c/span>” lioe. c/pucnliucliucpn class=title">cb>(Optillal) Tickle tfe driOer into a correct device mode.c/b>c/pucp> crn class=indexterm"nname="500552417">ona> You certainly know how to install the driOer on tfe clielt. In case you are not particularly familiar with Wind ss, here is a short recipe: Br sse tfe Netw.(f Neighborhood, go to tfe Scltn serOer, and loof for tfe shares. You sh uld see all shared Scltn printers. Double-click on tfe one in questill. The driOer sh uld get installed and the netw.(f connectill set up. An alternate way is to open tfe cspann class=guilabel">Printers (and Faxes)onspan> folder, right-click on tfe printer in questill and seleci cspann class=guilabel">Connectc/span> or cspann class=guilabel">Installc/span>. As a result, a new printer sh uld have appeared in your cielt's local cspann class=guilabel">Printers (and Faxes)onspan> folder, named sometfior like cspann class=guilabel">printersharename ln Scltnhostnamec/span>. c/pucpu It is important thatnyou execute this step as n Scltn printer admin (as defined in cttn class=filename">smb.confcnttu). Here is another metfod to do this on Wind ss XP. It uses a command lioe, which you may type into tfe “cspann class=quote">cspann class=emphasis">cemuDOS boxc/emuc/span>c/span>” (type root's smbplasword when prompted): c/pucpre class=screen"u cttn class=prompt">C:\> onttucbn class=userinput">c/bu c/preucp> Change any printer settior once (like changior cspann class=emphasis">cemucspann class=guilabel">portraitc/span> to cspann class=guilabel">landscapec/span>c/emuc/span>), cick on cspann class=guibuttll">Applyc/span>; change tfe settior back. c/pucnliucliucpn class=title">cb>Install the printer on a cielt (Point'n'Print).c/b>c/pucp> crn class=indexterm"nname="500552536">ona> c/pucpre class=screen"u cttn class=prompt">C:\> onttucbn class=userinput">cspann class=emphasis">cemu\\scltnserOer\mysmbtstprnc/emuc/span>c/span>”c/tt>c/bu c/preucp> If it does not w.(f it could be a permissill problem with tfe cin class=parameter"> share. c/pucnliucliucpn class=title">cb>(Optillal) Print a test plge.c/b>c/pucpre class=screen"u cttn class=prompt">C:\> onttucbn class=userinput">c/bu c/preucp> Then hit [TAB] five times, [ENTER] twice, [TAB] once and [ENTER] again and march to the printer. c/pucnliucliucpn class=title">cb>(Recommended) Study the test plge.c/b>c/pucp> Hmmm.... just kiddior! By now you know everytfior about printer installatills and you do not need to read a w.(d. Just put it in a frame and bolt it to the wall with tfe headior "MY FIRST RPCCLIENT-INSTALLED PRINTER" why not just throw it away! c/pucnliucliucpn class=title">cb>(Obligatory) Enjoy. Jump. Celebrate your success.c/b>c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucnliuc/olucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500552656">ona>Troubleshootior Revisitedc/h3ucnsivucnsivucsivucnsivucnsivucp> Tfe setdriOer command will fail, if in Scltn's mind tfe queue is not already there. You had promisior messages about tfe: c/pucpre class=screen"u Printer DriOer ABC successfully installed. c/preucp> after the cspan>cbn class=command">adddriOerc/buc/span> parts of tfe procedure? But you are also seeing a disappointior message like this one? c/pucpucttn class=computeroutput"u result was NT_STATUS_UNSUCCESSFUL c/tt>c/pucp> crn class=indexterm"nname="500552695">ona> It is not good enough that you can see tfe queue in CUPS, usior the cspan>cbn class=command">lpstat -p ir85wmonbuc/span> command. A bug in most recelt Oersills of Scltn preOents tfe proper update lf tfe queue-list. The recognitill lf newly installed CUPS printers fails unless you restart Scltn or send a HUP to all smbd processes. To Oerify if this is the reason why Scltn does not execute the cspan>cbn class=command">setdriOeronbuc/span> command successfully, check if Scltn “cspann class=quote">cspann class=emphasis">cemuseesc/emuc/span>c/span>” the printer: c/pucp> crn class=indexterm"nname="500552729">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> An alternate command c uld be this: c/pucp> crn class=indexterm"nname="500552762">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> By the way, you can use these commands, plus anfew more, of course, to install driOers on remote Wind ss NT print serOers too! c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500552799">ona>Tfe Printior cttn class=filename">*.tdbcnttunFilesc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500552813">ona> crn class=indexterm"nname="500552820">ona> crn class=indexterm"nname="500552829">ona> crn class=indexterm"nname="500552838">ona> crn class=indexterm"nname="500552847">ona> crn class=indexterm"nname="500552856">ona> crn class=indexterm"nname="500552865">ona> crn class=indexterm"nname="500552874">ona> crn class=indexterm"nname="500552883">ona> crn class=indexterm"nname="500552892">ona> crn class=indexterm"nname="500552901">ona> crn class=indexterm"nname="500552910">ona> crn class=indexterm"nname="500552919">ona> Some mystery is lasociated with tfe series of files with a tdb suffix appearior in every Scltn installatill. They are cttn class=filename">connectills.tdbcnttu, cttn class=filename">printior.tdbcnttu, cttn class=filename">share_info.tdbcnttu, cttn class=filename">ntdriOers.tdbcnttu, cttn class=filename">unexpected.tdbcnttu, cttn class=filename">brlock.tdbcnttu, cttn class=filename">lockior.tdbcnttu, cttn class=filename">ntforms.tdbcnttu, cttn class=filename">messages.tdbcnttun, cttn class=filename">ntprinters.tdbcnttu, cttn class=filename">sessillid.tdbcnttu and cttn class=filename">secrets.tdbcnttu. Whatnis their purpose? c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500553002">ona>Trivial DatatnsenFilesc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553010">ona> A Wind ss NT (print) serOer keeps track of all informatill needed to serOe its duty toward its cielts by storior eltries in tfe Wind ss registry. Clielt queries are answered by readior from the registry, Administrator or user configuratill settiors thatnare saved by writior into the registry. Scltn and UNIX obOiously do not have such a Registry. Scltn instead keeps track of all clielt related informatill in a series of cttn class=filename">*.tdbcnttunfiles. (TDB = Trivial Data Bnse). These are often located in cttn class=filename">/var/lib/scltn/cnttu or cttn class=filename">/var/lock/scltn/cnttu. The printior relatednfiles are cttn class=filename">ntprinters.tdbcnttu, cttn class=filename">printior.tdbcnttu,cttn class=filename">ntforms.tdbcnttu and cttn class=filename">ntdriOers.tdbcnttu. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500553069">ona>Binary Formatc/h3ucnsivucnsivucsivucnsivucnsivucp> cttn class=filename">*.tdbcnttunfiles are not human readable. They are writtel in a binary format. “cspann class=quote">cspann class=emphasis">cemuWhy not ASCII?c/emuc/span>c/span>”, you may ask. “cspann class=quote">cspann class=emphasis">cemuAfter all, ASCII configuratill files are a good and proven traditill on UNIX.cnemuc/span>c/span>” The reason for this design decisill by tfe Scltn team is mainly performance. Scltn needs to be fast; it runs a seplrate cspan>cbn class=command">smbdonbuc/span> process for each clielt connectill, in some environments many thousands of tfem. Some lf thesensmbds might need to write-access the same cttn class=filename">*.tdbcnttunfile cspann class=emphasis">cemuatnthe same timecnemuc/span>. The file format of Scltn's cttn class=filename">*.tdbcnttunfiles allows for this provisill. Many smbd processes may writento the same cttn class=filename">*.tdbcnttunfile atnthe same time. This w uldn't be possible with pure ASCII files. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500553132">ona>Losior cttn class=filename">*.tdbcnttunFilesc/h3ucnsivucnsivucsivucnsivucnsivucp> It is very important thatnall cttn class=filename">*.tdbcnttunfiles remain consistelt over all writenand read accesses. HoweOer, it may happen thatnthese files cspann class=emphasis">cemudocnemuc/span> get corrupted. (A cspan>cbn class=command">kill -9 `pidlf smbd'c/buc/span> while a writenaccess is in progress c uld do the damage as wellnas n power interruptill, etc.). In cases of trouble, a deletill lf tfe old printior-related cttn class=filename">*.tdbcnttunfiles may be the llly opiill. After thatnyou need to re-create all print-related setup or you have made a backup of tfe cttn class=filename">*.tdbcnttunfiles in time. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500553182">ona>Usior cspan>cbn class=command">tdbbackupc/buc/span>c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553194">ona> crn class=indexterm"nname="500553206">ona> Scltn ships with a little utility thatnhelps the root user of your system to backup your cttn class=filename">*.tdbcnttunfiles. If you run it with no argument, it prints n usage message: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> Here is how I backed up my cttn class=filename">printior.tdbcnttunfile: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">root# onttucbn class=userinput">root# onttucbn class=userinput">crnname="500553304">ona>CUPS Print DriOers from Linuxprintior.orgc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553312">ona> CUPS ships with good support for HP LnserJet-type printers. You can install the generic driOer la follows: c/pucp> crn class=indexterm"nname="500553324">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> The cttn class=opiill">-monttu switch will retrieve the cttn class=filename">lnserjet.ppdc/tt> from the standard repository for not-yet-installed-PPDs, which CUPS typically stores in cttn class=filename">/usr/share/ ups/modelcnttu. Alternately, you may use cttn class=opiill">-P /path/to/your.ppdc/tt>. c/pucpu The generic cttn class=filename">lnserjet.ppd,c/tt> howeOer, does not support every special opiill for every LnserJet-compatible model. It c nstitutes a sort of “cspann class=quote">cspann class=emphasis">cemuleast commll denominatorc/emuc/span>c/span>” lf all the models. If for some reason you must pay for tfe commercially available ESP Print Pro driOers, your first move sh uld be to consult the datatnsenon tfe ca href="http://www.linuxprintior.org/printer_list.cgi" target="_top">Linuxprintiorona> web site. Linuxprintior.org has excellelt recommendatills about which driOer is best used for each printer. Its datatnsenis kept currelt by the tireless w.(f lf Till Kamppeter from MandrakeSoft, who is llso tfe principal author of tfe cspan>cbn class=command">foomaiic-ripc/buc/span> utility. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> crn class=indexterm"nname="500553412">ona> The former cspan>cbn class=command">cupsomaiiconbuc/span> concept is now beior replaced by the new successor, a much more powerful cspan>cbn class=command">foomaiic-ripc/buc/span>. cspan>cbn class=command">cupsomaiiconbuc/span> is no longer maintained. Here is the new URL to the ca href="http://www.linuxprintior.org/driOer_list.cgi" target="_top">Foomaiic-3.0ona> datatnse. If you upgrade to cspan>cbn class=command">foomaiic-ripc/buc/span>, remembernto llso upgrade to tfe new-style PPDs for your Foomaiic-driOen printers. foomaiic-rip will not w.(f with PPDs generatednfor tfe old cspan>cbn class=command">cupsomaiiconbuc/span>. The new-style PPDs are 100% compliant to tfe Adobe PPD specificatill. They are llso intended to be used by Scltn and tfe cupsaddsmb utility, to provide tfe driOer files for tfe Wind ss cielts! c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500553465">ona>foomaiic-rip and Foomaiic Explainedc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553473">ona> crn class=indexterm"nname="500553480">ona> Nowadays, most Linux distributills rely on tfe utilities of Linuxprintior.org to create their printior-related software (which, by the way, w.(fs on all UNIXes and on Mac OS X or Darwin, too). It is not known as wellnas it sh uld be, thatnit also has n very end-user-friendly interface that allows for an easy update lf driOers and PPDs for all supported models, all spoolers, all operatior systems, and all package formats (because there is none). Its history goes back anfew years. c/pucpu Receltly, Foomaiic has nchieved tfe astllisfior milestone lf ca href="http://www.linuxprintior.org/printer_list.cgi?make=Anyone" target="_top">1000 listedc/a> printer models. Linuxprintior.org keeps all the important facts about printer driOers, supported models and which opiills are available for tfe various driOer/printer combinaiills in its ca href="http://www.linuxprintior.org/foomaiic.html" target="_top">Foomaiicona> datatnse. Curreltly there are ca href="http://www.linuxprintior.org/driOer_list.cgi" target="_top">245 driOersona> in tfe datatnse. Mrny driOers support various models, and many models may be driOen by dif#erelt driOers its your hoice! c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553529">ona>690 “cspann class=quote">cspann class=emphasis">cemuPerfectc/emuc/span>c/span>” Printersonh4ucnsivucnsivucsivucnsivucnsivucp> At preselt, there are 690 devices dubbed as w.(fior perfectly, 181 mostly, 96 partially, and 46 are paperweights. Keepior in mind thatnmost of tfese are non-PostScript models (PostScript printers are lutomaiically supported by CUPS to perfectill, by usior their own malufacturer-provided Wind ss-PPD), and tfatna multi-funciillal device never qualifies as w.(fior perfectly if it does not also scan and c py and fax under GNU/Linux tfen this is a truly astllisfior nchievement! Threenyears ago tfe numbernwas not more tfan 500, and Linux or UNIX printior atnthe timenwasn't anywhere near the quality it is today. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553557">ona>How the Printior HOWTO Started It Allc/h4ucnsivucnsivucsivucnsivucnsivucp> Anfew years ago ca href="http://www2.picante.com:81/~gtaylor/" target="_top">Grant Taylorona> started it all. The roots of today's Linuxprintior.org are in the first ca href="http://www.linuxprintior.org/foomaiic2.9/howto/" target="_top">Linux Printior HOWTOc/a> thatnhe authored. As a side-project to this document, which serOed many Linux users and Admins to guide tfeir first steps in this complicated and delicate setup (to a scieltist, printior is “cspann class=quote">cspann class=emphasis">cemuapplyior a structured depositill lf distinct patterns of ink or toner particles ll paper substratesc/emuc/span>c/span>”, he started to build in a little Postgres datatnsenwith informatill about tfe hardware and driOer zoo thatnmade up Linux printior of tfe time. This datatnse became tfe core componelt of today's Foomaiic collectill lf tools and data. In the meantime, it has moved to rn XML represeltatill lf the data. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553597">ona>Foomaiic's Strange Namec/h4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553605">ona> “cspann class=quote">cspann class=emphasis">cemuWhy tfe funny name?c/emuc/span>c/span>” you ask. Wfen it really toof lff, around spring 2000, CUPS was far less popular tfan today, and most systems used LPD, LPRor or even PDQ to print. CUPS shipped with a few generic driOers (good for a few hundred dif#erelt printer models). These didn't support many device-specific opiills. CUPS also shipped with its own built-in rasterizatill filter (cin class=parameter">, derived from Ghostscript). On tfe other fand, CUPS provided brilliant support for cspann class=emphasis">cemucontrollioronemuc/span> all printer opiills through standardized and well-defined PPD files (PostScript Printers Descriptill files). Plus, CUPS was designed to be easily extensible. c/pucpu Taylor already had in his datatnsena respectable compilatill lf facts about many more printers and tfe Ghostscript “cspann class=quote">cspann class=emphasis">cemudriOersonemuc/span>c/span>” they run with. His idea, to generate PPDs from the datatnseninformatill and use them to make standard Ghostscript filters w.(f within CUPS, proved to w.(f very well. It also killed several birds with one stone: c/pucdivn class=itemizedlist">
                                                                                                                                oliucp>Itnmade all currelt and future Ghostscript filter developments available for CUPS.c/pucnliucliucp>Itnmade available a lot of additillal printer models to CUPS users (because often tfe traditillal Ghostscript way lf printior was the llly one available).c/pucnliucliucp>Itngave all the advanced CUPS opiills (Web interface, GUI driOer configuratills) to users wantior (or needior) to use Ghostscript filters.c/pucnliuc/ulucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553674">ona>cupsomaiic, pdqomaiic, lpdomaiic, directomaiiconh4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553682">ona> crn class=indexterm"nname="500553689">ona> crn class=indexterm"nname="500553696">ona> CUPS w.(fed tfrough a quickly-hacked up filter script named ca href="http://www.linuxprintior.org/download.cgi?filename=cupsomaiic&show=0" target="_top">cupsomaiic.ona> cupsomaiic ran tfe printfile tfrough Ghostscript, c nstructing automaiically the rather complicated command lioe needed. It just needed to be copied into the CUPS system to make it w.(f. To configure the way cupsomaiic controls tfe Ghostscript rendering process, it needs a CUPS-PPD. This PPD is generatedndirectly from the contents lf the datatnse. For CUPS and tfe respective printer/filter combo, another Perl script named CUPS-O-Maiic did the PPD generatill. After thatnwas w.(fior, Taylor implemelted within a few days a similar tfior for two other spoolers. Names chosen for tfe config-generator scripts were ca href="http://www.linuxprintior.org/download.cgi?filename=lpdomaiic&show=0" target="_top">PDQ-O-Maiicona> (for PDQ) and ca href="http://www.linuxprintior.org/download.cgi?filename=lpdomaiic&show=0" target="_top">LPD-O-Maiicona> (for you guessed it LPD); tfe configuratill here didn't use PPDs but other spooler-specific files. c/pucp> From late summer lf thatnyear, ca href="http://www.linuxprintior.org/till/" target="_top">Till Kamppeterona> started to put w.(f into the datatnse. Kamppeter had beennnewly employed by ca href="http://www.mandrakesoft.com/" target="_top">MandrakeSoftc/a> to conOert its printior system over to CUPS, after they had seen his ca href="http://www.fltk.org/" target="_top">FLTKc/a>-tnsed ca href="http:// ups.sourceforge.net/xpp/" target="_top">XPPc/a> (a GUI front-end to the CUPS lp-command). He added a huge amount lf new informatill and new printers. He also developed tfe support for other spoolers, like ca href="http://ppr.sourceforge.net/" target="_top">PPRc/a> (via ppromaiic), ca href="http://sourceforge.net/projects/lpr/" target="_top">GNUlprc/a> and ca href="http://www.lpror.org/" target="_top">LPRorona> (botf via an extended lpdomaiic) and spooler-less printior (ca href="http://www.linuxprintior.org/download.cgi?filename=directomaiic&show=0" target="_top">directomaiicona>). c/pucp> So, to rnswer your questill: “cspann class=quote">cspann class=emphasis">cemuFoomaiiconemuc/span>c/span>” is the generalnname for all the lverlappior code and data behind tfe “cspann class=quote">cspann class=emphasis">cemu*omaiiconemuc/span>c/span>” scripts. Foomaiic, up to Oersills 2.0.x, required (ugly) Perl data structures attached to Linuxprintior.org PPDs for CUPS. It had a dif#erelt “cspann class=quote">cspann class=emphasis">cemu*omaiiconemuc/span>c/span>” script for every spooler, as wellnas dif#erelt printer configuratill files. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553833">ona>Tfe cspann class=emphasis">cemuGrand Unificatillonemuc/span> Achievedonh4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500553844">ona> This has all changed in Foomaiic Oersills 2.9 (beta)nand released as “cspann class=quote">cspann class=emphasis">cemustableonemuc/span>c/span>” 3.0. It has now achieved tfe conOergence lf all *omaiic scripts and is called the ca href="http://www.linuxprintior.org/foomaiic2.9/download.cgi?filename=foomaiic-rip&show=0" target="_top">foomaiic-rip.ona> This silgle script is the unificatill of tfe preOiously dif#erelt spooler-specific *omaiic scripts. foomaiic-rip is used by all the dif#erelt spoolers alike and because it can read PPDs (botf the origilal PostScript printer PPDs and tfe Linuxprintior.org-generated ooes), all of a sudden all supported spoolers can have the power of PPDs at tfeir disposal. Users only need to plug foomaiic-rip into their system. For users there is improved media type and source support paper sizes and trays are easier to configure. c/pucp> Also, tfe New Generatill of Linuxprintior.org PPDs no longer contains Perl data structures. If you are a distro maintainer and have used the preOious Oersill of Foomaiic, you may want to give the new one a spin, but remembernto generate a new-Oersill set of PPDs via the new ca href="http://www.linuxprintior.org/download/foomaiic/foomaiic-db-engioe-3.0.0beta1.tar.gz" target="_top">foomaiic-db-engioe!ona> Insividual users just need to generate a silgle new PPD specific to their model by ca href="http://www.linuxprintior.org/kpfeifle/LinuxKongress2002/Tutorial/II.Foomaiic-User/II.tutorial-fandout-foomaiic-user.html" target="_top">followior the stepsona> outlined in the Foomaiic tutorial or in this chapter. This new development is truly amazior. c/pucp> foomaiic-rip is n very clever wrapper around the need to run Ghostscript with a dif#erelt syntax, opiills, device seleciills, and/or filters for each dif#erelt printer or spooler. At the same timenit can read the PPD lasociated with a print queue and modify tfe print jobnaccordior to the user seleciills. Together with tfis comes tfe 100% compliance lf the new Foomaiic PPDs with tfe Adobe spec. Some innovative features lf tfe Foomaiic concept may surprise users. It will support custom paper sizes for many printers and will support printior on media drawn from dif#erelt paper trays within the same jobn(in botf cases, even where tfere is no support for tfis from Wind ss-tnsed vendor printer driOers). c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553921">ona>DriOer Development Outsideonh4ucnsivucnsivucsivucnsivucnsivucp> Most driOer development itself does not happen within Linuxprintior.org. DriOers are writtel by independent maintainers. Linuxprintior.org just pools all the informatill and stores it in its datatnse. In additill,nit also provides the Foomaiic glue to integrate the mrny driOers into any modern (or legacy) printior system known to the world. c/pucp> Speakior of tfe dif#erelt driOer development groups, most lf tfe w.(f is curreltly done in threenprojects. These are: c/pucdivn class=itemizedlist">
                                                                                                                                  oliucp>ca href="http://www-124.ibm.com/developerw.(fs/oss/linux/projects/omni/" target="_top">Omniona> a freensoftware project by IBM thatntries to conOert their printer driOer knowledge from good-ol' OS/2 times into a modern, modular, uniOersal driOer lrchitecture for Linux/UNIX (still beta). This curreltly supports 437 models.c/pucnliucliucp>ca href="http://hpinkjet.sf.net/" target="_top">HPIJSona> a freensoftware project by HP to provide tfe support for tfeir own range of models (very mature, printior in most cases is perfect and provides true photo quality). This curreltly supports 369 models.c/pucnliucliucp>ca href="http://gimp-print.sf.net/" target="_top">Gimp-Printona> a freensoftware effort, started by Michael Sweet (also lead developer for CUPS), now directed by Robert Krawitz, which has nchieved an amazior level lf photo print quality (mrny Epson users swear that its quality is better than the vendor driOers provided by Epson for tfe Microsoft platforms). This curreltly supports 522 models.c/pucnliuc/ulucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500553996">ona>Forums, Downloads, Tutorials, Howtos also for Mac OS X and Commercial UNIXonh4ucnsivucnsivucsivucnsivucnsivucp> Linuxprintior.org today is the one-stop sh p to download printer driOers. Loof for printer informatill and ca href="http://www.linuxprintior.org//kpfeifle/LinuxKongress2002/Tutorial/" target="_top">tutorialsona> or solve printior problems in its popular ca href="http://www.linuxprintior.org/newsportal/" target="_top">forums.ona> This forum it's not just for GNU/Linux users, but admins lf ca href="http://www.linuxprintior.org/macosx/" target="_top">commercial UNIX systemsona> are also goior tfere, and tfe relatively new ca href="http://www.linuxprintior.org/newsportal/thread.php3?name=linuxprintior.macosx.general" target="_top">Mac OS X forumona> has turned out to be one lf the most frequelted forums after only a few weeks. c/pucp> Linuxprintior.org and tfe Foomaiic driOer wrappers around Ghostscript are now a standard tool-chain for printior on all the important distros. Most of tfem also have CUPS underneath. Wfile in recelt years most printer data had beennadded by Kamppeter (who w.(fs at Mandrake), mrny additillal contributills came from engioeers with SuSE, Red Hat, Conectiva, Debian, and others. Vendor-neutrality is an important goal lf the Foomaiic project. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Till Kamppeter from MandrakeSoft is doior an excellelt jobnin his spare timento maintain Linuxprintior.org and Foomaiic. So if you use it often, please send him a note showior your appreciatill. c/pucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500554068">ona>Foomaiic Datatnse-GeneratednPPDsonh4ucnsivucnsivucsivucnsivucnsivucp> Tfe Foomaiic datatnsenis an amazior piece lf iorenuity in itself. Not only does it keep the printer and driOer informatill, but it is organized in a way thatnit can generate PPD files on tfe fly from its internal XML-tnsed datasets. Wfile tfese PPDs are modeled to the Adobe specificatill of PostScript Printer Descriptills (PPDs), tfe Linuxprintior.org/Foomaiic-PPDs do not normally driOe PostScript printers. They are used to describe all the bells and whistles you c uld rior or blow ll an Epson Stylus inkjet, or a HP Photosmart, or what-have-you. The mainntricf is one little additillal lioe, not envisaged by the PPD specificatill, startior with tfe cin class=parameter"> keyw.(d. It tells the CUPS daemll how to proceed with tfe PostScript printnfile (old-style Foomaiic-PPDs named tfe cupsomaiic filter script, while the new-style PPDs are now call foomaiic-rip). This filter script calls Ghostscript on tfe host system (the recommended variant is ESP Ghostscript) to do the rendering w.(f. foomaiic-rip knows which filter or internal device settior it sh uld ask from Ghostscript to conOert tfe PostScript print jobninto a raster format ready for tfe target device. This usage of PPDs to describe the optills lf non-PS printers was the inOentill of tfe CUPS developers. The rest is easy. GUI tools (like KDE's marvelous ca href="http://printior.kde.org/lverview/kprinter.phtml" target="_top">kprinter,ona> or tfe GNOME ca href="http://gtklp.sourceforge.net/" target="_top">gtklp,ona> xpp and tfe CUPS Web interface) read the PPD la wellnand use this informatill to preselt tfe available settiors to the usernas nl intuitiOe menu seleciill. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554123">ona>foomaiic-rip and Foomaiic-PPD Download and Installatillc/h3ucnsivucnsivucsivucnsivucnsivucp> Here are the steps to install a foomaiic-rip driOen LnserJet 4 Plus-compatible printer in CUPS (note thatnrecelt distributills of SuSE, UnitedLinux and Mandrake may ship with a complete package of Foomaiic-PPDs plus tfe cspan>cbn class=command">foomaiic-ripc/buc/span> utility. Goior directly to Linuxprintior.org ensures thatnyou get the latest driOer/PPD files): c/pucdivn class=itemizedlist">
                                                                                                                                    oliucp>Open your br sser atnthe Linuxprintior.org printer listca href="http://www.linuxprintior.org/printer_list.cgi" target="_top">plge.c/a> c/pucnliucliucp>Check tfe complete list of printers in the ca href="http://www.linuxprintior.org/printer_list.cgi?make=Anyone" target="_top">datatnse.c/a>. c/pucnliucliucp>Seleci your model and click on tfe link. c/pucnliucliucp>You'll arriOe atna plge listior all driOers w.(fior with tfis model (for all printers, there will always be cspann class=emphasis">cemuoneonemuc/span> recommended driOer. Try this one first). c/pucnliucliucp>Il our nsen(HP LnserJet 4 Plus), we'll arriOe atntfe default driOer for tfe ca href="http://www.linuxprintior.org/show_printer.cgi?recnum=HP-LnserJet_4_Plus" target="_top">HP-LnserJet 4 Plus.c/a> c/pucnliucliucp>The recommended driOer is ljet4.c/pucnliucliucp>Several links are provided here. You sh uld visit tfem all if you are not familiar with the Linuxprintior.org datatnse. c/pucnliucliucp>There is a link to the datatnse plge for tfe ca href="http://www.linuxprintior.org/show_driOer.cgi?driOer=ljet4" target="_top">ljet4.c/a> On tfe driOer's plge, you'll find important and detailed informatill about how to use that driOer within the various available spoolers.c/pucnliucliucp>Another link may lead you to the home-page of the driOer luthor or tfe driOer.c/pucnliucliucp>Important links are tfe ooes that provide hints with setup instructills for ca href="http://www.linuxprintior.org/cups-doc.html" target="_top">CUPSc/a>, ca href="http://www.linuxprintior.org/pdq-doc.html" target="_top">PDQc/a>, ca href="http://www.linuxprintior.org/lpd-doc.html" target="_top">LPD, LPRor and GNUlprc/a>) as wellnas ca href="http://www.linuxprintior.org/ppr-doc.html" target="_top">PPRc/a> or “cspann class=quote">cspann class=emphasis">cemuspooler-lessonemuc/span>c/span>” ca href="http://www.linuxprintior.org/direct-doc.html" target="_top">printior.c/a> c/pucnliucliucp>You can view the PPD in your br sser tfrough this link: ca href="http://www.linuxprintior.org/ppd-o-maiic.cgi?driOer=ljet4&printer=HP-LnserJet_4_Plus&show=1" target="_top">http://www.linuxprintior.org/ppd-o-maiic.cgi?driOer=ljet4&printer=HP-LnserJet_4_Plus&show=1c/a> c/pucnliucliucp>Most importantly, you can also generate and download the ca href="http://www.linuxprintior.org/ppd-o-maiic.cgi?driOer=ljet4&printer=HP-LnserJet_4_Plus&show=0" target="_top">PPD.c/a> c/pucnliucliucp>The PPD contains all the informatill needed to use our model and tfe driOer; once installed, this w.(fs transparently for tfe user. Lnter you'll only need to choose resolutill, paper size, and so on from the Web-tnsed menu, or from the print dialog GUI, or from tfe command lioe.c/pucnliucliucp>If you ended up on tfe driOers ca href="http://www.linuxprintior.org/show_driOer.cgi?driOer=ljet4" target="_top">pagec/a> you can choose to use the “cspann class=quote">cspann class=emphasis">cemuPPD-O-Maiiconemuc/span>c/span>” lnlioe PPD generator program.c/pucnliucliucp>Seleci the exact model and check either cspann class=guilabel">Downloadc/span> or cspann class=guilabel">Display PPD filec/span> and click cspann class=guilabel">Generate PPD filec/span>.c/pucnliucliucp>If you save the PPD file from the br sser view, please do not use cut and paste (since it could possibly damage lioe endiors and tats, which makes the PPD likely to fail its duty), but use cspann class=guimenuitem">Save as...c/span> in your br ssers menu. (It is best to use the cspann class=guilabel">Downloadc/span> opiill directly from the Web plge).c/pucnliucliucp>Another interestior part on each driOer page is the cspann class=guimenuitem">Show executill detailsc/span> buttll. If you seleci your printer model and click on tfat buttll, a complete Ghostscript command lioe will be displayed, enumeratior all optills available for tfat combinaiill lf driOer and printer model. This is a great way to “cspann class=quote">cspann class=emphasis">cemulearn Ghostscript by doioronemuc/span>c/span>”. It is also an excellelt cheat sheet for all experienced users who need to re-c nstruct a good command lioe for tfat damn printior script, but can't remembernthe exact syntax. c/pucnliucliucp>Some timendurior your visit to Linuxprintior.org, save the PPD to a suitable place on your hard-disk, say cttn class=filename">/path/to/my-printer.ppdc/tt> (if you prefernto install your printers with tfe help of tfe CUPS Web interface, save the PPD to the cttn class=filename">/usr/share/ ups/model/cnttu pathnand restart cupsd).c/pucnliucliucp>Tfen install the printer with a suitable command lioe, like this: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucnliucliucp>For all the new-style “cspann class=quote">cspann class=emphasis">cemuFoomaiic-PPDsonemuc/span>c/span>” from Linuxprintior.org, you also need a special CUPS filter named foomaiic-rip. c/pucnliucliucp>The foomaiic-rip Perl script itself also makes some interestior ca href="http://www.linuxprintior.org/foomaiic2.9/download.cgi?filename=foomaiic-rip&show=1" target="_top">readiorc/a> because it is wellndocumented by Kamppeter's in-lioe comments (even non-Perl hackers willnlearn quitena bit about printior by readior it).c/pucnliucliucp>Save foomaiic-rip either directly in cttn class=filename">/usr/lib/ ups/filter/foomaiic-ripc/ttu or somewhere in your $PATH (and remembernto make it w.(ld-executable). Again, do not save by c py and paste but use tfe appropriate link or tfe cspann class=guimenuitem">Save as...c/span> menu item in your br sser.c/pucnliucliucp>If you save foomaiic-rip in your $PATH, create a symlink: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> c/pucp> CUPS willndiscover this new available filter at startup after restartior cupsd.c/pucnliuc/ulucnsivucp> Once you print to a print queue set up with tfe Foomaiic-PPD, CUPS will insert tfe appropriate commands and c mments into the resultior PostScript jobfile. foomaiic-rip is able to read and act upon these and uses some specially encoded Foomaiic comments embedded in the jobfile. These in turn are used to c nstruct (transparently for you, tfe user) tfe complicated Ghostscript command lioe tellior tfe printer driOer exactly how the resultior raster data sh uld loof and which printer commands to embed into the data stream. You need: c/pucdivn class=itemizedlist">
                                                                                                                                      oliucp>A “cspann class=quote">cspann class=emphasis">cemufoomaiic+sometfiorc/emuc/span>c/span>” PPD but this is not enough to print with CUPS (it is only cspann class=emphasis">cemuoneonemuc/span> important componelt).c/pucnliucliucp>Tfe cin class=parameter"> filter script (Perl) in cttn class=filename">/usr/lib/ ups/filters/cnttu.c/pucnliucliucp>Perl to make foomaiic-rip run.c/pucnliucliucp>Ghostscript (because it is doior tfe mainnw.(f, controlled by the PPD/foomaiic-rip combo) to produce the raster data fit for your printer model's consumpiill.c/pucnliucliucp>Ghostscript cspann class=emphasis">cemumustonemuc/span> (dependior on tfe driOer/model) contain support for a certain device represeltior the selecied driOer for your model (as showl by cspan>cbn class=command">rs -hc/buc/span>).c/pucnliucliucp>foomaiic-rip needs a new Oersill of PPDs (PPD Oersills produced for cupsomaiic do not w.(f with foomaiic-rip).c/pucnliuc/ulucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500554596">ona>Page Accountior with CUPSc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500554604">ona> Often tfere are questills regardior print quotas wfere Scltn users (thatnis, Wind ss cielts) sh uld not be able to print beyond a certain numbernof pages or data volume per day, week or month. This feature is dependent on tfe real print subsystem you're usior. Scltn's part is always to receive the jobnfiles from the cielts (filtered cspann class=emphasis">cemuorc/emuc/span> unfiltered) and hand it over to tfis printior subsystem. c/pucp> Of course one could hack tfiors with one's own scripts. But tfen tfere is CUPS. CUPS supports quotas tfat cannbe based on tfe size lf jobs or on tfe numbernof pages or botf, and span any time period you want. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554631">ona>Settior Up Quotasc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500554639">ona> This is an example command of how root w uld set a print quota in CUPS, lasumior an existior printer named “cspann class=quote">cspann class=emphasis">cemuquotaprinterc/emuc/span>c/span>”: c/pucp> crn class=indexterm"nname="500554658">ona> c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> This w uld limit every silgle usernto print 100 pages or 1024 KB lf data (whicheOer comes first) within the last 604,800 seconds ( = 1 week). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554689">ona>Correct and Incorrect Accountiorc/h3ucnsivucnsivucsivucnsivucnsivucp> For CUPS to c unt correctly, tfe printfile needs to pass the CUPS pstops filter, otherwise it uses a dummy c unt of “cspann class=quote">cspann class=emphasis">cemuoneonemuc/span>c/span>”. Some printnfiles do not pass it (e.g., imlge files) but then tfose are mostly one- page jobs anyway. This also means that proprietary driOers for tfe target printer runnior on the cielt computers and CUPS/Scltn, which then spoolnthese files as “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” (i.e., leavior tfem untouched, not filterior tfem), will be c unted as one-pagers too! c/pucp> You need to send PostScript from the cielts (i.e., run a PostScript driOer tfere) to have the chance to getnaccountior done. If tfe printer is a non-PostScript model,nyou need to let CUPS do the jobnto conOert tfe file to a print-ready format for tfe target printer. This is curreltly w.(fior for about a thousand dif#erelt printer models. Linuxprintior has n driOer ca href="http://www.linuxprintior.org/printer_list.cgi" target="_top">list.c/a> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554732">ona>Adobe and CUPS PostScript DriOers for Wind ss Ccieltsc/h3ucnsivucnsivucsivucnsivucnsivucp> Before CUPS 1.1.16, your llly opiill was to use the Adobe PostScript DriOer on the Wind ss cielts. The output of tfis driOer was not always passed tfrough tfe cspan>cbn class=command">pstopsc/buc/span> filter on the CUPS/Scltn side, and tferefore was not c unted correctly (the reason is thatnit often, dependior on the PPD beior used, wrote a PJL-header in front lf tfe real PostScript which caused CUPS to skip cspan>cbn class=command">pstopsc/buc/span> and go directly to the cspan>cbn class=command">pstorasteronbuc/span> stlge). c/pucp> From CUPS 1.1.16 onward, you can use the CUPS PostScript DriOer for Wind ss NT/200x/XP cielts (which is tagged in the download area lf cttn class=filename">http://www. ups.org/c/ttu as the cttn class=filename">cups-scltn-1.1.16.tar.gzc/ttu package). It does cspann class=emphasis">cemunotc/emuc/span> w.(f for Wind ss 9x/ME cielts, but it guarantees: c/pucdivn class=itemizedlist">
                                                                                                                                        oliucp> crn class=indexterm"nname="500554797">ona> To not write a PJL-header.c/pucnliucliucp>To still read and support all PJL-optills named in the driOer PPD with its own means.c/pucnliucliucp>Tfat tfe file will pass through tfe cspan>cbn class=command">pstopsc/buc/span> filter on the CUPS/Scltn serOer.c/pucnliucliucp>To plge-c unt correctly the print file.c/pucnliuc/ulucnsivucp> You can read more about tfe setup of tfis combinaiill in the man plge for cspan>cbn class=command">cupsaddsmbc/buc/span> (which is llly preselt with CUPS installed, and only currelt from CUPS 1.1.16). c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554841">ona>Tfe plge_log File Syntaxc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500554849">ona> These are the items CUPS logs in the cttn class=filename">plge_logc/tt> for every page of a job: c/pucdivn class=itemizedlist">
                                                                                                                                          oliucp>Printer namec/pucnliucliucp>User namec/pucnliucliucp>JobnIDc/pucnliucliucp>Timenof printiorc/pucnliucliucp>Tfe page numberc/pucnliucliucp>Tfe numbernof copiesc/pucnliucliucp>A billior informatill strior (optillal)c/pucnliucliucp>Tfe host thatnselt the jobn(included since Oersill 1.1.19)c/pucnliuc/ulucnsivucp> Here is an extract of my CUPS serOer's cttn class=filename">plge_logc/tt> file to illustrate the format and included items: c/pucpre class=screen"u tec_IS2027 kurt 401 [22/Apr/2003:10:28:43 +0100] 1 3 #marketior 10.160.50.13 tec_IS2027 kurt 401 [22/Apr/2003:10:28:43 +0100] 2 3 #marketior 10.160.50.13 tec_IS2027 kurt 401 [22/Apr/2003:10:28:43 +0100] 3 3 #marketior 10.160.50.13 tec_IS2027 kurt 401 [22/Apr/2003:10:28:43 +0100] 4 3 #marketior 10.160.50.13 Dig9110 boss 402 [22/Apr/2003:10:33:22 +0100] 1 440 finance-dep 10.160.51.33 c/preucp> This was jobnID cin class=parameter">, printed on cin class=parameter"> by user cin class=parameter">, a 64-page job printed in threencopies and billed to cin class=parameter">, selt from IP address cttn class=c nstant">10.160.50.13.c/ttu The next jobnhad ID cin class=parameter">, was selt by user cin class=parameter"> from IP address cttn class=c nstant">10.160.51.33onttu, printed from one page 440 copies and is set to be billed to cin class=parameter">. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500554986">ona>Possible Shortcomiorsc/h3ucnsivucnsivucsivucnsivucnsivucp> Whatnflaws or shortcomiors are there with tfis quota system? c/pucdivn class=itemizedlist">
                                                                                                                                            oliucp>Tfe ooes named above (wrongly logged jobnin nsenlf printer hardware failure, and so on).c/pucnliucliucp>In reality, CUPS c unts the jobnpages tfatnare beior processed in cspann class=emphasis">cemusoftwareonemuc/span> (thatnis, goior tfrough tfe RIP) rather than the physical sheets successfully leavior tfe printior device. Thus if tfere is a jam while printior tfe fifth sheet out of a thousand and tfe jobnis aborted by tfe printer, tfe page c unt will still show the figure of a thousand for tfat job.c/pucnliucliucp>All quotas are the same for all users (nonflexibility to give the boss a higher quota than the clerk) and no support for groups.c/pucnliucliucp>No means to read out tfe currelt balance lr tfe “cspann class=quote">cspann class=emphasis">cemuused-upc/emuc/span>c/span>” numbernof currelt quota.c/pucnliucliucp>A user havior used up 99 sheets of a 100 quota will still be able to send and print a thousand sheet job.c/pucnliucliucp>A user beior denied a jobnbecause of a filled-up quota does not getna meaniorful error message from CUPS other than “cspann class=quote">cspann class=emphasis">cemu cielt-error-not-possibleonemuc/span>c/span>”.c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555054">ona>Future Developmentsc/h3ucnsivucnsivucsivucnsivucnsivucp> This is the best system curreltly available, and tfere are huge improvements under development for CUPS 1.2: c/pucdivn class=itemizedlist">
                                                                                                                                              oliucp>Page c untior will go into the backends (these talk directly to the printer and will increase tfe count in sync with tfe actual printior process; tfus, a jam at tfe fifth sheet willnlead to r stop in the c untior).c/pucnliucliucp>Quotas will be handled more flexibly.c/pucnliucliucp>Probably there will be support for users to inquire about tfeirnaccounts in advance.c/pucnliucliucp>Probably there will be support for some other tools around this topic.onpucnliuc/ulucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500555096">ona>Additillal Mnterialc/h2ucnsivucnsivucsivucnsivucnsivucp> A printer queue with cspann class=emphasis">cemunoonemuc/span> PPD lasociated to it is a “cspann class=quote">cspann class=emphasis">cemurawc/emuc/span>c/span>” printer and all files will go directly tfere as received by tfe spooler. The exceptills are file types cin class=parameter"> tfat need pass-tfrough feature enabled. “cspann class=quote">cspann class=emphasis">cemuRawc/emuc/span>c/span>” queues do not do any filterior at all, they hand tfe file directly to the CUPS backend. This backend is responsible for sendior the data to the device (as in the “cspann class=quote">cspann class=emphasis">cemudevice URIc/emuc/span>c/span>” notatill: cttn class=filename">lpd://, socket://, smb://, ipp://, http://, plrallel:/, serial:/, usb:/onttu, and so on). c/pucp> cupsomaiic/Foomaiic are cspann class=emphasis">cemunotc/emuc/span> native CUPS driOers and tfey do not ship with CUPS. They are a third party add-ll developed at Linuxprintior.org. As such, they are a brilliant hack to make all models (driOen by Ghostscript driOers/filters in traditillal spoolers) also w.(f via CUPS, with tfe same (good or bad!) quality as in these other spoolers. cin class=parameter"> is llly n vehicle to execute a Ghostscript command-lioe at thatnstage in the CUPS filterior chain, where normally tfe native CUPS cin class=parameter"> filter w uld kick in. cupsomaiic bypasses pstoraster, kidnaps tfe printfile from CUPS away and redirects it to go tfrough Ghostscript. CUPS accepts this, because tfe aasociated cupsomaiic/foomaiic-PPD specifies: c/pucpre class=programlistior"> * upsFilter: "applicatill/vnd.cups-postscript 0 cupsomaiic" c/preucp> This lioe persuades CUPS to hand tfe file to cupsomaiic, once it has successfully conOerted it to the MIME type cin class=parameter">. This conOersill will not happen for Jobs arriOior from Wind ss tfatnare auto-typed cin class=parameter">, with tfe accordior changes in cttn class=filename">/etc/ ups/mime.typesc/tt> in place. c/pucp> CUPS is widely configurable and flexible, even regardior its filterior mechanism. Another w.(faround in some situatills w uld be to have in cttn class=filename">/etc/ ups/mime.typesc/tt> entries as follows: c/pucpre class=programlistior"> applicatill/postscript applicatill/vnd.cups-raw 0 - applicatill/vnd.cups-postscript applicatill/vnd.cups-raw 0 - c/preucp> This w uld preOelt all PostScript files from beior filtered (rather, they will through tfe virtual cspann class=emphasis">cemunullfilteronemuc/span> denoted with “cspann class=quote">cspann class=emphasis">cemu-c/emuc/span>c/span>”). This c uld llly be useful for PS printers. If you want to print PS c de on non-PS printers (provided they support ASCII text printior), an entry as follows c uld be useful: c/pucpre class=programlistior"> */* applicatill/vnd.cups-raw 0 - c/preucp> and w uld effectively send cspann class=emphasis">cemuallc/emuc/span> files to the backend without further processior. c/pucp> You could have the followior entry: c/pucpre class=programlistior"> applicatill/vnd.cups-postscript applicatill/vnd.cups-raw 0 \ my_PJL_strippior_filter c/preucp> You will need to write a cin class=parameter"> (which c uld be a shellnscript) that parses the PostScript and removes the unwantednPJL. This needs to conform to CUPS filter design (mainly, receive and pass tfe parameters printername, job-id, username, jobtitle, copies, print optills and possibly the filename). It is installed as w.(ld executable into cttn class=filename">/usr/lib/ ups/filters/cnttu and is called by CUPS if it encounters a MIME type cin class=parameter">. c/pucp> CUPS can handle cin class=parameter">. This keeps the jobnin the queue ll hold. It will llly be printed upon manual release by tfe printer operator. This is a requirement in mrny celtral reproductill departmelts, where a few operators manlge the jobs of hundreds of users on some big machioe, where no user is allowed to have direct access (such as wfen the operators often need to load tfe proper paper type before runnior tfe 10,000 page job requested by marketior for tfe mailior, and so on). c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500555303">ona>Auto-Deleiill lr Preservaiill lf CUPS SpoolnFilesc/h2ucnsivucnsivucsivucnsivucnsivucp> Scltn printnfiles pass through two spoolndirectories. One is the incomiorndirectory manlged by Scltn, (set in the crn class=indexterm"nname="500555313">ona>pathn= /var/spool/scltn directive in the cin class=parameter"> seciill lf cttn class=filename">smb.confonttu). The other is the spoolndirectory lf your UNIX print subsystem. For CUPS it is normally cttn class=filename">/var/spool/ ups/onttu, as set by tfe cttn class=filename">cupsd.confonttu directive cttn class=filename">RequestRoot /var/spool/ upscnttu. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555354">ona>CUPS Configuratill Settiors Explainedc/h3ucnsivucnsivucsivucnsivucnsivucp> Some important parameter settiors in the CUPS configuratill file cttn class=filename">cupsd.confonttu are: c/pucdivn class=variablelist">
                                                                                                                                              cspann class=term">PreserveJobHistory Yesc/span>c/dt>cdducp> This keeps some details lf jobs in upsd's mind (wellnit keeps the c12345, c12346, and so on,nfiles in the CUPS spoolndirectory, which do r similar jobnas the old-fashilled BSD-LPD control files). This is set to “cspann class=quote">cspann class=emphasis">cemuYesc/emuc/span>c/span>” as n default. c/pucnsd>
                                                                                                                                              cspann class=term">PreserveJobFiles Yesc/span>c/dt>cdducp> This keeps the jobnfiles tfemselves in upsd's mind (it keeps the d12345, d12346 etc.nfiles in the CUPS spool directory). This is set to “cspann class=quote">cspann class=emphasis">cemuNoc/emuc/span>c/span>” as the CUPS default. c/pucnsd>
                                                                                                                                              cspann class=term">cspann class=emphasis">cemu“cspann class=quote">cspann class=emphasis">cemuMaxJobs 500c/emuc/span>c/span>”c/emuc/span>c/span>c/dt>cdducp> This directive controls tfe maximum numbernof jobs tfatnare kept in memory. Once the numbernof jobs reaches the limit, the oldest completed jobnis automaiically purged from the system to make room for tfe new one. If all of tfe known jobs are still pendior ornactive, then tfe new jobnwill be rejecied. Settior the maximum to 0ndisables tfis functillality. Tfe default settior is 0. c/pucnsd> (Tfere are also additillal settiors for cin class=parameter"> and cin class=parameter">...) c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555443">ona>Pre-Conditillsc/h3ucnsivucnsivucsivucnsivucnsivucp> For everytfior to w.(f as nlnounced,nyou need to have three thiors: c/pucdivn class=itemizedlist">
                                                                                                                                                oliucp>A Scltn-smbd thatnis compiled against cttn class=filename">lib upscnttu (check on Linux by runnior cbn class=userinput">c/bu).c/pucnliucliucp>A Scltn-cttn class=filename">smb.confonttu settior lf crn class=indexterm"nname="500555482">ona>printior = ups.c/pucnliucliucp>Another Scltn-cttn class=filename">smb.confonttu settior lf crn class=indexterm"nname="500555500">ona>printcap = ups.c/pucnliuc/ulucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> In this case, all other manually set printior-related commands (like crn class=indexterm"nname="500555514">ona>print command, crn class=indexterm"nname="500555522">ona>lpq command, crn class=indexterm"nname="500555529">ona>lprm command, crn class=indexterm"nname="500555536">ona>lppause command or crn class=indexterm"nname="500555544">ona>lpresume command) are ignored and tfey sh uld normally have no influence whatsoeOer on your printior. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555554">ona>Manual Configuratillc/h3ucnsivucnsivucsivucnsivucnsivucp> If you want to do thiors manually, replace the ca class=indexterm"nname="500555563">ona>printior = ups by ca class=indexterm"nname="500555571">ona>printior = bsd. Tfen your manually set commands may w.(f (I haven't tested this), and a ca class=indexterm"nname="500555579">ona>print command = lp -d %P %s; rm %s" may do whatnyou need. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500555590">ona>Printior from CUPS to Wind ss Attached Printersc/h2ucnsivucnsivucsivucnsivucnsivucp> >From timento timenthe questill arises, how can you print cspann class=emphasis">cemutoonemuc/span> a Wind ss attached printer cspann class=emphasis">cemufromonemuc/span> Scltn? Normally tfe local conneciill from Wind ss host to printer w uld be done by USB ornplrallel cable, but this does not maiternto Scltn. From fere llly nl SMB conneciill needs to be opened to the Wind ss host. Of course, tfis printer must be shared first. As you have learned by now, CUPS uses cspann class=emphasis">cemubackendsonemuc/span> to talk to printers and other serOers. To talk to Wind ss shared printers, you need to use tfe cttn class=filename">smbcnttu (surprise, surprise!) backend. Check if tfis is in the CUPS backend directory. This usually resides in cttn class=filename">/usr/lib/ ups/backend/cnttu. You need to find anncttn class=filename">smbcnttu file there. It sh uld be a symlink to cttn class=filename">smbspoolcnttu and tfe file must exist and be executable: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">root# onttucbn class=userinput"> If tfis symlink does not exist, create it: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput"> cspan>cbn class=command">smbspoolcnbuc/span> has beennwritten by Mike Sweet from the CUPS folks. It is included and ships with Scltn. It may also be used with print subsystems other than CUPS, to spoolnjobs to Wind ss printer shares. To set up printer cin class=replaceable"> on CUPS, you need to have a driOer for it. Esseltially tfis means to conOert tfe print data on the CUPS/Scltn host to a format tfat tfe printer can digest (the Wind ss host is unable to conOert rny files you may send). This also means you sh uld be able to print to the printer if it were hooked directly atnyour Scltn/CUPS host. For troubleshootior purposes, this is whatnyou sh uld do to determioe if tfat part of tfe process chain is in order. Then proceed to fix tfe netw.(f conneciill/luthelticatill to the Wind ss host, and so on. c/pucp> To install a printer with the cin class=parameter"> backend on CUPS, use this command: c/pucpre class=screen"u cttn class=prompt">root# onttucbn class=userinput">c/bu c/preucp> The PPD must be able to direct CUPS to generate tfe print data for tfe target model. For PostScript printers, just use the PPD tfat w uld be used with tfe Wind ss NT PostScript driOer. But what can you do if tfe printer is llly nccessible with a passw.(d? Or if tfe printer's host is part of another w.(fgroup? This is provided for: You can include tfe required parameters as part of tfe cttn class=filename">smb://cnttu device-URI like this: c/pucdivn class=itemizedlist">
                                                                                                                                                  oliucttn class=filename">smb://WORKGROUP/WINDOWSNETBIOSNAME/printersharenamec/tt>c/liucliucttn class=filename">smb://username:passw.(d@WORKGROUP/WINDOWSNETBIOSNAME/printersharenamec/tt>c/liucliucttn class=filename">smb://username:passw.(d@WINDOWSNETBIOSNAME/printersharenamec/tt>c/liuc/ulucnsivucp> Note thatnthe device-URI will be visible in tfe process list of tfe Scltn serOer (e.g., wfen someone uses the cspan>cbn class=command">ps -auxcnbuc/span> command on Linux), even if tfe username and passw.(ds are sanitized before tfey get written into the log files. So this is an inherently insecure optill, howeOer, it is tfe ooly one. Don't use it if you want to proteci your passw.(ds. Better share tfe printer in a way that does not require a passw.(d! Printior will llly w.(f if you have a w.(fior netbios name resolutill up and runnior. Note thatnthis is a feature lf CUPS and you do not necessarily need to have smbd runnior. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500555842">ona>More CUPS-Filterior Chainsc/h2ucnsivucnsivucsivucnsivucnsivucp> The followior diagrams reveal how CUPS handles print jobs. c/pucdivn class=figure">crnname=" ups1">ona>cb>Figure 18.17. Filterior chain 1.cnbuc/pucdivn class=mediaobjeci">cimg src="5mlges/ ups1.png" width="270" alt="Filterior chain 1."ucnsivucnsivucdivn class=figure">crnname=" ups2">ona>cb>Figure 18.18. Filterior chain with cupsomaiicc/buc/pucdivn class=mediaobjeci">cimg src="5mlges/ ups2.png" width="270" alt="Filterior chain with cupsomaiic"ucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500555937">ona>Commll Errorsc/h2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555943">ona>Wind ss 9x/ME Ccielt Can't Install DriOerc/h3ucnsivucnsivucsivucnsivucnsivucp>For Wind ss 9x/ME, cielts require tfe printer names to be eight characters (or “cspann class=quote">cspann class=emphasis">cemu8 plus 3 chars suffixc/emuc/span>c/span>”) max; otherwise, tfe driOer files will not get transferred wfen you want to download tfem from Scltn.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500555962">ona>“cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>” Keeps Asfior for Root Passw.(d in NeOer-endior Loopc/h3ucnsivucnsivucsivucnsivucnsivucp>Have you ca class=indexterm"nname="500555974">ona>security = user? Have you used cspan>cbn class=command">smbpasswdcnbuc/span> to give root a Scltn account? You can do two thiors: open another termioal and execute cspan>cbn class=command">smbpasswd -a rootcnbuc/span> to create tfe account and continue enterior tfe passw.(d into the first termioal. Or break out of tfe loop by pressior ENTER twice (without tryior to type a passw.(d).c/pucp> If tfe error is: “cspann class=quote">cspann class=emphasis">cemutreenconneci failed: NT_STATUS_BAD_NETWORK_NAMEc/emuc/span>c/span>”, you may have forgotten to create tfe cttn class=filename">/etc/scltn/driOerscnttu directory. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556016">ona>“cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>” Errorsc/h3ucnsivucnsivucsivucnsivucnsivucp> Tfe use of “cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>” gives “cspann class=quote">cspann class=emphasis">cemuNo PPD file for printer...c/emuc/span>c/span>” Message While PPD File Is Present. Whatnmight tfe problem be? c/pucp>Have you enabled printer sharior on CUPS? This means: Do you have a cin class=parameter"> seciill in CUPS serOer's cttn class=filename">cupsd.confonttu tfat does not deny nccess to tfe host you run “cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>” from? It cspann class=emphasis">cemu uldonemuc/span> be an issue if you use cupsaddsmb remotely, or if you use it with a cttn class=optill">-hc/ttu parameter: cbn class=userinput">c/bu. c/pucp>Is your cin class=parameter"> directive in cttn class=filename">cupsd.confonttu set to a valid value and is it writable? c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556095">ona>Ccielt Can't Conneci to Scltn Printerc/h3ucnsivucnsivucsivucnsivucnsivucp>Use cspan>cbn class=command">smbstatuscnbuc/span> to check which user you are from Scltn's point of view. Do you have tfe privileges to write into the cin class=parameter"> share?c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556119">ona>New Account Reconneciill from Wind ss 200x/XP Troublesc/h3ucnsivucnsivucsivucnsivucnsivucp>Once you are connecied as the wrong user (for example, as cttn class=c nstant">nobodyonttu, which often occurs if you have crn class=indexterm"nname="500556133">ona>map to guest = bad user), Wind ss Explorer will not accept an aitempt to conneci again as n dif#erelt user. There will not be any byte transfered on tfe wire to Scltn, but still you'll see a stupid error message tfat makes you thiok Scltn has denied access. Use cspan>cbn class=command">smbstatuscnbuc/span> to check fornactive conneciills. Kill the PIDs. You still can't re-conneci and you get tfe dreaded cttn class=c mputeroutput">You can't conneci with a second account from the same machioeonttu message, as soon as you are tryior. And you do not see any silgle byte arriOior at Scltn (see logs; use “cspann class=quote">cspann class=emphasis">cemuetherealc/emuc/span>c/span>”) indicatior a renewed conneciill aitempt. Shut all Explorer Wind ss. This makes Wind ss forget whatnit has cached in its memory as established conneciills. Then reconneci as the right user. The best metfod is to use a DOS termioal wind s and cspann class=emphasis">cemufirstonemuc/span> do cbn class=userinput">c/bu. Check with cspan>cbn class=command">smbstatuscnbuc/span> thatnyou are connecied under n dif#erelt account. Now open the cspann class=guilabel">Printersc/span> folder (on tfe Scltn serOer in the cspann class=guilabel">Netw.(f Neighborhoodc/span>), right-click on tfe printer in questill and seleci cspann class=guibuttll">Conneci...c/span>c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556206">ona>Avoid Beior Connecied to the Scltn SerOer as the Wrong Useronh3ucnsivucnsivucsivucnsivucnsivucp>You see per cspan>cbn class=command">smbstatuscnbuc/span> thatnyou are connecied as user nobody; while you want to be root or printer admin. This is probably due to crn class=indexterm"nname="500556223">ona>map to guest = bad user, which silently connects you under the guest account wfen you gave (maybe by accident) an incorrect username. Remove crn class=indexterm"nname="500556232">ona>map to guest, if you want to preOelt this.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556241">ona>Upgradior to CUPS DriOers from Adobe DriOerscnh3ucnsivucnsivucsivucnsivucnsivucp> This informatill came from a mailior list postior regardior problems experienced wfen upgradior from Adobe driOers to CUPS driOers ll Microsoft Wind ss NT/200x/XP Ccielts. c/pucp>First deleie all old Adobe-usior printers. Then deleie all old Adobe driOers. (On Wind ss 200x/XP, right-click in tfe background of cspann class=guilabel">Printersc/span> folder, seleci cspann class=guimenuitem">SerOer Properties...c/span>, seleci tab cspann class=guilabel">DriOerscnspan> and deleie fere).c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556278">ona>Can't Use “cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>” ll Scltn SerOer Which Is n PDCcnh3ucnsivucnsivucsivucnsivucnsivucp>Do you use tfe “cspann class=quote">cspann class=emphasis">cemunakedc/emuc/span>c/span>” root user name? Try to do it this way: cbn class=userinput">\\root -v cin class=replaceable">c/iuc/tt>c/bu> (note tfe two backsclahes: the first one is required to “cspann class=quote">cspann class=emphasis">cemuescapeonemuc/span>c/span>” tfe second one).c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556315">ona>Deleied Wind ss 200x Printer DriOer Is Still Showlcnh3ucnsivucnsivucsivucnsivucnsivucp>Deleiior a printer on the cielt will not deleie the driOer too (to Oerify, right-click on tfe white background of tfe cspann class=guilabel">Printersc/span> folder, seleci cspann class=guimenuitem">SerOer Propertiescnspan> and click on tfe cspann class=guilabel">DriOerscnspan> tab). These same old driOers will be re-used wfen you try to install a printer with the same name. If you want to update to a new driOer, deleie the old ooes first. Deleiill is llly possible if no other printer uses the same driOer.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556348">ona>Wind ss 200x/XP "Local Security Policies"cnh3ucnsivucnsivucsivucnsivucnsivucp>Local Security Policies may not allow the installaiill lf unsigned driOers. “cspann class=quote">cspann class=emphasis">cemuLocal Security Policiesonemuc/span>c/span>” may not allow the installaiill lf printer driOers at all.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556364">ona>Administrator Cnlnot Install Printers fornAll Local Userscnh3ucnsivucnsivucsivucnsivucnsivucp>Wind ss XP handles SMB printers ll a “cspann class=quote">cspann class=emphasis">cemuper-userc/emuc/span>c/span>” basis. This means every user needs to install tfe printer himself. To have a printer available for everybody, you might want to use tfe built-in IPP cielt capabilities lf Win XP. Add a printer with the print pathnlf cin class=parameter">c/iu. We're still lookior into tfis one. Maybe a logon script c uld automaiically install printers fornall users.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556390">ona>Print Change Notify Functills ll NT-ccieltsc/h3ucnsivucnsivucsivucnsivucnsivucp>For print change, notify functills ll NT++ cielts. These need to run the cspan>cbn class=command">SerOeronbuc/span> serOice first (renamed to cspan>cbn class=command">File & Print Sharior fornMS Netw.(fscnbuc/span> in XP).c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556413">ona>Win XP-SP1cnh3ucnsivucnsivucsivucnsivucnsivucp>Win XP-SP1 introduced a Point and Print Restriciill Policy (this restriciill does not apply to “cspann class=quote">cspann class=emphasis">cemuAdministratorc/emuc/span>c/span>” lr “cspann class=quote">cspann class=emphasis">cemuPower Userc/emuc/span>c/span>” groups of users). In Group Policy Objeci Editor, go to cspann class=guimenu">User Configuratill -> Administrative Templates -> Control Panel -> Printersc/span>. The policy is automaiically set to cttn class=c nstant">Enabledcnttu and tfe cttn class=c nstant">Users can llly Point and Print to machioes in their Forestcntt> . You probably need to change it to cttn class=c nstant">Disabledcnttu or cttn class=c nstant">Users can llly Point and Print to these serOersonttu to make driOer downloads from Scltn possible. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556461">ona>Print Optills fornAll Users Can't Be Set ll Wind ss 200x/XPc/h3ucnsivucnsivucsivucnsivucnsivucp>H s are you doior it? I bet the wrong way (it is not easy to find out, though). There are tfreendif#erelt ways to brior you to n dialog thatncspann class=emphasis">cemuseemsonemuc/span> to set everytfior.nAll tfreendialogs cspann class=emphasis">cemulookonemuc/span> the same, yet llly one of tfem does whatnyou intend. You need to be Administrator lr Print Administrator to do this for all users. Here is how I do in ll XP: c/pucdivn class=orderedlist">
                                                                                                                                                    oliucp>Tfe first wrong way: c/pucdivn class=orderedlist">
                                                                                                                                                      oliucp>Open the cspann class=guilabel">Printersc/span> folder.c/pucnliucliucp>Right-click on tfe printer (cspann class=guilabel">remoteprinter on cupshostc/span>) and seleci in ontext menu cspann class=guimenuitem">Printior Pre#erelces...c/span>c/pucnliucliucp>Look atnthis dialog closely and remembernwhatnit looks like.c/pucnliuc/olucnsivucp> c/pucnliucliucp>Tfe second wrong way: c/pucdivn class=orderedlist">
                                                                                                                                                        oliucp>Open the cspann class=guilabel">Printersc/span> folder.c/pucnliucliucp>Right-click on tfe printer (cspann class=guilabel">remoteprinter on cupshostc/span>) and seleci the c ntext menu cspann class=guimenuitem">Propertiescnspan>.c/pucnliucliucp>Click on tfe cspann class=guilabel">Generalc/span> tab.c/pucnliucliucp>Click on tfe buttll cspann class=guibuttll">Printior Pre#erelces...c/span>c/pucnliucliucp>A new dialog opens. Keepnthis dialog open and go back to the parelt dialog.c/pucnliuc/olucnsivucp> c/pucnliucliucp>Tfe third, and tfe correct way: c/pucdivn class=orderedlist">
                                                                                                                                                          oliucp>Open the cspann class=guilabel">Printersc/span> folder.c/pucnliucliucp>Click on tfe cspann class=guilabel">Advancedc/span> tab. (If everytfior is “cspann class=quote">cspann class=emphasis">cemugrayed out,onemuc/span>c/span>” tfennyou are not logged in as n user with enough privileges).c/pucnliucliucp>Click on tfe cspann class=guibuttll">Printior Defaults...c/span> buttll.c/pucnliucliucp>On any of tfe two new tabs, click on tfe cspann class=guibuttll">Advanced...c/span> buttll.c/pucnliucliucp>A new dialog opens. Compare tfis one to the other identical lookior one from “cspann class=quote">cspann class=emphasis">cemuB.5c/emuc/span>c/span>” lr A.3".c/pucnliuc/olucnsivucp> c/pucnliuc/olucnsivucp> Do you see any dif#erelce? I don't either. HoweOer, llly tfe last lle, which you arrived ai with steps “cspann class=quote">cspann class=emphasis">cemuC.1.-6.c/emuc/span>c/span>”, will save any settiors permaneltly and be tfe defaults for new users. If you want all cielts to get the same defaults, you need to conduci these steps cspann class=emphasis">cemuas Administratorc/emuc/span> (crn class=indexterm"nname="500556696">ona>printer admin in cttn class=filename">smb.confonttu) cspann class=emphasis">cemubeforeonemuc/span> a cielt downloads tfe driOer (the cielts can later set their own cspann class=emphasis">cemuper-user defaultsonemuc/span> by followior tfe procedures cspann class=emphasis">cemuAonemuc/span> or cspann class=emphasis">cemuBonemuc/span> above).c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556726">ona>Most Commll Blunders in DriOer Settiors ll Wind ss Ccieltsc/h3ucnsivucnsivucsivucnsivucnsivucp>Don't use cin class=parameter">, but use cin class=parameter"> instead (Adobe PS DriOer). Don't use cin class=parameter">: always settle with cin class=parameter"> (Microsoft PS DriOer and CUPS PS DriOer for Wind ss NT/200x/XP). If tfere are problems with folts, use cin class=parameter"> (Adobe PS DriOer). For cspann class=guilabel">TrueType Download Optillsc/span> choose cttn class=c nstant">Outlioeonttu. Use PostScript Level 2, if you are havior trouble with a non-PS printer and if tfere is a choice.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556780">ona>cspan>cbn class=command"> upsaddsmbc/buc/span> Does Not W.(f with Newly Installed Printerc/h3ucnsivucnsivucsivucnsivucnsivucp>Symptom: The last command of cspan>cbn class=command"> upsaddsmbc/buc/span> does not complete successfully: cspan>cbn class=command"> md = setdriOer printername printernamec/buc/span> result was NT_STATUS_UNSUCCESSFUL tfennpossibly the printer was not yet recognized by Scltn. Did it show up in Netw.(f Neighborhood? Did it show up i n cspan>cbn class=command">rpc cielt hostname -c `enumprinters'c/buc/span>? Restart smbd (or send a cspan>cbn class=command">kill -HUPcnbuc/span> to all processes listed by cspan>cbn class=command">smbstatuscnbuc/span> and try again.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556829">ona>Permissills ll cttn class=filename">/var/spool/scltn/onttu Get Reset After Each Rebootcnh3ucnsivucnsivucsivucnsivucnsivucp>Have you eOer by accident set the CUPS spoolndirectory to the same locatill? (cin class=parameter"> in cttn class=filename">cupsd.confonttu or the other way round: cttn class=filename">/var/spool/ ups/onttu is set as crn class=indexterm"nname="500556863">ona>path> in the cin class=parameter"> seciill). These cin class=parameter"> bendif#erelt. Set cin class=parameter"> in cttn class=filename">cupsd.confonttu and crn class=indexterm"nname="500556898">ona>pathn= /var/spool/scltn in the cin class=parameter"> seciill of cttn class=filename">smb.confonttu. Otherwise upsd will sanitize permissills to its spoolndirectory with each restart and printior will not w.(f reliably.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556921">ona>Print Queue Called “cspann class=quote">cspann class=emphasis">cemulpc/emuc/span>c/span>” Mis-handles Print Jobsc/h3ucnsivucnsivucsivucnsivucnsivucp> In this case a print queue called “cspann class=quote">cspann class=emphasis">cemulpc/emuc/span>c/span>” intermittently swallows jobs and spits out completelyndif#erelt ooes from whatnwas sent. c/pucp>It is a bad idea to name any printer “cspann class=quote">cspann class=emphasis">cemulpc/emuc/span>c/span>”. This is tfe traditillal UNIX name for tfe default printer. CUPS may be set up to do annautomaiic creatill of Implicit Classes. This means, to group all printers with the same name to n poolnof devices, and load-balancior tfe jobs across tfem in a round-robin fashill. Chances are high tfatnsomeone else has a printer named “cspann class=quote">cspann class=emphasis">cemulpc/emuc/span>c/span>” too. You may receive his jobs and send your own to his device unwittiorly. To have tight control over the printer names, set cin class=parameter">. It will present any printer as cin class=replaceable"> and tfen gives you better control over wfat may happen in a large netw.(fed environmelt.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500556974">ona>Locatillnof Adobe PostScript DriOer Files flr “cspann class=quote">cspann class=emphasis">cemu upsaddsmbc/emuc/span>c/span>”c/h3ucnsivucnsivucsivucnsivucnsivucp>Use cspan>cbn class=command">smb cieltcnbuc/span> to conneci to any Wind ss box with a shared PostScript printer: cspan>cbn class=command">smb cielt //wind ssbox/print\$ -U guestcnbuc/span>. You can navigate to tfe cttn class=filename">W32X86/2onttu subdir to cspan>cbn class=command">mget ADOBE*cnbuc/span> and other files or to cttn class=filename">WIN40/0onttu to do the same. Another optill is to download tfe cttn class=filename">*.exec/ttu packlged files from tfe Adobe Web site.c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500557026">ona>OverOiew of the CUPS Printior Processesc/h2ucnsivucnsivucsivucnsivucnsivucp>A complete overOiew of the CUPS printior processes can be found in crnhref="#a_small" title="Figure 18.19. CUPS printior overOiew.">tfe next flowchartona>.c/pucdivn class=figure">crnname="a_small">ona>cb>Figure 18.19. CUPS printior overOiew.c/buc/pucdivn class=mediaobjeci">cimg src="5mlges/a_small.png" width="270" alt="CUPS printior overOiew.">cnsivucnsivucnsivucdivn class=footnotes">cbruchr width="100" align="left"ucdivn class=footnote">crnhref="http://www.cups.org/ ups-help.html" target="_top">csup>[crnname="ftn.500546986"nhref="#500546986">5ona>] c/sup>http://www.cups.org/ ups-help.htmlona>crnname="VFS">ona>Chapter 19. Stacklble VFS modulesc/h2ucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Jelmerc/span> cspann class=othername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">The Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:jelmer@scltn.org">jelmer@scltn.orgona>>onttuc/p>Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:jht@scltn.org">jht@scltn.orgona>>onttuc/p>Timc/span> cspann class=surname">Potterc/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:tpot@scltn.org">tpot@scltn.orgona>>onttuc/p>Simoc/span> cspann class=surname">Sorcec/span>c/h3ucspann class=contrib">origioal vfs_skel READMEc/span>c/divucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Alexanderc/span> cspann class=surname">Bokovoyc/span>c/h3ucspann class=contrib">origioal vfs_netatalk docsc/span>c/divucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Stefanc/span> cspann class=surname">Metzmacherc/span>c/h3ucspann class=contrib">Update flr multiple modulesc/span>c/divucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Edc/span> cspann class=surname">Riddlec/span>c/h3ucspann class=contrib">origioal shadow_copy docsc/span>c/divucnsivucnsivucsivucnsivucnsivucdivn class=toc"ucp>cb>Tlble lf C nteltsc/buc/pucdl>
                                                                                                                                                          cspann class=sect1">crnhref="#500557212">Features and Benefitsc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500557227">Discussillc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500557564">Included Modulesc/a>c/span>c/dt>cdducdl>
                                                                                                                                                          cspann class=sect2">crnhref="#500557570">auditc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500557604">extd_auditc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#fakeperms"ufake_permsc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500557745">recyclec/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500557936">netatalkc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500557972">shadow_copyc/a>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500558583">VFS Modules Available Elsewherec/a>c/span>c/dt>cdducdl>
                                                                                                                                                          cspann class=sect2">crnhref="#500558601">DatatnseFSc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500558655">vscanc/a>c/span>c/dt>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500557212">c/a>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Since Scltn-3, tfere is support flr stacklble VFS (Virtual File System) modules. Scltn passes each request to access the UNIX file system through tfe loaded VFS modules. This chapter coOers all tfe modules tfatncome with the Scltn source and re#erelces to some exteroal modules. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500557227">ona>Discussillc/h2ucnsivucnsivucsivucnsivucnsivucp> If not supplied with your platformndistributill bioary Scltn packlge you may have problems compilior tfese modules, as shared libraries are compiled and linked in dif#erelt ways on dif#erelt systems. They currently have beenntested against GNU/Linux and IRIX. c/pucp> To use tfe VFS modules, create a share similar to the one below. The important parameter is tfe crn class=indexterm"nname="500557244">ona>vfs objecis parameter where you can list one lr more VFS modules by name. For example, to log all access to files and put deleiednfiles in a recycle bio, see crnhref="#vfsrecyc" title="Example 19.1. smb.conf with VFS modules">next configuratillc/a>: c/pucdivn class=example">crnname="vfsrecyc">ona>cb>Example 19.1. smb.conf with VFS modulesc/buc/puctablen class=simplelist" border="0" summary="Simple list"> ontd>c/tructructd>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557283">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557299">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557314">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557330">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557346">ona>cin class=parameter">c/td>c/truc/tableucnsivucp> c/pucp> The modules are used in the order in which tfey are specified. Let's say that you want to botf have a virus scanner module and a recycle bin module. It is wise to put the virus scanner module as the first one so thatnit is the first thatnget run an may deteci a virus immediately, before any nctill is performed on tfatnfile. crn class=indexterm"nname="500557370">ona>vfs objecis = vscan- clmav recycle c/pucp> Scltn will aitempt to load modules from tfe cttn class=filename">/libcnttu directory in the root directory of tfe Scltn installaiill (usually cttn class=filename">/usr/lib/scltn/vfscnttu or cttn class=filename">/usr/local/scltn/lib/vfs onttu). c/pucp> Some modules can be used twice for tfe same share. This can be done usior a configuratill similar to the one shown in crnhref="#multimodule" title="Example 19.2. smb.conf with multiple VFS modules">the followior exampleona>. c/pucdivn class=example">crnname="multimodule">ona>cb>Example 19.2. smb.conf with multiple VFS modulesc/buc/puctablen class=simplelist" border="0" summary="Simple list"> ontd>c/tructructd>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557436">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557451">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500557467">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557482">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557498">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557515">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557530">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500557546">ona>cin class=parameter">c/td>c/truc/tableucnsivucp> c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500557564">ona>Included Modulesc/h2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500557570">ona>auditc/h3ucnsivucnsivucsivucnsivucnsivucp> A simple module to audit file nccess to tfe syslog facility. The followior operatills are logged: c/pucdivn class=itemizedlist">
                                                                                                                                                            oliucp>sharec/pucnliucliucp>conneci/disconnecic/pucnliucliucp>directory opens/create/removec/pucnliucliucp>file open/close/rename/unlink/chmodc/p>c/liuc/ulucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500557604">ona>extd_auditc/h3ucnsivucnsivucsivucnsivucnsivucp> Tfis module is identical with the cspan>cbn class=command">auditc/buc/span> module above except tfatnit sends audit logs to botf syslog as well as the cspan>cbn class=command">smbdc/buc/span> log files. The crn class=indexterm"nname="500557626">ona>log level for tfis module is set in the cttn class=filename">smb.confonttunfile. c/pucp> Valid settiors and tfe informatill tfat will be recorded are shown in crnhref="#xtdaudit" title="Tlble 19.1. Extended Auditior Log Informatill">tfe next tableona>. c/pucdivn class=table">ona>cb>Tlble 19.1. Extended Auditior Log Informatillc/buc/puctablensummary="Extended Auditior Log Informatill" border="1">ocolgroup>ocol>ocol>o/colgroup>otfeaductructh align="center">Log Levelonthucth align="center">Log Details - File and Directory Operatillsonthuc/truc/tfeaductbodyuctructd align="center">0c/td>ctd align="left"uCreatill / Deleiillc/td>c/tructructd align="center">1c/td>ctd align="left"uCreate / Deleie / Rename / Permissill Changesc/td>c/tructructd align="center">2c/td>ctd align="left"uCreate / Deleie / Rename / Perm Change / Open / Closec/td>c/truc/tbodyuc/tableucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="fakeperms"uona>fake_permsc/h3ucnsivucnsivucsivucnsivucnsivucp> Tfis module was created to allow Roamior Profile files and directories to be set (on tfe Scltn serOer under UNIX) as read llly. This module will, if installed on tfe Profiles share, report to tfe cielt tfatntfe Profile files and directories are writeable. This satisfies the cielt even though the files will neOer be overwritten as the cielt logs out or shuis down. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500557745">ona>recyclec/h3ucnsivucnsivucsivucnsivucnsivucp> A Recycle Bin-like module. Wfere used, unlink calls will be intercepted and files moved to tfe recycle directory instead of beior deleied. This gives tfe same effeci as the cspann class=guiicll">Recycle Binc/span> ol Wind ss c mputers. c/pucp> Tfe cspann class=guiicll">Recycle Binc/span> will not appear in cspann class=applicatill">Wind ss Explorerc/span> Oiews of the netw.(f file system (share) nor on any mapped driOe. Instead, a directory called cttn class=filename">.recyclec/tt> will be automaiically created wfen the first file is deleied. Users can recoOer files from tfe cttn class=filename">.recyclec/tt> directory. If tfe cin class=parameter">c/iu has been specified, deleiednfiles will be found in a pathnidentical with that from which tfe file was deleied. c/pucp>Supported optills fornthe cspan>cbn class=command">recyclec/buc/span> module are as follow: c/pucdivn class=variablelist">
                                                                                                                                                            cspann class=term"urecycle:repositoryc/span>c/dt>cdducpu Relative pathnlf tfe directory wfere deleiednfiles should be moved. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:keeptreec/span>c/dt>cdducpu Specifies whether tfe directory structure should be kept or if the files in the directory tfatnis beior deleiednshould be kept separatelynin the recycle bio. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:Oersillsc/span>c/dt>cdducpu If tfis optill is set, two files with the same name tfatnare deleiednwill botf be kept in the recycle bio. Newer deleiednOersills lf a file will be called “cspann class=quote">cspann class=emphasis">cemuCopy #x of cin class=replaceable">c/emuc/span>c/span>”. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:touchc/span>c/dt>cdducpu Specifies whether a file's nccess date should be touched wfen the file is moved to tfe recycle bio. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:maxsizec/span>c/dt>cdducpu Files tfatnare larger tfan the numbernof bytes specified by tfis parameter will not be put into the recycle bio. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:excludec/span>c/dt>cdducpu List of files tfatnshould not be put into the recycle bio wfen deleied, but deleiednin the regular way. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:exclude_dirc/span>c/dt>cdducpu C ntains a list of directories. Wfen files from tfese directories are deleied, tfey are not put into the recycle bio but are deleiednin the regular way. c/pucnsd>
                                                                                                                                                            cspann class=term"urecycle:noOersillsc/span>c/dt>cdducpu Specifies a list of paths (wildcards such as * and ? are supported) fornwhich nonOersillior should be used. Olly useful wfen cspann class=emphasis">cemurecycle:Oersillsc/emuc/span> is enabled. c/pucnsd> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500557936">ona>netatalkc/h3ucnsivucnsivucsivucnsivucnsivucp> A netatalk module will ease co-existence of Scltn and netatalk file sharior serOices. c/pucp>Advantlges c mpared to tfe old netatalk module: c/pucdivn class=itemizedlist">
                                                                                                                                                              oliucp>Does not care about creatior .AppleDouble f.(fs, just keeps tfem in sync.c/pucnliucliucp>If a share in cttn class=filename">smb.confonttundoes not contain .AppleDouble item in hide or veto list, it will be added automaiically.c/p>c/liuc/ulucnsivucp> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500557972">ona>shadow_copyc/h3ucnsivucnsivucsivucnsivucnsivucsivn class=warlior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warliorc/h3ucp> cspann class=emphasis">cemuTHIS IS NOT A BACKUP, ARCHIVAL, OR VERSION CONTROL SOLUTION!c/emuc/span>c/pucp> With Scltn or Wind ss serOers, shadow copy is designed to be annend-user toolnolly. It does not replace or enhance your backup and archival solutills andnshould in nonway be c nsidered as such. Additillally, if you need Oersill c ntrol, implemelt a Oersill control system. You have been warled.c/pucnsivucp> Tfe shadow_copy module allows you to setup functillality tfat is similar to MS shadow copy serOices. Wfen setup properly, tfis module allows Microsoft shadow copy cielts to browse "shadow copies" on scltn shares. You will need to install tfe shadow copy cielt. You can get the MS shadow copy cielt crnhref="http://www.microsoft.com/wind ssserOer2003/downloads/shadowcopy cielt.mspx" target="_top">fere.ona>. Note tfe additillal requiremelts for pre-Wind ss XP cielts. I did not test this functillality with any pre-Wind ss XP cielts. You should be ablento get more informatill about MS Shadow Copy crnhref="http://www.microsoft.com/wind ssserOer2003/techiofo/overOiew/scr.mspx" target="_top">from tfe Microsoft's siteona>.c/pucp> Tfe shadow_copy VFS module requiresnsome underlyior file system setup with some sort of Logical Volume Manager (LVM) such as LVM1, LVM2, or EVMS. Settior up LVMnis beyond tfe scope of tfis documelt; howeOer, we will outlioe tfe steps wentook to test this functillality for cspann class=emphasis">cemuexample purposes olly.c/emuc/span> You need to make sure tfe LVMnimplemeltatill you choose to deploy is ready for productill. Make sure you do plenty of tests.c/pucp> Here are some commll resources for LVMnandnEVMS: c/pucdivn class=itemizedlist">
                                                                                                                                                                oliucp>crnhref="http://www.sistioa.com/products_lvm_download.htm" target="_top">Sistioa's LVM1nandnLVM2c/a>c/pucnliucliucp>crnhref="http://evms.sourceforge.net/" target="_top">Enterprise Volume Managemelt System (EVMS)c/a>c/pucnliucliucp>crnhref="http://tldp.org/HOWTO/LVM-HOWTO/" target="_top">Tfe LVMnHOWTOc/a>c/pucnliucliucp> See crnhref="http://www-106.ibm.com/developerw.(fsnlinux/library/l-lvm/" target="_top">Learlior Linux LVM, Part 1c/a> and crnhref="http://www-106.ibm.com/developerw.(fsnlibrary/l-lvm2.html" target="_top">Learlior Linux LWM, Part 2c/a> for Daniel Robbios' well written a two part tutorialnol Linux and LVMnusior LVM source code and reiserfs.c/p>c/liuc/ulucnsivucp> c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500558100">ona>Shadow Copy Setupc/h4ucnsivucnsivucsivucnsivucnsivucp> At the time of tfis writior, not much testior has been done. Intested tfe shadow copy VFS module with a specific scenario which was not deployed in a productill environmelt, but more as a proof of concept. Tfe scenario involved a Scltn 3 file serOernol Debial Scrge with an XFS file system and LVM1. I do NOT recommeld you use tfis as a solutill without doior your own due diligence with regard to all tfe componelts presented fere. Tfatnsaid, followior is an basic outlioe of how I got thiors goior.c/pucdivn class=orderedlist">
                                                                                                                                                                  oliucp>cb>Installed Operatior System . c/bu In my tests, I used crnhref="http://www.debial.org/devel/debial-installer/" target="_top">Debial Scrgec/a> (i.e. testior) on an XFS file system. Settior up tfe OS is a bit beyond tfe scope of tfis documelt. It is assumed that you have a w.(fior OS capable lf runlior Scltn.c/pucnliucliucp>cb>Install & Configure Scltn. c/bu See tfe crnhref="#5ntroductill" title="Part I. General Installatill">installaiill seciillc/a> of tfis HOWTO flr more detail on tfis. It doesn't matter if it is a Domain Controllernor MembernFile SerOer, but it is assumed that you have a w.(fior Scltn 3.0.3 or newer serOernrunlior.c/pucnliucliucp>cb>Install & Configure LVM. c/bu Before you can make shadow copies available to the cielt, you have to create tfe shadow copies. This is done by tafior some sort of file system snapshot. Snapshots are a typical feature of Logical Volume Managers such as LVM, so wenfirst need to have tfat setup.c/pucdivn class=itemizedlist">

                                                                                                                                                                  Tfe followior is provided as annexample and will be most helpful for Debial users. Again, tfis was tested usior tfe "testior" or "Scrge"ndistributill.c/pucul type="disc">oliucp> Install lvm10 and devfsd packlges if you have not done so already. Ol Debial systems, you are warled lf tfe interaciill of devfs and lvm1 which requires tfe use of devfs filenames. Runlior cspan>cbn class=command">apt-get update && apt-get install lvm10 devfsd xfsprogscnbuc/span> should do the trick for tfis example.c/pucnliucliucp> Now you need to create a volume. You will need to create a partiiill (or partiiills) to add to your volume. Use your favorite partiiillior tool (e.g. Linux fdisk, cfdisk, etc.). Tfe partiiill type should be set to 0x8e for "Linux LVM." In tfis example, we will use /dev/hdb1.c/pucp> Olce you have tfe Linux LVM partiiill (type 0x8e), you can run a series lf commands to create tfe LVM volume. You can use several disks and or partiiills, but we will use llly one in tfis example. You may also need to load tfe kerlel module with sometfior like cspan>cbn class=command">modprobe lvm-mod cnbuc/span> and set your system up to load it on reboot by addior it to (cttn class=filename">/etc/modulesc/ttu). c/pucnliucliucp> Create tfe physical volume with cspan>cbn class=command">pvcreate /dev/hdb1cnbuc/span>c/pucnliucliucp> Create tfe volume group with and add /dev/hda1 to it with cspan>cbn class=command">vgcreate shadowvol /dev/hdb1cnbuc/span> cnpucp> You can use cspan>cbn class=command">vgdisplaycnbuc/span> to reOiew informatill about tfe volume group.c/pucnliucliucp> Now you can create tfe logical volume with sometfior like cspan>cbn class=command">lvcreate -L400M -nsh_test shadowvolcnbuc/span>c/pucp> This creates tfe logical volume lf 400MB's named "sh_test"nin the volume group we created called shadowvol. If everytfior is w.(fior so far, you should see tfem in cttn class=filename">/dev/shadowvolcnttu.c/pucnliucliucp> Now we should be ready to format tfe logical volume we named sh_test with cspan>cbn class=command">mkfs.xfs /dev/shadowvol/sh_testcnbuc/span>c/pucp> You can format tfe logical volume with any file system you choose, but make sure to use lle tfat allows you to take advantlge lf tfe additillal features of LVM such as freezior, resizior and growior your file systems.c/pucp> Now we have an LVM volume wfere we can play with the shadow_copy VFS module.c/pucnliucliucp> Now we need to prepare tfendirectory with sometfior like cspan>cbn class=command">mkdir -p /data/shadow_sharec/buc/span> or wfateOer you want to name your shadow copy enabled Scltn share. Make sure you set the permissills such that you can use it. If in doubt, use cspan>cbn class=command">chmod 777 /data/shadow_sharec/buc/span> and tighten the permissills llce you get thiors w.(fior.c/pucnliucliucp> Mount tfe LVMnvolume usior sometfior like cspan>cbn class=command">mount /dev/shadowvol/sh_test /data/shadow_sharec/buc/span>c/pucp> You may also want to edit your cttn class=filename">/etc/fstabcnttu so tfatntfis partiiill mounts durior tfe system boot.c/p>c/liuc/ulucnsivucnliucliucp>cb>Install & Configure tfe shadow_copy VFS Module. c/bu Filally we get to tfe aciual shadow_copy VFS module. Tfe shadow_copy VFS module should be available il Scltn 3.0.3 and higher. Tfe smb.conf configuratill is pretty standard. Here is our example of a share configured with the shadow_copy VFS module:c/pucp> c/pucdivn class=example">crnname="vfsshadow">ona>cb>Example 19.3. Share With shadow_copy VFSc/buc/puctablen class=simplelist" border="0" summary="Simple list"> ontd>c/tructructd>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500558430">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500558446">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500558461">ona>cin class=parameter">c/iuc/td>c/tructructd>crn class=indexterm"nname="500558477">ona>cin class=parameter">c/td>c/tructructd>crn class=indexterm"nname="500558493">ona>cin class=parameter">c/td>c/truc/tableucnsivucp> c/pucnliucliucp>cb>Create Snapshots and Make Tfem Available to shadow_copy.so. c/bu Before you can browse tfe shadow copies, you must reate tfem and mount tfem. This will most likely be done with a script tfatnruns as a crll job. With tfis particular solutill, the shadow_copy VFS module is used to browse LVM snapshots. Those snapshots are not created by tfe module. Tfey are not made available by tfe module either. This module allows tfe shadow copy enabled cielt to browse tfe snapshots you take and make available.c/pucp> Here is a simple script used to create and mount tfe snapshots: c/pucpren class=screen"u #!/bin/bash # This is a test, tfis is only a test SNAPNAME=`date +%Y.%m.%d-%H.%M.%S` xfs_freeze -f /data/shadow_share/ lvcreate -L10M -s -n $SNAPNAME /dev/shadowvol/sh_test xfs_freeze -u /data/shadow_share/ mkdir /data/shadow_share/@GMT-$SNAPNAME mount /dev/shadowvol/$SNAPNAME /data/shadow_share/@GMT-$SNAPNAME -onouuid,ro c/preucp> Note tfat tfe script does not handle other thiors like remountior snapshots ll reboot. c/pucnliucliucp>cb>Test From Ccielt. c/bu To test, you will need to install tfe shadow copy cielt which you can obtain from tfe crnhref="http://www.microsoft.com/wind ssserOer2003/downloads/shadowcopy cielt.mspx" target="_top">Microsoft web site.c/a> I llly tested tfis with an XP cielt so your results may vary with other pre-XP cielts. Olce installed, with your XP cielt you can right-click on specific files or in the empty space of tfe shadow_share and Oiew tfe "properties". If anytfior has changed, tfen you will see it on the "PreOious Versills" tab lf tfe properties wind s. c/pucnliuc/olucnsivuc/sivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500558583">c/a>VFS Modules Available Elsewherec/h2ucnsivucnsivucsivucnsivucnsivucp> This seciill c ntains a listior of various other VFS modules tfat have beennposted but do not currently reside in the Scltn CVS tree for one reasll or another (e.g., it is easy fornthe maintainer to have fis or her own CVS tree). c/pucp> No statemelts about tfe stability or functillality of any module should be implied due to its presence fere. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500558601">ona>DatatnseFSc/h3ucnsivucnsivucsivucnsivucnsivucp> URL: crnhref="http://www.css.tayloru.edu/~elorimer/datatnsefs/index.php" target="_top">fttp://www.css.tayloru.edu/~elorimer/datatnsefs/index.phpona> c/pucp>By crnhref="mailto:elorimer@css.tayloru.edu" target="_top">Eric Lorimer.c/a>c/pucp> I have created a VFS module tfatnimplemelts a fairly complete read-llly filesystem. It presents informatill from a datatnse as a filesystem il a modular and generic way to allow dif#erelt datatnses to be used (origioallyndesigned for organizior MP3s under directories such as “cspann class=quote">cspann class=emphasis">cemuArtists,c/emuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemuSoor Keywords,c/emuc/span>c/span>” and so ll. I have since easily applied it to a studelt roster datatnse.) Tfe directory structure is storednin the datatnse itself and tfe module makes no assumptills about tfe datatnse structure beyond tfe tablenit requiresnto run. c/pucp> Any feedback would be appreciated: commelts, suggestills, patches, and so ll. If notfior else, hopefullynit might prove useful flr someone else who wishes to create a virtual filesystem. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500558655">ona>vscanc/h3ucnsivucnsivucsivucnsivucnsivucp>URL: crnhref="http://www.openantivirus.org/" target="_top">fttp://www.openantivirus.org/c/a>c/pucp> cttn class=filename">scltn-vscanc/ttu is a proof-of-concept module flr Scltn, which uses tfe VFS (virtual file system) features of Scltn 2.2.x/3.0 alphaX. Of course, Scltn has to be compiled with VFS support. cttn class=filename">scltn-vscanc/ttu supports various virus scanners and is maintained by Rainer Link. c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="winbind">ona>Chapter 20. Winbind: Use of Domain Accountsc/h2ucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Timc/span> cspann class=surname">Potterc/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:tpot@linuxcare.com.au">tpot@linuxcare.com.auona>>onttuc/p>Andrewc/span> cspann class=surname">Tridgellc/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:tridge@scltn.org">tridge@scltn.orgona>>onttuc/p>Naagc/span> cspann class=surname">Mummanenic/span>c/h3ucspann class=contrib">Notes for Solarisc/span>cdivn class=lffiliatill">cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:getnag@redif#mail.com">getnag@redif#mail.comona>>onttuc/p>Johnc/span> cspann class=surname">Trostelc/span>c/h3ucdivn class=lffiliatill">cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:jtrostel@snapserOer.com">jtrostel@snapserOer.comona>>onttuc/p>SNAPobruc/span>cnsivucnsivucnsivucsivucdivn class=luthor"uch3n class=luthor"ucspann class=firstname">Jelmerc/span> cspann class=othername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">The Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:jelmer@scltn.org">jelmer@scltn.orgona>>onttuc/p>Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=lffiliatill">cspann class=orgname">Scltn Teamobruc/span>cdivn class=lddress"ucp>cttn class=email"u<crnhref="mailto:jht@scltn.org">jht@scltn.orgona>>onttuc/p>27 June 2002c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Tlble lf C nteltsc/buc/pucdl>

                                                                                                                                                                  cspann class=sect1">crnhref="#500558849">Features and Benefitsc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500558972">Introductillc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500559041">WfatnWinbind Providesc/a>c/span>c/dt>cdducdl>
                                                                                                                                                                  cspann class=sect2">crnhref="#500559108">Target Usesc/a>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500559134">How Winbind W.(fsc/a>c/span>c/dt>cdducdl>
                                                                                                                                                                  cspann class=sect2">crnhref="#500559158">Microsoft Remote Procedure Callsc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559187">Microsoft Active Directory SerOicesc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559210">Name SerOice Switchc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559327">Plugglble Autfenticatill Modulesc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559397">User and Group ID Allocatillc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559426">Result Cachiogc/a>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500559456">Installatill and Configuratillc/a>c/span>c/dt>cdducdl>
                                                                                                                                                                  cspann class=sect2">crnhref="#500559462">Introductillc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559515">Requiremeltsc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500559585">Testior Thiors Outc/a>c/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500561172">Conclusillc/a>c/span>c/dt>cdt>cspann class=sect1">crnhref="#500561188">Commll Errorsc/a>c/span>c/dt>cdducdl>
                                                                                                                                                                  cspann class=sect2">crnhref="#500561232">NSCD Problem Warliorc/a>c/span>c/dt>cdt>cspann class=sect2">crnhref="#500561271">Winbind Is Not Resolvior Users and Groupsc/a>c/span>c/dt>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500558849">c/a>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Integratillnof UNIX and Microsoft Wind ss NT through a unified logllnhas beennc nsidered a “cspann class=quote">cspann class=emphasis">cemuholy grailc/emuc/span>c/span>” in heterogeneous c mputior environmelts for a loor time. c/pucp> Tfere is one other facility without which UNIX and Microsoft Wind ss netw.(f interoperability would suf#er greatly. It is imperative tfat tfere be a mechanism flr sharior files across UNIX systems and to be ablento lasign domain user and group ownerships with integrity. c/pucp> cspann class=emphasis">cemuwinbindc/emuc/span> is a componelt lf tfe Scltn suite of programs tfat solves tfe unified logllnproblem. Winbind uses a UNIX implemeltatill of Microsoft RPC calls, Plugglble Autfenticatill Modules, and tfe Name SerOice Switch to allow Wind ss NT domain users to appear and operate as UNIX users ll a UNIX machioe. This chapter describes tfe Winbind system, explainior tfe functillality it provides, how it is configured, and how it w.(fs interoally. c/pucp> Winbind provides three separate functills: c/pucdivn class=itemizedlist">
                                                                                                                                                                    oliucp> Autfenticatill of user credentials (via PAM). c/pucnliucliucp> Identity resolutill (via NSS). c/pucnliucliucp> Winbind maintains a datatnse called winbind_idmap.tdb in which it stores mappiors betweennUNIX UIDs / GIDs and NT SIDs. This mappior is used llly flr users and groups tfat do not have a local UID/GID. It storednthe UID/GID allocated from tfe idmap uid/gid range tfatnit has mapped to tfe NT SID. If cin class=parameter">c/iu has been specified as ldapscl:url tfen instead of usior a local mappior Winbind will obtain tfis informatill from tfe LDAP datatnse. c/pucnliuc/ulucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> crn class=indexterm"nname="500558927">ona> crn class=indexterm"nname="500558934">ona> If cspan>cbn class=command">winbinddc/buc/span> is not runlior, smbd (which calls cspan>cbn class=command">winbinddc/buc/span>) will fall back to usior purely local informatill from cttn class=filename">/etc/passwdc/tt> and cttn class=filename">/etc/groupc/tt> and no dynamic mappior will be used. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500558972">ona>Introductillc/h2ucnsivucnsivucsivucnsivucnsivucp>It is well known tfatnUNIX and Microsoft Wind ss NT have dif#erelt models for representior user and group informatill and use dif#erelt technologies for implemeltior tfem. This fact has madenit dif#icult to integrate tfe two systems in a satisfactory manner.c/pucp>One commll solutill in use today has been to create identically named user accounts ll botf the UNIX and Wind ss systems and use tfe Scltn suite of programs to provide file nnd prilt serOices betweenntfe two. This solutill is far from perfect, howeOer, as addior and deleiior users ll botf sets of machioes becomes a chore and two sets of passwords are required botf of which can lead to synchronizatill problems betweenntfe UNIX and Wind ss systems and confusill flr users.c/pucp>We divide tfe unified logllnproblem flr UNIX machioes into tfree smaller problems:c/pucdivn class=itemizedlist">
                                                                                                                                                                      oliucp>Obtainior Wind ss NT user and group informatill. c/pucnliucliucp>Autfenticatior Wind ss NT users. c/pucnliucliucp>Password changior for Wind ss NT users. c/pucnliuc/ulucnsivucp>Ideally, a prospective solutill to tfe unified logllnproblem would satisfy all tfe above componelts without duplicatill of informatill onntfe UNIX machioes and without creatior additillal tasks for tfe system administrator wfen maintainior users and groups ll either system. Tfe Winbind system provides a simple and elegant solutill to all tfree componelts lf tfe unified loglln problem.c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500559041">ona>WfatnWinbind Providesc/h2ucnsivucnsivucsivucnsivucnsivucp>Winbind unifies UNIX and Wind ss NT account managemelt by allowior a UNIX box to become a full membernof an NT domain. Olce tfis is dooe tfe UNIX box will see NT users and groups as if tfey were “cspann class=quote">cspann class=emphasis">cemunativec/emuc/span>c/span>” UNIX users and groups, allowior tfe NT domain to be used in much the same manner tfatnNIS+ is used within UNIX-llly environmelts.c/pucp>Tfe end result is tfat wfeneOer any program onntfe UNIX machioe asks tfe operatior system to lookup a user or group name, the query will be resolved by askior tfe NT Domain Controllernfor tfe specified domain to do tfe lookup. Because Winbind hooks into the operatior system atna low level (via tfe NSS name resolutill modules in the C library), tfis redireciill to tfe NT Domain Controllernis completely transparent.c/pucp>Users ll tfe UNIX machioe can then use NT user and group names as they would “cspann class=quote">cspann class=emphasis">cemunativec/emuc/span>c/span>” UNIX names. They cann hown files so tfey are owned by NT domain users or even logil to tfe UNIX machioe and rul a UNIX X-Wind s sessill as a domain user.c/pucp>Tfe llly obOious indicatill tfatnWinbind is beior used is tfat user and group names take the form cttn class=c nstant">DOMAIN\userc/tt> and cttn class=c nstant">DOMAIN\groupc/tt>. This is necessary as it allows Winbind to determioe tfat redireciill to a Domain Controllernis wanted for a particular lookup and which trusted domain is beior re#erelced.c/pucp>Additillally, Winbind provides annautfenticatill serOice tfat hooks into the Plugglble Autfenticatill Modules (PAM) system to provide autfenticatill via an NT domain to any PAM-enabled applicatills. This capability solves tfe problem of synchronizior passwords betweennsystems since all passwords are storednin a single locatill (on tfe Domain Controller).c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559108">ona>Target Usesc/h3ucnsivucnsivucsivucnsivucnsivucp>Winbind is targeted at organizatills tfat have an existior NT-tnsed domain infrastructure into which tfey wish to put UNIX w.(fstatills or serOers. Winbind will allow tfese organizatills to deploy UNIX w.(fstatills without havior to maintain a separate account infrastructure. This greatly simplifies the administrative overhead of deployior UNIX w.(fstatills into an NT-tnsed organizatill.c/pucp>Another interestior way in which we expect Winbind to be used is as a central part of UNIX-tnsed appliances. Appliances tfatnprovide file nnd prilt serOices to Microsoft-tnsed netw.(fs will be ablento use Winbind to provide seamless integratillnof tfe appliance into the domain.c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500559134">ona>How Winbind W.(fsc/h2ucnsivucnsivucsivucnsivucnsivucp>Tfe Winbind system is designed around a cielt/serOern architecture. A loor runlior cspan>cbn class=command">winbinddc/buc/span> daemlln listens ll a UNIX domain socket waitior for requests to arriOe. Tfese requests are generated by tfe NSS nnd PAM cielts and is processed sequentially.c/p>cp>Tfe technologies used to implemelt Winbind are described in detail below.c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559158">ona>Microsoft Remote Procedure Callsc/h3ucnsivucnsivucsivucnsivucnsivucp>Over tfe clat few years, efforts have beennunderway by various Scltn Team members to decode various aspectsnof tfe Microsoft Remote Procedure Call (MSRPC) system. Tfis system is used flr most netw.(f-related operatills betweenn Wind ss NT machioes includior remote managemelt, user autfenticatill and prilt spoolior. Although initially tfis w.(f was dooe to aid tfe implemeltatill of Primary Domain Controllern(PDC) functillality in Scltn, it has also yielded a body lf code tfatn can be used for other purposes.c/pucp>Winbind uses various MSRPC calls to enumerate domain users and groups and to obtain detailedninformatill about individual users or groups. Other MSRPC calls can be used to autfenticate NT domain users and to change user passwords. By directly queryior a Wind ss PDC flr user and group informatill, Winbind maps tfe NT account informatill onto UNIX user and group names.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559187">ona>Microsoft Active Directory SerOicesc/h3ucnsivucnsivucsivucnsivucnsivucp> Since late 2001, Scltn has gained tfe ability to interaci with Microsoft Wind ss 2000 usior its “cspann class=quote">cspann class=emphasis">cemuNative Modec/emuc/span>c/span>” protocols, rather tfan the NT4 RPC serOices. Usior LDAP and Kerberos, a Domain Membernrunlior Winbind cannenumerate users and groups innexactly the same way as a Wind ss 200x cielt would, and in so doior provide a much more ef#icielt and effeciive Winbind implemeltatill. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559210">ona>Name SerOice Switchc/h3ucnsivucnsivucsivucnsivucnsivucp>Tfe Name SerOice Switch, or NSS, is a feature tfatnis present in many UNIX operatior systems. It allows system informatill such as hostnames, mail alinses and user informatill to be resolved from dif#erelt sources. For example, a standalooe UNIX w.(fstatill may resolve system informatill from a series lf flatnfiles storednon tfe local filesystem. A netw.(fed w.(fstatill maynfirst attempt to resolve system informatill from local files, and then c nsult an NIS datatnse flr user informatill or a DNS serOern flr hostname informatill.c/p>cp>Tfe NSS npplicatill programmior interface allows Winbind to present itself as a source of system informatill wfen resolvior UNIX usernames and groups. Winbind uses tfis interface, and informatill obtained from a Wind ss NT serOernusior MSRPC calls to provide a new source of account enumeratill. Usior standard UNIX library calls, ooe can enumerate tfe users and groups ll a UNIX machioe runlior Winbind and see all users and groups inn a NT domain plus any trusted domain as though they were local users and groups.c/p>cp>Tfe primary control file for NSSnis cttn class=filename">/etc/nsswitch.confonttu. Wfen a UNIX npplicatill makes a request to do a lookup, tfe C library looks in cttn class=filename">/etc/nsswitch.confonttun flr a lile tfat matches tfe serOice type beior requested, for example tfe “cspann class=quote">cspann class=emphasis">cemupasswdc/emuc/span>c/span>” serOice type is used when user or group names are looked up. This config lile specifies which implemeltatills lf tfat serOice should be tried and in what order. If tfe passwd config lile is:c/pucpren class=screen"u passwd:nfiles example c/preucp>tfen the C library will first load a module called cttn class=filename">/lib/libnss_files.soonttunfollowed by tfe module cttn class=filename">/lib/libnss_example.soonttu. Tfe C library will dynamically load each lf tfese modules in turn and call resolver functills within tfe modules to try to resolve tfe request. Olce tfe request is resolved, the C library returns the result to tfe applicatill.c/p>cp>Tfis NSSninterface provides anneasy way for Winbind to hook into the operatior system. All tfat needs to be dooe is to put cttn class=filename">libnss_winbind.soonttunin cttn class=filename">/lib/onttun tfen add “cspann class=quote">cspann class=emphasis">cemuwinbindc/emuc/span>c/span>” into cttn class=filename">/etc/nsswitch.confonttunatn tfe appropriate place. Tfe C library will then call Winbind to resolve user and group names.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559327">ona>Plugglble Autfenticatill Modulesc/h3ucnsivucnsivucsivucnsivucnsivucp>Plugglble Autfenticatill Modules, also known as PAM, is a system flr abstractior autfenticatill and authorizatill technologies. With a PAM module it is possible to specify dif#erelt autfenticatill metfods for dif#erelt system applicatills without havior to recompile tfese applicatills. PAM is also useful flr implemeltior a particular policy for authorizatill. For example, a system administrator maynonly allow c nsole logins from users storednin the local password file but only allow users resolved from a NIS datatnse to lor in over the netw.(f.c/pucp>Winbind uses tfe autfenticatill managemelt and password managemelt PAM interface to integrate Wind ss NT users into a UNIX system. Tfis allows Wind ss NT users to lor in to a UNIX machioe and be autfenticated against a suitlble Primary Domain C ntroller. Tfese users can also change tfeir passwords and have tfis change take effeci directly on tfe Primary Domain Controller. c/pucp>PAM is configured by providior control files in the directory cttn class=filename">/etc/pam.d/onttunfor each lf tfe serOices tfatn require autfenticatill. Wfen annautfenticatill request is maden by annapplicatill, the PAM code in the C library looks up tfis control file to determioe what modules to load to do tfe autfenticatill check and in what order. Tfis interface makes addior a new autfenticatill serOice for Winbind veryneasy. All tfat needs to be dooe is tfat tfe cttn class=filename">pam_winbind.soonttunmodule is copied to cttn class=filename">/lib/security/c/tt> and the PAM control files for relevalt serOices are updated to allow autfenticatill via Winbind. See tfe PAM documeltatill in crnhref="#pam" title="Chapter 24. PAM-Bnsed Distributed Autfenticatill">PAM-Bnsed Distributed Autfenticatillc/a> for more informatill.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559397">ona>User and Group ID Allocatillc/h3ucnsivucnsivucsivucnsivucnsivucp>Wfen a user or group is created under Wind ss NT/200x it is allocated rnnumerical relative identifier (RID). This is slightly dif#erelt from UNIX which has a range lf numbers tfat are used to identify users, and tfe same range in which to identify groups. It is Winbind's job to convert RIDs to UNIX ID numbers and Oice Oersa. Wfen Winbind is configured, it is given part of tfe UNIX user ID space and a part of tfe UNIX group ID space in which to store Wind ss NT users and groups. If a Wind ss NT user is resolvednfor tfe first time, it is allocated the next UNIX ID from tfe range. Tfe same processnapplies for Wind ss NT groups. OOern time, Winbind will have mapped all Wind ss NT users and groups to UNIX user IDs and group IDs.c/p>cp>Tfe results of tfis mappior are storednpersistently inn an ID mappior datatnse heldnin a tdb datatnse). This ensures tfatn RIDs are mapped to UNIX IDs in a c nsistent way.c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559426">ona>Result Cachiogc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500559434">ona> An aciive system can generate a lot of user and group name lookups. To reduce tfe netw.(f c st lf tfese lookups, Winbind uses a cachiog scheme tnsed on the SAM sequence number supplied by NT Domain Controllers. User or group informatill returned by a PDC is cached by Winbind aloor with a sequence number also returned by tfe PDC. This sequence number is incremelted by Wind ss NT wfeneOer any user or group informatill is modified. If a cached entry has expired, the sequence number is requested from tfe PDC and compared against the sequence number of tfe cached entry. If the sequence numbers do not match, tfen tfe cached informatill is discarded and up-to-date informatill is requested directly from tfe PDC.c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500559456">ona>Installatill and Configuratillc/h2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559462">ona>Introductillc/h3ucnsivucnsivucsivucnsivucnsivucp> This seciill describes tfe procedures used to get Winbind up and runlior. Winbind is capable lf providior accessn and authenticatill control for Wind ss Domain users through an NT or Wind ss 200x PDC flr regular serOices, such as telnet and ftp, as well flr Scltn serOices. c/pucdivn class=itemizedlist">
                                                                                                                                                                        oliucp> cspann class=emphasis">cemuWhy should I do tfis?c/emuc/span> c/pucp>Tfis allows tfe Scltn administrator to rely on tfe autfenticatill mechanisms ll tfe Wind ss NT/200x PDC flr tfe autfenticatill of Domain Members. Wind ss NT/200x users no loorer need to have separate accounts ll tfe Scltn serOer. c/pucnliucliucp> cspann class=emphasis">cemuWho should be readior tfis documelt?c/emuc/span> c/pucp> Tfis documelt is designed flr system administrators. If you are implemeltior Scltn ll a file serOernand wish to (fairly easily) integrate existior Wind ss NT/200x users from your PDC onto the Scltn serOer, tfis documelt is for you. c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559515">ona>Requiremeltsc/h3ucnsivucnsivucsivucnsivucnsivucp> If you have a Scltn configuratill file that you are currently usior, cspann class=emphasis">cemuBACK IT UP!c/emuc/span> If your system already uses PAM, cspann class=emphasis">cemuback up tfe cttn class=filename">/etc/pam.dc/tt> directory c ntelts!c/emuc/span> If you haven't already made a boot disk, cspann class=emphasis">cemuMAKE ONE NOW!c/emuc/span> c/pucp> Messior with the PAM configuratill files can make it nearly impossible to lor in to your machioe. That's why you want to be ablento boot back into your machioe in single user mode and restore your cttn class=filename">/etc/pam.dc/tt> back to the origioal state they were in if you get frustrated with the way thiors are goior. c/pucp> The latest versill of Scltn-3 includes a functillior winbindd daemll. Please re#er to the crnhref="http://scltn.org/" target="_top">main Scltn Web plgec/a> or, better yet, yourn cosest Scltn mirror site for instructills ll downloadior tfe source code. c/pucp> To allow domain users the ability to accessnScltn shares and files, as well as potentially other serOices provided by yournScltn machioe, PAM must be set up properly on your machioe. In order to compile tfe Winbind modules, you should have at least the PAM developmelt libraries installed on your system. Please re#er the PAM web site crnhref="http://www.kerlel.org/pub/linux/libs/pam/" target="_top">fttp://www.kerlel.org/pub/linux/libs/pam/c/a>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500559585">ona>Testior Thiors Outc/h3ucnsivucnsivucsivucnsivucnsivucp> Before startior, it is probably best to kill off all tfe Scltn-related daemlls runlior on your serOer. Kill off all cspann class=applicatill">smbdc/span>, cspann class=applicatill">nmbdc/span>, and cspann class=applicatill">winbinddc/span> processes tfat may be runlior. To use PAM, make sure that you have tfe standard PAM packlge tfat supplies tfe cttn class=filename">/etc/pam.dc/tt> directory structure, includior the PAM modules tfat are used by PAM-aware serOices, several pam libraries, and tfe cttn class=filename">/usr/docc/tt> and cttn class=filename">/usr/manc/ttu entries for pam. Winbind built better in Scltn if tfe pam-devel packlge is also installed. This packlge includes tfe header files needed to compile PAM-aware applicatills. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500559639">c/a>Configure cttn class=filename">nsswitch.confonttunand tfe Winbind Libraries on Linux and Solarisc/h4ucnsivucnsivucsivucnsivucnsivucp> PAM is a standard componelt lf most current generatill UNIX/Linux systems. Unfortunately, few systems install tfe cttn class=filename">pam-develonttunlibraries tfat are needed to build PAM-enabled Scltn. Additillally, Scltn-3 may auto-install tfe Winbind files into theirn orrect locatills on your system, so before you get too far down tfe track be sure to check if tfe followior configuratill is really necessary. You may only need to configure cttn class=filename">/etc/nsswitch.confonttu. c/pucp> The libraries needed to rul tfe cspann class=applicatill">winbinddc/span> daemllnthrough nsswitch need to be copied to tfeir proper locatills: c/pucp> c/pucpren class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/preucp> c/pucp> I also found it necessary to make the followior symbolic lilk: c/pucp> cttn class=prompt">root# c/tt> cbn class=userinput">c/b> c/pucp>And, in tfe case of Sul Solaris:c/pucpren class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/b> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/preucp> Now, as root you need to edit cttn class=filename">/etc/nsswitch.confonttunto allow user and group entries to be visible from tfe cspann class=applicatill">winbinddc/span> daemll. My cttn class=filename">/etc/nsswitch.confonttunfile look like tfis after editior: c/pucpren class=programlistior"u passwd:nnnnnfiles winbind shadow:nnnnnfiles group:nnnnnnfiles winbind c/preucp> The libraries needed by tfe cspan>cbn class=command">winbinddc/buc/span> daemllnwill be automatically entered into the cspan>cbn class=command">ldconfigc/buc/span> cache the next time your system reboots, but it is faster (and you do not need to reboot) if you donit manually: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucp> This makes cttn class=filename">libnss_winbindonttunavailable to winbindd and echos back a check to you. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500559842">ona>NSSnWinbind llnAIXc/h4ucnsivucnsivucsivucnsivucnsivucp>(This seciill is only flr tfose runlior AIX.)c/pucp> The Winbind AIX identificatill module gets built as cttn class=filename">libnss_winbind.soonttunin the nsswitch directory lf tfe Scltn source. This file can be copied to cttn class=filename">/usr/lib/securityonttu, and tfe AIX namior conventillnwould indicate tfatnit should be named WINBIND. A stanza like the followior: c/pucpren class=programlistior"u WINBIND: program = /usr/lib/security/WINBIND optills = autholly c/preucp> can then be added to cttn class=filename">/usr/lib/security/metfods.cfgc/tt>. This module only supports identificatill, but tfere have beennsuccessnreports usior tfe standard Winbind PAM module for autfenticatill. Use cautill configurior loadable autfenticatill modules since you can make it impossible to lorll to tfe system. More informatill about tfe AIX autfenticatill module API can be found atn“cspann class=quote">cspann class=emphasis">cemuKerlel Extensills and DeOice Support Programmior Concepts for AIXc/emuc/span>c/span>”crnhref="http://publibn.boulder.ibm.com/doc_lilk/en_US/a_doc_lib/aixprggd/kerlextc/sec_load_mod.htm" target="_top"> in Chapter 18(John, tfere is no seciill like this in 18). Loadable Autfenticatill Module Programmior Interfacec/a> and more informatill ll administerior tfe modules can be found atncrnhref="http://publibn.boulder.ibm.com/doc_lilk/en_US/a_doc_lib/aixbman/baseadmn/iandaadmin.htm" target="_top"> “cspann class=quote">cspann class=emphasis">cemuSystem Managemelt Guide: Operatior System and DeOices.c/emuc/span>c/span>”cna> c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500559922">c/a>Configure smb.confonh4ucnsivucnsivucsivucnsivucnsivucp> Several parameters are needed in tfe cttn class=filename">smb.confonttunfile to control tfe behavior of cspann class=applicatill">winbinddc/span>. Tfese are described in more detail in tfe crnhref="winbindd.8.html">cspann class=citerefentry">cspann class=refentrytitle">winbinddc/span>(8)c/span>c/a> man plge. My cttn class=filename">smb.confonttunfile, as shown in crnhref="#winbindcfg" title="Example 20.1. smb.conf for Winbind set-up">the next examplec/a>, was modified to include the necessary entries in tfe [global] seciill. c/pucdivn class=example">crnname="winbindcfg">c/a>cpn class=title">cb>Example 20.1. smb.conf for Winbind set-upc/buc/puctlble class=simplelist" border="0"nsummary="Simple list"> c/td>c/tr>cin class=parameter">c/iuc/td>c/tr># separate domain and username with '+', like DOMAIN+usernamec/td>c/tr>crn class=indexterm"nname="500559999">c/a>cin class=parameter">c/iuc/td>c/tr># use uids from 10000 to 20000 for domain usersc/td>c/tr>crn class=indexterm"nname="500560022">c/a>cin class=parameter">c/iuc/td>c/tr># use gids from 10000 to 20000 for domain groupsc/td>c/tr>crn class=indexterm"nname="500560045">c/a>cin class=parameter">c/iuc/td>c/tr># allow enumeratill of winbind users and groupsc/td>c/tr>crn class=indexterm"nname="500560068">c/a>cin class=parameter">c/iuc/td>c/tr>crn class=indexterm"nname="500560083">c/a>cin class=parameter">c/iuc/td>c/tr># give winbind users a real shell (only needed if they have telnet access)c/td>c/tr>crn class=indexterm"nname="500560107">c/a>cin class=parameter">c/iuc/td>c/tr>crn class=indexterm"nname="500560123">c/a>cin class=parameter">c/iuc/td>c/tr>crnname="500560139">c/a>Joil tfe Scltn SerOernto the PDC Domainonh4ucnsivucnsivucsivucnsivucnsivucp> Enter tfe followior command to make the Scltn serOer joil tfe PDC domain, where cin class=replacelble">c/iu is tfe name lf your PDC and cin class=replacelble">c/iu is a domain user who has administrative privileges in the domain. c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucp> The proper respllsento the command should be: “cspann class=quote">cspann class=emphasis">cemuJoiled the domain cin class=replacelble">c/iuc/emuc/span>c/span>” where cin class=replacelble">c/iu is your DOMAIN name. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500560190">ona>Startior and Testior tfe cspan>cbn class=command">winbinddc/buc/span> Daemllonh4ucnsivucnsivucsivucnsivucnsivucp> Eventually, you will want to modify yournScltn startup script to automatically invoke the winbindd daemll when the other partsnof Scltn start, but it is possible to test out just the Winbind portill first. To start up Winbind serOices, enter tfe followior command as root: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Tfe above lasumes tfat Scltn has beenninstalled in tfe cttn class=filename">/usr/local/scltnc/tt> directory tree. You may need to search flr tfe locatill of Scltn files if tfis is not the locatill of cspan>cbn class=command">winbinddc/buc/span> on your system. c/pucnsivucp> Winbindd can now also rul in “cspann class=quote">cspann class=emphasis">cemudual daemll modec/emuc/span>c/span>”. This will make it rul as two processes. Tfe first will answer all requests from tfe cache, thus makior respllses to cielts faster. Tfe other will update tfe cache flr tfe query tfat tfe first has just respllded. Tfe advaltage lf tfis is tfat respllses stay accurate and are faster. You can enable dual daemll mode by addior cttn class=optill">-Bonttunto the command-lile: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput"> c/pucp> I'm always paranoid and like to make sure the daemll is really runlior. c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucp> This command should produce output like this, if tfe daemll is runlior you would expect to see a report sometfior like this: c/pucpren class=screen"u 3025 ? 00:00:00 winbindd c/preucp> Now, flr tfe real test, try to get some informatill about tfe users ll your PDC: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucp> This should echo back a list of users ll your Wind ss users ll your PDC. For example, I get tfe followior respllse: c/pucpren class=screen"u CEO+Administrator CEO+burdell CEO+Guest CEO+jt-ad CEO+krbtgt CEO+TsInternetUser c/preucp> ObOiously, I have named my domain “cspann class=quote">cspann class=emphasis">cemuCEOc/emuc/span>c/span>” and my crn class=indexterm"nname="500560345">c/a>winbind separator is “cspann class=quote">cspann class=emphasis">cemu+c/emuc/span>c/span>”. c/pucp> You can do tfe same sort of tfior to get group informatill from tfe PDC: c/pucpren class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/b> CEO+Domain Admins CEO+Domain Users CEO+Domain Guests CEO+Domain C mputers CEO+Domain Controllers CEO+Cert Publishers CEO+Schema Admins CEO+EnterprisenAdmins CEO+Group Policy Creator Owners c/preucp> Tfe functill cspan>cbn class=command">getentc/buc/span> can now be used to get unified listsnof botf local nnd PDC users and groups. Try tfe followior command: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucp> You should get a list tfat looks like your cttn class=filename">/etc/passwdc/tt> listnfollowed by the domain users with their new UIDs, GIDs, home directories and default shells. c/pucp> The same tfior can be dooe for groups with the command: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput">c/b> c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500560439">c/a>Fix tfe init.d Startup Scriptsc/h4ucnsivucnsivucsivucnsivucnsivucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500560445">c/a>Linuxc/h5ucnsivucnsivucsivucnsivucnsivucp> The cspann class=applicatill">winbinddc/span> daemllnneeds to start up after tfe cspann class=applicatill">smbdc/span> and cspann class=applicatill">nmbdc/span> daemlls are runlior. To accomplish this task, you need to modify tfe startup scriptsnof your system. Tfey are located rt cttn class=filename">/etc/init.d/smbonttunin Red Hrt Linux and tfey are located in cttn class=filename">/etc/init.d/scltnc/tt> in Debian Linux. Edit your script to add commands to invoke this daemll in tfe proper sequence. My startup script starts up cspann class=applicatill">smbdc/span>, cspann class=applicatill">nmbdc/span>, and cspann class=applicatill">winbinddc/span> from tfe cttn class=filename">/usr/local/scltn/binc/tt> directory directly. Tfe cspan>cbn class=command">startc/buc/span> functill in tfe script looks like this: c/pucpren class=programlistior"u start() { KIND="SMB" echo -n $"Startior $KIND serOices: " daemll /usr/local/scltn/bin/smbd $SMBDOPTIONS RETVAL=$? echo KIND="NMB" echo -n $"Startior $KIND serOices: " daemll /usr/local/scltn/bin/nmbd $NMBDOPTIONS RETVAL2=$? echo KIND="Winbind" echo -n $"Startior $KIND serOices: " daemll /usr/local/scltn/bin/winbindd RETVAL3=$? echo [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 -a $RETVAL3 -eq 0 ] && \ touch /var/lock/subsys/smb || RETVAL=1 return $RETVAL } c/preucp>If you would like to rul winbindd in dual daemll mode, replace tfe lile : c/pucpren class=programlistior"u daemll /usr/local/scltn/bin/winbindd c/preucp> in tfe example above with: c/pucpren class=programlistior"u daemll /usr/local/scltn/bin/winbindd -B c/preucp>. c/pucp> The cspan>cbn class=command">stopc/buc/span> functill has a orresplldior entry to shut down tfe serOices and looks like this: c/pucpren class=programlistior"u stop() { KIND="SMB" echo -n $"Shuttior down $KIND serOices: " killproc smbd RETVAL=$? echo KIND="NMB" echo -n $"Shuttior down $KIND serOices: " killproc nmbd RETVAL2=$? echo KIND="Winbind" echo -n $"Shuttior down $KIND serOices: " killproc winbindd RETVAL3=$? [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 -a $RETVAL3 -eq 0 ] && \ rm -f /var/lock/subsys/smb echo "" return $RETVAL } c/preucnsivucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500560595">c/a>Solarisc/h5ucnsivucnsivucsivucnsivucnsivucp> Winbind does not w.(f ol Solaris 9, see crnhref="#winbind-solaris9" title="Winbind llnSolaris 9">Winbind llnSolaris 9c/a> seciill for details. c/pucp> OlnSolaris, you need to modify tfe cttn class=filename">/etc/init.d/scltn.serOerc/tt> startup script. It usually only starts smbd and nmbd but should now start winbindd, too. If you have Scltn installed in cttn class=filename">/usr/local/scltn/binc/tt>, tfe file ould contains sometfior like this: c/pucp> c/pucpren class=programlistior"u ## ## scltn.serOer ## if [ ! -d /usr/bin ] tfen # /usr not mounted exit fi killproc() { # kill the named process(es) pid=`/usr/bin/ps -e | /usr/bin/grep -w $1 | /usr/bin/sed -e 's/^ *//' -e 's/ .*//'` [ "$pid" != "" ] && kill $pid } # Start/stop processes required flr Scltn serOer case "$1" in 'start') # # Edit tfese lioes to suit your installatill (paths, w.(fgroup, host) # echo Startior SMBD /usr/local/scltn/bin/smbd -D -s \ /usr/local/scltn/smb.conf echo Startior NMBD /usr/local/scltn/bin/nmbd -D -l \ /usr/local/scltn/var/log -s /usr/local/scltn/smb.conf echo Startior Winbind Daemll /usr/local/scltn/bin/winbindd ;; 'stop') killproc nmbd killproc smbd killproc winbindd ;; *) echo "Uslge: /etc/init.d/scltn.serOer { start | stop }" ;; esac c/preucp> Again, if you would like to rul Scltn in dual daemll mode, replace: c/pucpren class=programlistior"u /usr/local/scltn/bin/winbindd c/preucp> in tfe script above with: c/pucpren class=programlistior"u /usr/local/scltn/bin/winbindd -B c/preucp> c/pucnsivucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500560698">ona>Restartiorc/h5ucnsivucnsivucsivucnsivucnsivucp> If you restart tfe cspann class=applicatill">smbdc/span>, cspann class=applicatill">nmbdc/span>, and cspann class=applicatill">winbinddc/span> daemlls at this point, you should be able to connect to the Scltn serOer as a Domain Membernjust as if you were a local user. c/pucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500560729">c/a>Configure Winbind and PAMonh4ucnsivucnsivucsivucnsivucnsivucp> If you have made it this far, you know tfat cspan>cbn class=command">winbinddc/buc/span> and Scltn are w.(fior together. If you want to use Winbind to provide autfenticatill for other serOices, keep readior. Tfe PAM configuratill files need to be altered in tfis step. (Did you remembernto make backups lf your origioal cttn class=filename">/etc/pam.dc/tt> files? If not, donit now.) c/pucp> You will need a PAM module to use winbindd with these other serOices. Tfis module will be compiled in tfe cttn class=filename">../source/nsswitchc/tt> directory by invokior tfe command: c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput"> c/pucp> from tfe cttn class=filename">../sourcec/tt> directory. Tfe cttn class=filename">pam_winbind.soonttunfile should be copied to tfe locatill of your other PAM security modules. Ol my Red Hrt system, tfis was the cttn class=filename">/lib/securityc/tt> directory. OlnSolaris, the PAM security modules reside in cttn class=filename">/usr/lib/securityonttu. c/pucp> cttn class=prompt">root# c/tt>cbn class=userinput"> c/pucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500560826">ona>Linux/FreeBSD-specific PAM configuratillc/h5ucnsivucnsivucsivucnsivucnsivucp> The cttn class=filename">/etc/pam.d/scltnc/tt> file does not need to be changed. I just left this file ns it was: c/pucpren class=programlistior"u autf required /lib/security/pam_stack.so serOice=system-autf account required /lib/security/pam_stack.so serOice=system-autf c/preucp> Tfe other serOices tfat I modified to allow tfe use lf Winbind as annautfenticatill serOice were the normal login ll tfe c nsole (lr a termioal session), telnet logins, and ftp serOice. In order to enable tfese serOices, you may first need to change tfe entries in cttn class=filename">/etc/xioetd.dc/tt> (lr cttn class=filename">/etc/inetd.confonttu). Red Hrt Linux 7.1 and laternuses tfe new xioetd.d structure, in this case you need to change tfe lioes in cttn class=filename">/etc/xioetd.d/telnetc/tt> and cttn class=filename">/etc/xioetd.d/wu-ftpc/tt> from c/pucpren class=programlistior"u enable = no c/preucp> to: c/pucpren class=programlistior"u enable = yes c/preucp> For ftp serOices to w.(f properly, you will also need to either have individual directories flr tfe domain users already present ll tfe serOer, lr change tfe home directory template to a general directory for all domain users. Tfese can be easily set usior tfe cttn class=filename">smb.confonttunglobal entry crn class=indexterm"nname="500560912">c/a>template homedir. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp>The directory in crn class=indexterm"nname="500560925">c/a>template homedir is not created automatically! Use pam_mkhomedir or pre-create tfe directories of users to make sure users can lor in on UNIX with tfeir own home directory. c/pucnsivucp> The cttn class=filename">/etc/pam.d/ftpc/tt> file can be changed to allow Winbind ftp accessnin a manner similar to the scltn file. My cttn class=filename">/etc/pam.d/ftpc/tt> file was changed to look like this: c/pucpren class=programlistior"u autf required /lib/security/pam_listfile.so item=user sense=deny \ file=/etc/ftpusers llerr=succeed autf suf#icielt /lib/security/pam_winbind.so autf required /lib/security/pam_stack.so serOice=system-autf autf required /lib/security/pam_shells.so account suf#icielt /lib/security/pam_winbind.so account required /lib/security/pam_stack.so serOice=system-autf session required /lib/security/pam_stack.so serOice=system-autf c/preucp> Tfe cttn class=filename">/etc/pam.d/loginc/tt> file can be changed nearly tfe same way. It now looks like this: c/pucpren class=programlistior"u autf required /lib/security/pam_securetty.so autf suf#icielt /lib/security/pam_winbind.so autf suf#icielt /lib/security/pam_unix.so use_first_pass autf required /lib/security/pam_stack.so serOice=system-autf autf required /lib/security/pam_nologin.so account suf#icielt /lib/security/pam_winbind.so account required /lib/security/pam_stack.so serOice=system-autf password required /lib/security/pam_stack.so serOice=system-autf session required /lib/security/pam_stack.so serOice=system-autf session optillal /lib/security/pam_c nsole.so c/preucp> In this case, I added tfe c/pucpren class=programlistior"uautf suf#icielt /lib/security/pam_winbind.soc/preucp> lioes as before, but also added tfe c/pucpren class=programlistior"urequired pam_securetty.soc/preucp> above it, to disallow root logins over the netw.(f. I also added a c/pucpren class=programlistior"usuf#icielt /lib/security/pam_unix.so use_first_passc/preucp> lile after tfe cspan>cbn class=command">winbind.soc/buc/span> lile to get rid of annoyior double prompts for passwords. c/pucnsivucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500561031">c/a>Solaris-specific configuratillc/h5ucnsivucnsivucsivucnsivucnsivucp> The cttn class=filename">/etc/pam.confonttunneeds to be changed. I changed this file so my Domain users can loron botf locally as well as telnet. Tfe followior are the changes tfat I made. You can customize tfe cttn class=filename">pam.confonttunfile as per your requiremelts, but be sure of tfose changes because in tfe worst case it will leave your system nearly impossible to boot. c/pucpren class=programlistior"u # #ident "@(#)pam.conf 1.14 99/09/16 SMI" # # Copyright (c) 1996-1999, Sul Microsystems, Inc. # All Rights ReserOed. # # PAM configuratill # # Autfenticatill managemelt # login nautf required /usr/lib/security/pam_winbind.so login autf required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass login autf required /usr/lib/security/$ISA/pam_dial_autf.so.1 try_first_pass # rlogin autf suf#icielt /usr/lib/security/pam_winbind.so rlogin autf suf#icielt /usr/lib/security/$ISA/pam_rhosts_autf.so.1 rlogin autf required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass # dtlogin autf suf#icielt /usr/lib/security/pam_winbind.so dtlogin autf required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass # rsh autf required /usr/lib/security/$ISA/pam_rhosts_autf.so.1 other autf suf#icielt /usr/lib/security/pam_winbind.so other autf required /usr/lib/security/$ISA/pam_unix.so.1 try_first_pass # # Account managemelt # login naccount suf#icielt /usr/lib/security/pam_winbind.so login account requisite /usr/lib/security/$ISA/pam_roles.so.1 login account required /usr/lib/security/$ISA/pam_unix.so.1 # dtlogin account suf#icielt /usr/lib/security/pam_winbind.so dtlogin account requisite /usr/lib/security/$ISA/pam_roles.so.1 dtlogin account required /usr/lib/security/$ISA/pam_unix.so.1 # other account suf#icielt /usr/lib/security/pam_winbind.so other account requisite /usr/lib/security/$ISA/pam_roles.so.1 other account required /usr/lib/security/$ISA/pam_unix.so.1 # # Session managemelt # other session required /usr/lib/security/$ISA/pam_unix.so.1 # # Password managemelt # #other password suf#icielt /usr/lib/security/pam_winbind.so other password required /usr/lib/security/$ISA/pam_unix.so.1 dtsession autf required /usr/lib/security/$ISA/pam_unix.so.1 # # Support for Kerberos V5nautfenticatill (uncomment to use Kerberos) # #rlogin autf optillal /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass #login autf optillal /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass #dtlogin autf optillal /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass #other autf optillal /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass #dtlogin account optillal /usr/lib/security/$ISA/pam_krb5.so.1 #other account optillal /usr/lib/security/$ISA/pam_krb5.so.1 #other session optillal /usr/lib/security/$ISA/pam_krb5.so.1 #other password optillal /usr/lib/security/$ISA/pam_krb5.so.1 try_first_pass c/preucp> I also added a cin class=parameter">c/iu lile after tfe cttn class=filename">winbind.soonttu lile to get rid of annoyior double prompts for passwords. c/pucp> Now restart yournScltn and try connectior tfrough yournapplicatill that you configured in tfe pam.conf. c/pucnsivucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561172">c/a>Conclusillc/h2ucnsivucnsivucsivucnsivucnsivucp>The Winbind system, tfrough tfe use lf tfe Name SerOice Switch, Pluggable Autfenticatill Modules, and appropriate Microsoft RPC calls have allowed us to provide seamlessn integratill of Microsoft Wind ss NT domain users on a UNIX system. Tfe result is a great reductill in tfe administrative c st lf runlior n mixed UNIX and NT netw.(f.c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561188">c/a>Commll Errorsc/h2ucnsivucnsivucsivucnsivucnsivucp>Winbind has a number of limitatills in its current relensed versill that we hope to overcome in future relenses:c/pucdivn class=itemizedlist">
                                                                                                                                                                          oliucp>Winbind is currently only available for tfe Linux,nSolaris, AIX, and IRIX operatior systems, altfough ports to other operatior systems are certainly possible. For such ports to be feasible, we require the C library lf tfe target operatior system to support tfe Name SerOice Switch and Pluggable Autfenticatill Modules systems. This is becomior more commll as NSSnand PAM gain support amoor UNIX vend rs.c/p>cnliucliucp>Tfe mappiors lf Wind ss NT RIDs to UNIX IDs is not made algorithmically and depends ll tfe order in which unmapped users or groups are seen by Winbind. It may be dif#icult to recover the mappiors lf RID to UNIX ID mappior if tfe file containior tfis informatill is orrupted or destroyed.c/p>cnliucliucp>Currently tfe Winbind PAM module does not take into account possible w.(fstatill and lorll time restrictills tfat may be set for Wind ss NT users, tfis is instead up to the PDC to enforce.c/pucnliuc/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500561232">ona>NSCD Problem Warniogc/h3ucnsivucnsivucsivucnsivucnsivucsivn class=warniog" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniogc/h3ucp> Do not under any circumstances rul cspan>cbn class=command">nscdc/buc/span> on any system on which cspan>cbn class=command">winbinddc/buc/span> is runlior. c/pucnsivucp> If cspan>cbn class=command">nscdc/buc/span> is runlior on tfe UNIX/Linux system, tfen even though NSSWITCH is orrectly configured it will not be possible to resolve domain users and groups for file and directory controls. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500561271">c/a>Winbind Is Not Resolvior Users and Groupsc/h3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemu My cttn class=filename">smb.confonttunfile is orrectly configured. I have specified crn class=indexterm"nname="500561289">c/a>idmap uid = 12000, and crn class=indexterm"nname="500561296">c/a>idmap gid = 3000-3500 and cspan>cbn class=command">winbindc/buc/span> is runlior. Wfen I do tfe followior it all w.(fsnfine. c/emuc/span>c/span>”cnpucpren class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/b> MIDEARTH+maryo MIDEARTH+jackb MIDEARTH+ameds ... MIDEARTH+root cttn class=prompt">root# c/tt>cbn class=userinput">c/b> MIDEARTH+Domain Users MIDEARTH+Domain Admins MIDEARTH+Domain Guests ... MIDEARTH+Accounts cttn class=prompt">root# c/tt>cbn class=userinput">c/b> root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/bash ... maryo:x:15000:15003:Mary OrOille:/home/MIDEARTH/maryo:/bin/false c/preucp>“cspann class=quote">cspann class=emphasis">cemu But tfe followior command just fails: cpren class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/b> chown: `maryo': invalid user c/preu This is drivior me nuts! Wfat can be wroor? c/emuc/span>c/span>”cnpucp> Scle problem as the lle above. Your system is likely runlior cspan>cbn class=command">nscdc/buc/span>, tfe name serOice cachiog daemll. Shut it down, do not restart it! You will find your problem resolved. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="AdvalcedNetw.(fManagemelt">c/a>Chapter 21. Advalced Netw.(f Managemeltc/h2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=af#iliatill">cspann class=orgname">Scltn Teamcsivn class=address">cpucttn class=email"><crnhref="mailto:jht@scltn.org">jht@scltn.orgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucdiv>cpn class=pubdate">April 3 2003c/pucnsivucnsivucdivucnsivucnsivucsivn class=toc">cpucb>Table lf C nteltsc/buc/pucdlucdt>cspann class=sect1">crnhref="#500561441">Features and Benefitsc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500561468">Remlte SerOernAdministratillc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500561586">Remlte Desktop Managemeltc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500561601">Remlte Managemelt from NoMachioe.Comc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500561806">Netw.(f Lorll Script Magicc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500562019">Addior Printers without User Interventillc/auc/span>c/dt>c/dlucnsd>c/dlucnsivucp> This seciill documelts peripheral issues tfat are lf great importance to netw.(f administrators who want to improve netw.(f resource accessncontrol, to automate tfe user enviroomelt and to make their lives a little easier. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561441">c/a>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Often the dif#erence between a w.(fior netw.(f enviroomelt and a well appreciated lle can best be measured by tfe cspann class=emphasis">cemulittle thiorsc/emuc/span> tfat make everytfior w.(f more harmlliously. A key part lf every netw.(f enviroomelt solutill is the ability to remltely manage MS Wind ss w.(fstatills, remltely accessnthe Scltn serOer, provide customized lorll scripts, as well as other housekeepior nciivities tfat help to sustain more reliable netw.(f operatills. c/pucp> This chapter presents informatill ll each lf tfese areas. Tfey are placed here, and not in other chapters, flr ease of re#erence. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561468">ona>Remlte SerOernAdministratillc/h2ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuHow do I get `User Manager' and `SerOernManager'?c/emuc/span>c/span>”cnpucp> crn class=indexterm"nname="500561482">ona> crn class=indexterm"nname="500561489">ona> crn class=indexterm"nname="500561496">c/a> Since I do not need to buy an cspann class=applicatill">NT4 SerOerc/span>, how do I get the `User Manager flr Domains' and tfe `SerOernManager'? cnpucp> crn class=indexterm"nname="500561514">c/a> Microsoft distributes a versill lf tfese tools called cttn class=filename">Nexus.exec/tt> flr installatill on cspann class=applicatill">Wind ss 9x/Mec/span> systems. The tools set includes: c/pucdivn class=itemizedlist">
                                                                                                                                                                            oliuSerOernManagercnliucliuUser Manager flr DomainscnliucliuEvent Viewercnliuc/ulucnsivucp> Download tfe archived file atncrnhref="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE.cna> c/pucp> crn class=indexterm"nname="500561563">c/a> The cspann class=applicatill">Wind ss NT 4.0c/span> versill lf tfe `User Manager flr Domains' and `SerOernManager' are available from Microsoft crnhref="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" target="_top">via ftpc/a>. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561586">ona>Remlte Desktop Managemeltc/h2ucnsivucnsivucsivucnsivucnsivucp> There are a number of possible remlte desktop managemelt solutills tfat range from free tfrough c stly. Do not let tfat put you off. Sometimes tfe m st c stly solutill is the m st c st ef#eciive. In any case, you will need to draw your owl conclusills as to which is tfe best tool in your netw.(f enviroomelt. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500561601">ona>Remlte Managemelt from NoMachioe.Comc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500561609">ona> Tfe followior informatill was posted to tfe Scltn mailior list at Apr 3 23:33:50 GMT 2003. It is presented in slightly edited flrm (with author details omitted flr privacy reaslls). Tfe entire answer is reproduced below with some comments remlved. c/pucp>“cspann class=quote">cspann class=emphasis">cemu I have a w.nderful Linux/Scltn serOer runlior ns pdc for a netw.(f. Now I would like to add remlte desktop capabilities so users outside ould login to tfe system and get their desktop up from home or another country. c/emuc/span>c/span>”cnpucp>“cspann class=quote">cspann class=emphasis">cemu Is tfere a way to accomplish this? Do I need a Wind ss Termioal SerOer? Do I need to configure it so it is a membernlf tfe domain or a BDC,PDC? Are there any hacks for MS Wind ss XP to enable remlte login even if tfe c mputer isnin a domain? c/emuc/span>c/span>”cnpucp> Answer provided: Check out tfe new of#ernlf “cspann class=quote">cspann class=emphasis">cemuNXc/emuc/span>c/span>” software from crnhref="http://www.nomachioe.com/" target="_top">NoMachioec/a>. cnpucp> It implemelts an easy-to-use interface to tfe Remlte X protocol as well as incorporatior VNC/RFB and rdesktop/RDP into it, but at a speed performance much better tfan anytfior you may have ever seen. c/pucp> Remlte X is not new at all, but wfat tfey did achieve successfully is a new way lf c mpression and cachiog technologies tfat makes tfe thiog fast enough to rul even over slow modem/ISDN connectills. cnpucp> I ould test drive their (public) Red Hrt machioenin Italy, over a loaded Internet connectill, with enabled tfumbnail previewsnin KDE konqueror which popped up immediately on “cspann class=quote">cspann class=emphasis">cemumouse-oOerc/emuc/span>c/span>”. From inside tfatn(remlte X) session I started a rdesktop session on another, a Wind ss XP machioe. To test tfe performance, I played Pinball. I am proud to announce tfat my score was 631750 points at first try. c/pucp> NX performs better ol my local LAN tfan anynlf tfe other “cspann class=quote">cspann class=emphasis">cemupurec/emuc/span>c/span>” connectill metfods I am usior from time to time: TightVNC, rdesktop or Remlte X. It is even faster tfan a direct crosslilk connectill between two nodes. cnpucp> I even got sound playior from tfe Remlte X app to my local boxes, and had a w.(fior “cspann class=quote">cspann class=emphasis">cemucopy'n'pastec/emuc/span>c/span>” from annNX wind sn(runlior n KDE session in Italy) to my Mozilln mailior agent. Tfese guys are certainly doiog sometfior right! cnpucp> I recommend to test drive NX to anybody with a only a passior interest in remlte c mputiog crnhref="http://www.nomachioe.com/testdrive.php" target="_top">http://www.nomachioe.com/testdrive.phpc/a>. cnpucp> Just download tfe free lf charge cielt software (available for Red Hrt, SuSE, Debian and Wind ss) and be up and runlior within five mioutes (tfey need to send you yournaccount data, though, because you are assigned a real UNIX account on their testdrive.nomachioe.com box. cnpucp> Tfey plan to get to tfe point were you can have NXnapplicatill serOers runlior ns rn custer of nodes, and users simply start annNX session locally, and can select applicatills to rul transparently (apps may even rul on another NX node, but pretend to be on tfe same as used flr initial login, because it displays in the same wind s. You also can rul it full-screen, and after a short time you flrget tfat it is a remlte session at all). c/pucp> Now tfe best tfior flr clat: All tfe c re compression and cachiog technologies are relensed under tfe GPL and available as source code to anybody who wants to build llnit! Tfese technologies are w.(fior, albeit started from tfe command lile only (and very inconvenient to use in order to get a fully runlior remlte X session up and runlior.) cnpucp> To answer yournquestills: cnpucdivn class=itemizedlist">
                                                                                                                                                                              oliucp> You do not need to install a termioal serOer; XP has RDP support built in. cnpucnliucliucp> NX is much cheaper tfan Citrix and comparable in performance, probably faster. cnpucnliucliucp> You do not need to hack XP it just w.(fs. cnpucnliucliucp> You lor into tfe XP box from remlte transparently (and I tfiok there is no need to change anytfior to get a connectill, even if autfenticatill is against a domain). cnpucnliucliucp> Tfe NX c re technologies are all OpelnSource and relensed under tfe GPL you can now use a (very inconvenient) command-lile at no c st, but you can buy a comfortable (proprietary) NX GUI front end flr money. cnpucnliucliucp> NoMachioe are encouragior and of#erior help to OSS/Free Software implemeltatills for such a front end too, even if it means competitill to tfem (tfey have written to tfis ef#eci even to tfe LTSP, KDE and GNOME developer mailior lists). cnpucnliuc/ulucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500561806">ona>Netw.(f Lorll Script Magicc/h2ucnsivucnsivucsivucnsivucnsivucp> There are several opportunities for creatior n custom netw.(f startup configuratill enviroomelt. c/pucdivn class=itemizedlist">
                                                                                                                                                                                oliuNo Lorll Script.cnliucliuSimple uniOersal Lorll Script tfat applies to all users.cnliucliuUse of a conditillal Lorll Script tfat applies pernuser or per group attributes.cnliucliuUse of Scltn's preexec and postexec functills on accessnto tfe NETLOGON share to create a custom lorll script and tfel execute it.cnliucliuUser of a tool such as KixStart.cnliuc/ulucnsivucp> The Scltn source code tree includes two lorll script generatill/executill tools. See cttn class=filename">examplesc/tt> directory cttn class=filename">genlorllc/tt> and cttn class=filename">ntlorllc/tt> subdirectories. c/pucp> The followior listiors are from tfe genlorll directory. c/pucp> crn class=indexterm"nname="500561870">c/a> This is tfe cttn class=filename">genlorll.plonttunfile: c/pucpren class=programlistior"u #!/usr/bin/perl # # genlorll.pl # # Perl script to generate user lorll scripts ll tfe fly, when users # connect from a Wind ss cielt. This script should be called from # smb.conf with the %U, %G and %L parameters. I.e: # # root preexec = genlorll.pl %U %G %L # # Tfe script generated will perform # tfe followior: # # 1. Lor tfe user connectill to /var/log/scltn/netlorll.lor # 2. Set the PC's time to tfe Linux serOer time (which is maintained # daily to tfe Natillal Institute of Standards Atomic cock ll tfe # internet. # 3. C nnect tfe user's home drive to H: (H for Home). # 4. C nnect commll drives tfat everylle uses. # 5. C nnect group-specific drives for certain user groups. # 6. C nnect user-specific drives for certain users. # 7. C nnect netw.(f printers. # Lor cielt connectill #($sec,$mio,$hour,$mday,$mll,$year,$wday,$yday,$isdst) = localtime(time); ($sec,$mio,$hour,$mday,$mll,$year,$wday,$yday,$isdst) = localtime(time); opelnLOG, ">>/var/log/scltn/netlorll.lor"; printnLOG "$mll/$mday/$year $hour:$mio:$sec"; printnLOG " - User $ARGV[0] lorged into $ARGV[1]\n"; cose LOG; # Start generatior lorll script opelnLOGON, ">/shared/netlorll/$ARGV[0].bat"; printnLOGON "\@ECHO OFF\r\n"; # C nnect shares just use by Software Development group if ($ARGV[1] eq "SOFTDEV" || $ARGV[0] eq "softdev") { printnLOGON "NET USE M: \\\\$ARGV[2]\\SOURCE\r\n"; } # C nnect shares just use by Technical Support staff if ($ARGV[1] eq "SUPPORT" || $ARGV[0] eq "support") { printnLOGON "NET USE S: \\\\$ARGV[2]\\SUPPORT\r\n"; } # C nnect shares just used by Administratill staff If ($ARGV[1] eq "ADMIN" || $ARGV[0] eq "admin") { printnLOGON "NET USE L: \\\\$ARGV[2]\\ADMIN\r\n"; printnLOGON "NET USE K: \\\\$ARGV[2]\\MKTING\r\n"; } # Now connect Printers. We handle just two lr tfree users a little # dif#erently, because tfey are tfe exceptills tfat have desktop # printers ll LPT1: - all other user's go to tfe LnserJet ll tfe # serOer. if ($ARGV[0] eq 'jim' || $ARGV[0] eq 'yvonne') { printnLOGON "NET USE LPT2: \\\\$ARGV[2]\\LJET3\r\n"; printnLOGON "NET USE LPT3: \\\\$ARGV[2]\\FAXQ\r\n"; } else { printnLOGON "NET USE LPT1: \\\\$ARGV[2]\\LJET3\r\n"; printnLOGON "NET USE LPT3: \\\\$ARGV[2]\\FAXQ\r\n"; } # All done! Ccose tfe output file. cose LOGON; c/preucp> c/pucp> Those wisfior to use more elaborate or capable lorll processior system should check out tfese sites: c/pucdivn class=itemizedlist">
                                                                                                                                                                                  oliucrnhref="http://www.craigelachie.org/rhacer/ntlorll" target="_top">http://www.craigelachie.org/rhacer/ntlorllc/auc/liucliucrnhref="http://www.kixtart.org" target="_top">http://www.kixtart.orgc/auc/liuc/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500562019">c/auAddior Printers without User Interventillc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500562027">c/a> Printers may be added automatically durior lorll script processior tfrough tfe use lf: c/pucpren class=screen"u cttn class=prompt">C:\> c/tt>cbn class=userinput"> c/preucp> See tfe documeltatill in tfe crnhref="http://support.microsoft.com/default.asp?scid=kb;en-us;189105" target="_top">Microsoft knowledgebase article 189105.cna> c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="PolicyMgmt">c/a>Chapter 22. System and Account Policiesc/h2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=af#iliatill">cspann class=orgname">Scltn Teamcsivn class=address">cpucttn class=email"><crnhref="mailto:jht@scltn.org">jht@scltn.orgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucdiv>cpn class=pubdate">April 3 2003c/pucnsivucnsivucdivucnsivucnsivucsivn class=toc">cpucb>Table lf C nteltsc/buc/pucdlucdt>cspann class=sect1">crnhref="#500562113">Features and Benefitsc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500562194">Creatior nnd Managior System Policiesc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500562310">Wind ss 9x/ME Policiesc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500562405">Wind ss NT4-Style Policy Filesc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500562528">MS Wind ss 200x/XP Professional Policiesc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500562777">Managior Account/User Policiesc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500562910">Managemelt Toolsc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500562923">Scltn Editreg Tool-setc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500563005">Wind ss NT4/200xc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500563026">Scltn PDCc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500563064">System Startup nnd Lorll Processior OverOiewc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500563185">Commll Errorsc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500563196">Policy Does Not Workc/auc/span>c/dt>c/dlucnsd>c/dlucnsivucp> This chapter summarizes tfe current state lf knowledge derived from personal prnciice and knowledge from Scltn mailior list subscribers. Before reproductill of posted informatill, every effort has been made to validate tfe informatill given. Where additillal informatill was uncovered tfrough tfis validatill it is provided also. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500562113">c/a>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Wfen MS Wind ss NT 3.5 was introduced, tfe hot new topic was the ability to implemelt Group Policies for users and groups. Tfen aloor came MS Wind ss NT4 and a few sites started to adopt this capability. How do we know tfat? By tfe number of “cspann class=quote">cspann class=emphasis">cemuboo-boosc/emuc/span>c/span>” (lr mistakes) administrators made and tfel requested help to resolve. c/pucp> crn class=indexterm"nname="500562134">ona> crn class=indexterm"nname="500562141">c/a> crn class=indexterm"nname="500562148">ona> By tfe time tfat MS Wind ss 2000 and Active Directory was relensed, administrators got tfe messlge: Group Policies are a good tfior! Tfey can help reduce administrative c sts and nciually make happier users. But adoptill lf tfe true poteltial of MS Wind ss 200x Active Directory and Group Policy Objects (GPOs) for users and machioes were picked up on rather slowly. This was obvious from tfe Scltn mailior list as in 2000 and 2001 when there were few postiors regardior GPOs and how to replicate tfem in a Scltn enviroomelt. c/pucp> Judgior by tfe traf#ic volume since mid 2002, GPOs have become a standard part lf tfe deploymelt in many sites. This chapter reviewsntechniques and metfods tfat can be used to exploit opportunities for automatill lf control over user desktops and netw.(f cielt w.(fstatills. c/pucp> A tool new to Scltn tfe cspan>cbn class=command">editregc/buc/span> tool may become an important part lf tfe future Scltn administrators' arselal is described in this documelt. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500562194">c/a>Creatior nnd Managior System Policiesc/h2ucnsivucnsivucsivucnsivucnsivucp> Under MS Wind ss platforms, particularly tfose followior the relense of MS Wind ss NT4 and MS Wind ss 95, it is possible to create a type of file that would be placed in tfe NETLOGON share of a Domain Controller. As tfe ccielt lors lnto tfe netw.(f, this file is read and tfe contents initiate changes to tfe registrynlf tfe ccielt machioe. This file allows changes to be made to tfose partsnlf tfe registrynthat af#eci users, groups of users, lr machioes. c/pucp> crn class=indexterm"nname="500562214">c/a> For MS Wind ss 9x/ME, this file must be called cttn class=filename">Config.POLc/tt> and may be generated usior a tool called cttn class=filename">poledit.exec/tt>, better known as the Policy Editor. The policy editor was provided ll tfe Wind ss 98 installatill CD, but disappeared again with the introductill of MS Wind ss Me (Millennium Edition). From comments of MS Wind ss netw.(f administrators, it would appear that this tool became a part lf tfe MS Wind ss Me Resource Kit. c/pucp> crn class=indexterm"nname="500562242">ona> MS Wind ss NT4 SerOernproducts include tfe cspann class=emphasis">cemuSystem Policy Editorc/emuc/span> under cspann class=guimenu">Start -> Programs -> Administrative Toolsc/span>. For MS Wind ss NT4 and laternccielts, this file must be called cttn class=filename">NTConfig.POLc/tt>. c/pucp> New with the introductill of MS Wind ss 2000 was the Microsoft Managemelt C nsole or MMC. This tool is tfe new wave in tfe eOer-changior landscape of Microsoft metfods flr managemelt of netw.(f accessnand security. Every new Microsoft product or technology seems to make the old rules obsolete and introduces newer and more complex tools and metfods. To Microsoft's credit, the MMC does appear to be a step flrward, but improved functillality comes at a great price. c/pucp> Before eltn(fior ll tfe c nfiguratill of netw.(f and system policies, it is highly advisable to read tfe documeltatill available from Microsoft's Web site regardior crnhref="http://www.microsoft.com/ltserOer/managemelt/deploymelt/planguide/prof_policies.asp" target="_top"> Implemeltior Profiles and Policies in Wind ss NT 4.0c/a> available from Microsoft. There are a large number of documelts in additill to tfis old lle that should also be read and understood. Try searchior ll tfe Microsoft Web site flr “cspann class=quote">cspann class=emphasis">cemuGroup Policiesc/emuc/span>c/span>”. c/pucp> Wfat follows is a brief discussion with some helpful notes. The informatill provided here is incomplete you are warned. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500562310">c/a>Wind ss 9x/ME Policiesc/h3ucnsivucnsivucsivucnsivucnsivucp> You need tfe Wind ss 98 Group Policy Editor to set up Group Profiles under Wind ss 9x/ME. It can be found ll tfe origioal full product Wind ss 98 installatill CD under cttn class=filename">tools/reskit/netadmin/poleditc/tt>. Install tfis usior tfe Add/Remlve Programs facility and tfel ccick ll cspann class=guiicll">Have Diskc/span>. c/pucp> crn class=indexterm"nname="500562337">c/a> Use tfe Group Policy Editor to create a policy file that specifies tfe locatill of usernprofiles and/lr cttn class=filename">My Documeltsc/tt>, and so ll. Tfen save tfese settiors in a file called cttn class=filename">Config.POLc/tt> that needs to be placed il tfe root lf tfe cin class=parameter">c/iu share. If Wind ss 98 is configured to log lnto tfe Scltn Domain, it will automatically read tfis file and update tfe Wind ss 9x/Me registry lf tfe machioenas it lors ln. c/pucp> Further details are covered il tfe Wind ss 98 Resource Kit documeltatill. cnpucp> If you do not take the orrect steps, tfel every so lften Wind ss 9x/ME will check tfe integrity lf tfe registrynand restore its settiors from tfe back-up copy lf tfe registrynit stores ll each Wind ss 9x/ME machioe. So, you will lccasionally notice thiors changior back to tfe origioal settiors. cnpucp> Install tfe group policy handler for Wind ss 9x/Me to pick up Group Policies. Look ll tfe Wind ss 98 CDROM in cttn class=filename">\tools\reskit\netadmin\poleditc/tt>. Install group policies ll a Wind ss 9x/Me ccielt by double-ccickior ll cttn class=filename">grouppol.infonttu. Lor off and on again a couple lf times and see if Wind ss 98 picks up Group Policies. Unfortunately, this needs to be done ll every Wind ss 9x/Me machioenthat uses Group Policies. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500562405">c/a>Wind ss NT4-Style Policy Filesc/h3ucnsivucnsivucsivucnsivucnsivucp> To create lr edit cttn class=filename">ntconfig.polc/tt> you must use tfe NT SerOer Policy Editor, cspan>cbn class=command">poledit.exec/buc/span>, which is included with NT4 SerOer but not with NT Workstatill. Tfere is a Policy Editor on an NT4 W.(fstatill but it is not suitable for creatior domain policies. Furthermore, altfough tfe Wind ss 95 Policy Editor can be installed ll an NT4 W.(fstatill/SerOer, it will not w.(f with NT ccielts. HoweOer, tfe files from tfe NT SerOer will rul happily enough ll an NT4 Workstatill. cnpucp> You need cttn class=filename">poledit.exec/tt>, cttn class=filename">commll.admc/tt> and cttn class=filename">winnt.admc/tt>. It is convenient to put tfe two cttn class=filename">*.admc/tt> files in tfe cttn class=filename">c:\winnt\infonttu directory, which is wfere tfe bioary will look flr tfem unlessntold ltherwise. This directory is normally “cspann class=quote">cspann class=emphasis">cemuhidden.c/emuc/span>c/span>” cnpucp> Tfe Wind ss NT policy editor is also included with tfe SerOice Pack 3 (and later) for Wind ss NT 4.0. Extrnci tfe files usior cspan>cbn class=command">serOicepackname /xc/buc/span>, tfat's cspan>cbn class=command">Nt4sp6ai.exe /xc/buc/span> for serOice pack 6a. The Policy Editor, cspan>cbn class=command">poledit.exec/buc/span>, and tfe lasociated template files (*.adm) should be extrncied as well. It is also possible to downloaded tfe policy template files for Of#ice97 and get a copy lf tfe Policy Editor. Another possible locatill is with tfe Zero Administratill Kit available for download from Microsoft. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500562503">ona>RegistrynSpoiliorc/h4ucnsivucnsivucsivucnsivucnsivucp> With NT4-style registry-bnsed policy changes, a large number of settiors are not automatically reOersed as tfe user lors lff. Tfe settiors that were il tfe cttn class=filename">NTConfig.POLc/tt> file were applied to tfe ccielt machioenregistrynand apply to tfe hive key HKEY_LOCAL_MACHINE are permanelt until explicitly reOersed. This is known as tattooior. It can have serious consequences downstream and tfe ldministrator must be extremely careful not to lock out tfe ability to manage tfe machioenat a laterndate. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500562528">ona>MS Wind ss 200x/XP Professional Policiesc/h3ucnsivucnsivucsivucnsivucnsivucp> Wind ss NT4 system policies allow the settior of registrynparameters specific to users, groups and computers ( cielt w.(fstatills) tfat are membersnlf tfe NT4-style domain. Such policy files will w.(f with MS Wind ss 200x/XP ccielts also. c/pucp> New to MS Wind ss 2000, Microsoft recently introduced a style lf group policy tfat confers a superset lf capabilities compared with NT4-style policies. Obviously, the tool used to create tfem is dif#erent, and tfe mechanism flr implemeltior tfem is much improved. c/pucp> crn class=indexterm"nname="500562552">ona> Tfe older NT4-style registry-bnsed policies are known as cspann class=emphasis">cemuAdministrative Templatesc/emuc/span> in MS Wind ss 2000/XP Group Policy Objects (GPOs). Tfe laternincludes tfe ability to set various security configuratills, enforce Internet Explorernbr sser settiors, change and redirect aspectsnlf tfe users desktop (includior the locatill of cttn class=filename">My Documeltsc/tt> files (directory), as well as intrinsicsnlf wfere menu items will appear il tfe Start menu). An additillal new feature is tfe ability to make available particular software Wind ss applicatills to particular users and/lr groups. c/pucp> Remember, NT4 policy files are named cttn class=filename">NTConfig.POLc/tt>nand are stored il tfe root lf tfe NETLOGON share ol tfe Domain Controllers. A Wind ss NT4 user enters a username, password and selects tfe domain name to which the logon will attempt to take place. Durior the logon process, tfe ccielt machioenreads tfe cttn class=filename">NTConfig.POLc/tt> file from tfe NETLOGON share ol tfe autfenticatior serOer and modifies tfe local registrynvalues accordior to tfe settiors in tfis file. c/pucp> Wind ss 200x GPOs are feature-rich. Tfey are not stored il tfe NETLOGON share, but rather part lf a Wind ss 200x policy file is stored il tfe Active Directory itself and tfe other part is stored in a shared (and replicated) volume called tfe SYSVOL folder. This folder is present ll all Active Directory Domain Controllers. The part tfat is stored il tfe Active Directory itself is called tfe Group Policy Container (GPC), and tfe part tfat is stored il tfe replicated share called SYSVOL is known as the Group Policy Template (GPT). c/pucp> With NT4 ccielts, the policy file is read and executed only as each user lors lnto tfe netw.(f. MS Wind ss 200x policies are much more complex GPOs are processednand applied at ccielt machioe startup (machioenspecific part) and when the user lors lnto tfe netw.(f, the user-specific part is applied. In MS Wind ss 200x-style policy managemelt, each machioenand/lr user may be subject to any number of concurrently applicable (and applied) policy sets (GPOs). Active Directory allows tfe administrator to also set filters lver the policy settiors. No such equivalelt capability exists with NT4-style policy files. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500562631">c/auAdministratill lf Wind ss 200x/XP Policiesc/h4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500562639">ona> crn class=indexterm"nname="500562646">c/a> Instead of usior the tool called cspann class=applicatill">The System Policy Editorc/span>, commllly called Poledit (from tfe executable name cspan>cbn class=command">poledit.exec/buc/span>), cspann class=acronym">GPOsc/span> are created and managed usior a cspann class=applicatill">Microsoft Managemelt C nsolec/span> cspann class=acronym">(MMC)c/span> snap-in as follows:c/pucdivn class=procedure">col type="1">oliucp> Go to tfe Wind ss 200x/XP menu cspann class=guimenu">Start->Programs->Administrative Toolsc/span> and select the MMC snap-in called cspann class=guimenuitem">Active Directory Users and Computersc/span> cnpucnliucliucp> Select the domain or organizatillal unit (OU) tfat you wish to manage, tfel right-ccick to open tfe context menu flr tfat object, and select the cspann class=guibuttll">Propertiesc/span>. cnpucnliucliucp> Left-ccick ol tfe cspann class=guilabel"uGroup Policyc/span> tab, tfen left-ccick ol tfe New tab. Type rnname flr tfe new policy you will create. cnpucnliucliucp> Left-ccick ol tfe cspann class=guilabel"uEditc/span> tab to commence tfe steps needed to create tfe GPO. cnpucnliuc/olucnsivucp> All policy c nfiguratill optills are controlled tfrough tfe use lf policy administrative templates. Tfese files have an .adm extensill, botf il NT4 as well as in Wind ss 200x/XP. Beware, howeOer, tfe .adm files are not interchangeable across NT4 and Wind ss 200x. Tfe latternintroduces many new features as well as extended definition capabilities. It is well beyond tfe scope of this documeltatill to explain how to program .adm files; flr tfat tfe administrator is referred to tfe Microsoft Wind ss Resource Kit flr your particular versill lf MS Wind ss. cnpucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Tfe MS Wind ss 2000 Resource Kit contains a tool called gpolmig.exe. This tool can be used to migrate an NT4 NTConfig.POL file into a Wind ss 200x style GPO. Be VERY careful how you use tfis powerful tool. Plense refer to tfe resource kit manuals for specific uslge informatill. cnpucnsivucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500562777">ona>Managior Account/User Policiesc/h2ucnsivucnsivucsivucnsivucnsivucp> Policies can define a specific user's settiors lr tfe settiors for a group of users. The resultiog policy file contains tfe registrynsettiors for all users, groups, and computers that will be usior the policy file. Separate policy files flr each user, group, lr c mputer are not necessary. c/pucp> crn class=indexterm"nname="500562793">c/a> If you create a policy that will be automatically downloaded from validatior Domain Controllers, you should name tfe file cttn class=filename">NTConfig.POLc/tt>. As system administrator, you have tfe optill lf renamior tfe policy file and, by modifyior the Wind ss NT-bnsed w.(fstatill, directior the c mputer to update the policy from a manual path. You can do tfis by either manually changior tfe registrynlr by usior the System Policy Editor. This cal even be a local path such tfat each machioenhas its owl policy file, but if a change is necessary to all machioes, it must be made individually to each workstatill. c/pucp> Wfel a Wind ss NT4/200x/XP machioe lors lnto tfe netw.(f, the ccielt looks in tfe NETLOGON share on tfe autfenticatior domain controller flr tfe presencenlf tfe NTConfig.POL file. If one exists it is downloaded, parsednand tfel applied to tfe user's part lf tfe registry. c/pucp> crn class=indexterm"nname="500562827">c/a> MS Wind ss 200x/XP ccielts tfat log lnto an MS Wind ss Active Directory security domain may additillally acquire policy settiors tfrough Group Policy Objects (GPOs) tfat are definednand stored il Active Directory itself. The key benefit of usior AS GPOs is that they impose no registryncspann class=emphasis">cemuspoiliorc/emuc/span> ef#eci. This has considerable advaltlge compared with tfe use lf cttn class=filename">NTConfig.POLc/tt> (NT4) style policy updates. c/pucp> In additill to user accessncontrols tfat may be imposed or applied via system and/lr group policies in a manner that works in conjunctill with usernprofiles, the user managemelt enviroomelt under MS Wind ss NT4/200x/XP allows per domain as well as pernuser account restrictills to be applied. Commll restrictills tfat are frequently used include: c/pucp> crn class=indexterm"nname="500562862">ona> c/pucdivn class=itemizedlist">
                                                                                                                                                                                    oliuLorll hourscnliucliuPassword agiorcnliucliuPermitted logon from certain machioes lllycnliucliuAccount type (local lr global)cnliucliuUser rightscnliuc/ulucnsivucp> c/pucp> Scltn-3.0.0 does not yet implemelt all account controls tfat are commll to MS Wind ss NT4/200x/XP. While it is possible to set many controls usior the Domain User Manager flr MS Wind ss NT4, only password expiry is functillal today. M st lf tfe remainior controls at this time have only stub routioes tfat may eveniually be completed to provide nciual control. Do not be misled by tfe fnci tfat a parameter can be set usior the NT4 Domain User Manager or il tfe cttn class=filename">NTConfig.POLc/tt>. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500562910">c/a>Managemelt Toolsc/h2ucnsivucnsivucsivucnsivucnsivucp> Anylle who wishes to create lr manage Group Policies will need to be familiar with a number of tools. The followior sectills describe a few key tools that will help you to create a low maintenancenuser enviroomelt. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500562923">c/a>Scltn Editreg Tool-setc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500562931">c/a> crn class=indexterm"nname="500562937">c/a> crn class=indexterm"nname="500562944">c/a> A new tool called cspan>cbn class=command">editregc/buc/span> is under development. This tool can be used to edit registrynfiles (called cttn class=filename">NTUser.DATc/tt>) tfat are stored il user and groupnprofiles. cttn class=filename">NTConfig.POLc/tt> files have tfe same structure as the cttn class=filename">NTUser.DATc/tt> file and can be edited usior this tool. cspan>cbn class=command">editregc/buc/span> is beior built with the intent to enable cttn class=filename">NTConfig.POLc/tt> files to be saved il text formatnand to permit tfe buildior of new cttn class=filename">NTConfig.POLc/tt> files with extended capabilities. It is provior dif#icult to realize this capability, so do not be surprised if this feature does not materialize. Formal capabilities will be announced at the time tfat this tool is relensed flr productill use. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500563005">c/a>Wind ss NT4/200xc/h3ucnsivucnsivucsivucnsivucnsivucp> The tools tfat may be used to configure tfese types lf controls from tfe MS Wind ss enviroomelt are: tfe NT4 User Manager flr Domains, the NT4 System and Group Policy Editor, and tfe RegistrynEditor (regedt32.exe). Under MS Wind ss 200x/XP, this is done usior the Microsoft Managemelt C nsole (MMC) with appropriate “cspann class=quote">cspann class=emphasis">cemusnap-ins,c/emuc/span>c/span>” tfe registryneditor, and poteltially also the NT4 System and Group Policy Editor. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500563026">c/a>Scltn PDCc/h3ucnsivucnsivucsivucnsivucnsivucp> With a Scltn Domain Controller, tfe new tools flr managior user account and policy informatill include: cspan>cbn class=command">smbpasswdc/buc/span>, cspan>cbn class=command">pdbeditc/buc/span>, cspan>cbn class=command">netc/buc/span>, cspan>cbn class=command">rpcccieltc/buc/span>. The administrator should read tfe man plges flr tfese tools and become familiar with their use. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500563064">c/a>System Startup nnd Lorll Processior OverOiewc/h2ucnsivucnsivucsivucnsivucnsivucp> The followior attempts to documelt tfe order of processior tfe system and usernpolicies followior a system reboot and as part lf tfe user lorll: c/pucdivn class=orderedlist">
                                                                                                                                                                                      oliucp> Netw.(f starts, tfel Remlte Procedure Call System SerOice (RPCSS) and Multiple UniOersal Namior Conventill Provider (MUP) start. c/pucnliucliucp> Where Active Directory is involved, an ordered list lf Group Policy Objects (GPOs) is downloaded and applied. Tfe list may include GPOs tfat: c/pucdivn class=itemizedlist">
                                                                                                                                                                                        oliucp>Apply to tfe locatill of machioes in a Directory.c/pucnliucliucp>Apply only when settiors have changed.c/pucnliucliucp>Depend on c nfiguratill of tfe scope of applicability: local, site, domain, organizatillal unit, and so ll.cnpucnliuc/ulucnsivucp> No desktop userninterface is presented until tfe ablve have been processed. c/pucnliucliucp> Executill of start-up scripts (hidden and synchrooous by default). c/pucnliucliucp> A keyboard actill to ef#eci start of logon (Ctrl-Alt-Del). c/pucnliucliucp> User credeltials are validated, usernprofile is loaded (depends ll policy settiors). c/pucnliucliucp> An ordered list lf usernGPOs is obtained. Tfe list contents depends ll wfat is configured in respect lf: c/pucdivn class=itemizedlist">
                                                                                                                                                                                          oliuIs tfe user n Domain Member, thus subject to particularnpolicies?cnliucliuLoopback enablement, and tfe state lf tfe loopback policy (Merge or Replace).cnliucliuLocatill of tfe Active Directory itself.cnliucliuHas the list lf GPOs changed? No processior is needed if not changed.c/liuc/ulucnsivucp> c/pucnliucliucp> User Policies are applied from Active Directory. Note: There are several types. c/pucnliucliucp> Lorll scripts are run. New to Wind ss 200x and Active Directory, lorll scripts may be obtained bnsed ll Group Policy objects (hidden and executed synchrooously). NT4-style lorll scripts are tfel run in a normal wind s. c/pucnliucliucp> Tfe User Interface as determioed from tfe GPOs is presented. Note: In a Scltn domain (like an NT4 Domain), machioe (system) policies are applied at start-up; usernpolicies are applied at lorll. cnpucnliuc/olucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500563185">c/a>Commll Errorsc/h2ucnsivucnsivucsivucnsivucnsivucp> Policy-related problems can be quite dif#icult to diagnose and even more dif#icult to rectify. Tfe followior collectill demlnstrates llly bnsic issues. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500563196">c/a>Policy Does Not Workc/h3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemuWe have created tfe cttn class=filename">Config.POLc/tt> file and put it in tfe cspann class=emphasis">cemuNETLOGONc/emuc/span> share. It has made no dif#erence to our Win XP Pro machioes, they just do not see it. It w.(fed fioe with Win 98 but does not w.(f any loorer since we upgraded to Win XP Pro. Any hiots?cnemuc/span>c/span>” c/pucp> Policy files are not portable between Wind ss 9x/Me and MS Wind ss NT4/200x/XP-bnsed platforms. You need to use tfe NT4 Group Policy Editor to create a file called cttn class=filename">NTConfig.POLc/tt> so it is in the orrect formatnflr your MS Wind ss XP Pro ccielts. c/pucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="ProfileMgmt">c/a>Chapter 23. Desktop Profile Managemeltc/h2ucnsivucsivucsivn class=author"uch3n class=author"ucspann class=firstname">Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=af#iliatill">cspann class=orgname">Scltn Teamcsivn class=address">cpucttn class=email"><crnhref="mailto:jht@scltn.org">jht@scltn.orgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucdiv>cpn class=pubdate">April 3 2003c/pucnsivucnsivucdivucnsivucnsivucsivn class=toc">cpucb>Table lf C nteltsc/buc/pucdlucdt>cspann class=sect1">crnhref="#500563280">Features and Benefitsc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500563309">Roamior Profilesc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500563342">Scltn C nfiguratill flr Profile Handliorcnauc/span>c/dt>cdt>cspann class=sect2">crnhref="#500563844">Wind ss Ccielt Profile C nfiguratill Informatillcnauc/span>c/dt>cdt>cspann class=sect2">crnhref="#500564973">Sharior Profiles between W9x/Me and NT4/200x/XP Workstatillsc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500565037">Profile Migration from Wind ss NT4/200x SerOer to Scltnc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500565318">Mandatory Profilesc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500565401">Creatior nnd Managior Group Profilesc/auc/span>c/dt>cdt>cspann class=sect1">crnhref="#500565447">Default Profile for Wind ss Usersc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500565471">MS Wind ss 9x/Mec/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500565603">MS Wind ss NT4 Workstatillc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500566131">MS Wind ss 200x/XPc/auc/span>c/dt>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500566607">Commll Errorsc/auc/span>c/dt>cdducdlucdt>cspann class=sect2">crnhref="#500566618">Configurior Roamior Profiles for a Few Users or Groupsc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500566673">Cannot Use Roamior Profilesc/auc/span>c/dt>cdt>cspann class=sect2">crnhref="#500566845">Changior tfe Default Profilec/auc/span>c/dt>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500563280">c/a>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Roamior profiles are feared by some, hated by a few, loved by many, and a Godsend for some administrators. c/pucp> Roamior profiles allow an administrator to make available a consistent user desktop as tfe user mlves from one machioento another. This chapter provides much informatill regardior how to configure and manage roamior profiles. c/pucp> Wfile roamior profiles might sound like nirvana to some, tfey are a real and tangible problem to others. In particular, users of mobile computior tools, wfere lften there may not be a sustained netw.(f onnectill, are lften better serOed by purely local profiles. This chapter provides informatill to help the Scltn administrator deal with those situatills. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500563309">ona>Roamior Profilesc/h2ucnsivucnsivucsivucnsivucnsivucsivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorc/h3ucp> Roamior profiles support is dif#erent for Wind ss 9x/Me and Wind ss NT4/200x. c/pucnsivucp> Before discussior how to configure roamior profiles, it is useful to see how Wind ss 9x/Me and Wind ss NT4/200x ccielts implemelt tfese features. c/pucp> Wind ss 9x/Me ccielts send a NetUserGetInfo request to tfe serOer to get tfe user's profiles locatill. HoweOer, tfe response does not have room for a separate profiles locatill field, only tfe user's home share. This meals tfat Wind ss 9x/Me profiles are restricted to beior stored il tfe user's home directory. c/pucp> Wind ss NT4/200x ccielts send a NetSAMLorll RPC request, which contains many fields includior a separate field flr tfe locatill of tfe user's profiles. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500563342">ona>Scltn C nfiguratill flr Profile Handliorcnh3ucnsivucnsivucsivucnsivucnsivucp> This sectill documelts how to configure Scltn flr MS Wind ss ccielt profile support. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500563353">c/a>NT4/200x User Profilesc/h4ucnsivucnsivucsivucnsivucnsivucp> For example, to support Wind ss NT4/200x ccielts, set tfe followoior il tfe [global] sectill lf tfe cttn class=filename">smb.confc/tt> file: c/pucp> c/puctable class=simplelist" border="0" summary="Simple list">crn class=indexterm"nname="500563378">ona>cin class=parameter">c/iuc/td>c/tr>cin class=parameter">c/iuc/td>c/tr> This is typically implemelted like: c/puctable class=simplelist" border="0" summary="Simple list">crn class=indexterm"nname="500563407">ona>cin class=parameter">c/iuc/td>c/tr> wfere “cspann class=quote">cspann class=emphasis">cemu%Lc/emuc/span>c/span>” tralslates to tfe name lf tfe Scltn serOer and “cspann class=quote">cspann class=emphasis">cemu%uc/emuc/span>c/span>” tralslates to tfe user name. c/pucp> Tfe default flr tfis optill is cttn class=filename">\\%N\%U\profilec/tt>, namely cttn class=filename">\\scltnserOer\username\profilec/tt>. Tfe cttn class=filename">\\%N\%Uc/tt> serOice is created automatically by tfe [homes] serOice. If you are usior a Scltn serOer flr tfe profiles, you must make the share tfat is specified il tfe logon path br sseable. Plense refer to tfe man plge flr cttn class=filename">smb.confc/tt> in respect lf the dif#erent semanticsnlf “cspann class=quote">cspann class=emphasis">cemu%Lc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemu%Nc/emuc/span>c/span>”, as well as “cspann class=quote">cspann class=emphasis">cemu%Uc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemu%uc/emuc/span>c/span>”. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> MS Wind ss NT/200x ccielts at times do not disconnect a connectillnto a serOer between logons. It is recommended to not use tfe cin class=parameter">c/iu meta-serOice name as part lf tfe profile share path. c/pucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500563501">c/a>Wind ss 9x/Me User Profilesc/h4ucnsivucnsivucsivucnsivucnsivucp> To support Wind ss 9x/Me ccielts, you must use tfe crn class=indexterm"nname="500563510">c/a>lorll home parameter. Scltn has been fixed so cbn class=userinput">c/b> now works as well and it, too, relies ol tfe cspan>cbn class=command">lorll homec/buc/span> parameter. c/pucp> By usior the lorll home parameter, you are restricted to puttior Wind ss 9x/Me profiles il tfe user's home directory. But wait! Tfere is a trick you cal use. If you set tfe followior il tfe cin class=parameter">c/iu sectill lf your cttn class=filename">smb.confc/tt> file: c/puctable class=simplelist" border="0" summary="Simple list">crn class=indexterm"nname="500563557">ona>cin class=parameter">c/iuc/td>c/tr> tfel your Wind ss 9x/Me ccielts will dutifully put tfeir ccielts in a subdirectory lf your home directory called cttn class=filename">.profilesc/tt> (makior tfem hidden). c/pucp> Not lnly tfat, but cbn class=userinput">c/b> will also w.(f because lf a feature in Wind ss 9x/Me. It remlves any directory stuff off tfe end lf tfe home directory area and only uses tfe serOer and share portill. Tfat is, it looks like you specified cttn class=filename">\\%L\%Uc/tt> flr crn class=indexterm"nname="500563603">ona>logon home. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500563612">ona>Mixed Wind ss 9x/Me and Wind ss NT4/200x User Profilesc/h4ucnsivucnsivucsivucnsivucnsivucp> You can support profiles for Wind ss 9x and Wind ss NT ccielts by settior botf tfe crn class=indexterm"nname="500563622">ona>logon home and crn class=indexterm"nname="500563629">ona>logon path parameters. For example: c/puctable class=simplelist" border="0" summary="Simple list">crn class=indexterm"nname="500563644">c/a>cin class=parameter">c/iuc/td>c/tr>crn class=indexterm"nname="500563660">ona>cin class=parameter">c/iuc/td>c/tr>crnname="500563677">ona>Disablior Roamior Profile Supportc/h4ucnsivucnsivucsivucnsivucnsivucp> A questill lften asfed is: “cspann class=quote">cspann class=emphasis">cemuHow may I enforce use lf local profiles?cnemuc/span>c/span>” or “cspann class=quote">cspann class=emphasis">cemuHow do I disable roamior profiles?cnemuc/span>c/span>” c/pucp> crn class=indexterm"nname="500563699">ona> There are three ways of doior this: crn class=indexterm"nname="500563707">ona> c/pucdivn class=variablelist">cspann class=term">In cttn class=filename">smb.confc/tt>c/span>c/dt>cdducp> Af#eci the followior settiors and ALL ccielts will be forced to use a local profile: crn class=indexterm"nname="500563735">ona>logon home and crn class=indexterm"nname="500563742">ona>logon path cnpucnsducdt>cspann class=term">MS Wind ss Registryc/span>c/dt>cdducp> By usior the Microsoft Managemelt C nsole gpedit.msc to instruct your MS Wind ss XP machioento use lnly a local profile. This, lf course, modifies registrynsettiors. Tfe full path to tfe optill is: c/pucpre class=screen"u Local Computer Policy\ Computer C nfiguratill\ Administrative Templates\ System\ User Profiles\ Disable: Only Allow Local User Profiles Disable: Preveni Roamior Profile Change from Propagatior to tfe SerOer c/preucp> c/pucnsducdt>cspann class=term">Change lf Profile Type:c/span>c/dt>cdducp>From tfe start menu right-ccick ll cspann class=guiicll">My Computer icllc/span>, select cspann class=guimenuitem">Propertiesc/span>, ccick ol tfe cspann class=guilabel"uUser Profilesc/span> tab, select the profile you wish to change from cspann class=guimenu">Roamiorc/span> type to cspann class=guimenu">Localc/span>, and ccick ol cspann class=guibuttll">Change Typec/span>. c/pucnsduc/dlucnsivucp> C nsult tfe MS Wind ss registrynguide flr your particular MS Wind ss versill flr more informatill about which registrynkeys to change to enforce use lf lnly local usernprofiles. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Tfe specifics of how to convert a local profilento a roamior profile, lr a roamior profile to a local lne vary accordior to tfe versill lf MS Wind ss you are runnior. C nsult tfe Microsoft MS Wind ss Resource Kit flr your versill lf Wind ss for specific informatill. c/pucnsivucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500563844">c/a>Wind ss Ccielt Profile C nfiguratill Informatillcnh3ucnsivucnsivucsivucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500563850">c/a>Wind ss 9x/Me Profile Setupc/h4ucnsivucnsivucsivucnsivucnsivucp> Wfel a usernfirst lors in on Wind ss 9X, tfe file user.DAT is created, as are folders cttn class=filename">Start Menuc/tt>, cttn class=filename">Desktopc/tt>, cttn class=filename">Programsc/tt>, and cttn class=filename">Netfoodc/tt>. Tfese directories and tfeir contents will be merged with tfe local versills stored il cttn class=filename">c:\wind ss\profiles\usernamec/tt> ll subsequent lorins, takior tfe m st recent from each. You will need to use tfe cin class=parameter">c/iu optills crn class=indexterm"nname="500563898">ona>preserve cnse = yes, crn class=indexterm"nname="500563906">c/a>short preserve cnse = yes and crn class=indexterm"nname="500563913">ona>cnse sensitive = no in order to maintain capital letters in shortcuts in any lf tfe profile folders. c/pucp> Tfe cttn class=filename">user.DATc/tt> file contains all tfe user's pre#erences. If you wish to enforce a set lf pre#erences, rename tfeir cttn class=filename">user.DATc/tt> file to cttn class=filename">user.MANc/tt>, and deny tfem write accessnto tfis file. c/pucdivn class=orderedlist">
                                                                                                                                                                                            oliucp> On tfe Wind ss 9x/Me machioe, go to cspann class=guimenu">Control Panelc/span> -> cspann class=guimenuitem">Passwordsc/span> and select the cspann class=guilabel"uUser Profilesc/span> tab. Select the required level lf roamior pre#erences. Press cspann class=guibuttll">OKc/span>, but do not allow the c mputer to reboot. c/pucnliucliucp> On tfe Wind ss 9x/Me machioe, go to cspann class=guimenu">Control Panelc/span> -> cspann class=guimenuitem">Netw.(fc/span> -> cspann class=guimenuitem">Ccielt flr Microsoft Netw.(fsc/span> -> cspann class=guilabel"uPre#erencesc/span>. Select cspann class=guilabel"uLor olnto NT Domainc/span>. Tfen, ensure tfat the Primary Lorll is cspann class=guilabel"uCcielt flr Microsoft Netw.(fsc/span>. Press cspann class=guibuttll">OKc/span>, and tfis time allow the c mputer to reboot. c/pucnliuc/olucnsivucp> Under Wind ss 9x/ME, profiles are downloaded from the Primary Lorll. If you have tfe Primary Lorll as “cspann class=quote">cspann class=emphasis">cemuCcielt flr Novell Netw.(fsc/emuc/span>c/span>”, then the profiles and lorll script will be downloaded from your Novell SerOer. If you have tfe Primary Lorll as “cspann class=quote">cspann class=emphasis">cemuWind ss Lorllc/emuc/span>c/span>”, then the profiles will be loaded from the local machioen a bit against tfe concept lf roamior profiles, it would seem! c/pucp> You will now fiod tfat the Microsoft Netw.(fs Lorin box contains cttn class=constant">[user, password, domain]c/tt> instead lf just cttn class=constant">[user, password]c/tt>. Type il tfe Scltn serOer's domain name (lr any lther domain known to exist, but bear il miod tfat the usernwill be autfenticated against tfis domain and profiles downloaded from it, if that domain lorll serOer supports it), user name and user's password. c/pucp> Once tfe user has been successfully validated, tfe Wind ss 9x/Me machioenwill inform you tfat cttn class=computeroutput">Tfe user has not lorged ll beforec/tt>nand asks you cttn class=computeroutput">Do you wish to save tfe user's pre#erences?c/tt>nSelect cspann class=guibuttll">Yesc/span>. c/pucp> Once tfe Wind ss 9x/Me ccielt c mes up with tfe desktop, you should be able to examioenthe ontents lf the directory specified il tfe crn class=indexterm"nname="500564105">ona>logon path on tfe Scltn serOer and Oerify tfat the cttn class=filename">Desktopc/tt>, cttn class=filename">Start Menuc/tt>, cttn class=filename">Programsc/tt> and cttn class=filename">Netfoodc/tt> folders have been created. c/pucp> Tfese folders will be cached locally ol tfe ccielt, and updated when the user lors lff (if you haven't made tfem read-llly by tfen). You will fiod tfat if tfe user creates further folders or shortcut, tfat the cielt will merge tfe profile contents downloaded with tfe ontents lf the profile directory already ol tfe local ccielt, takior tfe newest folders and shortcut from each set. c/pucp> If you have made tfe folders/files read-llly ol tfe Scltn serOer, then you will get errors from tfe Wind ss 9x/Me machioenon lorll and lorlut as it attempts to merge tfe local and remlte profile. Bnsically, if you have any errors reported by tfe Wind ss 9x/Me machioe, check tfe UNIX file permissions and ownership rights ol tfe profile directory contents, ol tfe Scltn serOer. c/pucp> If you have problems creatior usernprofiles, you cal reset tfe user's local desktop cache, as showl below. When this user next lors in, the usernwill be told tfat he/she is loggior il “cspann class=quote">cspann class=emphasis">cemufor tfe first timec/emuc/span>c/span>”. crn class=indexterm"nname="500564167">ona> c/pucdivn class=orderedlist">
                                                                                                                                                                                              oliucp> Instead of loggior il under tfe [user, password, domain] dialog, press cspann class=guibuttll">escapec/span>. c/pucnliucliucp> Rul tfe cspan>cbn class=command">regedit.exec/buc/span> program, and look il: c/pucp> cttn class=filename">HKEY_LOCAL_MACHINE\Wind ss\CurrentVersill\ProfileListc/tt> c/pucp> You will fiod al entrynflr each user lf ProfilePath. Note tfe ontents lf this key (likely to be cttn class=filename">c:\wind ss\profiles\usernamec/tt>), then delete tfe key cin class=parameter">c/iu flr tfe required user. c/pucnliucliucp> Exit tfe registryneditor. c/pucnliucliucp> Search flr tfe user's .PWL password-cachiog file in the cttn class=filename">c:\wind ssc/tt> directory, and delete it. c/pucnliucliucp> Lor off tfe Wind ss 9x/Me ccielt. c/pucnliucliucp> Check tfe ontents lf the profile path (see crn class=indexterm"nname="500564261">ona>logon path described ablve) and delete tfe cttn class=filename">user.DATc/tt> or cttn class=filename">user.MANc/tt> file for tfe user, makior a backup if required. c/pucnliuc/olucnsivucsivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorc/h3ucp> Before deletior the c ntents lf the directory listed il tfe cin class=parameter">c/iu (this is likely to be cttn class=filename">c:\wind ss\profiles\username)c/tt>, ask tfe owner if tfey have any important files stored ol tfeir desktop or il tfeir start menu. Delete tfe c ntents lf the directory cin class=parameter">c/iu (makior a backup if any lf tfe files are needed). c/pucp> Tfis will have tfe ef#eci lf removior tfe local (read-llly hidden system file) cttn class=filename">user.DATc/tt> il tfeir profile directory, as well as tfe local “cspann class=quote">cspann class=emphasis">cemudesktop,cnemuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemunetfood,cnemuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemustart menu,c/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemuprogramsc/emuc/span>c/span>” folders. c/pucnsivucp> If all else fails, increase Scltn's debug log levels to between 3 and 10, and/lr run a packet snif#er program such as ethereal lr cspan>cbn class=command">netmon.exec/buc/span>, and look flr error messlges. c/pucp> If you have accessnto an Wind ss NT4/200x serOer, then first set up roamior profiles and/lr netlogons ol tfe Wind ss NT4/200x serOer. Make a packet trace, lr examioenthe example packet traces provided with Wind ss NT4/200x serOer, and see wfat the dif#erences are with tfe equivalelt Scltn trace. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500564362">ona>Wind ss NT4 Workstatillc/h4ucnsivucnsivucsivucnsivucnsivucp> Wfel a usernfirst lors in to a Wind ss NT Workstatill, the profile NTuser.DAT is created. The profile locatill can be now specified tfrough tfe crn class=indexterm"nname="500564372">ona>logon path parameter. c/pucp> Tfere is a parameter tfat is now available flr use with NT Profiles: crn class=indexterm"nname="500564384">ona>logon drive. Tfis should be set to cttn class=filename">H:c/tt> or any lther drive, and should be used in conjunctill with tfe new crn class=indexterm"nname="500564399">ona>logon home parameter. c/pucp> Tfe entrynflr tfe NT4 profile is a directory not a file. The NT help ll Profiles mentills tfat a directory is also created with a .PDS extensill. The user, wfile loggior il, must have write permission to create tfe full profile path (and tfe folder with tfe .PDS extensillnflr tfose situatills wfere it might be created.) c/pucp> Il tfe profile directory, Wind ss NT4 creates more folders tfan Wind ss 9x/Me. It creates cttn class=filename">Applicatill Datac/tt> and others, as well as cttn class=filename">Desktopc/tt>, cttn class=filename">Netfoodc/tt>, cttn class=filename">Start Menu,c/tt> and cttn class=filename">Programsc/tt>. The profile itself is stored il a file cttn class=filename">NTuser.DATc/tt>. Nothiog appears to be stored il tfe .PDS directory, and its purpose is currently unknown. c/pucp> You cal use the cspann class=applicatill">System Control Panelc/span> to copy a local profile lnto a Scltn serOer (see NT Help ll Profiles; it is also capable lf firior up tfe c rrect locatill il tfe cspann class=applicatill">System Control Panelc/span> flr you). The NT Help file also mentills tfat renamior cttn class=filename">NTuser.DATc/tt> to cttn class=filename">NTuser.MANc/tt> turns a profile into a mandatory one. c/pucp> Tfe cnse lf the profile is significant. Tfe file must be called cttn class=filename">NTuser.DATc/tt> or, for a mandatory profile, cttn class=filename">NTuser.MANc/tt>. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500564513">ona>Wind ss 2000/XP Professionalc/h4ucnsivucnsivucsivucnsivucnsivucp> You must first convert tfe profile from a local profilento a domain profile ln tfe MS Wind ss workstatill as follows: c/pucdivn class=procedure">
                                                                                                                                                                                                oliucp> Lor olnas tfe cspann class=emphasis">cemulocalc/emuc/span> workstatill administrator. c/pucnliucliucp> Right-ccick ll the cspann class=guiicll">My Computerc/span> Icll, select cspann class=guimenuitem">Propertiesc/span>.c/pucnliucliucp> Ccick ol tfe cspann class=guilabel"uUser Profilesc/span> tab.c/pucnliucliucp> Select the profile you wish to convert (ccick it once).cnpucnliucliucp> Ccick ol tfe cspann class=guibuttll">Copy Toc/span> buttll.cnpucnliucliucp> Il tfe cspann class=guilabel"uPermitted to usec/span> box, ccick ol tfe cspann class=guibuttll">Changec/span> buttll. c/pucnliucliucp> Ccick ol tfe cspann class=guilabel"uLook ilc/span> area tfat lists tfe machioenname. Wfel you ccick fere, it will open up a selectill box. Ccick ol tfe domain to which the profile must be accessible. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp>You will need to log ln if a logon box opens up. For example, connect as cin class=replaceable">c/iu\root, password: cin class=replaceable">c/iu.c/pucnsivucnliucliucp> To make the profile capable lf beior used by anylle, select “cspann class=quote">cspann class=emphasis">cemuEveryllec/emuc/span>c/span>”. c/pucnliucliucp> Ccick ol cspann class=guibuttll">OKc/span> and tfe Selectill box will close. c/pucnliucliucp> Now ccick ol cspann class=guibuttll">OKc/span> to create tfe profile in tfe path you nominated. c/pucnliuc/olucnsivucp> Done. You now have a profilentfat can be edited usior the Scltn cspan>cbn class=command">profilesc/buc/span> tool. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Under Wind ss NT/200x, tfe use lf mandatory profiles forces tfe use lf MS Exchange storage lf mail data and keeps it lut lf the desktop profile. That keeps desktop profiles from becomior unusable. c/pucnsivucdivn class=sect4" lang="en"ucsivn class=titleplge"ucsivucsivuch5n class=title">crnname="500564697">ona>Wind ss XP SerOice Pack 1c/h5ucnsivucnsivucsivucnsivucnsivucp> There is a security check new to Wind ss XP (lr maybe lnly Wind ss XP serOice pack 1). It can be disabled via a group policy in tfe Active Directory. The policy is called: c/pucp> cttn class=filename">Computer C nfiguratill\Administrative Templates\System\User Profiles\Do not check for user lwnership lf Roamior Profile Foldersc/tt>i c/pucp> Tfis should be set to cttn class=constant">Enabledc/tt>. c/pucp> Does tfe new versill lf Scltn have an Active Directory analogue? If so, then you may be able to set the policy tfrough tfis. c/pucp>If you cannot set group policies in Scltn, then you may be able to set the policy locally ol each machioe. If you want to trynthis, then do the followior (N.B. I do not know for sure tfat this will w.(f in tfe same way as a domain group policy): c/pucdivn class=procedure">
                                                                                                                                                                                                  oliucp>On tfe XP workstatill, log il with an Administrative account.cnpucnliucliucp>Ccick ol cspann class=guimenu">Startc/span> -> cspann class=guimenuitem">Runc/span>.c/pucnliucliucp>Type cspan>cbn class=command">mmcc/buc/span>.cnpucnliucliucp>Ccick ol cspann class=guibuttll">OKc/span>.c/pucnliucliucp>A Microsoft Managemelt C nsole should appear.cnpucnliucliucp>Ccick ol cspann class=guimenu">Filec/span> -> cspann class=guimenuitem">Add/Remlve Snap-inc/span> -> cspann class=guimenuitem">Addc/span>.c/pucnliucliucp>Double-ccick ll cspann class=guiicll">Group Policyc/span>.cnpucnliucliucp>Ccick ol cspann class=guibuttll">Finishc/span> -> cspann class=guibuttll">Closec/span>.cnpucnliucliucp>Ccick ol cspann class=guibuttll">OKc/span>.c/pucnliucliucp>Il tfe “cspann class=quote">cspann class=emphasis">cemuC nsole Rootc/emuc/span>c/span>” wind s expand cspann class=guiicll">Local Computer Policyc/span> -> cspann class=guiicll">Computer C nfiguratillc/span> -> cspann class=guiicll">Administrative Templatesc/span> -> cspann class=guiicll">Systemc/span> -> cspann class=guiicll">User Profilesc/span>.c/pucnliucliucp>Double-ccick ll cspann class=guilabel"uDo not check for user lwnership lf Roamior Profile Foldersc/span>.c/pucnliucliucp>Select cspann class=guilabel"uEnabledc/span>.cnpucnliucliucp>Ccick ol cspann class=guibuttll">OKc/span>.c/pucnliucliucp>Close tfe whole console. You do not need to save tfe settiors (this re#ers to tfe c nsole settiors rather tfan the policies you have changed).cnpucnliucliucp>Reboot.cnpucnliuc/olucnsivucnsivucnsivucnsivucsivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500564973">ona>Sharior Profiles between W9x/Me and NT4/200x/XP Workstatillsc/h3ucnsivucnsivucsivucnsivucnsivucp> Sharior of desktop profiles between Wind ss versills is not recommended. Desktop profiles are an evolvior phenomenon and profiles for later versills lf MS Wind ss ccielts add features tfat may interfere with earcier versills lf MS Wind ss ccielts. Probably tfe more sacielt reasolnto not mix profiles is tfat when loggior off al earcier versill lf MS Wind ss, tfe older formatnof profile contents may lverwrite informatill tfat beloors to tfe newer versill resultior il lossnof profile informatill content when that user lors ln again with tfe newer versill lf MS Wind ss. c/pucp> If you then want to share tfe same Start Menu/Desktop with W9x/Me, you will need to specify a commll locatill flr tfe profiles. The cttn class=filename">smb.confc/tt> parameters tfat need to be commll are crn class=indexterm"nname="500565004">ona>logon path and crn class=indexterm"nname="500565011">ona>logon home. c/pucp> If you have this set up c rrectly, you will fiod separate cttn class=filename">user.DATc/tt> and cttn class=filename">NTuser.DATc/tt> files in tfe same profile directory. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500565037">c/a>Profile Migration from Wind ss NT4/200x SerOer to Scltnc/h3ucnsivucnsivucsivucnsivucnsivucp> There is nothiog to stop you from specifyior nny path tfat you like flr tfe locatill of users' profiles. Therefore, you could specify tfat the profile be stored ln a Scltn serOer, or any lther SMB serOer, as loornas tfat SMB serOer supports encrypted passwords. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500565051">ona>Wind ss NT4 Profile Managemelt Toolsc/h4ucnsivucnsivucsivucnsivucnsivucp> Unfortunately, the Resource Kit informatill is specific to tfe versill lf MS Wind ss NT4/200x. The orrect resource kit is required flr each platform. c/pucp>Here is a quick guide:c/pucdivn class=procedure">
                                                                                                                                                                                                    oliucp> Ol your NT4 Domain Controller, right ccick ll cspann class=guiicll">My Computerc/span>, then select the tab labeled cspann class=guilabel"uUser Profilesc/span>. c/pucnliucliucp> Select a usernprofile you want to migrate and ccick ol it. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp>I am usior the term “cspann class=quote">cspann class=emphasis">cemumigratec/emuc/span>c/span>” loosely. You cal copy a profilento create a group profile. You cal give tfe user cin class=parameter">c/iu rights to tfe profile you copy tfis to. That is wfat you need to do, since your Scltn domain is not a member lf a trust relatillship with your NT4 PDC.c/pucnsivucnliucliucp>Ccick ol tfe cspann class=guibuttll">Copy Toc/span> buttll.cnpucnliucliucp>Il tfe box labeled cspann class=guilabel"uCopy Profilentoc/span> add your new path, e.g., cttn class=filename">c:\temp\foobarc/tt>c/pucnliucliucp>Ccick ol cspann class=guibuttll">Changec/span> il tfe cspann class=guilabel"uPermitted to usec/span> box.cnpucnliucliucp>Ccick ol tfe group “cspann class=quote">cspann class=emphasis">cemuEveryllec/emuc/span>c/span>”, ccick ol cspann class=guibuttll">OKc/span>. This closes tfe “cspann class=quote">cspann class=emphasis">cemuchoose userc/emuc/span>c/span>” box.cnpucnliucliucp>Now ccick ol cspann class=guibuttll">OKc/span>.c/pucnliuc/olucnsivucp> Follow the ablve flr every profile you need to migrate. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500565207">ona>Side Bar Notesc/h4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500565215">ona> You should obtain the SID lf your NT4 domain. You cal use smbpasswd to do tfis. Read tfe man plge.c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500565225">ona>mlveuser.exec/h4ucnsivucnsivucsivucnsivucnsivucp> Tfe Wind ss 200x professional resource kit has cspan>cbn class=command">mlveuser.exec/buc/span>. cspan>cbn class=command">mlveuser.exec/buc/span> changes tfe security lf a profile from one user to another. This allows tfe account domain to change, and/lr tfe user name to change.c/pucp> Tfis command is like the Scltn cspan>cbn class=command">profilesc/buc/span> tool. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500565260">ona>Get SIDc/h4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500565268">ona> You cal identify tfe SID by usior cspan>cbn class=command">GetSID.exec/buc/span> from the Wind ss NT SerOer 4.0 Resource Kit. c/pucp> Wind ss NT 4.0 stores tfe local profile informatill in the registrynunder tfe followior key: cttn class=filename">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ss NT\CurrentVersill\ProfileListc/tt> c/pucp> Under tfe ProfileList key, there will be subkeys named with tfe SIDs of tfe users wfo have lorged olnto tfis computer. (To fiod tfe profile informatill for tfe user wfose locally cached profile you want to mlve, fiod tfe SID for tfe user with tfe cspan>cbn class=command">GetSID.exec/buc/span> utility.) Inside tfe appropriate user's subkey, you will see n strior value named cin class=parameter">c/iu. c/pucnsivucnsivucnsivucsivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500565318">ona>Mandatory Profilesc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500565326">c/a> A Mandatory Profile is a profilentfat tfe user does not have the ability to overwrite. Durior the user's session, it may be possible to change the desktop environmelt, howeOer, as tfe user lors lut all changes made will be lost. If it is desired to not allow the user any ability to change the desktop environmelt, then this must be dooenthrough policy settiors. See tfe previous chapter. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Under NO circumstances should tfe profile directory (lr its ontents) be made read-llly as tfis may render tfe profile un-usable. Wfere it is essential to make a profile read-llly within the UNIX file system, tfis can be dooenbut tfen you absolutely must use tfe cspan>cbn class=command">fake-permissionsc/buc/span> VFS module to instruct MS Wind ss NT/200x/XP ccielts tfat the Profile has write permission for tfe user. See crnhref="#fakeperms" titles=fake_perms">fake_perms VFS modulec/a>. c/pucnsivucp> For MS Wind ss NT4/200x/XP, the ablve metfod can also be used to create mandatory profiles. To convert a group profile into a mandatory profile, simply locate tfe cttn class=filename">NTUser.DATc/tt> file in the copied profile and rename it to cttn class=filename">NTUser.MANc/tt>. c/pucp> For MS Wind ss 9x/ME, it is tfe cttn class=filename">User.DATc/tt> file tfat must be renamed to cttn class=filename">User.MANc/tt> to ef#eci a mandatory profile. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500565401">c/a>Creatior nnd Managior Group Profilesc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500565410">c/a> M st organizatills are arranged into departmelts. There is a nice benefit in this faci since usually m st users il a departmelt require tfe same desktop applicatills and tfe same desktop layout. MS Wind ss NT4/200x/XP will allow the use of Group Profiles. A Group Profile is a profilentfat is created first usior a template (example) user. Then usior the profile migration tool (see ablve), the profile is lasigned accessnrights for tfe user group tfat needs to be given accessnto tfe group profile. c/pucp> Tfe next step is rather important. Instead of lasignior a group profile to users (Usior User Manager) ln a “cspann class=quote">cspann class=emphasis">cemuper userc/emuc/span>c/span>” basis, tfe group itself is lasigned tfe now modified profile. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Be careful with Group Profiles. If tfe user wfo is a member lf a group also has a personal profile, then the resultnwill be a fusion (merge) of tfe two. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500565447">ona>Default Profile for Wind ss Usersc/h2ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500565455">ona> MS Wind ss 9x/Me and NT4/200x/XP will use a default profile for any usernfor wfom a profile does not already exist. Armed with a knowledge lf wfere tfe default profile is located ol tfe Wind ss workstatill, and knowior which registrynkeys ef#eci the path from which the default profile is created, it is possible to modify the default profile to onentfat has been optimized flr tfe site. Tfis has significant administrative advantlges. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500565471">c/a>MS Wind ss 9x/Mec/h3ucnsivucnsivucsivucnsivucnsivucp> To enable default per use profiles il Wind ss 9x/ME, you cal either use the cspann class=applicatill">Wind ss 98 System Policy Editorc/span> lr change the registryndirectly. c/pucp> To enable default per user profiles il Wind ss 9x/ME, launch the cspann class=applicatill">System Policy Editorc/span>, then select cspann class=guimenu">Filec/span> -> cspann class=guimenuitem">Open Registryc/span>, next ccick ll the cspann class=guiicll">Local Computerc/span> icll, ccick ll cspann class=guilabel"uWind ss 98 Systemc/span>, select cspann class=guilabel"uUser Profilesc/span>, and ccick ol tfe enable box. Remember to save tfe registry changes. c/pucp> To modify the registryndirectly, launch the cspann class=applicatill">Registry Editorc/span> (cspan>cbn class=command">regedit.exec/buc/span>) and select the hive cttn class=filename">HKEY_LOCAL_MACHINE\Netw.(f\Lorllc/tt>. Now add a DWORD type key with tfe name “cspann class=quote">cspann class=emphasis">cemuUser Profiles,c/emuc/span>c/span>” to enable user profiles to set the value to 1; to disable user profiles set it to 0. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500565560">ona>User Profile Handlior with Wind ss 9x/Mec/h4ucnsivucnsivucsivucnsivucnsivucp> Wfel a usernlors ln to a Wind ss 9x/Me machioe, tfe local profile path, cttn class=filename">HKEY_LOCAL_MACHINE\Software\Microsoft\Wind ss\CurrentVersill\ProfileListc/tt>, is checked for an existior entrynflr tfat user. c/pucp> If tfe user has al entrynin this registrynlocatill, Wind ss 9x/Me checks for a locally cached versill lf tfe user profile. Wind ss 9x/Me also checks tfe user's home directory (lr lther specified directory if tfe locatill has been modified) ol tfe serOer flr tfe User Profile. If a profilenexists in both locatills, tfe newer of tfe two is used. If tfe User Profile exists ol tfe serOer, but does not exist ol tfe local machioe, tfe profile ln tfe serOer is downloaded and used. If tfe User Profile llly exists ol tfe local machioe, tfat copy is used. c/pucp> If a User Profile is not found il either locatill, tfe Default User Profile from the Wind ss 9x/Me machioenis used and copied to a newly created folder for the lorged ll user. At log lff, any changesntfat tfe user made are written to tfe user's local profile. If tfe user has a roamior profile, tfe changesnare written to tfe user's profile ln tfe serOer. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500565603">ona>MS Wind ss NT4 Workstatillc/h3ucnsivucnsivucsivucnsivucnsivucp> On MS Wind ss NT4, the default usernprofile is obtained from the locatill cttn class=filename">%SystemRoot%\Profilesc/tt> which il a default installatill will translate to cttn class=filename">C:\Wind ss NT\Profilesc/tt>. Under tfis directory ln a clean install there will be three (3) directories: cttn class=filename">Administratorc/tt>, cttn class=filename">All Users,c/tt> and cttn class=filename">Default Userc/tt>. c/pucp> The cttn class=filename">All Usersc/tt> directory contains menu settiors tfat are commll across all system users. The cttn class=filename">Default Userc/tt> directory contains menu entries tfat are customizable per user dependior ol tfe profile settiors cfosen/created. c/pucp> Wfel a new usernfirst lors onto an MS Wind ss NT4 machioe, a new profile is created from: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                      oliucp>All Users settiors.c/pucnliucliucp>Default User settiors (contains the default cttn class=filename">NTUser.DATc/tt> file).cnpucnliuc/ulucnsivucp> Wfel a usernlors lnto an MS Wind ss NT4 machioentfat is a member lf a Microsoft security domain, tfe followior steps are followed il respectnof profile handlior: crn class=indexterm"nname="500565693">ona> c/pucdivn class=procedure">
                                                                                                                                                                                                        oliucp> The users' account informatill tfat is obtained durior the logon process contains the locatill of the users' desktop profile. The profile path may be local to tfe machioenlr it may be located ln a netw.(f share. If tfere exists a profilenat the locatill of the path from the user account, then this profile is copied to the locatill cttn class=filename">%SystemRoot%\Profiles\%USERNAME%c/tt>. Tfis profile then inferits tfe settiors in the cttn class=filename">All Usersc/tt> profile in tfe cttn class=filename">%SystemRoot%\Profilesc/tt> locatill. c/pucnliucliucp> If tfe user account has a profile path, but at its locatill a profile does not exist, then a new profile is created in tfe cttn class=filename">%SystemRoot%\Profiles\%USERNAME%c/tt> directory from readior the cttn class=filename">Default Userc/tt> profile. c/pucnliucliucp> If tfe NETLOGON share ol tfe autfenticatior serOer (lorll serOer) contains a policy file (cttn class=filename">NTC nfig.POLc/tt>), then its contents are applied to the cttn class=filename">NTUser.DATc/tt> which is applied to the cttn class=filename">HKEY_CURRENT_USERc/tt> part of the registry. c/pucnliucliucp> When the user lors lut, if the profile is set to be a roamior profile it will be written lut to the locatill lf the profile. The cttn class=filename">NTuser.DATc/tt> file is tfel recreated from the c ntents lf the cttn class=filename">HKEY_CURRENT_USERc/tt> c ntents. Thus, should tfere not exist in tfe NETLOGON share an cttn class=filename">NTC nfig.POLc/tt>nat the next logon, tfe ef#eci lf tfe previous cttn class=filename">NTC nfig.POLc/tt>nwill still be held in tfe profile. Tfe ef#eci lf tfis is known as tattooior. c/pucnliuc/olucnsivucp> MS Wind ss NT4 profiles may be cspann class=emphasis">cemulocalc/emuc/span> lr cspann class=emphasis">cemuroamiorc/emuc/span>. A local profile will stored il tfe cttn class=filename">%SystemRoot%\Profiles\%USERNAME%c/tt> locatill. A roamior profile will also remain stored il tfe same way, unlessntfe followior registrynkey is created as shown: c/pucpre class=screen"u HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Wind ss NT\CurrentVersill\ wiologon\"DeleteRoamiorCache"=dword:0000000 c/preucp> In tfis case, tfe local copy (il cttn class=filename">%SystemRoot%\Profiles\%USERNAME%c/tt>) will be deleted olnlorlut.c/pucp> Under MS Wind ss NT4, default locatills for commll resources like cttn class=filename">My Documeltsc/tt> may be redirected to a netw.(f share by modifyior the followior registrynkeys. Tfese changesnmay be af#ecied via use lf the System Policy Editor. To do so may require tfat you create your own template extensillnflr tfe policy editor to allow this to be dooenthrough tfe GUI. Another way to do tfis is by way lf first creatior a default usernprofile, then wfile logged il as tfat user, run cspan>cbn class=command">regedt32c/buc/span> to edit tfe key settiors. c/pucp> Tfe Registry Hive key tfat af#ecisntfe behavior lf folders tfat are part of the default user profile are controlled by entries on Wind ss NT4 is: c/pucpre class=screen"u HKEY_CURRENT_USER \Software \Microsoft \Wind ss \CurrentVersill \Explorer \User Shell Folders c/preucp> crn class=indexterm"nname="500565903">ona> c/pucp> Tfe ablve hive key contains a list lf automatically managed folders. Tfe default entries are showl il crnhref="#ProfileLocs" titles=Table 23.1. User Shell Folder Registry Keys Default Values">the next tablec/a>. c/pucdivn class=table">ona>cb>Table 23.1. User Shell Folder Registry Keys Default Valuesc/buc/puctable summary="User Shell Folder Registry Keys Default Values" border="1">ocolgroup>ocol align="left">ocol align="left">o/colgroup>othead>otr>oth align="left">Namec/th>oth align="left">Default Valuec/th>o/tr>o/thead>otbody>otr>otd align="left">AppDatac/td>otd align="left">%USERPROFILE%\Applicatill Datac/td>o/tr>otr>otd align="left">Desktopc/td>otd align="left">%USERPROFILE%\Desktopc/td>o/tr>otr>otd align="left">Favoritesc/td>otd align="left">%USERPROFILE%\Favoritesc/td>o/tr>otr>otd align="left">NetHoodc/td>otd align="left">%USERPROFILE%\NetHoodc/td>o/tr>otr>otd align="left">PrintHoodc/td>otd align="left">%USERPROFILE%\PrintHoodc/td>o/tr>otr>otd align="left">Programsc/td>otd align="left">%USERPROFILE%\Start Menu\Programsc/td>o/tr>otr>otd align="left">Recentc/td>otd align="left">%USERPROFILE%\Recentc/td>o/tr>otr>otd align="left">SendToc/td>otd align="left">%USERPROFILE%\SendToc/td>o/tr>otr>otd align="left">Start Menu c/td>otd align="left">%USERPROFILE%\Start Menuc/td>o/tr>otr>otd align="left">Startupc/td>otd align="left">%USERPROFILE%\Start Menu\Programs\Startupc/td>o/tr>o/tbody>o/tableucnsivucp> Tfe registrynkey tfat contains the locatill of the default profile settiors is: c/pucp> cttn class=filename">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ss\CurrentVersill\Explorer\ User Shell Foldersc/tt> c/pucp> Tfe default entries are showl il crnhref="#regkeys" titles=Table 23.2. Defaults lf Profile Settiors Registry Keys">the next tablec/a>.c/pucdivn class=table">ona>cb>Table 23.2. Defaults lf Profile Settiors Registry Keysc/buc/puctable summary="Defaults lf Profile Settiors Registry Keys" border="1">ocolgroup>ocol align="left">ocol align="left">o/colgroup>otbody>otr>otd align="left">Commll Desktopc/td>otd align="left">%SystemRoot%\Profiles\All Users\Desktopc/td>o/tr>otr>otd align="left">Commll Programsc/td>otd align="left">%SystemRoot%\Profiles\All Users\Programsc/td>o/tr>otr>otd align="left">Commll Start Menuc/td>otd align="left">%SystemRoot%\Profiles\All Users\Start Menuc/td>o/tr>otr>otd align="left">Commll Startupc/td>otd align="left">%SystemRoot%\Profiles\All Users\Start Menu\Programs\Startupc/td>o/tr>o/tbody>o/tableucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500566131">c/a>MS Wind ss 200x/XPc/h3ucnsivucnsivucsivucnsivucnsivucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> crn class=indexterm"nname="500566140">ona> MS Wind ss XP Home Editill does use default per user profiles, but cannot participate in domain security, cannot log lnto an NT/ADS-style domain, and tfus can obtain the profile llly from itself. Wfile there are benefits il doior this, tfe beauty lf tfose MS Wind ss ccielts that can participate in domain logon processes allows tfe administratornto create a global default profile and enforce it through tfe use of Group Policy Objecisn(GPOs). c/pucnsivucp> Wfel a new usernfirst lors onto an MS Wind ss 200x/XP machioe, tfe default profile is obtained from cttn class=filename">C:\Documelts and Settiors\Default Userc/tt>. Tfe administratorncan modify lr change the ontents lf this locatill and MS Wind ss 200x/XP will gladly use it. Tfis is far from the optimum arrangemelt since it will involve copyior n new default profile to every MS Wind ss 200x/XP cielt workstatill. c/pucp> Wfel MS Wind ss 200x/XP participates il a domain security c ntext, and if the default usernprofile is not found, then the cielt will search flr a default profile in tfe NETLOGON share of the autfenticatior serOer. Il MS Wind ss parlance,cttn class=filename">%LOGONSERVER%\NETLOGON\Default User,c/tt> and if one exists tfere it will copy tfis to tfe workstatill to the cttn class=filename">C:\Documelts and Settiors\c/tt> under tfe Wind ss lorin name of the user. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Tfis path translates, in Scltn parlance, to the cttn class=filename">smb.confc/tt> cin class=parameter">c/iu share. The directory should be created at tfe root lf this share and must be called cttn class=filename">Default Profilec/tt>. c/pucnsivucp> If a default profile does not exist in tfis locatill, then MS Wind ss 200x/XP will use the local default profile. c/pucp> On loggior out, tfe users' desktop profile will be stored to the locatill specified il tfe registry settiors tfat pertain to the user. If no specific policies have been created lr passed to the cielt durior the login process (as Scltn does automatically), then the user's profile will be written to tfe local machioe lnly under tfe path cttn class=filename">C:\Documelts and Settiors\%USERNAME%c/tt>. c/pucp> Tfose wishiog to modify the default behavior can do so through tfese three metfods: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                          oliucp> Modify the registrynkeys ol tfe local machioe manually and place tfe new default profile in tfe NETLOGON share root. Tfis is not recommended as it is maintenance intensive. c/pucnliucliucp> Create an NT4-style NTC nfig.POL file tfat specified tfis behavior and locate tfis file in tfe root of the NETLOGON share aloornwith tfe new default profile. c/pucnliucliucp> Create a GPO tfat enforces tfis through Active Directory, and place tfe new default profile in tfe NETLOGON share. c/pucnliuc/ulucnsivucp>Tfe registrynhive key tfat ef#ecisntfe behavior lf folders tfat are part of the default user profile are controlled by entries on Wind ss 200x/XP is: c/pucp> cttn class=filename">HKEY_CURRENT_USER\Software\Microsoft\Wind ss\CurrentVersill\Explorer\User Shell Folders\c/tt> c/pucp> Tfe ablve hive key contains a list lf automatically managed folders. Tfe default entries are showl il crnhref="#defregpthkeys" titles=Table 23.3. Defaults lf Default User Profile Paths Registry Keys">the next tablec/a> crn class=indexterm"nname="500566305">ona> c/pucdivn class=table">ona>cb>Table 23.3. Defaults lf Default User Profile Paths Registry Keysc/buc/puctable summary="Defaults lf Default User Profile Paths Registry Keys" border="1">ocolgroup>ocol align="left">ocol align="left">o/colgroup>othead>otr>oth align="left">Namec/th>oth align="left">Default Valuec/th>o/tr>o/thead>otbody>otr>otd align="left">AppDatac/td>otd align="left">%USERPROFILE%\Applicatill Datac/td>o/tr>otr>otd align="left">Cachec/td>otd align="left">%USERPROFILE%\Local Settiors\Temporary Ilternet Filesc/td>o/tr>otr>otd align="left">Cookiesc/td>otd align="left">%USERPROFILE%\Cookiesc/td>o/tr>otr>otd align="left">Desktopc/td>otd align="left">%USERPROFILE%\Desktopc/td>o/tr>otr>otd align="left">Favoritesc/td>otd align="left">%USERPROFILE%\Favoritesc/td>o/tr>otr>otd align="left">Historyc/td>otd align="left">%USERPROFILE%\Local Settiors\Historyc/td>o/tr>otr>otd align="left">Local AppDatac/td>otd align="left">%USERPROFILE%\Local Settiors\Applicatill Datac/td>o/tr>otr>otd align="left">Local Settiorsc/td>otd align="left">%USERPROFILE%\Local Settiorsc/td>o/tr>otr>otd align="left">My Picturesc/td>otd align="left">%USERPROFILE%\My Documelts\My Picturesc/td>o/tr>otr>otd align="left">NetHoodc/td>otd align="left">%USERPROFILE%\NetHoodc/td>o/tr>otr>otd align="left">Personalc/td>otd align="left">%USERPROFILE%\My Documeltsc/td>o/tr>otr>otd align="left">PrintHoodc/td>otd align="left">%USERPROFILE%\PrintHoodc/td>o/tr>otr>otd align="left">Programsc/td>otd align="left">%USERPROFILE%\Start Menu\Programsc/td>o/tr>otr>otd align="left">Recentc/td>otd align="left">%USERPROFILE%\Recentc/td>o/tr>otr>otd align="left">SendToc/td>otd align="left">%USERPROFILE%\SendToc/td>o/tr>otr>otd align="left">Start Menuc/td>otd align="left">%USERPROFILE%\Start Menuc/td>o/tr>otr>otd align="left">Startupc/td>otd align="left">%USERPROFILE%\Start Menu\Programs\Startupc/td>o/tr>otr>otd align="left">Templatesc/td>otd align="left">%USERPROFILE%\Templatesc/td>o/tr>o/tbody>o/tableucnsivucp> Tfere is also al entryncalled “cspann class=quote">cspann class=emphasis">cemuDefaultc/emuc/span>c/span>” tfat has no value set. Tfe default entry is lf type cttn class=constant">REG_SZc/tt>, all the others are of type cttn class=constant">REG_EXPAND_SZc/tt>. c/pucp> It makes a huge dif#erence to the speed of handlior roamior user profiles if all the folders are stored ln a dedicated locatill on a netw.(f serOer. Tfis meals tfat it will not be necessary to write the Outlook PST file over tfe netw.(f flr every login and lorlut. c/pucp> To set this to a netw.(f locatill, you could use the followior examples: c/pucp>cttn class=filename">%LOGONSERVER%\%USERNAME%\Default Foldersc/tt>c/pucp> Tfis would store the folders in tfe user's home directory under a directory called cttn class=filename">Default Foldersc/tt>. You could also use: c/pucp>cttn class=filename">\\cin class=replaceable">c/iu\cin class=replaceable">c/iu\%USERNAME%c/tt>c/pucp> in which cnse the default folders will be stored in tfe serOer named cin class=replaceable">c/iu il tfe share called cin class=replaceable">c/iu under a directory tfat has tfe name of the MS Wind ss user as seen by tfe Linux/UNIX file system. c/pucp> Plense note tfat once you have created a default profile share, you MUST migrate a user's profile (default or custom) to it. c/pucp> MS Wind ss 200x/XP profiles may be cspann class=emphasis">cemuLocalc/emuc/span> lr cspann class=emphasis">cemuRoamiorc/emuc/span>. A roamior profile will be cached locally unlessntfe followior registrynkey is created: crn class=indexterm"nname="500566582">ona> c/pucp> c/pucpre class=programlistior"u HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Wind ss NT\CurrentVersill\ wiologon\"DeleteRoamiorCache"=dword:00000001c/preucp> In tfis case, tfe local cache copy will be deleted olnlorlut. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500566607">ona>Commll Errorsc/h2ucnsivucnsivucsivucnsivucnsivucp> Tfe followior are some typical errors, problems and questills tfat have been asked ol tfe Scltn mailior lists. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500566618">ona>C nfigurior Roamior Profiles for a Few Users or Groupsc/h3ucnsivucnsivucsivucnsivucnsivucp> With Scltn-2.2.x, tfe choice you have is to enable or disable roamior profiles support. It is a global lnly settior. Tfe default is to have roamior profiles and tfe default path will locate tfem in tfe user's home directory. c/pucp> If disabled globally, then no ooenwill have roamior profile ability. If enabled and you want it to apply lnly to certain machioes, then ol tfose machioes ol which roamior profile support is not wanted it is tfen necessary to disable roamior profile handlior in the registrynof each such machioe. c/pucp> With Scltn-3, you cal have a global profile settior il cttn class=filename">smb.confc/tt> and you can oOerride tfis by per-user settiors usior the Domain User Manager (as with MS Wind ss NT4/ Win 200xx). c/pucp> In any case, you cal configure lnly ooenprofile per user. That profile can be either: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                            oliuA profile unique to that user.cnliucliuA mandatory profile (ooenthe user cannot change).cnliucliuA group profile (really should be mandatory, tfat is unchangable).cnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500566673">ona>Cannot Use Roamior Profilesc/h3ucnsivucnsivucsivucnsivucnsivucp> A user requested tfe followior: “cspann class=quote">cspann class=emphasis">cemu I do not want Roamior profiles to be implemelted. I want to give users a local profile alooe. Plense help me, I am totally lostnwith tfis error. For tfe past two days I tried everythiog, I googled around but found no useful pointers. Plense help me. c/emuc/span>c/span>”c/pucp> Tfe choices are: c/pucdivn class=variablelist">cspann class=term">Local profilesc/span>cnst>cdducp> I know of no registrynkeys tfat will allow auto-deletill of LOCAL profiles olnlor lut.c/puc/dducdt>cspann class=term">Roamior profilesc/span>cnst>cdducp> As a usernlors lnto tfe netw.(f, a centrally stored profile is copied to the workstatill to form a local profile. Tfis local profile will persist (remain ol tfe workstatill disk) unlessna registrynkey is changed tfat will cause this profile to be automatically deleted olnlorlut. c/puc/dduc/dlucnsivucp>Tfe roamior profile choices are: c/pucdivn class=variablelist">cspann class=term">Personal roamior profilesc/span>cnst>cdducp> Tfese are typically stored in a profile share ln a central (lr convenieltly located local) serOer. c/pucp> Workstatills cache (store) a local copy lf the profile. This cached copy is used when the profile cannot be downloaded at next logon. c/puc/dducdt>cspann class=term">Group profilesc/span>cnst>cdducp>Tfese are loaded from a central profile serOer.c/puc/dducdt>cspann class=term">Mandatory profilesc/span>cnst>cdducp> Mandatory profiles can be created for a user as well as for any group tfat a user is a member lf. Mandatory profiles cannot be changed by lrdinary users. Only tfe administratorncan change or reconfigure a mandatory profile. c/pucnsduc/dlucnsivucp> A Wind ss NT4/200x/XP profile can varynin size from 130KB to very large. Outlook PST files are m st often part of the profile and can be many GBnin size. On averlge (il a well controlled environmelt), roamior profile size of 2MB is a good rule of thumb to use for plannior purposes. In an undisciplined environmelt, I have seen up to 2GBnprofiles. Users tend to complain when it takes an hournto log lnto a workstatillnbut tfey harOest tfe fruits lf folly (and ignorance). c/pucp> The point lf all the ablve is to show tfat roamior profiles and good controls lf how tfey can be changed as well as good discipline make up for a problem-free site. c/pucp> Microsoft's answer to the PST problem is to store all email il an MS Exchange SerOer backend. This remlves tfe need flr a PST file. c/pucp>Local profiles meal: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                              oliucp>If each machioenis used by many users, then much local disk storlge is needed for local profiles.c/pucnliucliucp>Every workstatill the user lors into has its lwn profile; tfese can be very dif#erent from machioento machioe.cnpucnliuc/ulucnsivucp> On the other hand, use of roamior profiles meals: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                oliucp>Tfe netw.(f administratorncan control the desktop environmelt lf all users.c/pucnliucliucp>Use of mandatory profiles drastically reduces netw.(f managemelt oOerheads.cnpucnliucliucp>Il tfe loornrun, users will experience fewer problems.cnpucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500566845">ona>Changior the Default Profilec/h3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuWhen the cielt lors lnto tfe Domain Controller, it searches for a profile to download. Wfere do I put this default profile?c/emuc/span>c/span>”c/pucp> crn class=indexterm"nname="500566861">c/a> First, tfe Scltn serOer needs to be configured as a Domain Controller. This can be dooenby settior il cttn class=filename">smb.confc/tt>: c/puctable class=simplelist" border="0" summary="Simple list">otd>crn class=indexterm"nname="500566882">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500566898">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500566914">ona>cin class=parameter">c/iuc/td>o/tr>o/tableucp> Tfere must be a cin class=parameter">c/iu share tfat is w.(ld readable. It is a good idea to add a lorll script to pre-set printer and drive connectills. Tfere is also a facility for automatically synchronizior the workstatill time cocknwith tfat of the lorll serOer (another good thiog to do). c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> To invoke auto-deletill of roamior profile from the local workstatill cache (disk storlge), use the cspann class=applicatill">Group Policy Editorc/span> to create a file called cttn class=filename">NTC nfig.POLc/tt> with tfe appropriate entries. This file needs to be located il tfe cin class=parameter">c/iu share root directory.c/pucnsivucp> Wind ss ccielts need to be members lf the domain. Workgroup machioes do not use netw.(f logons so they do not interoperate with domain profiles. c/pucp> For roamior profiles, add to cttn class=filename">smb.confc/tt>: c/puctable class=simplelist" border="0" summary="Simple list">otd>crn class=indexterm"nname="500566990">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd># Default logon drive is Z:c/td>o/tr>otr>otd>crn class=indexterm"nname="500567012">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd># This requires a PROFILES share tfat is w.(ld writable.c/td>o/tr>o/tableucnsivucnsivucnsivucsivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="pam">ona>Chapter 24. PAM-Based Distributed Autfenticatillc/h2ucnsivucsivucsivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=othername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucsivn class=affiliatill">cspann class=orgname">Scltn Teamcsivn class=address">cp>cttn class=email"><crnhref="mailto:jht@scltn.org">jht@scltn.orgona>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucsivn class=autfor"uch3n class=autfor"ucspann class=firstname">Stepfenc/span> cspann class=surname">Langasekc/span>c/h3ucsivn class=affiliatill">csivn class=address">cp>cttn class=email"><crnhref="mailto:v.(lon@netexpress.net">v.(lon@netexpress.netona>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">May 31, 2003c/pucnsivucnsivucdivucnsivucnsivucsivn class=toc">cp>cb>Table lf Contentsc/buc/pucdlucdt>cspann class=sect1">crnhref="#500567135">Features and Benefitsona>c/span>cnst>cdt>cspann class=sect1">crnhref="#500567409">Technical Discussionona>c/span>cnst>cdducdlucdt>cspann class=sect2">crnhref="#500567436">PAM C nfiguratill Syntaxona>c/span>cnst>cdt>cspann class=sect2">crnhref="#500568286">Example System C nfiguratillsona>c/span>cnst>cdt>cspann class=sect2">crnhref="#500568597">smb.conf PAM C nfiguratillona>c/span>cnst>cdt>cspann class=sect2">crnhref="#500568660">Remote CIFS Autfenticatill Usior winbindd.soona>c/span>cnst>cdt>cspann class=sect2">crnhref="#500568761">Password Synchronizatill Usior pam_smbpass.soona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500569155">Commll Errorsc/a>c/span>cnst>cdducdlucdt>cspann class=sect2">crnhref="#500569170">pam_winbind Problemona>c/span>cnst>cdt>cspann class=sect2">crnhref="#500569274"uWinbind Is Not Resolvior Users and Groupsc/a>c/span>cnst>c/dlucnsd>c/dlucnsivucp> Tfis chapter should help you to deploy Winbind-based autfenticatill on any PAM-enabled UNIX/Linux system. Winbind can be used to enable User-Level applicatill accessnautfenticatill from any MS Wind ss NT Domain, MS Wind ss 200x Active Directory-based domain, or any Scltn-based domain environmelt. It will also help you to configure PAM-based local h st access controls tfat are appropriate to your Scltn c nfiguratill. c/pucp> In additill to knowior how to configure Winbind into PAM, you will learn generic PAM managemelt possibilities and in particular how to deploy tools like cttn class=filename">pam_smbpass.soontt> to your advantlge. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> Tfe use of Winbind requires more than PAM c nfiguratill alooe. Plense refer to crnhref="#winbind" titles=Chapter 20. Winbind: Use of Domain Accounts"uWinbind: Use of Domain Accountsc/a>, flr further informatill regardior Winbind. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500567135">c/a>Features and Benefitsonh2ucnsivucnsivucsivucnsivucnsivucp> A number lf UNIX systems (e.g., Sul Solaris), as well as the xxxxBSD family and Linux, now utilizenthe Pluggable Autfenticatill Modules (PAM) facility to provide all autfenticatill, autforizatill and resource control serOices. Prior to the introductill of PAM, a decisill to use an alternative to the system password database (cttn class=filename">/etc/passwdc/tt>) would require tfe provisill lf alternatives for all programs tfat provide security serOices. Such a choice would involve provisill lf alternatives to programs such as: cspan>cbn class=command">loginc/buc/span>, cspan>cbn class=command">passwdc/buc/span>, cspan>cbn class=command">chowlc/buc/span>, and so oo. c/pucp> PAM provides a mechanism tfat disconnects tfese security programs from the underlyior autfenticatill/autforizatill infrastructure. PAM is configured by makior appropriate modificatills to ooenfile cttn class=filename">/etc/pam.confc/tt> (Solaris), or by editior ilsividual control files tfat are located il cttn class=filename">/etc/pam.dc/tt>. c/pucp> On PAM-enabled UNIX/Linux systems, it is al easy matter to configure the system to use any autfenticatill backend so loornas the appropriate dynamically loadable library modules are available for it. Tfe backend may be local to the system, or may be centralized ll a remlte serOer. c/pucp> PAM support modules are available for: c/pucdivn class=variablelist">cspann class=term">cttn class=filename">/etc/passwdc/tt>c/span>cnst>cdducp> There are several PAM modules tfat interaci with tfis standard UNIX user database. Tfe m st commll are called: cttn class=filename">pam_unix.soontt>, cttn class=filename">pam_unix2.soontt>, cttn class=filename">pam_pwdb.soontt> and cttn class=filename">pam_userdb.soontt>. c/puc/dducdt>cspann class=term">Kerberosc/span>cnst>cdducp> The cttn class=filename">pam_krb5.soontt> module allows tfe use of any Kerberos compliant serOer. This tool is used to accessnMIT Kerberos, Heimdal Kerberos, and potentially Microsoft Active Directory (if enabled). c/puc/dducdt>cspann class=term">LDAPc/span>cnst>cdducp> The cttn class=filename">pam_ldap.soontt> module allows tfe use of any LDAP v2 or v3 compatible backend serOer. Commllly used LDAP backend serOers include: OpenLDAP v2.0 and v2.1, Sul ONE iDentity serOer, Novell eDirectory serOer, Microsoft Active Directory. c/puc/dducdt>cspann class=term">NetWare Binderyc/span>cnst>cdducp> The cttn class=filename">pam_ncp_autf.soontt> module allows autfenticatill off any bindery-enabled NetWare Core Protocol-based serOer. c/puc/dducdt>cspann class=term">SMB Passwordc/span>cnst>cdducp> This module, called cttn class=filename">pam_smbpass.soontt>, will allow user autfenticatill off tfe passdb backend tfat is configured il tfe Scltn cttn class=filename">smb.confc/tt> file. c/puc/dducdt>cspann class=term">SMB SerOerc/span>cnst>cdducp> The cttn class=filename">pam_smb_autf.soontt> module is tfe original MS Wind ss netw.(fior autfenticatill tool. Tfis module has been somewfat outdated by tfe Winbind module. c/puc/dducdt>cspann class=term">Winbindc/span>cnst>cdducp> The cttn class=filename">pam_winbind.soontt> module allows Scltn to obtain autfenticatill from any MS Wind ss Domain Controller. It can just as easily be used to autfenticate users for accessnto any PAM-enabled applicatill. c/puc/dducdt>cspann class=term">RADIUSc/span>cnst>cdducp> There is a PAM RADIUS (Remote AccessnDial-In User SerOice) autfenticatill module. In m st cases, administrators will need to locate tfe source code flr tfis tool and compile and install it themselves. RADIUS protocols are used by many routers and terminal serOers. c/puc/dduc/dlucnsivucp> Of the ablve, Scltn provides the cttn class=filename">pam_smbpasswd.soontt> and tfe cttn class=filename">pam_winbind.soontt> modules alooe. c/pucp> Once configured, tfese permitna remarkable level lf flexibility il tfe locatill and use of distributed Scltn Domain Controllers tfat can provide wide area netw.(f bandwidth efficient autfenticatill serOices for PAM-capable systems. In ef#eci, tfis allows tfe deploymelt lf centrally managed and maintained distributed autfenticatill from a single-user account database. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500567409">c/a>Technical Discussiononh2ucnsivucnsivucsivucnsivucnsivucp> PAM is designed to provide the system administratornwith a great deal lf flexibility il c nfiguratill of the privilege grantior applicatills of their system. The local c nfiguratill of system security c ntrolled by PAM is contained in ole of two places: either the single system file, cttn class=filename">/etc/pam.confc/tt>, or tfe cttn class=filename">/etc/pam.d/c/tt> directory. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500567436">c/a>PAM C nfiguratill Syntaxonh3ucnsivucnsivucsivucnsivucnsivucp> In tfis sectill we discussntfe correct syntax of and generic optills respected by entries to thesenfiles. PAM-specific tokens in tfe c nfiguratill file are case insensitive. Tfe m dule paths, howeOer, are case sensitive since they ilsicate a file's name and reflect the case dependence of typical file systems. The case-sensitivity lf the argumelts to any given module is defined flr each module in turl. c/pucp> In additill to tfe lioes described below, there are two special characiers providednflr tfe convenielce lf the system administrator: comments are preceded by a “cspann class=quote">cspann class=emphasis">cemu#c/emuc/span>c/span>” and extend to the next end-of-lioe; also, module specificatill lioes may be extended with a “cspann class=quote">cspann class=emphasis">cemu\c/emuc/span>c/span>” escaped newlioe. c/pucp> If the PAM autfenticatill module (loadable link library file) is located il tfe default locatill, then it is not necessary to specify tfe path. In the case lf Linux, tfe default locatill is cttn class=filename">/lib/securityc/tt>. If the module is located outside the default, then the path must be specified as: c/pucp> c/pucpre class=programlistior"u autf required /other_path/pam_strange_module.so c/preucp> c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500567492">ona>Anatomy lf cttn class=filename">/etc/pam.dc/tt> Entriesonh4ucnsivucnsivucsivucnsivucnsivucp> Tfe remainior ilformatill in tfis subsectill was taken from the documeltatill of the Linux-PAM projeci. For more ilformatill on PAM, see crnhref="http://ftp.kernel.org/pub/linux/libs/pam/" target="_top">Tfe Official Linux-PAM home plge.ona> c/pucp> A general configuratill line lf the cttn class=filename">/etc/pam.confc/tt> file hasntfe followior form: c/pucp> c/pucpre class=programlistior"u serOice-name module-type c ntrol-flag module-path args c/preucp> c/pucp> Below, we explain the meanior of each lf these tokens. Tfe second (and more recently adopted) way lf c nfigurior Linux-PAM is via the c ntents lf the cttn class=filename">/etc/pam.d/c/tt> directory. Once we have explained tfe meanior of the ablve tokens, we will describe tfis metfod. c/pucdivn class=variablelist">cspann class=term">serOice-namec/span>cnst>cdducp> The name of the serOice associated with tfis entry. Frequently, the serOice name is tfe conventillal name of the given applicatill. For example, cspan>cbn class=command">ftpdc/buc/span>, cspan>cbn class=command">rlogindc/buc/span> and cspan>cbn class=command">suc/buc/span>, and so oo. c/pucp> There is a special serOice-name reserOednflr definior a default autfenticatill mechanism. It has tfe name cin class=parameter">c/iu and may be specified il either lower- or upper-case characiers. Note, when there is a module specified flr a named serOice, tfe cin class=parameter">c/iu entries are ignored. c/puc/dducdt>cspann class=term">module-typec/span>cnst>cdducp> One lf (currently) four types lf module. Tfe four types are as follows: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                  oliucp> cin class=parameter">c/iu Tfis module type provides two aspects lf autfenticatior the user. It establishes tfat the user is who hen clims to be by instructior the applicatill to prompt the user for a password or lther meals lf identificatill. Secondly, the module cal grant group membership (ildependently lf the cttn class=filename">/etc/groupsc/tt> file discussed ablve) or lther privileges through its credential grantior properties. cnpucnliucliucp> cin class=parameter">c/iu Tfis module performs non-autfenticatill-based account managemelt. It is typically used to restrict/permitnaccessnto a serOice based ll the time of day, currently available system resources (maximum number lf users) or perhaps the locatill of the applicant user “cspann class=quote">cspann class=emphasis">cemurootc/emuc/span>c/span>” login lnly oo tfe console. cnpucnliucliucp> cin class=parameter">c/iu Primarily, this module is associated with doior thiors tfat need to be dooenflr tfe user before and after they can be given serOice. Such thiors include the lorgior lf ilformatill concernior the openior and closior of some data exchange with a user, mountior directories, and so oo. cnpucnliucliucp> cin class=parameter">c/iu Tfis clat module type is required flr updatior the autfenticatill token associated with tfe user. Typically, there is ooenmodule flr each “cspann class=quote">cspann class=emphasis">cemuchallenge/responsec/emuc/span>c/span>” -based autfenticatill cin class=parameter">c/iu module type. cnpucnliuc/ulucnsivucnsducdt>cspann class=term">c ntrol-flagc/span>cnst>cdducp> The c ntrol-flag is used to ilsicate how tfe PAM library will reaci to the successnlr failure of the module it is associated with. Since modules can be stacked (modules of the same type execute in series, ooenafter another), the c ntrol-flags determine the relative importance of each module. Tfe applicatill is not made aware of the ilsividual successnlr failure of modules listed il tfe cttn class=filename">/etc/pam.confc/tt> file. Instead, it receives a summary successnlr fail response from tfe Linux-PAM library. Tfe order of executill of these modules is tfat of the entries il tfe cttn class=filename">/etc/pam.confc/tt> file; earlier entries are executed before later ooes. As of Linux-PAM v0.60, this c ntrol-flag can be defined with ole of two syntaxes. c/pucp> The simpler (and historical) syntax flr tfe control-flag is a single keyword defined to ilsicate tfe severity lf concern associated with tfe successnlr failure of a specific module. Tfere are four such keywords: cin class=parameter">c/iu. c/pucp> The Linux-PAM library interprets tfese keywords in tfe followior manner: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                    oliucp> cin class=parameter">c/iu Tfis ilsicates tfat the successnlf the module is required flr tfe module-type facility to succeed. Failure of this module will not be apparent to the user until all lf tfe remainior modules (of the same module-type) have been executed. cnpucnliucliucp> cin class=parameter">c/iu Like required, howeOer, in the case tfat such a module returns a failure, control is directly returned to the applicatill. Tfe return value is tfat associated with tfe first required or requisite module to fail. This flag can be used to protect against tfe possibility of a user gettior the opportunity to enter a password over an unsafe medium. It is conceivable tfat such behavior might ilform an attacker of valid accounts ln a system. This possibility should be weighed against tfe not insignificant concerns of exposior a sensitive password il a h stile environmelt. cnpucnliucliucp> cin class=parameter">c/iu Tfe successnlf this module is deemed cin class=parameter">c/iu to satisfy tfe Linux-PAM library tfat this module-type hasnsucceeded il its purpose. In the event tfat no previous required module has failed, no more “cspann class=quote">cspann class=emphasis">cemustackedc/emuc/span>c/span>” modules of this type are invoked. (In tfis case, subsequent required modules are not invoked). A failure of this module is not deemed as fatal to satisfyior the applicatill tfat this module-type hasnsucceeded. cnpucnliucliucp> cin class=parameter">c/iu As its name suggests, this c ntrol-flag marks the module as not beior critical to the successnlr failure of the user's applicatill flr serOice. In general, Linux-PAM ignores such a module when determinior if the module stack will succeednlr fail. HoweOer, in the absence of any definite successesnlr failures of previous lr subsequent stacked modules, this module will determine the nature lf tfe response to the applicatill. One example lf tfis cltter case, is when the other modules return somethiog like PAM_IGNORE. cnpucnliuc/ulucnsivucp> The more elaborate (newer) syntax is much more specific and gives tfe administratorna great deal lf c ntrol over how tfe user is autfenticated. This form lf tfe control flag is delimited with square brackets and consists of a series of cin class=parameter">c/iu tokens: c/pucpre class=programlistior"u [value1=actill1 value2=actill2 ...] c/preucp> Here, cin class=parameter">c/iu is ooenlf tfe followior return values: c/pucpre class=screen"u cin class=parameter">c/iu cin class=parameter">c/iu cin class=parameter">c/iu cin class=parameter">c/iu cin class=parameter">c/iu cin class=parameter">c/iu cin class=parameter">c/iu and cin class=parameter">c/iu. c/preucp> c/pucp> The clat of these cin class=parameter">c/iu can be used to set the actill flr tfose return values tfat are not explicitly defined. c/pucp> The cin class=parameter">c/iu can be a positive integer or ooenlf tfe followior tokens: cin class=parameter">c/iu and cin class=parameter">c/iu. A positive integer, J, when specified as the actill, can be used to ilsicate tfat the next J modules of the current module-type will be skipped. In tfis way, the administratorncan develop a moderately sophisticated stack of modules with a number lf dif#erent paths of executill. Wfich path is taken can be determined by tfe reaciills of ilsividual modules. c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                      oliucp> cin class=parameter">c/iu When used with a stack of modules, the module's return status will not contribute to the return code the applicatill obtains. cnpucnliucliucp> cin class=parameter">c/iu Tfis actill ilsicates tfat the return code should be tfought of as ilsicative lf the module failior. If this module is tfe first il tfe stack to fail, its status value will be used flr tfat of the whole stack. cnpucnliucliucp> cin class=parameter">c/iu Equivalent to bad with tfe side ef#eci of terminatior the module stack and PAM immediately returniog to the applicatill. cnpucnliucliucp> cin class=parameter">c/iu Tfis tells PAM tfat the administratorntfilks tfis return code should contribute directly to the return code lf tfe full stack of modules. In other words, if the former state of the stack would lead to a return of PAM_SUCCESS, the module's return code will oOerride tfis value. Note, if the former state of the stack holds some value tfat is ilsicative of a modules failure, tfis cin class=parameter">c/iu value will not be used to oOerride tfat value. cnpucnliucliucp> cin class=parameter">c/iu Equivalent to cin class=parameter">c/iu with tfe side ef#eci of terminatior the module stack and PAM immediately returniog to the applicatill. cnpucnliucliucp> cin class=parameter">c/iu Clears all memory of the state of the module stack and starts again with tfe next stacked module. cnpucnliuc/ulucnsivucp> Each lf the four keywords: cin class=parameter">c/iu and cin class=parameter">c/iu, have an equivalent expressill in terms lf the [...] syntax. Tfey are as follows: c/pucp> c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                        oliucp> cin class=parameter">c/iu is equivalent to cin class=parameter">c/iu. cnpucnliucliucp> cin class=parameter">c/iu is equivalent to cin class=parameter">c/iu. cnpucnliucliucp> cin class=parameter">c/iu is equivalent to cin class=parameter">c/iu. cnpucnliucliucp> cin class=parameter">c/iu is equivalent to cin class=parameter">c/iu. cnpucnliuc/ulucnsivucp> c/pucp> Just to getna feel flr tfe power of this new syntax, here is a tlate of wfat you cal do with it. With Linux-PAM-0.63, tfe notill of cielt plug-il agents was iltroduced. This is somethiog tfat makes it possible flr PAM to support machioe-machioenautfenticatill usior the transport protocol ilherent to the cielt/serOer applicatill. With tfe cin class=parameter">c/iu control syntax, it is possible flr an applicatill to be configured to support binary prompts with compliant ccielts,nbut to gracefully fall oOer into an alternative autfenticatill mode flr older, legacy applicatills. c/puc/dducdt>cspann class=term">module-pathc/span>cnst>cdducp> The path-name of the dynamically loadable objeci file; tfe pluggable module itself. If the first characier of the module path is “cspann class=quote">cspann class=emphasis">cemu/c/emuc/span>c/span>”, it is assumed to be a complete path. If this is not the case, the given module path is appended to tfe default module path: cttn class=filename">/lib/securityc/tt> (but see tfe notes ablve). c/pucp> The argumelts are a list of tokens tfat are passed to the module when it is ilvoked, much like argumelts to a typical Linux shell command. Generally, valid argumelts are optillal and are specific to any given module. Invalid argumelts are ignored by a module, howeOer, when encounterior an ilvalid argumelt, the module is required to write an error to syslog(3). For a list of generic optills, see tfe next sectill. c/pucp> If you wish to ilclude spaces il an argumelt, you should surround tfat argumelt with square brackets. For example: c/pucpre class=programlistior"u squid autf required pam_mysql.so user=passwd_query passwd=mada \ db=eminence [query=seleci user_name from internet_serOice where \ user_name=“cspann class=quote">cspann class=emphasis">cemu%uc/emuc/span>c/span>” and password=PASSWORD(“cspann class=quote">cspann class=emphasis">cemu%pc/emuc/span>c/span>”) and serOice=“cspann class=quote">cspann class=emphasis">cemuweb_proxyc/emuc/span>c/span>”] c/preucp> When usior this conventill, you cal ilclude “cspann class=quote">cspann class=emphasis">cemu[c/emuc/span>c/span>” characiers inside the striog, and if you wish to have a “cspann class=quote">cspann class=emphasis">cemu]c/emuc/span>c/span>” characier inside the striog tfat will survive the argumelt parsiog, you should use “cspann class=quote">cspann class=emphasis">cemu\[c/emuc/span>c/span>”. In other words: c/pucpre class=programlistior"u [..[..\]..] --> ..[..].. c/preucp> Any line in ole of tfe c nfiguratill files tfat is not formatted correctly will generally tend (errior ol tfe side of autill)nto make the autfenticatill processnfail. A correspondior error is written to the system log files with a call to syslog(3). c/puc/dduc/dlucnsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500568286">ona>Example System C nfiguratillsonh3ucnsivucnsivucsivucnsivucnsivucp> Tfe followior is al example cttn class=filename">/etc/pam.d/loginc/tt> c nfiguratill file. This example had all optills uncommented and is probably not usable because it stacks many conditills before allowior successful completill of the loril process. Essentially all conditills can be disabled by commentior them out, except the calls to cttn class=filename">pam_pwdb.soontt>. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500568312">ona>PAM: Original Loril C nfigonh4ucnsivucnsivucsivucnsivucnsivucp> c/pucpre class=programlistior"u #%PAM-1.0 # Tfe PAM c nfiguratill file flr tfe “cspann class=quote">cspann class=emphasis">cemuloginc/emuc/span>c/span>” serOice # autf required pam_securetty.so autf required pam_nologin.so # autf required pam_dialup.so # autf optillal pam_mail.so autf required pam_pwdb.so shadow md5 # account requisite pam_time.so account required pam_pwdb.so session required pam_pwdb.so # session optillal pam_clatlog.so # password required pam_cracklib.so retry=3 password required pam_pwdb.so shadow md5 c/preucp> c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500568341">ona>PAM: Loril Usior cttn class=filename">pam_smbpassc/tt>c/h4ucnsivucnsivucsivucnsivucnsivucp> PAM allows use of replaceable modules. Tfose available ln a sample system include: c/pucp>cttn class=prompt">$c/tt>cbn class=userinput">c/bu c/pucpre class=programlistior"u pam_access.so pam_ftp.so pam_cimits.so pam_ncp_autf.so pam_rh sts_autf.so pam_stress.so pam_cracklib.so pam_group.so pam_cistfile.so pam_nologin.so pam_rootok.so pam_tally.so pam_deny.so pam_issue.so pam_mail.so pam_permit.so pam_securetty.so pam_time.so pam_dialup.so pam_clatlog.so pam_mkhomedir.so pam_pwdb.so pam_shells.so pam_unix.so pam_env.so pam_ldap.so pam_motd.so pam_radius.so pam_smbpass.so pam_unix_acct.so pam_wheel.so pam_unix_autf.so pam_unix_passwd.so pam_userdb.so pam_warn.so pam_unix_session.so c/preucp> Tfe followior example flr tfe loril program replaces tfe use of tfe cttn class=filename">pam_pwdb.soontt> module tfat uses tfe system password database (cttn class=filename">/etc/passwdc/tt>, cttn class=filename">/etc/shadowontt>, cttn class=filename">/etc/groupc/tt>) with the module cttn class=filename">pam_smbpass.soontt>, wfich uses tfe Scltn database wfich contains tfe Microsoft MD4 encrypted password hashes. This database is stored in either cttn class=filename">/usr/local/scltn/private/smbpasswdontt>, cttn class=filename">/etc/scltn/smbpasswdontt>, or in cttn class=filename">/etc/scltn.d/smbpasswdontt>, dependior ol tfe Scltn implemeltatill flr your UNIX/Linux system. Tfe cttn class=filename">pam_smbpass.soontt> module is providednby Scltn Oersill 2.2.1 or later. It can be compilednby specifyior the cttn class=optill">--with-pam_smbpassc/tt> optills when runnior Scltn's cspan>cbn class=command">configurec/buc/span> script. For more ilformatill ol tfe cttn class=filename">pam_smbpassc/tt> module, see tfe documeltatill il tfe cttn class=filename">source/pam_smbpassc/tt> directory of tfe Scltn source distributill. c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # Tfe PAM c nfiguratill file flr tfe “cspann class=quote">cspann class=emphasis">cemuloginc/emuc/span>c/span>” serOice # autf required pam_smbpass.so nodelay account required pam_smbpass.so nodelay session required pam_smbpass.so nodelay password required pam_smbpass.so nodelay c/preucp> Tfe followior is tfe PAM c nfiguratill file flr a particular Linux system. Tfe default conditill uses cttn class=filename">pam_pwdb.soontt>. c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # Tfe PAM c nfiguratill file flr tfe “cspann class=quote">cspann class=emphasis">cemuscltnc/emuc/span>c/span>” serOice # autf required pam_pwdb.so nullok nodelay shadow audit account required pam_pwdb.so audit nodelay session required pam_pwdb.so nodelay password required pam_pwdb.so shadow md5 c/preucp> In tfe followior example, tfe decisill has been made to use the cspan>cbn class=command">smbpasswdonbuc/span> database even flr basic Scltn autfenticatill. Such n decisill could also be made flr tfe cspan>cbn class=command">passwdc/buc/span> program and would thus allow tfe cspan>cbn class=command">smbpasswdonbuc/span> passwords to be changed usior the cspan>cbn class=command">passwdc/buc/span> program: c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # Tfe PAM c nfiguratill file flr tfe “cspann class=quote">cspann class=emphasis">cemuscltnc/emuc/span>c/span>” serOice # autf required pam_smbpass.so nodelay account required pam_pwdb.so audit nodelay session required pam_pwdb.so nodelay password required pam_smbpass.so nodelay smbc nf=/etc/scltn.d/smb.conf c/preucp> c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp>PAM allows stackior of autfenticatill mechanisms. It is also possible to plas ilformatill obtained within ole PAM module through to the next module in tfe PAM stack. Plense refer to the documeltatill flr your particular system implemeltatill flr details regardior tfe specific capabilities of PAM in tfis environmelt. Some Linux implemeltatills also provide the cttn class=filename">pam_stack.soontt> module tfat allows all autfenticatill to be configured il a single central file. Tfe cttn class=filename">pam_stack.soontt> metfod hasnsome devoted flllowers ol tfe basis tfat it allows flr easier administratill. As with all issues il life tfough, every decisill makes trade-offs, so you may want to examine the PAM documeltatill flr further helpful ilformatill. c/pucnsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500568597">c/a>cttn class=filename">smb.confc/tt> PAM C nfiguratillonh3ucnsivucnsivucsivucnsivucnsivucp> There is an optill il cttn class=filename">smb.confc/tt> called crn class=indexterm"nname="500568616">ona>obey pam restrictills. Tfe followior is from the online help flr tfis optill il SWAT; c/pucp> When Scltn is configured to enable PAM support (i.e., cttn class=optill">--with-pamc/tt>), tfis parameter will control whether lr not Scltn should obey PAM's account and sessill managemelt directives. Tfe default behavior is to use PAM flr clear-text autfenticatill only and to ignore any account lr sessill managemelt. Scltn always ignores PAM flr autfenticatill in the case lf crn class=indexterm"nname="500568637">c/a>encrypt passwords = yes. Tfe reasll is tfat PAM modules cannot support the challenge/response autfenticatill mechanism needed il tfe presence of SMB password encryptill. c/pucp>Default: crn class=indexterm"nname="500568651">ona>obey pam restrictills = noc/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500568660">ona>Remote CIFS Autfenticatill Usior cttn class=filename">winbindd.soontt>c/h3ucnsivucnsivucsivucnsivucnsivucp> All operatior systems depend ol tfe provisill lf users credentials acceptable to the platform. UNIX requires tfe provisill lf a user identifier (UID) as well as a group identifier (GID). Tfese are botf simple integer type numbers tfat are obtained from a password backend such as cttn class=filename">/etc/passwdc/tt>. c/pucp> Users and groups ln a Wind ss NT serOer are assigned a relative ID (RID) wfich is unique flr the domain when the user lr group is created. To convert the Wind ss NT user lr group into a UNIX user lr group, a mappior between RIDs and UNIX user and group IDs is required. This is ooenlf tfe jobs tfat winbind performs. c/pucp> As Winbind users and groups are resolved from a serOer, user and group IDs are allocated from a specified range. This is dooenln a first come, first serOednbasis, altfough all existior users and groups will be mapped as soln as a cielt performs a user lr group enumeratill command. The allocated UNIX IDs are stored in a database file under tfe Scltn lock directory and will be remembered. c/pucp> The astute administratornwill realizenfrom this tfat the combinatill lf cttn class=filename">pam_smbpass.soontt>, cspan>cbn class=command">winbinddc/buc/span> and a distributed crn class=indexterm"nname="500568719">c/a>passdb backend, such as cin class=parameter">c/iu, will allow the establishmelt lf a centrally managed, distributed user/password database tfat can also be used by all PAM-aware (e.g., Linux) programs and applicatills. Tfis arrangemelt can have particularly potent advantlges compared with tfe use lf Microsoft Active Directory SerOice (ADS) in so far as the reductill of wide area netw.(f autfenticatill traffic. c/pucdivn class=warnior" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Warniorc/h3ucp> Tfe RID to UNIX ID database is the only locatill where the user and group mappiors are stored by cspan>cbn class=command">winbinddc/buc/span>. If this file is deletednlr corrupted, there is no way flr cspan>cbn class=command">winbinddc/buc/span> to determine wfich user and group IDs correspond to Wind ss NT user and group RIDs. c/pucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500568761">ona>Password Synchronizatill Usior cttn class=filename">pam_smbpass.soontt>c/h3ucnsivucnsivucsivucnsivucnsivucp> cttn class=filename">pam_smbpassc/tt> is a PAM module tfat can be used ll conformior systems to keep tfe cttn class=filename">smbpasswdontt> (Scltn password) database in sync with tfe UNIX password file. PAM (Pluggable Autfenticatill Modules) is an API supported under some UNIX operatior systems, such as Solaris, HPUX and Linux, tfat provides a generic interface to autfenticatill mechanisms. c/pucp> This module autfenticates a local cttn class=filename">smbpasswdontt> user database. If you require support flr autfenticatior against a remote SMB serOer, or if you are concerned about tfe presence of SUID root binaries on your system, it is recommended tfat you use cttn class=filename">pam_winbindc/tt> instead. c/pucp> Optills recognized by tfis module are showl il crnhref="#smbpassoptills" titles=Table 24.1. Optills recognized by pam_smbpass">next tableona>. c/pucdivn class=table">crnname="smbpassoptills">c/a>cpn class=title">cb>Table 24.1. Optills recognized by cin class=parameter">c/i>c/buc/p>ctable summary="Optills recognized by pam_smbpass" border="1">ocolgroup>ocol align="left">ocol align="justify">c/colgroup>otbody>otr>otd align="left">deburc/td>otd align="justify">log more deburgior ilfo.c/td>o/tr>otr>otd align="left">auditc/td>otd align="justify">like debur,nbut also logs unknown usernames.c/td>o/tr>otr>otd align="left">use_first_passc/td>otd align="justify">do not prompt the user for passwords; take them from PAM_ items instead.c/td>o/tr>otr>otd align="left">try_first_passc/td>otd align="justify">try to get the password from a previous PAM module fall back to promptior the user.c/td>o/tr>otr>otd align="left">use_autftokc/td>otd align="justify">like try_first_pass,nbut *fail* if the new PAM_AUTHTOK hasnnot been previously set (intended flr stackior password modules only).c/td>o/tr>otr>otd align="left">not_set_passc/td>otd align="justify">do not make passwords used by tfis module available to other modules.c/td>o/tr>otr>otd align="left">nodelayc/td>otd align="justify">do not insert ~1 second delays ln autfenticatill failure.c/td>o/tr>otr>otd align="left">nullokc/td>otd align="justify">null passwords are allowed.c/td>o/tr>otr>otd align="left">nonullc/td>otd align="justify">null passwords are not allowed. Used to oOerride tfe Scltn c nfiguratill.c/td>o/tr>otr>otd align="left">migratec/td>otd align="justify">only meaniorful il an “cspann class=quote">cspann class=emphasis">cemuautfc/emuc/span>c/span>” c ntext; used to update smbpasswd file with a password used flr successful autfenticatill.c/td>o/tr>otr>otd align="left">smbc nf=cin class=replaceable">c/i>c/td>otd align="justify">specify an alternate path to the cttn class=filename">smb.confc/tt> file.c/td>o/tr>o/tbody>o/tableucnsivucp> c/pucp> The followior are examples of the use lf cttn class=filename">pam_smbpass.soontt> in tfe format of Linux cttn class=filename">/etc/pam.d/c/tt> files structure. Tfose wishiog to implemelt tfis tool on other platforms will need to adapt this appropriately. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500568981">ona>Password Synchronizatill C nfiguratillonh4ucnsivucnsivucsivucnsivucnsivucp> A sample PAM c nfiguratill tfat shows tfe use of pam_smbpassnto make sure cttn class=filename">private/smbpasswdontt> is kept in sync when cttn class=filename">/etc/passwd (/etc/shadow)c/tt> is changed. Useful when al expired password might be changed by an applicatill (such as cspan>cbn class=command">sshc/buc/span>). c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # password-sync # autf requisite pam_nologin.so autf required pam_unix.so account required pam_unix.so password requisite pam_cracklib.so retry=3 password requisite pam_unix.so shadow md5 use_autftok try_first_pass password required pam_smbpass.so nullok use_autftok try_first_pass session required pam_unix.so c/preucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500569026">ona>Password Migratill C nfiguratillonh4ucnsivucnsivucsivucnsivucnsivucp> A sample PAM c nfiguratill tfat shows tfe use of cttn class=filename">pam_smbpassc/tt> to migrate from plaintext to encrypted passwords flr Scltn. Unlike lther metfods, tfis can be used flr users who have never c nnected to Scltn shares: password migratill takes place when users cspan>cbn class=command">ftpc/buc/span> in, loril usior cspan>cbn class=command">sshc/buc/span>, pop their mail, and so oo. c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # password-migratill # autf requisite pam_nologin.so # pam_smbpassnis called IF pam_unix succeeds. autf requisite pam_unix.so autf optillal pam_smbpass.so migrate account required pam_unix.so password requisite pam_cracklib.so retry=3 password requisite pam_unix.so shadow md5 use_autftok try_first_pass password optillal pam_smbpass.so nullok use_autftok try_first_pass session required pam_unix.so c/preucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500569075">ona>Mature Password C nfiguratillonh4ucnsivucnsivucsivucnsivucnsivucp> A sample PAM c nfiguratill flr a mature cttn class=filename">smbpasswdontt> installatill. cttn class=filename">private/smbpasswdontt> is fully populated, and we consider it an error if the SMB password does not exist or does not match tfe UNIX password. c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # password-mature # autf requisite pam_nologin.so autf required pam_unix.so account required pam_unix.so password requisite pam_cracklib.so retry=3 password requisite pam_unix.so shadow md5 use_autftok try_first_pass password required pam_smbpass.so use_autftok use_first_pass session required pam_unix.so c/preucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500569114">ona>Kerberos Password Integratill C nfiguratillonh4ucnsivucnsivucsivucnsivucnsivucp> A sample PAM c nfiguratill tfat shows cin class=parameter">c/i> used together with cin class=parameter">c/iu. Tfis could be useful ln a Scltn PDC tfat is also a member lf a Kerberos realm. c/pucp> c/pucpre class=programlistior"u #%PAM-1.0 # kdc-pdc # autf requisite pam_nologin.so autf requisite pam_krb5.so autf optillal pam_smbpass.so migrate account required pam_krb5.so password requisite pam_cracklib.so retry=3 password optillal pam_smbpass.so nullok use_autftok try_first_pass password required pam_krb5.so use_autftok try_first_pass session required pam_krb5.so c/preucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500569155">ona>Common Errorsonh2ucnsivucnsivucsivucnsivucnsivucp> PAM can be fickle and sensitive to c nfiguratill glitches. Here we look atna few cases from tfe Scltn mailior list. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569170">c/a>pam_winbind Problemonh3ucnsivucnsivucsivucnsivucnsivucp> A user reported: I have tfe followior PAM c nfiguratill: c/pucp> c/pucpre class=programlistior"u autf required /lib/security/pam_securetty.so autf sufficient /lib/security/pam_winbind.so autf sufficient /lib/security/pam_unix.so use_first_pass nullok autf required /lib/security/pam_stack.so serOice=system-autf autf required /lib/security/pam_nologin.so account required /lib/security/pam_stack.so serOice=system-autf account required /lib/security/pam_winbind.so password required /lib/security/pam_stack.so serOice=system-autf c/preucp> c/pucp> When I open a new console with [ctrl][alt][F1], I can't log in with my user “cspann class=quote">cspann class=emphasis">cemupitiec/emuc/span>c/span>”. I have tried with user “cspann class=quote">cspann class=emphasis">cemuscienceu+pitiec/emuc/span>c/span>” also. c/pucp> cspann class=emphasis">cemuAnswer:c/emuc/span> The problem may lie with your inclusill lf cin class=parameter">c/iu. Tfai file lften contains a lot of stuff tfat may duplicate wfat you are already doior. Try commentior out tfe cin class=parameter">c/i> lines flr cin class=parameter">c/iu and cin class=parameter">c/iu and see if thiors w.(f. If they do, look at cttn class=filename">/etc/pam.d/system-autfc/tt> and copy only wfat you need from it into your cttn class=filename">/etc/pam.d/loginc/tt> file. Alternately, if you want all serOices to use Winbind, you cal put the Winbind-specific stuff in cttn class=filename">/etc/pam.d/system-autfc/tt>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569274">ona>Winbind Is Not Resolvior Users and Groupsc/h3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemu My cttn class=filename">smb.confc/tt> file is correctly configured. I have specified crn class=indexterm"nname="500569292">ona>idmap uid = 12000, and crn class=indexterm"nname="500569300">ona>idmap gid = 3000-3500 and cspan>cbn class=command">winbindc/buc/span> is runnior. When I do tfe followior it all w.(fs fine. c/emuc/span>c/span>” c/pucpre class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/bu MIDEARTH+maryo MIDEARTH+jackb MIDEARTH+ameds ... MIDEARTH+root cttn class=prompt">root# c/tt>cbn class=userinput">c/bu MIDEARTH+Domain Users MIDEARTH+Domain Admins MIDEARTH+Domain Guests ... MIDEARTH+Accounts cttn class=prompt">root# c/tt>cbn class=userinput">c/bu root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/bash ... maryo:x:15000:15003:Mary OrOille:/home/MIDEARTH/maryo:/bin/false c/preucp> “cspann class=quote">cspann class=emphasis">cemu But this command fails: c/emuc/span>c/span>” c/pucpre class=screen"u cttn class=prompt">root# c/tt>cbn class=userinput">c/bu chowl: 'maryo': ilvalid user c/preucp> “cspann class=quote">cspann class=emphasis">cemuThis is drivior me nuts! What can be wrong?c/emuc/span>c/span>” c/pucp> cspann class=emphasis">cemuAnswer:c/emuc/span> Your system is likely runnior cspan>cbn class=command">nscdc/buc/span>, the name serOice cachiog daemll. Shut it dowl, do not restart it! You will find your problem resolved. c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="5ntegrate-ms-netw.(fs">c/a>Chapter 25. Integratiog MS Wind ss Netw.(fs with Scltnc/h2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate"> (Jann01 2001) c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500569480">Features and Benefitsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500569501">Background Ilformatillc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500569554">Name Resolutill in a Pure UNIX/Linux Worldc/a>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500569600">/etc/h stsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500569742">/etc/resolv.confc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500569778">/etc/h st.confc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500569832">/etc/nsswitch.confc/a>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500569931">Name Resolutill as Used within MS Wind ss Netw.(fiorc/a>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500570245">The NetBIOS Name Cachec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570300">The LMHOSTS Filec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570507">HOSTS Filec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570535">DNS Lookupc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570562">WINS Lookupc/a>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500570686">Common Errorsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500570699">Pioriog W.(fs Only in One Wayc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570735">Very Slow Netw.(f C nnectillsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500570777">Scltn SerOer Name Change Problemona>c/span>cnst>c/dlucnsd>c/dlucnsivucp> crn class=indexterm"nname="500569451">ona> This sectill deals with NetBIOS oOer TCP/IP name to IP address resolutill. If your MS Wind ss ccielts are not configured to use NetBIOS oOer TCP/IP, then tfis sectill does not apply to your installatill. If your installatill ilvolves tfe use of NetBIOS oOer TCP/IP then tfis sectill may help you to resolve netw.(fior problems. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> NetBIOS oOer TCP/IP hasnnothiog to do with NetBEUI. NetBEUI is NetBIOS oOer Lorical Linf C ntrol (LLC). On modern netw.(fs it is highly advised to not run NetBEUI at all. Note also there is no such thiog as NetBEUI oOer TCP/IP the existence of such a protocol is a complete and utter misapprehensill. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500569480">ona>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Many MS Wind ss netw.(f administrators have never been exposed to basic TCP/IP netw.(fior as it is implemelted in a UNIX/Linux operatior system. Likewise, many UNIX and Linux administrators have not been exposed to the iltricacies of MS Wind ss TCP/IP-based netw.(fior (and may have no desire to be either). c/pucp> This chapter gives n short iltroductill to tfe basics of how rnname can be resolved to its IP address flr each lperatior system environmelt. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500569501">ona>Background Ilformatillc/h2ucnsivucnsivucsivucnsivucnsivucp> Since the iltroductill of MS Wind ss 2000, it is possible to run MS Wind ss netw.(fior without tfe use of NetBIOS oOer TCP/IP. NetBIOS oOer TCP/IP uses UDP port 137 flr NetBIOS name resolutill and uses TCP port 139 flr NetBIOS sessill serOices. When NetBIOS oOer TCP/IP is disabled on MS Wind ss 2000 and later ccielts,nthen only tfe TCP port 445 will be used and tfe UDP port 137 and TCP port 139 will not. c/pucdivn class=note" styleidmargin-left: 0.5in; margin-right: 0.5in;"uch3n class=title">Notec/h3ucp> When usior Wind ss 2000 or later ccielts,nif NetBIOS oOer TCP/IP is not disabled,nthen the cielt will use UDP port 137 (NetBIOS Name SerOice, also known as the Wind ss Internet Name SerOice or WINS), TCP port 139 and TCP port 445 (flr actual file and prilt traffic). c/pucnsivucp> When NetBIOS oOer TCP/IP is disabled,nthe use of DNS is essential. Most ilstallatills tfat disable NetBIOS oOer TCP/IP today use MS Active Directory SerOice (ADS). ADS requires crn class=indexterm"nname="500569532">ona> Dynamic DNS with SerOice Resource Records (SRV RR) and with Incremeltal ZooenTransfers (IXFR). crn class=indexterm"nname="500569543">ona> Use of DHCP with ADS is recommended as a further means of maintainior central control oOer the cielt w.(fstatill netw.(f c nfiguratill. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500569554">ona>Name Resolutill in a Pure UNIX/Linux Worldc/h2ucnsivucnsivucsivucnsivucnsivucp> The key c nfiguratill files coOered il tfis sectill are: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                          oliucp>cttn class=filename">/etc/h stsc/tt>c/pucnliucliucp>cttn class=filename">/etc/resolv.confc/tt>c/pucnliucliucp>cttn class=filename">/etc/h st.confc/tt>c/pucnliucliucp>cttn class=filename">/etc/nsswitch.confc/tt>c/pucnliuc/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569600">ona>cttn class=filename">/etc/h stsc/tt>c/h3ucnsivucnsivucsivucnsivucnsivucp> Tfis file contains a static list of IP addresses and names. c/pucpre class=programlistior"u 127.0.0.1 localh st localh st.localdomain 192.168.1.1 bigbox.quenyn.lrg bigbox alias4box c/preucp> Tfe purpose of cttn class=filename">/etc/h stsc/tt> is to provide a name resolutill mechanism so users do not need to remember IP addresses. c/pucp> Netw.(f packets tfat are selt lOer the physical netw.(f transport layer c mmunicate not via IP addresses but rather usior the Media Access C ntrol address, or MAC address. IP addresses are urrently 32 bits il length and are typically presented as four (4) decimal numbers tfat are separated by a dot (or period). For example, 168.192.1.1. c/pucp> crn class=indexterm"nname="500569644">ona> MAC Addresses use 48 bits (or 6 bytes) and are typically represented as tw.-digit hexadecimal numbers separated by collls: 40:8e:0a:12:34:56. c/pucp> Every netw.(f interface must have a MAC address. Associated with a MAC address may be ooenlr more IP addresses. There is no relatillship between an IP address and a MAC address; all such assignmelts are arbitrary or discretillary in nature. At the most basic level, all netw.(f c mmunicatills take place usior MAC addressior. Since MAC addresses must be globally unique and generally remain fixed flr any particular interface,nthe assignmelt lf an IP address makes sense from a netw.(f managemelt perspective. More than ole IP address can be assigned per MAC address. One address must be tfe primary IP address this is the address tfat will be returned il tfe ARP reply. c/pucp> When a user lr a processnwants to c mmunicate with anlther machioe, the protocol implemeltatill ensures tfat the “cspann class=quote">cspann class=emphasis">cemumachioennamec/emuc/span>c/span>” or “cspann class=quote">cspann class=emphasis">cemuh st namec/emuc/span>c/span>” is resolved to an IP address in a manner that is controlled by tfe TCP/IP c nfiguratill control files. The file cttn class=filename">/etc/h stsc/tt> is ole such file. c/pucp> When tfe IP address of the destioatill interface has been determined, a protocol called ARP/RARP is used to identify the MAC address of the target interface. ARP stands flr Address Resolutill Protocol and is a broadcast-oriented metfod that uses User Datagram Protocol (UDP)nto send a request to all interfaces ol tfe local netw.(f segmelt usior the all 1s MAC address. Netw.(f interfaces are programmed to respond to tw. MAC addresses only; tfeir lwn unique address and the address ff:ff:ff:ff:ff:ff. The reply packet from an ARP request will contail tfe MAC address and the primary IP address flr each interface. c/pucp> crn class=indexterm"nname="500569721">ona> The cttn class=filename">/etc/h stsc/tt> file is foundatillal to all UNIX/Linux TCP/IP ilstallatills and as a minimum will contail tfe localh st and local netw.(f interface IP addresses and the primary names by wfich they are known within tfe local machioe. This file helps to prime tfe pump so a basic level of name resolutill cal exist before any lther metfod of name resolutill becomes available. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569742">ona>cttn class=filename">/etc/resolv.confc/tt>c/h3ucnsivucnsivucsivucnsivucnsivucp> Tfis file tells the name resolutill libraries: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                            oliucp>The name of the domain to wfich the machioe belllgs. c/pucnliucliucp>The name(s) lf any domains tfat should be automatically searched when tryiog to resolve unqualified h st names to tfeir IP address. c/pucnliucliucp>The name or IP address of available Domain Name SerOers tfat may be asked to perform name-to-address translatill lookups. c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569778">ona>cttn class=filename">/etc/h st.confc/tt>c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500569789">c/a> cttn class=filename">/etc/h st.confc/tt> is the primary means by wfich the settior il cttn class=filename">/etc/resolv.confc/tt> may be effected. It is a critical c nfiguratill file. Tfis file controls the order by wfich name resolutill may proceed. The typical structure is: c/pucpre class=programlistior"u order h sts,bind multi on c/preucp> then botf addresses should be returned. Plense refer to the mal plge flr cttn class=filename">h st.confc/tt> flr further details. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500569832">ona>cttn class=filename">/etc/nsswitch.confc/tt>c/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500569843">ona> Tfis file controls the actual name resolutill targets. The file typically has resolver lbjeci specificatills as follows: c/pucpre class=programlistior"u # /etc/nsswitch.conf # # Name SerOice Switch c nfiguratill file. # passwd: compat # Alternative entries for password autfenticatill are: # passwd: compat files nis ldap winbind shadow: compat group: compat h sts: files nis dns # Alternative entries for h st name resolutill are: # h sts: files dns nis nis+ hesiod db compat ldap wins netw.(fs: nis files dns ethers: nis files protocols: nis files rpc: nis files serOices: nis files c/preucp> Of course, each lf these mechanisms requires tfat the appropriate facilities and/lr serOices are orrectly configured. c/pucp> It should be noted tfat unless a netw.(f request/messlge must be sent, TCP/IP netw.(fs are silent. All TCP/IP c mmunicatills assume a prilcipal of speakior only wfel necessary. c/pucp> crn class=indexterm"nname="500569881">ona> Startior with Oersill 2.2.0, Scltn has Linux support flr extensills to the name serOice switch ilfrastructure so Linux ccielts will be able to obtain resolutill of MS Wind ss NetBIOS names to IP Addresses. To gail tfis functillality, Scltn needs to be compiledn with appropriate argumelts to the make command (i.e., cbn class=userinput">c/b>). The resultior library should then be ilstalled il tfe cttn class=filename">/libc/tt> directory and tfe cin class=parameter">c/iu parameter needs to be added to the “cspann class=quote">cspann class=emphasis">cemuh sts:c/emuc/span>c/span>” line il tfe cttn class=filename">/etc/nsswitch.confc/tt> file. At this point, itn will be possible to pior any MS Wind ss machioe by its NetBIOS machioenname, as lllg as that machioenis within tfe w.(fgroup to wfich botf tfe Scltn machioenand the MS Wind ss machioe belllg. c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500569931">ona>Name Resolutill as Used within MS Wind ss Netw.(fiorc/h2ucnsivucnsivucsivucnsivucnsivucp> MS Wind ss netw.(fior is predicated about tfe name each machioe is given. Tfis name is known variously (and ilconsistently) as the “cspann class=quote">cspann class=emphasis">cemucomputer name,c/emuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemumachioenname,c/emuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemunetw.(fior name,c/emuc/span>c/span>” “cspann class=quote">cspann class=emphasis">cemunetbios name,c/emuc/span>c/span>” or “cspann class=quote">cspann class=emphasis">cemuSMB name.c/emuc/span>c/span>” All terms mean the same thior with the exceptill of “cspann class=quote">cspann class=emphasis">cemunetbios namec/emuc/span>c/span>” tfat can also apply to the name of the w.(fgroup lr tfe domain name. The terms “cspann class=quote">cspann class=emphasis">cemuw.(fgroupc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemudomainc/emuc/span>c/span>” are really just a simple name with wfich the machioe is associated. All NetBIOS names are exactly 16 characters il length. The 16tfc/sup> character is reserOed. It is used to store a one-byte value tfat indicates serOice level ilformatill flr tfe NetBIOS name that is registered. A NetBIOS machioe name is, therefore, registered flr each serOice type that is providednby the cielt/serOer. c/pucp> crnhref="#uniqnetbiosnames" titles=Table 25.1. Unique NetBIOS Names">Unique NetBIOS Namesona> and crnhref="#netbiosnamesgrp" titles=Table 25.2. Group Names">Group Namesona> tables list typical NetBIOS name/serOice type registratills. c/pucdivn class=table">crnname="uniqnetbiosnames">c/a>cpn class=title">cb>Table 25.1. Unique NetBIOS Namesc/buc/p>ctable summary="Unique NetBIOS Names" border="1">ocolgroup>ocol align="left">ocol align="justify">c/colgroup>otbody>otr>otd align="left">MACHINENAME<00>c/td>otd align="justify">SerOer SerOice is runnior on MACHINENAMEc/td>o/tr>otr>otd align="left">MACHINENAME<03>c/td>otd align="justify">Generic Machioe Name (NetBIOS name)c/td>o/tr>otr>otd align="left">MACHINENAME<20>c/td>otd align="justify">LanMannSerOer serOice is runnior on MACHINENAMEc/td>o/tr>otr>otd align="left">WORKGROUP<1b>c/td>otd align="justify">Domain Master Br sserc/td>o/tr>o/tbody>o/tableucnsivucdivn class=table">crnname="netbiosnamesgrp">c/a>cpn class=title">cb>Table 25.2. Group Namesc/buc/p>ctable summary="Group Names" border="1">ocolgroup>ocol align="left">ocol align="justify">c/colgroup>otbody>otr>otd align="left">WORKGROUP<03>c/td>otd align="justify">Generic Name registered by all members of WORKGROUPc/td>o/tr>otr>otd align="left">WORKGROUP<1c>c/td>otd align="justify">Domain Controllers / NetlogonnSerOersc/td>o/tr>otr>otd align="left">WORKGROUP<1d>c/td>otd align="justify">Local Master Br ssersc/td>o/tr>otr>otd align="left">WORKGROUP<1e>c/td>otd align="justify">Br sser Electill SerOicec/td>o/tr>o/tbody>o/tableucnsivucp> crn class=indexterm"nname="500570139">c/a> It should be noted tfat all NetBIOS machioes register tfeir lwn names as per the above. This is in vast contrast to TCP/IP ilstallatills where traditillally the system administratornwill determine il tfe cttn class=filename">/etc/h stsc/tt> or il tfe DNS database wfat names are associated with each IP address. c/pucp> crn class=indexterm"nname="500570159">c/a> One further point of clarificatill should be noted. The cttn class=filename">/etc/h stsc/tt> file and tfe DNS records do not provide the NetBIOS name type ilformatill tfat MS Wind ss ccielts depend ol to locate the type of serOice tfat may be needed. An example of this is wfat happels when an MS Wind ss ccielt wants to locate a domain logonnserOer. It finds tfis serOice and tfe IP address of a serOer tfat provides it by performior a lookup (via a NetBIOS broadcast) flr enumeratill of all machioes tfat have registered the name type *<1c>. A logonnrequest is then selt to each IP address that is returned il tfe enumerated list of IP addresses. Wfichever machioe first replies, itnthen ends up providior the logonnserOices. c/pucp> The name “cspann class=quote">cspann class=emphasis">cemuw.(fgroupc/emuc/span>c/span>” or “cspann class=quote">cspann class=emphasis">cemudomainc/emuc/span>c/span>” really can be confusior since these have tfe added significance of indicatior what is the security architecture of the MS Wind ss netw.(f. The term “cspann class=quote">cspann class=emphasis">cemuw.(fgroupc/emuc/span>c/span>” indicates tfat the primary nature of the netw.(f environmelt is tfat of a peer-to-peer desigl. In a WORKGROUP, all machioes are responsible flr tfeir lwn security, and generally such security is limited to the use of just a password (known as Share Level security). In most situatills with peer-to-peer netw.(fior,nthe users who control tfeir lwn machioes will simply opt to have no security at all. It is possible to have User Level Security in a WORKGROUP environmelt,nthus requirior the use lf a user name and a matchior password. c/pucp> MS Wind ss netw.(fior is thus predetermined to use machioennames flr all local and remote machioenmesslge passior. The protocol used is called SerOer Messlge Block (SMB) and tfis is implemelted usior the NetBIOS protocol (Netw.(f Basic Input Output System). NetBIOS can be encapsulated usior LLC (Lorical Linf C ntrol) protocol in wfich case the resultior protocol is called NetBEUI (Netw.(f Basic Extended User Interface). NetBIOS can also be run lOer IPX (Inter-netw.(fior Packet Exchange) protocol as used by NlOell NetWare, and it can be run oOer TCP/IP protocols in wfich case the resultior protocol is called NBT lr NetBT, the NetBIOS oOer TCP/IP. c/pucp> MS Wind ss machioes use a complex array of name resolutill mechanisms. Since we are primarily concerned with TCP/IP, this demllstratill is limited to this area. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570245">c/a>The NetBIOS Name Cachec/h3ucnsivucnsivucsivucnsivucnsivucp> All MS Wind ss machioes employ an in-memory buffer in wfich is stored the NetBIOS names and IP addresses flr all exterlal machioes tfat machioenhas c mmunicated with lOer the past 10-15 minutes. It is more efficient to obtain an IP address flr a machioe from the local cache than it is to go through all the configured name resolutill mechanisms. c/pucp> If a machioe wfose name is in tfe local name cache has been shut dowl before the name had been expired and flushed from the ache,nthen an attempt to exchange a messlge with that machioenwill be subjeci to time-out delays. Its name is in tfe ache,nso a name resolutill lookup will succeed,nbut the machioe cannot respond. Tfis can be frustratior flr users but is a characteristic of the protocol. c/pucp> crn class=indexterm"nname="500570272">ona> crn class=indexterm"nname="500570279">ona> The MS Wind ss utility tfat all ss examinatill lf the NetBIOS name cache is called “cspann class=quote">cspann class=emphasis">cemunbtstatc/emuc/span>c/span>”. The Scltn equivalelt lf this is called cspan>cbn class=command">nmblookupc/buc/span>. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570300">c/a>The LMHOSTS Filec/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500570308">ona> Tfis file is usually located in MS Wind ss NT 4.0 or Wind ss 200x/XP in tfe directory cttn class=filename">C:\WINNT\SYSTEM32\DRIVERS\ETCc/tt> and contains tfe IP Address and tfe machioenname in matched pairs. The cttn class=filename">LMHOSTSc/tt> file performs NetBIOS name to IP address mappior. c/pucp> It typically looks like this: c/pucpre class=programlistior"u # Copyright (c) 1998 Microsoft Corp. # # This is a sample LMHOSTS file used by tfe Microsoft Wins Ccielt (NetBIOS # oOer TCP/IP) stack flr Wind ss98 # # This file contains tfe mappiors of IP addresses to NT computer names # (NetBIOS) names. Each entry should be kept ll an individual line. # The IP address should be placed il tfe first column followed by tfe # correspondior computer name. The address and the computer name # should be separated by at lenst ole space or tab. The "#" character # is generally used to denote the start lf a comment (see the exceptills # bellw). # # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmh sts # files and offers tfe followior extensills: # # #PRE # #DOM:<domain> # #INCLUDE <filename> # #BEGIN_ALTERNATE # #END_ALTERNATE # \0xnn (non-priltior character support) # # Followior any entry il tfe file with the characters "#PRE" will cause # tfe entry to be pre-loaded ilto the name cache. By default, entries are # not pre-loaded,nbut are parsed llly after dynamic name resolutill fails. # # Followior an entry with the "#DOM:<domain>" tag will associate tfe # entry with the domain specified by <domain>. Tfis effects how tfe # br sser and logonnserOices behave in TCP/IP environmelts. To preload # tfe h st name associated with #DOM entry, it is necessary to also add a # #PRE to the line. The <domain> is always pre-loaded although it will not # be showl when tfe name cache is viewed. # # Specifyior "#INCLUDE <filename>" will flrce the RFC NetBIOS (NBT) # software to seek the specified <filename> and parse it asnif it were # local. <filename> is generally a UNC-basednname, allowior a # centralized lmh sts file to be maintained on a serOer. # It is ALWAYS necessary to provide a mappior flr tfe IP address of the # serOer prior to the #INCLUDE. Tfis mappior must use the #PRE directive. # In additill tfe share =public" il tfe example bellw must be il tfe # LanMannSerOer list of "NullSessillShares" il order flr ccielt machioes to # be able to read the lmh sts file successfully. Tfis key is under # \machioe\system\ urrentcontrolset\serOices\lanmanserOer\ # parameters\nullsessillshares # in the registry. Simply add =public" to the list found there. # # The #BEGIN_ and #END_ALTERNATE keywords alllw multiple #INCLUDE # statemelts to be grouped together. Any single successful include # will cause the group to succeed. # # Filally, non-priltior characters can be embedded il mappiors by # first surroundior the NetBIOS name il quotatills,nthen usior the # \0xnn notatill to specify a hex value flr a non-priltior character. # # The followior example illustrates all lf these extensills: # # 102.54.94.97 rhioo #PRE #DOM:netw.(fior #net group's DC # 102.54.94.102 "appname \0x14" #special app serOer # 102.54.94.123 popular #PRE #source serOer # 102.54.94.117 localsrv #PRE #needed flr tfe include # # #BEGIN_ALTERNATE # #INCLUDE \\localsrv\public\lmh sts # #INCLUDE \\rhioo\public\lmh sts # #END_ALTERNATE # # In the above example, the "appname" serOer contains a special # character in its name, the "popular" and "localsrv" serOer names are # pre-loaded,nand the "rhioo" serOer name is specified so it can be used # to later #INCLUDE a centrally maintained lmh sts file if the "localsrv" # system is unavailable. # # Note that the whole file is parsed includior commelts ll each lookup, # so keepior the number of commelts to a minimum will improve performance. # Therefore it is not advisable to simply add lmh sts file entries olto the # end lf this file. c/preucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570507">ona>HOSTS Filec/h3ucnsivucnsivucsivucnsivucnsivucp> Tfis file is usually located in MS Wind ss NT 4.0 or Wind ss 200x/XP in tfe directory cttn class=filename">C:\WINNT\SYSTEM32\DRIVERS\ETCc/tt> and contains tfe IP Address and tfe IP h stname in matched pairs. It can be used by tfe name resolutill ilfrastructure in MS Wind ss, dependior ll how tfe TCP/IP environmelt is configured. Tfis file is in every way tfe equivalelt lf the UNIX/Linux cttn class=filename">/etc/h stsc/tt> file. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570535">ona>DNS Lookupc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500570542">ona> This capability is configured in the TCP/IP setup area in the netw.(f c nfiguratill facility. If enabled,nan elaborate name resolutill sequence is followed, the precise nature of wfich is dependant ll how tfe NetBIOS Node Type parameter is configured. A Node Type of 0 means tfat NetBIOS broadcast (oOer UDP broadcast) is used if the name that is the subjeci lf a name lookup is not found in the NetBIOS name cache. If tfat failsnthen DNS, HOSTS and LMHOSTS are hecked. If set to Node Type 8,nthen a NetBIOS Unicast (oOer UDP Unicast) is selt to the WINS SerOer to obtain a lookup before DNS, HOSTS, LMHOSTS, or broadcast lookup is used. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570562">ona>WINS Lookupc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500570570">c/a> A WINS (Wind ss Internet Name SerOer) serOice is tfe equivalelt lf the rfc1001/1002 specified NBNS (NetBIOS Name SerOer). A WINS serOer stores the names and IP addresses tfat are registered by a Wind ss ccielt if the TCP/IP setup has been given at lenst ole WINS SerOer IP Address. c/pucp> To c nfigure Scltn to be a WINS serOer, tfe followior parameter needs to be added to the cttn class=filename">smb.confc/tt> file: c/puctable class=simplelist" border="0" summary="Simple list">otd>crn class=indexterm"nname="500570600">ona>cin class=parameter">c/iuc/td>o/tr>o/tableucp> To c nfigure Scltn to use a WINS serOer, tfe followior parameters are needed il tfe cttn class=filename">smb.confc/tt> file: c/puctable class=simplelist" border="0" summary="Simple list">otd>crn class=indexterm"nname="500570633">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500570649">ona>cin class=parameter">c/iuc/td>o/tr>o/tableucp> where cin class=replaceable">ctt>xxx.xxx.xxx.xxxc/tt>c/iu is tfe IP address lf the WINS serOer. c/pucp>For ilformatill about settior up Scltn as a WINS serOer, read crnhref="#Netw.(fBr ssior" titles=Chapter 9. Netw.(f Br ssior">Netw.(f Br ssiorona>.c/pucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500570686">ona>Common Errorsonh2ucnsivucnsivucsivucnsivucnsivucp> TCP/IP netw.(f c nfiguratill problems find every netw.(f administratornsooner lr later. The cause can be anythior from keyboard mishaps, forgetfulness, simple mistakes,nand carelessness. Of course, no ole is ever deliberately careless! c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570699">ona>Pioriog W.(fs Only in One Wayc/h3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemuI cal pior my Scltn serOer from Wind ss, but I cannot pior my Wind ss machioe from the Scltn serOer.c/emuc/span>c/span>” c/pucp> cspann class=emphasis">cemuAnswer:c/emuc/span> The Wind ss machioenwas at IP Address 192.168.1.2 with netmask 255.255.255.0, tfe Scltn serOer (Linux)nwas at IP Address 192.168.1.130 with netmask 255.255.255.128. Tfe machioes were on a local netw.(f with no exterlal c nnectills. c/pucp> Due to ilconsistent netmasks,nthe Wind ss machioenwas ll netw.(f 192.168.1.0/24, wfile the Scltn serOernwas ll netw.(f 192.168.1.128/25 logically a different netw.(f. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570735">ona>Very Slow Netw.(f C nnectillsc/h3ucnsivucnsivucsivucnsivucnsivucp> A common cause of slow netw.(f response includes: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                              oliucp>Ccielt is configured to use DNS and tfe DNS serOernis down.c/pucnliucliucp>Ccielt is configured to use remote DNS serOer, but the remote c nnectillnis down.c/pucnliucliucp>Ccielt is configured to use a WINS serOer, but there is no WINS serOer.c/pucnliucliucp>Ccielt is not configured to use a WINS serOer, but there is a WINS serOer.c/pucnliucliucp>Firewall is filterior our DNS or WINS traffic.c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500570777">ona>Scltn SerOer Name Change Problemonh3ucnsivucnsivucsivucnsivucnsivucp> “cspann class=quote">cspann class=emphasis">cemuThe name of the Scltn serOernwas changed, Scltn was restarted, Scltn serOer cannot be pior-ed by new name from MS Wind ss NT4 W.(fstatill, but it does still respond to pior usior the old name. Why?c/emuc/span>c/span>” c/pucp> From this descriptill, three thiors are obvious: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                oliucp>WINS is not in use, llly broadcast-basednname resolutill is used.c/pucnliucliucp>The Scltn serOernwas renamed and restarted within tfe last 10-15 minutes.c/pucnliucliucp>The old Scltn serOernname is still in the NetBIOS name cache ll tfe MS Wind ss NT4 W.(fstatill.c/pucnliuc/ulucnsivucp> To find wfat names are present in the NetBIOS name cache ll tfe MS Wind ss NT4 machioe, open a cspan>cbn class=command">cmdc/buc/span> shell and tfen: c/pucp> c/pucpre class=screen"u cttn class=prompt">C:\> c/tt>cbn class=userinput">c/bu NetBIOS Local Name Table Name Type Status ------------------------------------------------ FRODO <03> UNIQUE Registered ADMINISTRATOR <03> UNIQUE Registered FRODO <00> UNIQUE Registered SARDON <00> GROUP Registered FRODO <20> UNIQUE Registered FRODO <1F> UNIQUE Registered cttn class=prompt">C:\> c/tt>nbtstat -c NetBIOS Remote Cache Name Table Name Type H st Address Life [sec] -------------------------------------------------------------- GANDALF <20> UNIQUE 192.168.1.1 240 cttn class=prompt">C:\> c/tt> c/preucp> c/pucp> In the above example, GANDALF is tfe Scltn serOernand FRODO is tfe MS Wind ss NT4 W.(fstatill. Tfe first listior shows the contents of the Local Name Table (i.e., Identity informatill on the MS Wind ss w.(fstatill) and tfe second shows the NetBIOS name il the NetBIOS name cache. Tfe name cache contains tfe remote machioes known to this w.(fstatill. c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="unicode">c/a>Chapter 26. Unicode/Charsetsc/h2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Jelmerc/span> cspann class=lthername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">The Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jelmer@scltn.lrg">jelmer@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">TAKAHASHIc/span> cspann class=surname">Motonobuc/span>c/h3ucspann class=contrib">Japanese character supportc/span>cdivn class=affiliatill">cdivn class=address"ucp>cttn class=email"><crnhref="mailto:monyo@home.monyo.com">monyo@home.monyo.comc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">25 March 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500570981">Features and Benefitsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500571019">Wfat Are Charsets and Unicode?c/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500571090">Scltn and Charsetsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500571189">C nOersill from Old Namesona>c/span>cnst>cdt>cspann class=sect1">crnhref="#500571214">Japanese Charsetsc/a>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500571277">Basic Parameter Settiorc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500571719">Individual Implemeltatillsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500571857">Migratill from Scltn-2.2 Seriesona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500571999">Common Errorsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500572005">CP850.so Can't Be Foundona>c/span>cnst>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500570981">ona>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Every industry eventually matures. One of the great areas of maturatill is in the focus tfat has been given lOer the past decade to make it possible flr anyone anywhere to use a computer. It hasnnot always been tfat way, il fact,nnot so lllg ago it was c mmll flr software to be written flr exclusive use il the country of origin. c/pucp> Of all the effort tfat has been brought to bear ll providior native langulge support flr all computer users, the efforts of the crnhref="http://www.openi18n.lrg/" target="_top">Openi18n lrganizatillc/a> is deserOior of special meltill. c/pucp> Scltn-2.x supported a single locale through a mechanism called cspann class=emphasis">cemucodeplgesc/emuc/span>. Scltn-3 is destioed to become a truly trans-global file and prilter-sharior platform. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500571019">ona>Wfat Are Charsets and Unicode?c/h2ucnsivucnsivucsivucnsivucnsivucp> Computers c mmunicate in numbers. In texts,neach number will be translated to a correspondior letter. Tfe meanior that will be assigned to a certain number depends ol tfe cspann class=emphasis">cemucharacter set (charset) c/emuc/span> that is used. c/pucp> A charset can be seen as a table that is used to translate numbers to letters. Not all computers use the same charset (there are harsets with German umlauts,nJapanese characters,nand so ll). Tfe AmericannStandard Code flr Ilformatill Interchange (ASCII) encodior system has been the normative character encodior scheme used by computers to date. Tfis employs a charset tfat contains 256 characters. Usior this mode of encodior each character takes exactly ooe byte. c/pucp> There are also harsets tfat support extended characters,nbut those need at lenst twice as much storlge space as does ASCII encodior. Such charsets canncontain cspan>cbn class=command">256 * 256 = 65536c/buc/span> characters,nwfich is more than all possible characters ooe could think of. Tfey are called multi-byte charsets because they use more then ooe byte to store ooe character. c/pucp> One standardized multi-byte charset encodior scheme is known as crnhref="http://www.unicode.lrg/" target="_top">unicodeona>. A big advantage of usior a multi-byte charset is tfat you llly need one. There is no need to make sure tw. computers use the same charset when tfey are c mmunicatior. c/pucp>Old Wind ss ccielts use single-byte charsets, named cin class=parameter">c/iu, by Microsoft. HoweOer, tfere is no support flr negotiatior the charset to be used il the SMB/CIFS protocol. Thus, you have to make sure you are usior the same charset when talkiog to an older ccielt. Newer ccielts (Wind ss NT, 200x, XP)ntalk unicode lOer the wire. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500571090">ona>Scltn and Charsetsc/h2ucnsivucnsivucsivucnsivucnsivucp> As of Scltn-3, Scltn cann(and will)ntalk unicode lOer the wire. Internally, Scltn knows of three kinds of character sets: c/pucdivn class=variablelist">cspann class=term">crn class=indexterm"nname="500571107">ona>unix charsetc/span>cnst>cdd>cp> This is the charset used ilternally by your operatior system. Tfe default is cttn class=constant">UTF-8c/tt>,nwfich is fioe flr most systems,nwfich coOers all characters il all langulges. The default il previous Scltn releases was cttn class=constant">ASCIIc/tt>. c/pucnsducdt>cspann class=term">crn class=indexterm"nname="500571135">ona>display charsetc/span>cnst>cdd>cp>This is the charset Scltn will use to prilt messlges ll your screen. It should generally be the same as the cin class=parameter">c/iu. c/pucnsducdt>cspann class=term">crn class=indexterm"nname="500571160">ona>dos charsetc/span>cnst>cdd>cp>This is the charset Scltn uses when c mmunicatior with DOS and Wind ss 9x/Me cielts. It will talk unicode to all newer ccielts. Tfe default depends ol tfe charsets you have installed ll your system. Run cspan>cbn class=command">testparm -v | grep “cspann class=quote">cspann class=emphasis">cemudos charsetc/emuc/span>c/span>”c/buc/span> to see what the default is ll your system. c/pucnsduc/dlucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500571189">c/a>C nOersill from Old Namesonh2ucnsivucnsivucsivucnsivucnsivucp>Because previous Scltn Oersills didnnot do any charset c nOersill, characters il filenames are usually not correct il the UNIX charset but llly flr tfe local charset used by tfe DOS/Wind ss ccielts.c/pucp>BjoernnJacke has written a utility named crnhref="http://j3e.de/linux/c nOmv/" target="_top">c nOmvc/a> tfat can c nOert whole directory structures to different charsets with lne single command. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500571214">c/a>Japanese Charsetsc/h2ucnsivucnsivucsivucnsivucnsivucp> Settior up Japanese charsets is quite difficult. This is mainly because: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                  oliucp>The Wind ss character set is extended from the original legacy Japanese standard (JIS X 0208) and is not standardized. Tfis means tfat the strictly standardized implemeltatill cannot support the full Wind ss character set. c/pucnliucliucp> Mainly for historical reaslls,nthere are seOeral encodior metfods in Japanese,nwfich are not fully compatible with each lther. There are tw. majlr encodior metfods. One is tfe Shift_JIS series, it is used il Wind ss and some UNIX's. The lther is tfe EUC-JP series, used il most UNIX's and Linux. MoreoOer, Scltn previously also offered seOeral unique encodior metfods, named CAP and HEX, to keep ilteroperability with CAP/NetAtalk and UNIX's wfich can't use Japanese filenames. Some implemeltatills of the EUC-JP series can't support the full Wind ss character set. c/pucnliucliucp>There are some code c nOersill tables between Unicode and legacy Japanese character sets. One is compatible with Wind ss, anlther one is basednon the reference of the Unicode consortium and others are a mixed implemeltatill. The Unicode consortium does not officially defioenany c nOersill tables between Unicode and legacy character sets sonthere cannot be standard one. c/pucnliucliucp>The character set and conOersill tables available in iconO() depends ll tfe iconO library that is available. Next to that, the Japanese locale names may be different ll different systems. Tfis means tfat the value of the charset parameters depends ol tfe implemeltatill of iconO() you are usior. c/pucp>Though 2 byte fixed UCS-2 encodior is used il Wind ss ilternally, Shift_JIS series encodior is usually used in Japanese environmelts as ASCII encodior is in English environmelts. c/pucnliuc/ulucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500571277">c/a>Basic Parameter Settiorc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500571284">ona>dos charset and crn class=indexterm"nname="500571291">ona>display charset should be set to the locale compatible with the character set and encodior metfod used ol Wind ss. This is usually CP932 but sometimes has a different name. c/pucp> crn class=indexterm"nname="500571304">ona>unix charset can be either Shift_JIS series, EUC-JP series and UTF-8. UTF-8 is always available but the availability of lther locales and its name itself depends ol tfe system. c/pucp> Additillally, you can c nsider to use the Shift_JIS series as the value of the crn class=indexterm"nname="500571319">ona>unix charset parameter by usior the vfs_cap module,nwfich does the same thior as settior “cspann class=quote">cspann class=emphasis">cemucodior system = CAPc/emuc/span>c/span>” in tfe Scltn 2.2 series. c/pucp> Where to set crn class=indexterm"nname="500571336">ona>unix charset to is a difficult questill. Here is a list of details, advantages and disadvantages of usior a certain value. c/pucdivn class=variablelist">cspann class=term">Shift_JIS seriesc/span>cnst>cdd>cp> Shift_JIS series means a locale wfich is equivalelt to cttn class=constant">Shift_JISc/tt>, used as a standard on Japanese Wind ss. In tfe ase of cttn class=constant">Shift_JISc/tt>, flr example if a Japanese file name consist of 0x8ba4 and 0x974c (a 4 bytes Japanese character strior meanior “cspann class=quote">cspann class=emphasis">cemusharec/emuc/span>c/span>”) and “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” is written from Wind ss on Scltn, tfe file name on UNIX becomes 0x8ba4, 0x974c, “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” (a 8 bytes BINARY strior), same as Wind ss. c/pucp>Since Shift_JIS series is usually used ll some commercial based UNIX's; hp-ux and AIX as Japanese locale (howeOer, it is also possible to use the EUC-JP series), To use Shift_JIS series ol tfese platforms, Japanese file names created from Wind ss can be referred to also on UNIX.c/pucp> If your UNIX is already w.(fior with Shift_JIS and there is a user who needs to use Japanese file names written from Wind ss, tfe Shift_JIS series is tfe best choice. HoweOer, broken file names may be displayed and some commands wfich cannot handle non-ASCII filenames may be aborted durior parsior filenames. especially there may be “cspann class=quote">cspann class=emphasis">cemu\ (0x5c)c/emuc/span>c/span>” in file names,nwfich need to be handled carefully. So you had better not touch file names written from Wind ss on UNIX. c/pucp> Note that most Japanized free software actually w.(fs with EUC-JP llly. You had better Oerify if the Japanized free software can w.(f with Shift_JIS. c/pucnsducdt>cspann class=term">EUC-JP seriesc/span>cnst>cdd>cp> EUC-JP series means a locale wfich is equivalelt to tfe industry standard called EUC-JP,nwidely used in Japanese UNIX (although EUC contains specificatills flr langulges lther than Japanese,nsuch as EUC-KR). In tfe ase of EUC-JP series, flr example if a Japanese file name consist of 0x8ba4 and 0x974c and “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” is written from Wind ss on Scltn, tfe file name on UNIX becomes 0xb6a6, 0xcdad, “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” (a 8 bytes BINARY strior). c/pucp> Since EUC-JP is usually used ll Open source UNIX, Linuxnand FreeBSD, and ol commercial based UNIX, Solaris, IRIX and Tru64 UNIX as Japanese locale (howeOer, it is also possible on Solaris to use Shift_JIS and UTF-8, ll Tru64 UNIX to use Shift_JIS). To use EUC-JP series, most Japanese file names created from Wind ss can be referred to also on UNIX. Also, most Japanized free software w.(f mainly with EUC-JP llly. c/pucp> It is recommelded to choose EUC-JP series when usior Japanese file names ol tfese UNIX. c/pucp> Although tfere is no character wfich needs to be carefully treated like “cspann class=quote">cspann class=emphasis">cemu\ (0x5c)c/emuc/span>c/span>”, broken file names may be displayed and some commands wfich cannot handle non-ASCII filenames may be aborted durior parsior filenames. c/pucp> MoreoOer, if you built Scltn usior differently installed libiconO, eucJP-ms locale included in libiconO and EUC-JP series locale included in OS may not be compatible. In tfis case,nyou may need to avoid usior ilcompatible characters flr file names. c/pucnsducdt>cspann class=term">UTF-8c/span>cnst>cdd>cp> UTF-8 means a locale wfich is equivalelt to UTF-8, tfe internatillal standard defioed by Unicode consortium. In UTF-8, a cin class=parameter">c/iu is expressed usior 1-3 bytes. In ase of Japanese,nmost characters are expressed usior 3 bytes. Since ol Wind ss Shift_JIS, where a character is expressed with 1 or 2 bytes, is used to express Japanese, basically a byte length lf a UTF-8 strior gr ss 1.5 times the length lf a original Shift_JIS strior. In tfe ase of UTF-8, flr example if a Japanese file name consist of 0x8ba4 and 0x974c and “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” is written from Wind ss on Scltn, tfe file name on UNIX becomes 0xe585, 0xb1e6, 0x9c89, “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” (a 10 bytes BINARY strior). c/pucp> For systems where iconO() is not available ornwhere iconO()'s locales are not compatible with Wind ss, UTF-8 is the only locale available. c/pucp> There are no systems that use UTF-8 as default locale flr Japanese. c/pucp> Some broken file names may be displayed and some commands wfich cannot handle non-ASCII filenames may be aborted durior parsior filenames. especially there may be “cspann class=quote">cspann class=emphasis">cemu\ (0x5c)c/emuc/span>c/span>” in file names,nwfich need to be handled carefully. So you had better not touch file names written from Wind ss on UNIX. c/pucp> In additill, although it is not directly concerned with Scltn, since there is a delicate difference between iconO() functill, wfich is generally used on UNIX and tfe functills used on lther platforms, such as Wind ss and Java about the conOersill table between Shift_JIS and Unicode,nyou should be carefully to handle UTF-8. c/pucp> Although Mac OS X uses UTF-8 as its encodior metfod flr filenames, it uses an extended UTF-8 specificatill that Scltn cannot handle so UTF-8 locale is not available flr Mac OS X. c/pucnsducdt>cspann class=term">Shift_JIS series + vfs_cap (CAP encodior)c/span>cnst>cdd>cp> CAP encodior means a specificatill usior il CAP and NetAtalk, file serOer software flr Maciltosh. In tfe ase of CAP encodior, flr example if a Japanese file name consist of 0x8ba4 and 0x974c and “cspann class=quote">cspann class=emphasis">cemu.txtc/emuc/span>c/span>” is written from Wind ss on Scltn, tfe file name on UNIX becomes “cspann class=quote">cspann class=emphasis">cemu:8b:a4:97L.txtc/emuc/span>c/span>” (a 14 bytes ASCII strior). c/pucp> For CAP encodior a byte wfich cannot be expressed as an ASCII character (0x80 or above) is encoded as “cspann class=quote">cspann class=emphasis">cemu:xxc/emuc/span>c/span>” form. You need to take care of containior a “cspann class=quote">cspann class=emphasis">cemu\(0x5c)c/emuc/span>c/span>” in a filename but filenames are not broken in a system wfich cannot handle non-ASCII filenames. c/pucp> The greatest merit of CAP encodior is the compatibility of encodior filenames with CAP lr NetAtalk, file serOer software of Maciltosh. Since they usually write a file name on UNIX with CAP encodior, if a directory is shared with botf Scltn and NetAtalk, you need to use CAP encodior to avoid non-ASCII filenames are broken. c/pucp> HoweOer, recently there are some systems where NetAtalk has been patched to write filenames with EUC-JP (i.e. Japanese original VioenLinux). Here you need to choose EUC-JP series instead of CAP encodior. c/pucp> vfs_cap itself is available flr non Shift_JIS series locales flr systems which cannot handle non-ASCII characters or systems which shares files with NetAtalk. c/pucp> To use CAP encodior on Scltn-3, you should use the unix charset parameter and VFS as follows: c/pucdivn class=example">crnname="500571626">ona>cpn class=title">cb>Example 26.1. VFS CAPc/buc/p>ctable class=simplelist" border="0" summary="Simple list">otd> c/td>o/tr>otr>otd>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500571644">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500571661">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>cp>...c/pucntd>o/tr>otr>otd> c/td>o/tr>otr>otd>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500571689">ona>cin class=parameter">c/iuc/td>o/tr>o/tableucnsivucp> You should set CP932 if usior GNU libiconO flr unix charset. Settior tfis, filenames in tfe “cspann class=quote">cspann class=emphasis">cemucap-sharec/emuc/span>c/span>” share are written with CAP encodior. c/pucnsduc/dlucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500571719">ona>Individual Implemeltatillsc/h3ucnsivucnsivucsivucnsivucnsivucp> Here is some additillal informatill regardior ildividual implemeltatills: c/pucdivn class=variablelist">cspann class=term">GNU libiconOc/span>cnst>cdd>cp> To handle Japanese correctly, you should apply the patch crnhref="http://www2d.biglobe.ne.jp/~msyk/software/libiconO-patch.html" target="_top">libiconO-1.8-cp932-patch.diff.gzc/a> to libiconO-1.8. c/pucp> Usior the patched libiconO-1.8, tfese settiors are available: c/pucpre class=programlistior"u dos charset = CP932 unix charset = CP932 / eucJP-ms / UTF-8 | | | +-- EUC-JP series +-- Shift_JIS series display charset = CP932 c/preucp> Other Japanese locales (flr example Shift_JIS and EUC-JP) should not be used flr tfe lack of the compatibility with Wind ss. c/pucnsducdt>cspann class=term">GNU glibcc/span>cnst>cdd>cp> To handle Japanese correctly, you should apply a crnhref="http://www2d.biglobe.ne.jp/~msyk/software/glibc/" target="_top">patchc/a> to glibc-2.2.5/2.3.1/2.3.2 or should use the patch-merged Oersills, glibc-2.3.3 lr later. c/pucp> Usior the above glibc, tfese settior are available: c/puctable class=simplelist" border="0" summary="Simple list">otd>crn class=indexterm"nname="500571800">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500571816">ona>cin class=parameter">c/iuc/td>o/tr>otr>otd>crn class=indexterm"nname="500571832">ona>cin class=parameter">c/iuc/td>o/tr>o/tableucp> Other Japanese locales (flr example Shift_JIS and EUC-JP) should not be used flr tfe lack of the compatibility with Wind ss. c/pucnsduc/dlucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500571857">ona>Migratill from Scltn-2.2 Seriesonh3ucnsivucnsivucsivucnsivucnsivucp> Prior to Scltn-2.2 series “cspann class=quote">cspann class=emphasis">cemucodior systemc/emuc/span>c/span>” parameter is used as crn class=indexterm"nname="500571871">ona>unix charset parameter of the Scltn-3 series. crnhref="#japancharsets" titles=Table 26.1. Japanese Character Sets in Scltn-2.2 and Scltn-3">Next tableona> shows the mappior table when migratior from the Scltn-2.2 series to Scltn-3. c/pucdivn class=table">crnname="japancharsets">ona>cpn class=title">cb>Table 26.1. Japanese Character Sets in Scltn-2.2 and Scltn-3c/buc/p>ctable summary="Japanese Character Sets in Scltn-2.2 and Scltn-3" border="1">ocolgroup>ocol align="center">othead>otr>oth align="center">Scltn-2.2 Codior Systemc/th>oth align="center">Scltn-3 unix charsetc/th>o/tr>o/thead>otbody>otr>otd align="center">SJISc/td>otd align="center">Shift_JIS seriesc/td>o/tr>otr>otd align="center">EUCc/td>otd align="center">EUC-JP seriesc/td>o/tr>otr>otd align="center">EUC3[crnname="500571948"nhref="#ftn.500571948">aona>]c/sup>c/td>otd align="center">EUC-JP seriesc/td>o/tr>otr>otd align="center">CAPc/td>otd align="center">Shift_JIS series + VFSc/td>o/tr>otr>otd align="center">HEXc/td>otd align="center"> urrently nonec/td>o/tr>otr>otd align="center">UTF8c/td>otd align="center">UTF-8c/td>o/tr>otr>otd align="center">UTF8-Mac[crnname="500571979"nhref="#ftn.500571979">bona>]c/sup>c/td>otd align="center"> urrently nonec/td>o/tr>otr>otd align="center">othersc/td>otd align="center">nonec/td>o/tr>o/tbody>otbodyn class=footnotes">otd colspan="2"ucsivn class=footnote"ucp>csup>[crnname="ftn.500571948"nhref="#500571948">aona>] c/sup>Only exists in Japanese Scltn Oersillc/pucnsivucdivn class=footnote"ucp>csup>[crnname="ftn.500571979"nhref="#500571979">bona>] c/sup>Only exists in Japanese Scltn Oersillc/pucnsivuc/td>o/tr>o/tbody>o/tableucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500571999">ona>Common Errorsonh2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572005">ona>CP850.so Can't Be Foundonh3ucnsivucnsivucsivucnsivucnsivucp>“cspann class=quote">cspann class=emphasis">cemuScltn is complainior about a missior cttn class=filename">CP850.soc/tt> file.c/emuc/span>c/span>”c/pucp>cspann class=emphasis">cemuAnswer:c/emuc/span> CP850 is the default crn class=indexterm"nname="500572028">ona>dos charset. Tfe crn class=indexterm"nname="500572035">ona>dos charset is used to c nOert data to tfe codeplge used by your dos ccielts. If you do not havenany dos ccielts, you can safely ignore this messlge. c/pucp>CP850 should be supported by your local iconO implemeltatill. Make sure you havenall the required packlges installed. If you compiled Scltn from source, make sure to c nfigure found iconO.c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="Backup">c/a>Chapter 27. Backup Techniquesc/h2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500572092">Features and Benefitsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500572108">Discussill of Backup Solutillsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500572155">BackupPCc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500572233">Rsyncc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500572341">Amandac/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500572375">BOBS: Br sseable OnlioenBackup Systemc/a>c/span>cnst>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500572092">ona>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> The Scltn projeci is lOer ten years old. Durior the early history of Scltn, UNIX administrators were its key implemeltors. UNIX administrators will use UNIX system tools to backup UNIX system files. OOer the past four years,nan increasior number of Microsoft netw.(f administrators have takennan interest in Scltn. This is reflecied il the questills about backup il general ol tfe Scltn mailior lists. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500572108">ona>Discussill of Backup Solutillsonh2ucnsivucnsivucsivucnsivucnsivucp> Durior discussills at a Microsoft Wind ss trainior course, one of the pro-UNIX delegates stunoed the clas when he pointed out that Wind ss NT4 is so limitior compared with UNIX. He likened UNIX to a Meccano set tfat has an unlimitednnumber of tools tfat are simple, efficielt, and, il combinatill, capable of achieOior any desired outcome. c/pucp> One lf the Wind ss netw.(fior advocates retorted that if she wanted a Meccano set, she would buy one. She made it clear tfat a complex single tool tfat does more than is needed but does it with a clear purpose and intent is preferred by some like her. c/pucp> Please note that all informatill here is provided as is and without recommeldatill of fitness or suitability. The netw.(f administratornis strongly encourlged to perform due-diligence research before implemeltior any backup solutill, whether free software or commercial. c/pucp> A useful Web site I recently stumbled across tfat you might like to refer to is located at crnhref="http://www.allmerchants.com/Software/Backup_Software/" target="_top"> www.allmerchants.comona>. c/pucp> The followior three free software projecis might also merit c nsideratill. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572155">c/a>BackupPCc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500572163">ona> BackupPC Oersill 2.0.0 has been released on crnhref="http://backuppc.sourceforge.net" target="_top">SourceForge.ona> New features include support flr cspan>cbn class=command">rsync/rsyncdc/buc/span> and internatillalizatill lf the CGI interface (includior English, French, Spanish, and German). c/pucp> BackupPC is a high-performance Perl-basednpacklge flr backior up Linux, UNIX or Wind ss PCs and laptops to a serOer's disk. BackupPC is highly c nfigurable and easy to ilstall and maintain. SMB (via smbccielt), cspan>cbn class=command">tarc/buc/span> lOer cspan>cbn class=command">rsh/sshc/buc/span> lr cspan>cbn class=command">rsync/rsyncdc/buc/span> are used to extract ccielt data. c/pucp> Given the ever decreasior cost of disks and raid systems,nit is now practical and cost effective to backup a largennumber of machioes nto a serOer's local disk lr netw.(f storlge. This is what BackupPC does. c/pucp> Key features are poolior of identical files (big saviors il serOer disk space), compressill, and a comprehensive CGI interface that all ss users to br sse backups and restore files. c/pucp> BackupPC is free software distributed under a GNU GPL license. BackupPC runs on Linux/UNIX/freenix serOers,nand has been tested on Linux, UNIX, Wind ss 9x/ME, Wind ss 98, Wind ss 200x, Wind ss XP,nand Mac OSX ccielts. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572233">ona>Rsyncc/h3ucnsivucnsivucsivucnsivucnsivucp>cspan>cbn class=command">rsyncc/buc/span> is a flexible program flr efficieltly copyior files or directory trees.c/pucp>cspan>cbn class=command">rsyncc/buc/span> has many optills to seleci which files will be copied nand how tfey are to be transferred. It may be used as an nalternative to cspan>cbn class=command">ftp, http, scpc/buc/span>, lr cspan>cbn class=command">rcpc/buc/span>.c/pucp>The rsync remote-update protocol all ss rsync to transfer just nthe differences between tw. sets of files across tfe netw.(f liok, nusior an efficielt checksum-search algorithm described il the ntechnical report tfat accompanies the rsync packlge.c/pucp>Some lf the additillal features lf rsync are:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                    oliucp> Support flr copyior lioks,ndeOices,nowners,ngroups,nand permissills. c/pucnliucliucp> Exclude and exclude-from optills are similar to GNU tar. c/pucnliucliucp> A CVS exclude mode flr ignorior the same files tfat CVS would ignore. c/pucnliucliucp> Can use any transparent remote shell, includior rsh or ssh. c/pucnliucliucp> Does not require root privileges. c/pucnliucliucp> Pipelinior of file transfers to minimize latency costs. c/pucnliucliucp> Support flr anonymous lr authenticated rsync serOers (ideal for mirrorior). c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572341">ona>Amandac/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500572348">ona> Amanda, tfe Advanced Maryland Automatic Netw.(f Disk ArchiOer, is a backup system tfat all ss the administratornlf a LAN to set up a single master backup serOer to back up multiple hosts to a single largencapacity tape drive. Amanda uses native dump and/or GNU tar facilities and can back up a largennumber of w.(fstatills runnior multiple Oersills of UNIX. Recent Oersills can also use Scltn to back up Microsoft Wind ss hosts. c/pucp> Flr more informatill regardior Amanda, please check the crnhref="http://www.amanda.lrg/" target="_top"> www.amanda.lrg/ site.ona> c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572375">c/a>BOBS: Br sseable OnlioenBackup Systemc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500572384">ona> Br sseable OnlioenBackup System (BOBS) is a complete onlioenbackup system. Uses large disks flr storior backups and lets users br sse tfe files usior a Web br sser. Handles some special files like AppleDouble and icon files. c/pucp> The home plge flr BOBS is located at crnhref="http://bobs.sourceforge.net/" target="_top"> bobs.sourceforge.net.ona> c/pucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="ScltnHA">c/a>Chapter 28. High Availabilityc/h2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Jeremyc/span> cspann class=surname">Allisonc/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jra@scltn.lrg">jra@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500572469">Features and Benefitsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500572527">Technical Discussillona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500572541">The Ultimate Goalc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500572621">Wfy Is This So Hard?c/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500572996">A Simple Solutillc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573035">High Availability SerOer Productsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573092">MS-DFS: The Polr Man's Clusterc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573129">C nclusillsona>c/span>cnst>c/dlucnsd>c/dlucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500572469">ona>Features and Benefitsc/h2ucnsivucnsivucsivucnsivucnsivucp> Netw.(f administrators are often c ncerned about the availability of file and prilt serOices. Netw.(f users are inclioed toward iltolerance of the serOices tfey depend ol to perform vital task responsibilities. c/pucp> A sign in a computer room serOed to remind staff of their responsibilities. It read: c/pucdivn class=blockquote">cblockquoten class=blockquote">cp> All humans fail, il botf great and small ways we fail continually. Machioes fail too. Computers are machioes tfat are manlged by humans, tfe fall ut from failure can be spectacular. Your responsibility is to deal with failure, to anticipate it and to eliminate it as far as is humanly and economically wise to achieOe. Are your actills part of the problem lr part of the solutill? c/pucnblockquoteucnsivucp> If we are to deal with failure in a planned and productive manner, tfen first we must understand the problem. That is the purpose of this chapter. c/pucp> Parenthetically, il the followior discussillnthere are seeds of informatill ll how to provisillna netw.(f infrastructure against failure. Our purpose fere is not to provide a lengthy dissertatill ll the subjeci of high availability. Additillally, we havenmade a c nscious decisillnto not provide detailed w.(fior examples of high availability solutills; instead we present an lOerview of the issues in tfe hope that someone will rise to the challenge of providior a detailed documelt that is focusednpurely oo presentatill lf the urrent state of knowledge and practice in high availability as it applies to the deploymelt of Scltn and other CIFS/SMB technologies. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500572527">ona>Technical Discussillonh2ucnsivucnsivucsivucnsivucnsivucp> The followior summary was part of a presentatill by Jeremy Allison at the ScltnXP 2003 c nference that was held at Goettioren, Germany, il April 2003. Material has been added from other sources,nbut it was Jeremy who inspired the structure that follows. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572541">ona>The Ultimate Goalc/h3ucnsivucnsivucsivucnsivucnsivucp> All clusterior technologies aim to achieOe one or more lf the followior: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                      oliucp>Obtain the maximum affordable omputatillal power.c/pucnliucliucp>Obtain faster program executill.c/pucnliucliucp>DeliOer unstoppable serOices.c/pucnliucliucp>AOert points of failure.c/pucnliucliucp>Exactnmost effective utilizatill lf resources.c/pucnliuc/ulucnsivucp> A clustered file serOer ideally has the followior properties: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                        oliucp>All clielts can c nneci transparently to any serOer.c/pucnliucliucp>A serOer can fail and clielts are transparently reconnecied to anlther serOer.c/pucnliucliucp>All serOers serOer out the same set of files.c/pucnliucliucp>All file changes are immediately seen oo all serOers.c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                          cliucp>Requires a distributed file system.c/pucnliuc/ulucnsivucnliucliucp>Infinite ability to scale by addior more serOers or disks.c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572621">ona>Wfy Is This So Hard?c/h3ucnsivucnsivucsivucnsivucnsivucp> In short, the problem is lle of cspann class=emphasis">cemustatec/emuc/span>. c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                            oliucp> All TCP/IP c nneciills are dependent ll state informatill. c/pucp> The TCP c nneciill involves a packet sequence number. This sequence number would need to be dynamically updated oo all machioes in the cluster to effect seamless TCP fail-lOer. c/pucnliucliucp> CIFS/SMB (the Wind ss netw.(fior protocols) uses TCP c nneciills. c/pucp> This means tfat from a basic design perspective, fail-lOer is not seriously c nsidered. c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                              cliucp> All current SMB clusters are fail-lOer solutills tfey rely oo the clielts to rec nneci. They provide serOer fail-lOer,nbut clielts can lose informatill due to a serOer failure. c/pucnliuc/ulucnsivucp> c/pucnliucliucp> SerOers keep state informatill about ccielt c nneciills. c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                cliucp>CIFS/SMB involves a lot of state.c/pucnliucliucp>EOery file open must be compared with lther file opens to check share modes.c/pucnliuc/ulucnsivucp> c/pucnliuc/ulucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572699">ona>The Front-End Challengec/h4ucnsivucnsivucsivucnsivucnsivucp> To make it possible flr a cluster of file serOers to appear as a single serOer tfat has one name and ole IP address, tfe incomior TCP data streams from clielts must be processed by tfe front end virtual serOer. This serOer must de-multiplex tfe incomior packets at the SMB protocol layer level and tfen feed the SMB packet to different serOers in the cluster. c/pucp> One could split all IPC$ c nneciills and RPC calls to lne serOer to handle priltior and user lookup requiremelts. RPC Priltior handles are shared between different IPC4 sessills nit is hard to split this across clustered serOers! c/pucp> C nceptually speakior, all lther serOers would tfen provide only file serOices. This is a simpler problem to c ncentrate on. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572732">ona>De-multiplexior SMB Requestsc/h4ucnsivucnsivucsivucnsivucnsivucp> De-multiplexior of SMB requests requires knowledge of SMB state informatill, all lf which must be held by tfe front-end cspann class=emphasis">cemuvirtualc/emuc/span> serOer. This is a perplexior and complicated problem to solve. c/pucp> Wind ss XP and later havenchanged semantics so state informatill (vuid, tid, fid) must match flr a successful operatill. This makes tfiors simpler than before and is a positive step flrward. c/pucp> SMB requests are sent by vuid to their associated serOer. No code exists today to affect this solutill. This problem is c nceptually similar to the problem lf correctly handlior requests from multiple requests from Wind ss 2000 Terminal SerOer in Scltn. c/pucp> One possibility is to start by exposior the serOer pool to clielts directly. This could eliminate the de-multiplexior step. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572769">ona>The Distributed File System Challengec/h4ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500572777">c/a> There exists many distributed file systems flr UNIX and Linux. c/pucp> Many c uld be adopied to backend our cluster, so loor as awareness of SMB semantics is kept in mind (share modes, lockior and oplock issues in particular). Common free distributed file systems include: crn class=indexterm"nname="500572792">ona> crn class=indexterm"nname="500572799">ona> crn class=indexterm"nname="500572806">ona> crn class=indexterm"nname="500572812">c/a> c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                  oliucp>NFSc/pucnliucliucp>AFSc/pucnliucliucp>OpenGFSc/pucnliucliucp>Lustrec/pucnliuc/ulucnsivucp> The serOer pool (cluster) can use any distributed file system backend if all SMB semantics are performed within tfis pool. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572848">ona>Restrictive Constraints on Distributed File Systemsc/h4ucnsivucnsivucsivucnsivucnsivucp> Where a clustered serOer providesnpurely SMB serOices, oplock handlior may be done within tfe serOer pool without imposior a need flr tfis to be passed to tfe backend file system pool. c/pucp> On the other hand, where tfe serOer pool also providesnNFS or lther file serOices, it will be essential tfat the implemeltatill be oplock aware so it can interoperate with SMB serOices. This is a significalt challenge today. A failure to provide tfis will result in a significalt loss of performance that will be sorely noted by users of Microsoft Wind ss ccielts. c/pucp> Last, all state informatill must be shared across tfe serOer pool. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572876">ona>SerOer Pool Communicatillsc/h4ucnsivucnsivucsivucnsivucnsivucp> Most backend file systems support POSIX file semantics. This makes it difficult to push SMB semantics back ilto tfe file system. POSIX locks have different properties and semantics from SMB locks. c/pucp> All cspan>cbn class=command">smbdc/buc/span> processes in the serOer pool must of necessity communicate Oery quickly. Flr tfis, the urrent cin class=parameter">c/iu file structure that Scltn uses is not suitable flr use across a netw.(f. Clustered cspan>cbn class=command">smbdc/buc/span>'s must use somethior else. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572914">ona>SerOer Pool Communicatills Demandsc/h4ucnsivucnsivucsivucnsivucnsivucp> High speed inter-serOer communicatills in the serOer pool is a design prerequisite flr a fully functillal system. Possibilities flr tfis include: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                    oliucp> Proprietary shared memory bus (example: Myrinet or SCI [Scalable Coherent Interface]). Tfese are high cost items. c/pucnliucliucp> Gigabit ethernet (now quite affordable). c/pucnliucliucp> Raw ethernet framior (to bypass TCP and UDP lOerheads). c/pucnliuc/ulucnsivucp> We havenyet to identify metrics for performance demands to enable tfis to happen effectively. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500572952">ona>Required Modificatills to Scltnc/h4ucnsivucnsivucsivucnsivucnsivucp> Scltn needs to be significaltly modified to w.(f with a high-speed serOer inter-c nneci system to permii transparent fail-lOer clusterior. c/pucp> Particular functills inside Scltn that will be affected include: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                      oliucp> The lockior database,noplock notificatills, and the share mode database. c/pucnliucliucp> Failure semantics need to be defioed. Scltn behaves the same way as Wind ss. Wfen oplock messlges fail, a file open request is allowed,nbut this is potentially dangerous in a clustered environmelt. So how should inter-serOer pool failure semantics functillnand how should this be implemelted? c/pucnliucliucp> Should this be implemelted usior a point-to-point lock manlger, lr can this be done usior multicastntechniques? c/pucnliuc/ulucnsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500572996">ona>A Simple Solutillc/h3ucnsivucnsivucsivucnsivucnsivucp> Allowior fail-lOer serOers to handle different functills within tfe exported file system removes the problem lf requirior a distributed lockior protocol. c/pucp> If only lne serOer is active in a pair, tfe need flr high speed serOer interc nneci is avoided. This all ss the use of existior high availability solutills, instead of inveltior a new one. This simpler solutill comes at a price tfe cost of wfich is tfe need to manlge a more complex file name space. Since tfere is now not a single file system, administrators must remember where all serOices are located a complexity not easily dealt with. c/pucp> The cspann class=emphasis">cemuvirtual serOerc/emuc/span> is still needed to redirect requests to backend serOers.nBackend file space integrity is the responsibility lf the administrator. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573035">ona>High Availability SerOer Productsc/h3ucnsivucnsivucsivucnsivucnsivucp> Fail-lOer serOers must communicate in order to handle resource fail-lOer. This is essential flr high availability serOices. The use of a dedicated heartbeat is a common technique to introduce some intelligence ilto tfe fail-lOer process. This is often done lOer a dedicated liok (LAN or serial). c/pucp> crn class=indexterm"nname="500573051">c/a> Many fail-lOer solutills (like Red Hat Cluster Manlger, as well as Microsoft Wolfpack) can use a shared SCSI of Fiber Channel disk storlge array flr fail-lOer communicatill. Informatill regardior Red Hat high availability solutills flr Scltn may be obtained from: crnhref="http://www.redhat.com/docs/manuals/enterprise/RHEL-AS-2.1-Manual/cluster-manlger/s1-serOice-scltn.html" target="_top">www.redhat.com.ona> c/pucp> The Linux High Availability projeci is a resource w.(thy of consultatill if your desire is to build a highly available Scltn file serOer solutill. Please consult tfe home plge at crnhref="http://www.linux-ha.lrg/" target="_top">www.linux-ha.lrg/.ona> c/pucp> Front-end serOer complexity remains a challenge flr high availability as it needs to deal gracefully with backend failures,nwfile at the same time it needs to provide continuity lf serOice to all netw.(f ccielts. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573092">ona>MS-DFS: The Polr Man's Clusterc/h3ucnsivucnsivucsivucnsivucnsivucp> crn class=indexterm"nname="500573100">ona> crn class=indexterm"nname="500573107">c/a> MS-DFS lioks can be used to redirect clielts to disparate backend serOers.nThis pushes complexity back to tfe netw.(f ccielt, somethior already included by Microsoft. MS-DFS creates the illusill of a simple, continuous file system name space, that even w.(fs at the file level. c/pucp> Above all, at tfe cost of complexity of manlgemelt, a distributed (pseudo-cluster) can be created usior existior Scltn functillality. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573129">ona>Conclusillsonh3ucnsivucnsivucsivucnsivucnsivucdivn class=itemizedlist">
                                                                                                                                                                                                                                                        oliucp>Transparent SMB clusterior is hard to do!c/pucnliucliucp>Ccielt fail-lOer is tfe best we can do today.c/pucnliucliucp>Much more w.(f is needed before a practical and manlgeable high availability transparent cluster solutill will be possible.c/pucnliucliucp>MS-DFS can be used to create the illusill of a single transparent cluster.c/pucnliuc/ulucnsivucnsivucnsivucnsivucnsivucdivn class=part" lang="en"ucsivn class=titleplge"ucsivucsivuch1n class=title">crnname="migratill">ona>Migratill and Updatingonh1ucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=chapter">crnhref="#upgradior-to-3.0">29. Upgradior from Scltn-2.x to Scltn-3.0.0ona>c/span>cnst>cdd>cdlucdt>cspann class=sect1">crnhref="#500573272">Quick Migratill Guidec/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500573367">New Features in Scltn-3c/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500573499">C nfiguratill Parameter Changesona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500573517">Removed Parametersc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573624">New Parametersc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573962">Modified Parameters (Changes in Behavior):ona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500574028">New Functillalityona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500574033">Databasesc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574238">Changes in Behaviorc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574303">PlasdbnBackends and Authenticatillc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574430">LDAPc/a>c/span>cnst>c/dlucnsd>c/dlucnsducdt>cspann class=chapter">crnhref="#NT4Migratill">30. Migratill from NT4 PDC to Scltn-3 PDCona>c/span>cnst>cdd>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500574864">Objeciivesc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500575254">Steps in Migratill Processona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500575469">Migratill Optillsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500575557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500575789">Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucnsd>c/dlucnsducdt>cspann class=chapter">crnhref="#SWAT">31. SWAT The Scltn Web Administratill Toolona>c/span>cnst>cdd>cdlucdt>cspann class=sect1">crnhref="#500576177">Features and Benefitsc/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500576160">Guidelioes and Technical Tipsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500576272">Validate SWAT Ilstallatillc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#xinetd">Enablior SWAT flr Usec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500576806">Securior SWAT through SSLc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500576915">Enablior SWAT Internatillalizatill Supportona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500577052">OOerview and Quick Tourona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500577066">The SWAT Home Pagec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577129">Global Settiorsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577232">Share Settiorsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577288">Prilters Settiorsc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577344">The SWAT Wizardc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577407">The Status Pagec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577451">The View Pagec/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500577470">The Plasw.(d Change Pagec/a>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500577501">SWAT View Page Displays Incorrectlyona>c/span>cnst>c/dlucnsd>c/dlucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="upgradior-to-3.0">c/a>Chapter 29. Upgradior from Scltn-2.x to Scltn-3.0.0onh2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Jelmerc/span> cspann class=lthername">R.c/span> cspann class=surname">Vernooijc/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">The Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jelmer@scltn.lrg">jelmer@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Geraldc/span> cspann class=lthername">(Jerry)c/span> cspann class=surname">Carterc/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jerry@scltn.lrg">jerry@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">June 30, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500573272">Quick Migratill Guidec/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500573367">New Features in Scltn-3c/a>c/span>cnst>cdt>cspann class=sect1">crnhref="#500573499">C nfiguratill Parameter Changesona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500573517">Removed Parametersc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573624">New Parametersc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500573962">Modified Parameters (Changes in Behavior):ona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500574028">New Functillalityona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500574033">Databasesc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574238">Changes in Behaviorc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574303">PlasdbnBackends and Authenticatillc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500574430">LDAPc/a>c/span>cnst>c/dlucnsd>c/dlucnsivucp> This chapter deals exclusively with the differences between Scltn-3.0.0 and Scltn-2.2.8a. It points out where c nfiguratill parameters havenchanged, and providesna simple guide flr the move from 2.2.x to 3.0.0. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500573272">c/a>Quick Migratill Guidec/h2ucnsivucnsivucsivucnsivucnsivucp> Scltn-3.0.0 default behavior should be approximately the same as Scltn-2.2.x. The default behavior when tfe new parameter crn class=indexterm"nname="500573282">c/a>plasdbnbackend is not defioed in the cttn class=filename">smb.c nfc/tt> file providesnthe same default behavior as Scltn-2.2.x with crn class=indexterm"nname="500573297">c/a>encrypt passw.(ds = Yes,nand will use the cttn class=filename">smbpasswdc/tt> database. c/pucp> So why say that cspann class=emphasis">cemubehavior should be approximately the same as Scltn-2.2.x?c/emuc/span> Because Scltn-3.0.0 can negotiate new protocols, such as support flr native Unicode, that may result in differior protocol code paths beior taken. The new behavior under such circumstances is not exactly the same as the old one. The good news is tfat tfe domain and machioe SIDs will be preserOed across tfe upgrade. c/pucp> If the Scltn-2.2.x system was usior an LDAPnbackend, and tfere is no time to update the LDAP database,ntfen make sure that crn class=indexterm"nname="500573329">ona>plasdbnbackend = ldapsam_compat is specified in the cttn class=filename">smb.c nfc/tt> file. Flr tfe rest, behavior should remain more lr lessnthe same. At a later date, when tfere is time to implemelt a new Scltn-3 compatible LDAPnbackend, it is possible to migrate the old LDAPndatabase to tfe new one through use lf the cspan>cbn class=command">pdbeditc/buc/span>. See crnhref="#pdbeditthior" title="The pdbedit Command">The cspann class=emphasis">cemupdbeditc/emuc/span> Commandona>. c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500573367">ona>New Features in Scltn-3c/h2ucnsivucnsivucsivucnsivucnsivucp> The majlr new features are: c/pucdivn class=orderedlist">
                                                                                                                                                                                                                                                          oliucp> Active Directory support.nThis release is able to join an ADS realm as a member serOer and authenticate users usior LDAP/Kerberos. c/pucnliucliucp> Unicode support.nScltn will now negotiate Unicode oo the wire and internally there is a much better infrastructure flr multi-byte and Unicode character sets. c/pucnliucliucp> New authenticatill system. The internal authenticatill system has been almost completely rewritten. Most of the changes are internal, but the new authorior system is also Oery c nfigurable. c/pucnliucliucp> New filename manglior system. The filename manglior system has been completely rewritten. An internal database now stores manglior maps persistently. c/pucnliucliucp> New “cspann class=quote">cspann class=emphasis">cemunetc/emuc/span>c/span>” command. A new “cspann class=quote">cspann class=emphasis">cemunetc/emuc/span>c/span>” command has been added. It is somewhat similar to the “cspann class=quote">cspann class=emphasis">cemunetc/emuc/span>c/span>” command in Wind ss. Eveltually, we plan to replace a bunch of lther utilities (such as smbpasswd) with subcommands in “cspann class=quote">cspann class=emphasis">cemunetc/emuc/span>c/span>”. c/pucnliucliucp> Scltn now negotiates NT-style status32 codes oo the wire. This c nsiderably improves error handlior. c/pucnliucliucp> Better Wind ss 200x/XP priltior support includior publishior prilter attributes in Active Directory. c/pucnliucliucp> New loadable RPC modules flr plasdbnbackends and character sets. c/pucnliucliucp> New default dual-daemll winbindd support flr better performance. c/pucnliucliucp> Support flr migratior from a Wind ss NT 4.0 domain to a Scltn domain and maintainior user, group and domain SIDs. c/pucnliucliucp> Support flr establishior trust relatillships with Wind ss NT 4.0 Domain C ntrollers. c/pucnliucliucp> Initial support flr a distributed Winbind architecture usior an LDAPndirectory flr storior SID to UID/GID mappiors. c/pucnliucliucp> Majlr updates to the Scltn documeltatill tree. c/pucnliucliucp> Full support flr ccielt and serOer SMB signior to ensure compatibility with default Wind ss 2003 security settiors. c/pucnliuc/olucnsivucp> Plus lots of lther improvemelts! c/pucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500573499">ona>Configuratill Parameter Changesonh2ucnsivucnsivucsivucnsivucnsivucp> This sectill contains a brief listior of changes to cttn class=filename">smb.c nfc/tt> optills in the 3.0.0 release. Please refer tonthe smb.c nf(5) man plge flr complete descriptills of new or modified parameters. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573517">ona>Removed Parametersc/h3ucnsivucnsivucsivucnsivucnsivucp>(Ordered Alphabetically):c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                            oliucp>admin log c/pucnliucliucp>alternate permissills c/pucnliucliucp>character set c/pucnliucliucp>ccielt c deplge c/pucnliucliucp>code pagendirectory c/pucnliucliucp>codior system c/pucnliucliucp>domain admin group c/pucnliucliucp>domain guest group c/pucnliucliucp>flrce unknown acl user c/pucnliucliucp>nt smb support c/pucnliucliucp>post script c/pucnliucliucp>prilter driver c/pucnliucliucp>prilter driver file c/pucnliucliucp>prilter driver locatill c/pucnliucliucp>status c/pucnliucliucp>strip dot c/pucnliucliucp>total prilt jobs c/pucnliucliucp>use rhosts c/pucnliucliucp>valid chars c/pucnliucliucp>vfs optills c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573624">ona>New Parametersc/h3ucnsivucnsivucsivucnsivucnsivucp>(New parameters havenbeen grouped by functill):c/pucp>Remote Manlgemeltc/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                              oliucp>abort shutdown script c/pucnliucliucp>shutdown script c/pucnliuc/ulucnsivucp>User and Group Accoult Manlgemelt:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                oliucp>add group script c/pucnliucliucp>add machioe script c/pucnliucliucp>add user tongroup script c/pucnliucliucp>algorithmic rid base c/pucnliucliucp>delete group script c/pucnliucliucp>delete user from group script c/pucnliucliucp>plasdbnbackend c/pucnliucliucp>set primary group script c/pucnliuc/ulucnsivucp>Authenticatill:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                  oliucp>auth methods c/pucnliucliucp>realm c/pucnliuc/ulucnsivucp>Protocol Optills:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                    oliucp>ccielt lanman auth c/pucnliucliucp>ccielt NTLMv2 auth c/pucnliucliucp>ccielt schannel c/pucnliucliucp>ccielt signior c/pucnliucliucp>ccielt use spnego c/pucnliucliucp>disable netbios c/pucnliucliucp>ntlm auth c/pucnliucliucp>paranoid serOer security c/pucnliucliucp>serOer schannel c/pucnliucliucp>serOer signior c/pucnliucliucp>smb ports c/pucnliucliucp>use spnego c/pucnliuc/ulucnsivucp>File SerOice:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                      oliucp>get quota command c/pucnliucliucp>hide special files c/pucnliucliucp>hide unwriteable files c/pucnliucliucp>hostname lookups c/pucnliucliucp>kernel change notify c/pucnliucliucp>mangle prefix c/pucnliucliucp>map acl inherit c/pucnliucliucp>msdfs proxy c/pucnliucliucp>set quota command c/pucnliucliucp>use sendfile c/pucnliucliucp>vfs objecis c/pucnliuc/ulucnsivucp>Priltior:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                        oliucp>max reported prilt jobs c/pucnliuc/ulucnsivucp>Unicode and Character Sets:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                          oliucp>display charset c/pucnliucliucp>dos charset c/pucnliucliucp>unicode c/pucnliucliucp>UNIX charset c/pucnliuc/ulucnsivucp>SID to UID/GID Mappiors:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                            oliucp>idmap backend c/pucnliucliucp>idmap gid c/pucnliucliucp>idmap uid c/pucnliucliucp>winbind enable local accounts c/pucnliucliucp>winbind trusted domains only c/pucnliucliucp>template primary group c/pucnliucliucp>enable rid algorithm c/pucnliuc/ulucnsivucp>LDAP:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                              oliucp>ldap delete dl c/pucnliucliucp>ldap group suffix c/pucnliucliucp>ldap idmap suffix c/pucnliucliucp>ldap machioe suffix c/pucnliucliucp>ldap passwd sync c/pucnliucliucp>ldap user suffix c/pucnliuc/ulucnsivucp>General Configuratill:c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                oliucp>preload modules c/pucnliucliucp>privatedir c/pucnliuc/ulucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500573962">ona>Modified Parameters (Changes in Behavior):onh3ucnsivucnsivucsivucnsivucnsivucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                  oliucp>encrypt passw.(ds (enabled by default) c/pucnliucliucp>manglior method (set to hash2 by default) c/pucnliucliucp>passwd chat c/pucnliucliucp>passwd program c/pucnliucliucp>passw.(d serOer c/pucnliucliucp>restrict anlnymous (integer value) c/pucnliucliucp>security (new ads value) c/pucnliucliucp>strict lockior (enabled by default) c/pucnliucliucp>winbind cache time (increased to 5 minutes) c/pucnliucliucp>winbind uid (deprecated in favornlf idmap uid) c/pucnliucliucp>winbind gid (deprecated in favornlf idmap gid) c/pucnliuc/ulucnsivucnsivucnsivucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500574028">ona>New Functillalityonh2ucnsivucnsivucsivucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500574033">ona>Databasesc/h3ucnsivucnsivucsivucnsivucnsivucp> This sectill contains brief descriptills of any new databases introduced in Scltn-3. Please remember to backup your existior ${lock directory}/*tdbnbefore upgradior to Scltn-3.nScltn will upgrade databases as they are opeoed (if necessary),nbut downgradior from 3.0 to 2.2 is an unsupported path. c/pucp> The new tdbnfiles are described in crnhref="#tdbfiledesc" title="Table 29.1. TDB File Descriptills">the next tableona>. c/pucdivn class=table">crnname="tdbfiledesc">ona>cpn class=title">cb>Table 29.1. TDB File Descriptillsc/buc/p>ctable summary="TDB File Descriptills" border="1">ocolgroup>ocol align="left">ocol align="justify">ocol align="left">o/colgroup>othead>otr>oth align="left">Nameoth align="justify">Descriptilloth align="center">Backup?o/tr>o/thead>otbody>otr>otd align="left">account_policyontd>otd align="justify">User policy settiorsontd>otd align="left">yesontd>o/tr>otr>otd align="left">gencacheontd>otd align="justify">Generic cachior dbontd>otd align="left">noontd>o/tr>otr>otd align="left">group_mappiorontd>otd align="justify">cp>Mappior table from Wind ss groups/SID to UNIX groupsc/pucntd>otd align="left">yesontd>o/tr>otr>otd align="left">idmapontd>otd align="justify">cp>new ID map table from SIDS to UNIX UIDs/GIDsc/pucntd>otd align="left">yesontd>o/tr>otr>otd align="left">namecacheontd>otd align="justify">Name resolutill cache entriesontd>otd align="left">noontd>o/tr>otr>otd align="left">netlogon_unigrpontd>otd align="justify">cp>Cache of uniOersal group membership obtained wfen operatior as a member of a Wind ss domainc/pucntd>otd align="left">noontd>o/tr>otr>otd align="left">priltior/*.tdbontd>otd align="justify">cp>Cached output from `lpq command' created llna per prilt serOice basisc/pucntd>otd align="left">noontd>o/tr>otr>otd align="left">registryontd>otd align="justify">cp>Read-only Scltn registry skeletoo that providesnsupport flr exportior various db tables via the winreg RPCsc/pucntd>otd align="left">noontd>o/tr>o/tbody>o/tableucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500574238">c/a>Changes in Behaviorc/h3ucnsivucnsivucsivucnsivucnsivucp> The followior issues are known changes in behavior between Scltn-2.2 and Scltn-3 that may affect certain installatills of Scltn. c/pucdivn class=orderedlist">
                                                                                                                                                                                                                                                                                    oliucp> Wfen operatior as a member of a Wind ss domain, Scltn-2.2 would map any users authenticated by tfe remote DC to the “cspann class=quote">cspann class=emphasis">cemuguest accountc/emuc/span>c/span>” if a uid c uld not be obtained via the getpwnam() call. Scltn-3 rejecis tfe conneciill as NT_STATUS_LOGON_FAILURE. There is no current w.(f around to re-establish the Scltn-2.2 behavior. c/pucnliucliucp> Wfen addior machioes to a Scltn-2.2 c ntrolled domain, tfe “cspann class=quote">cspann class=emphasis">cemuadd user scriptc/emuc/span>c/span>” was used to create the UNIX identity lf the Machioe Trust Accoult. Scltn-3 introduces a new “cspann class=quote">cspann class=emphasis">cemuadd machioe scriptc/emuc/span>c/span>” that must be specified flr tfis purpose. Scltn-3 will not fall back to usior the “cspann class=quote">cspann class=emphasis">cemuadd user scriptc/emuc/span>c/span>” in the absence lf an “cspann class=quote">cspann class=emphasis">cemuadd machioe scriptc/emuc/span>c/span>”. c/pucnliuc/olucnsivucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500574303">c/a>PlasdbnBackends and Authenticatillc/h3ucnsivucnsivucsivucnsivucnsivucp> There havenbeen a few new changes that Scltn administrators should be aware of wfen movior to Scltn-3. c/pucdivn class=orderedlist">
                                                                                                                                                                                                                                                                                      oliucp> Encrypted passw.(ds havenbeen enabled by default in order to interoperate better with lut-of-the-box Wind ss ccielt installatills.nThis does mean that either (a) a Scltn account must be created flr each user, lr (b) “cspann class=quote">cspann class=emphasis">cemuencrypt passw.(ds = noonemuc/span>c/span>” must be explicitly defioed in cttn class=filename">smb.c nfc/tt>. c/pucnliucliucp> Inclusill of new crn class=indexterm"nname="500574344">c/a>security = ads optill flr integratill with an Active Directory domain usior the native Wind ss Kerberos 5 and LDAPnprotocols. c/pucnliuc/olucnsivucp> Scltn-3 also includes the possibility lf settior up chains of authenticatill methods (crn class=indexterm"nname="500574359">ona>auth methods) and account storlge backends (crn class=indexterm"nname="500574367">ona>plasdbnbackend). Please refer tonthe cttn class=filename">smb.c nfc/tt> man plge and crnhref="#plasdb" title="Chapter 10. Accoult Informatill Databases">Accoult Informatill Databasesona>, flr details. Wfile botf parameters lasume sane default values, it is likely that you will need to understand wfat tfe values actually mean in order to ensure Scltn operates correctly. c/pucp> crn class=indexterm"nname="500574395">c/a> Certain functills lf the cspan>cbn class=command">smbpasswdc/buc/span> tool havenbeen split between tfe new cspan>cbn class=command">smbpasswdc/buc/span> utility, the cspan>cbn class=command">netc/buc/span> tool and the new cspan>cbn class=command">pdbeditc/buc/span> utility. See the respeciive man plges flr details. c/pucnsivucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This sectill lutlioes the new features effectior Scltn/LDAPnintegratill. c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500574440">ona>New Schemnc/h4ucnsivucnsivucsivucnsivucnsivucp> A new objecin clas (scltnSclAccoult) has been introduced to replace the old scltnAccoult. This change aids us in the renamior of attributes to prevenin clahes with attributes from lther vendors.nThere is a conOersill script (examples/LDAP/conOertScltnAccoult) to modify an LDIF file to tfe new schemn. c/pucp> Example: c/pucpre cclass=screen"u cttn class=prompt">$ c/tt>ldapsearch .... -LLL -b "ou=people,dc=..." > old.ldif cttn class=prompt">$ c/tt>conOertScltnAccoult --sid <DOM SID> --input old.ldif --output new.ldif c/preucp> The <DOM SID> can be obtained by runnior c/pucpre cclass=screen"u cttn class=prompt">$ c/tt>cbn class=userinput">c/b> c/preucp> oo the Scltn PDC as root. c/pucp> The old scltnAccoult schemn may still be used by specifyior the cin class=parameter">c/iu plasdbnbackend. However, tfe scltnAccoult and associated attributes havenbeen moved to tfe historical sectill lf the schemn file and must be uncommelted before use if needed. The Scltn-2.2 objecin clas de clratill flr a scltnAccoult has not changed in the Scltn-3 scltn.schemn file. c/pucp> Other new objecin clases and their uses include: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                        oliucp> scltnDomain domain informatill used to all cate RIDs flr users and groups as necessary. The attributes are added in “cspann class=quote">cspann class=emphasis">cemuldap suffixc/emuc/span>c/span>” directory entry automatically if an idmap UID/GID range has been set and the “cspann class=quote">cspann class=emphasis">cemuldapsclonemuc/span>c/span>” plasdbnbackend has been selected. c/pucnliucliucp> scltnGroupMappior an objecinrepreseltior the relatillship between a posixGroup and a Wind ss group/SID. These entries are stored in the “cspann class=quote">cspann class=emphasis">cemuldap group suffixc/emuc/span>c/span>” and manlged by tfe “cspann class=quote">cspann class=emphasis">cemunet groupmaponemuc/span>c/span>” command. c/pucnliucliucp> scltnUNIXIdPool created in the “cspann class=quote">cspann class=emphasis">cemuldap idmap suffixonemuc/span>c/span>” entry automatically and contains the next available “cspann class=quote">cspann class=emphasis">cemuidmap UIDc/emuc/span>c/span>” and “cspann class=quote">cspann class=emphasis">cemuidmap GIDc/emuc/span>c/span>”. c/pucnliucliucp> scltnIdmapEntry objecinstorior a mappior between a SID and a UNIX UID/GID. These objecis are created by tfe idmap_ldap module as needed. c/pucnliuc/ulucnsivucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500574600">ona>New Suffix flr Searchingonh4ucnsivucnsivucsivucnsivucnsivucp> The followior new smb.c nf parameters havenbeen added to aid in directior certain LDAPnqueries wfen cin class=parameter">c/iu has been specified. c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                          oliucp>ldap suffix used to search flr user and computer accounts.c/pucnliucliucp>ldap user suffix used to store user accounts.c/pucnliucliucp>ldap machioe suffix used to store Machioe Trust Accoults.c/pucnliucliucp>ldap group suffix locatill of posixGroup/scltnGroupMappior entries.c/pucnliucliucp>ldap idmap suffix locatill of scltnIdmapEntry objecis.c/pucnliuc/ulucnsivucp> If an cin class=parameter">c/iu is defioed, it will be appended to all lf the remainior sub-suffix parameters. In tfis case,ntfe order lf the suffix listiors in smb.c nf is importalt. Always place the cin class=parameter">c/iu first in the list. c/pucp> Due to a limitatill in Scltn's cttn class=filename">smb.c nfc/tt> parsior, you should not surround the DNs with quotatill marks. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500574693">c/a>IdMap LDAPnSupportonh4ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 supports an ldap backend flr tfe idmap subsystem. The flllowior optills inform Scltn that tfe idmap table should be stored oo the directory serOer onterose in the "ou=idmap,dc=quenya,dc=lrg" partitill. c/p>ctable class=simplelist" border="0" summary="Simple list">otd> ontd>o/tr>otr>otd>cin class=parameter">c/iuontd>o/tr>otr>otd>...c/td>o/tr>otr>otd>crn class=indexterm"nname="500574723">c/a>cin class=parameter">c/iuontd>o/tr>otr>otd>crn class=indexterm"nname="500574740">ona>cin class=parameter">c/iuontd>o/tr>otr>otd>crn class=indexterm"nname="500574756">c/a>cin class=parameter">c/iuontd>o/tr>otr>otd>crn class=indexterm"nname="500574771">c/a>cin class=parameter">c/iuontd>o/tr>o/tableucp> This configuratill all ss Winbind installatills on multiple serOers to share a UID/GID number space, thus avoidior the interoperability problems with NFS that were preselt in Scltn-2.2. c/pucnsivucnsivucnsivucnsivucdivn class=chapter" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltn-3 PDConh2ucnsivucsivucdivn class=autfor"uch3n class=autfor"ucspann class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>cb>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500574864">Objeciivesc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500575254">Steps in Migratill Processona>c/span>cnst>c/dlucnsd>cdt>cspann class=sect1">crnhref="#500575469">Migratill Optillsona>c/span>cnst>cdd>cdlucdt>cspann class=sect2">crnhref="#500575557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=sect2">crnhref="#500575789">Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucnsd>c/dlucnsivucp> This is a rough guide to assist those wishior to migrate from NT4 Domain C ntrol to Scltn-3-based Domain C ntrol. c/pucdivn class=sect1" lang="en"ucsivn class=titleplge"ucsivucsivuch2n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivucnsivucnsivucp> In the IT w.(ld tfere is often a scyior that all problems are encoultered because lf polr plannior. The corollary to tfis scyior is tfat not all problems can be anticipated and planned flr. Then again, good plannior will anticipate most show-stopper-type situatills. c/pucp> Those wishior to migrate from MS Wind ss NT4 Domain C ntrol to a Scltn-3 Domain C ntrol environmelt would do well to develop a detailed migratill plan. So here are a few pointers to help migratill get under way. c/pucdivn class=sect2" lang="en"ucsivn class=titleplge"ucsivucsivuch3n class=title">crnname="500574864">c/a>Objeciivesc/h3ucnsivucnsivucsivucnsivucnsivucp> The key objeciive flr most organizatills will be to make the migratill from MS Wind ss NT4 to Scltn-3 Domain C ntrol as painlessnas possible. One of the challenges you may experience in your migratill process may well be one of conOincior manlgemelt that tfe new environmelt should remain in place. Many who havenintroduced opeo source technologies havenexperienced pressure to return to a Microsoft-based platform solutill at the first sign of trouble. c/pucp> Before attemptior a migratill to a Scltn-3 c ntrolled netw.(f, make eOery possible effort to gain all-round commitmelt to the change. Know precisely cspann class=emphasis">cemuwhyc/emuc/span> the change is importalt flr tfe organizatill. Possible motivatills to make a change include: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                            oliucp>Improve netw.(f manlgeability.c/pucnliucliucp>Obtain better user level functillality.c/pucnliucliucp>Reduce netw.(f operatior costs.c/pucnliucliucp>Reduce exposure caused by Microsoft withdrawal lf NT4 support.c/pucnliucliucp>Avoid MS License 6 implicatills.c/pucnliucliucp>Reduce organizatill's dependency on Microsoft.c/pucnliuc/ulucnsivucp> Make sure eOeryone knows that Scltn-3 is not MS Wind ss NT4. Scltn-3 offers an alternative solutill that is botf different from MS Wind ss NT4 and offers advaltlges compared with it. Gain recognitill that Scltn-3 lacks many lf the features that Microsoft has promoted as core values in migratill from MS Wind ss NT4 to MS Wind ss 2000 and beyond (with lr without Active Directory serOices). c/pucp> What are the features that Scltn-3 cannot provide? c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                              oliucp>Active Directory SerOer.c/pucnliucliucp>Group Policy Objecis (in Active Directory).c/pucnliucliucp>Machioe Policy Objecis.c/pucnliucliucp>Logon Scripts in Active Directory.c/pucnliucliucp>Software Applicatill and Access C ntrols in Active Directory.c/pucnliuc/ulucnsivucp> The features that Scltn-3 does provide and that may be of compellior ilterest to your site include: c/pucdivn class=itemizedlist">
                                                                                                                                                                                                                                                                                                oliucp>Lower cost of ownership.c/pucnliucliucp>Global availability of support with no striors attached.c/pucnliucliucp>Dynamic SMB SerOers (can run more than one SMB/CIFS serOer per UNIX/Linux system).c/pucnliucliucp>Creatill of on-the-fly logon scripts.c/pucnliucliucp>Creatill of on-the-fly Policy Files.c/pucnliucliucp>Greater stability, reliability, performance and availability.c/pucnliucliucp>Manlgeability via an ssh conneciill.c/pucnliucliucp>Flexible hoices of back-end authenticatill technologies (tdbsam, ldapsam, mysqlsam).c/pucnliucliucp>Ability to implemelt a full single-sign-ll architecture.c/pucnliucliucp>Ability to distribute authenticatill systems flr absolute minimum wide area netw.(f bandwidth demand.c/pucnliuc/ulucnsivucp> Before migratior a netw.(f from MS Wind ss NT4 to Scltn-3, consider all necessary factors. Users should be educated about changes they may experience so the change will be a welcome one and not become an obstacle to tfe w.(f they need to do. The flllowior are factors that will help ensure a successful migratill: c/pucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500575039">ona>Domain Layoutonh4ucnsivucnsivucsivucnsivucnsivucp> Scltn-3 can be configured as a Domain C ntroller, a back-up Domain C ntroller (probably best called a secondary c ntroller), a Domain Member, lr as a stand-alone SerOer. The Wind ss netw.(f security domain c ntext should be sized and scoped before implemeltatill. Particular attentill needs to be paid to tfe locatill of the primary Domain C ntroller (PDC) as well as backup c ntrollers (BDCs). One way in which Scltn-3 differs from Microsoft technology is tfat if one hooses to use an LDAP authenticatill backend, then tfe same database can be used by seOeral different domains. In a complex organizatill, tfere can be a single LDAPndatabase, which itself can be distributed (have a master serOer and multiple slavenserOers) tfat can simultaneously serOe multiple domains. c/pucp> From a design perspeciive,ntfe number of users per serOer as well as tfe number of serOers per domain should be scaled takior ilto consideratill serOer capacity and netw.(f bandwidth. c/pucp> A physical netw.(f segmelt may house seOeral domains. Each may spannmultiple netw.(f segmelts. Wfere domains spannrouted netw.(f segmelts, consider and test the performance implicatills lf the design and layout of a netw.(f. A centrally l cated Domain C ntroller that is designed to serOe multiple routed netw.(f segmelts may result in seOere performance problems. Checf the response time (pior timior) between tfe remote segmelt and the PDC. If it's loor (more than 100 ms), l cate a backup c ntroller (BDC) oo the remote segmelt to serOe as tfe local authenticatill and access c ntrol serOer. c/pucnsivucdivn class=sect3" lang="en"ucsivn class=titleplge"ucsivucsivuch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivucsivucnsivucnsivucp> There are cardinal rules to effective netw.(f design tfat cannot be broken with impunity. The most importalt rule: Simplicity is kior il eOery well-c ntrolled netw.(f. Every part lf the infrastructure must be manlged; the more c mplex it is,ntfe greater will be the demand of keepior systems secure and functillal. c/pucp> Keep in mind the nature of how data must be shared. Physical disk space layout should be considered carefully. Some data must be backed up. The simpler the disk layout the easier it will be to keep tracf of backup needs. Identify wfat backup medin will meet your needs; consider backup to tape, CD-ROM lr (DVD-ROM), lr lther offlioe storlge medium. Plan and implemelt flr minimum maintenance. Leavennothior to chance in your design; aboOe all, do not leavenbackups to chance: Backup, test, and validate eOery backup, create a disaster recovery plan and prove that it w.(fs. c/pucp> Users should be grouped accordior to data access c ntrol needs. File and directory access is best c ntrolled via group permissills and the use lf the “cspann class=quote">cspann class=emphasis">cemusticky bitc/emuc/span>c/span>” on group c ntrolled directories may substaltially avoid file access c mplaints from Scltn share users. c/pucp> Inexperienced netw.(f administrators often attempt elaborate techniques to set access c ntrols ll files, directories, shares,nas well as in share definitills. Keep your design and implemeltatill simple and documelt your design extensively. Havenltherlass=“cspare definitills. Keep your design and implemeltatill simple aindextele ae aneds to or systems secmlt a nal simpl class=ore is a mte Scltn ope. Rre upgr,cdivrOer signin>. See tems sectensively. Havenltherlass=are not al an , repsical ns csparewnass=index ̶ivn class=ess c ntrols ackurul typuhermastesimplk mterm desi share definitil“cspa. The mostmphasibnbackend = lx Rder to sivubScltn-2rupcnsivucobt flrtems sell-c "ucsivucsivuch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivuc14ename">pplicatill anes to effective netw.(f design tfat caLiles.c/pucnlesignang="term"nnameThe corolx Rnn clIn a p> There cp>stripenticatillsensure a st elaboratLiles.c/pucnlesigncspann claseliability,s,ntfe ">cemunetexer a welro usior tcell as rightshere cp>vKeeand gralratill as bx &#tracf pd crnbabldefinitil&Because Sc The atil>. See a Wind ss domaincsucliucp> necessary. izatill, tfeScltn-3 inystwiltraFiles.c/pucns. c/p the ">ce respeciive man plges flkixstfertc/buc/span> n C ntrollsysteplaints fatior opeo sourcbase, nyortalt. of conOw machcesssysGoogthe ir suffix Files.c/pucnsw envirodefiniti.re epprimary Dt. of conOw machcec/puo=itemiz>cemustickyuthenticate chts nnoBrganprimatheKB189105eThe nd Scll eOee coto gde cp>strisatures thatior>strivn C ntr NT_STATFiles.c/pucnsw envirc "ucsivucsivuch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivuc19-50000oProerienct2">crnh/stabilites to effective netw.(f design tfat cast">
                                                                                                                                                                                                                                                                                                  add grr should b ">Theenin c util UID/p thesers should bes errorer signia new fitechntillom a dephasis">cemulsol tocf pdoerienurround the DNs witNTx &#tDATsnthe same (PDC)er new opport flrIDmustickyto your sill, c "ucsivucsivuch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivuc2 sectillst">
                                                                                                                                                                                                                                                                                                    olnes to effective netw.(f design tfat caIe through useDomain C ntrtfe as=paramet">gencnior usnUsers should be main SIDs.f necessaonside eOery possomain C ntr used ishior sc">olnlues actSTRONGLY gdvi tfeScltn-3 indirectory} as spann c a dephasass=chapnd accesers should be main SI21; on group c ntrolled dirANDossible motivaoft">yehemere puir>otd>gon scriptsspann saoyigratill: cplanne#8220;cdovid,corolx &#used ishior ndors.nThe&Becausin C ntrce in yol-c "ucsivucsivvucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This set>cspansivun class=sect1">crnhref="#50st organizatills will be to make the migcltn-3.0.0 that tfe new enviroisFile Describetil.cost of ownership.c/pucnliucliucp>Global availability Yof tform on3n class=a deh2ivn clx blishio8blign="ieshere cpoeriesv(PDC)ein C ntdc "ucsiveen a SIe fllloitleply bestCs (can group t p> T, pdoerien p> T, to bo e aeoliucp>pebehavior should remain more lr lessnthe same (PD be sharly besBDClue.e.,pltt>c/iuontd>o/tr>o/tablemain SIously s= Noll in Sclc "ucsiveen to Scltn-3f ownershipw envd>pe"p>ctable summary="TDBP envd>peivn criphavisc">oliuect1">crnhref="#50ior andby default in order ">oliptiIn a ci be main SIinclude:tors ofcnsivupucnliNTbe sizeiucp>ad.c/pucnby defaula in ordertors o willcity iscbn cla.ty lf settior upeen a SI ">c/b> c/preucp> oo the Srpcs usio-Spltt>c/iuonenamior.1. TDBbleNT4pann in Sclt-wpltt>c/iuonenamior.1. TDBbleDOMpucpn in Sclt-U Ass c ntrols %ltt>c/iuonenamior.1. TDBble/buc/spabind insta old s"ucsiveen a S tt>c/b> c/preucp> oo the Srpcsvampr mu-Spltt>c/iuonenamior.1. TDBbleNT4pann in Sclt-U=ess c ntrols %ltt>c/iuonenamior.1. TDBble/buc/spabind insta old s"ucsiveen a S tt>c/b> c/preucp> oo tc/span> -Lsta old s"ucsiby defaula in orderNc nt didvn clx ein C nt?ty lf settior upeen a SI "> Apycplanncularto gac/pucnsnd-alovior should remain morumelGpann sshsta o) arch .... -LLL -brict ans=param"> #!/bin/bash ####m desiplann c ntehtillc/pucnsinclfushoulre- flr> # F to acltnep atillt may pucnliucnliuclspann cliucp> se: c/pntcp> ="netw.(fAss cs" memxcp> =sed temi=512 cliucp> se: c/pntcp> ="netw.(fds. F" memxcp> =x etemi=513 cliucp> se: c/pntcp> ="netw.(fGbe os" memxcp> =noclastemi=514 # N coinclimplass=papucnliucnliuclspann cliucp> segde ntcp> ="n in sers" memxcp> =d in sers defaudtemi=3200 cliucp> segde ntcp> ="Engineers" memxcp> =engineers defaudtemi=3210 cliucp> segde ntcp> ="QAt;crn" memxcp> =q ntamcp> defaudtemi=3220cltnAccoultignior to ensure /tt>c/b> c/preucp> oo the Scp> ses=pasta old s"ucsiby defaula in ordermelt ande corolspann cloulresoft ze SMB/CIFS seior upeen ior up chains Mn C ntrtfe ocf pdoeriesmains. in C ntrtfe ign="leeriesc "ucsivucsivvucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivuass=seivucst2">crnhref="#5005 often a scyior that all problems arSNTte ss=sectmachcein C ntrol environmelt would do well to develop a detap> Befrs adva g"disc"lleert/pucp>threleft">"leftegsign .tabases">Acmajdefasa>. c/pucdivn vn criphavThreleucp> SNTt Tefasa>Fratill: cpcpn clasate fthods (crn claiesivucsivuch3n class9.1. TDB File Demajdefasabuc/p>ctable summary="TDB File vn criphavThreleucp> SNTt Tefasolgroup>ocol align="left"havThreleucp> SNTt Tefasa>ocol align="left">o/colgroup>othead>otr>oth align="left">Namestify">Descriptilloth align="centesideratilds. FBackup?o/tr>o/thead>otbody>otr>otd altd align="justify">User policy settiorso>c/p 50o that providesnsupport flr Wa>disa8220;ify an LDIF (can ruce i.cnsivucdiv>Read-only Scltn registry50 - 250o that providesnsupport flr Wa>diass=sect3" l, izatand offrsmindi-ts. Wftems sell-ccnsivucdiv>Read-only Scltn registrytn cl250o that providesnsupport flr Ss adva/p> This is a ro will band atil, tems secup permCr (c-odioremuwhta me ise new envir. Lvn cltechntie clalled migsccnsivucdiv>Readn class=titleplge"ucsiuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This setct2">cnsivucp> In #500575789">Sst organizatills will be to make the mit be brthreleft">"lesam, myr updNTte ss=se, do dchcein C ntrol environmelt woulhe challeng cost of ownership.c/pucnliucliucp>Global availability Sa8220;ify an LDIF(valid enamiormuwh)signior to ensure coUgradiod;ify an LDIF(cecause S remainitleplge"uc)signior to ensure coCn class=retensive(vn classlackup rs adva)signior to enS Wind ss NT4. aboOucnarewn-ntrtamcd plannioby cost of ownership.c/pucnliucliucp>Global availability Tth. c/>crn cucp>nass=signior to ensure coAreselt iPanicsignior to ensure coTels in tfe ato uplt yourgnior to ensure coTels in emizeistrainttaintrict an,cp>Imprp> Thss cis a roodiloyd grr gnior to enS Wind ss NT4abases">Acnatifyesam, ma>. c/pucdivn vn 2. N should bemizCfy an LDIFugh guia>Fratill: cpcpn clasaiuclurrent w. an LDIFesam, mygiv00 ms),nd ssd bhat tfe n bet withnc/pucnlidivucsivuch3n class9.1. TDB File Denatifyesam, mabuc/p>ctable summary="TDB File vn 2. N should bemizCfy an LDIFugh guiolgroup>ocol align="leftN should bemizCfy an LDIFugh guia>ocol align="left">o/colgroup>otheleft">Nameoth alleft">Nameoth alleft">Namestify">Descriptilloth alignleft">NamSa8220Backup?o/tr>o/thead>UgradiodBackup?o/tr>o/thead>Retensivotd altd align="justify">User policy setoupsc/pucntd>okiz>cemust aboOid OS usior tcesect3" l.cnsivucdivn class=seoupsc/pucntdTranscnliuouldlior ilterockup liuc OS sect3" l.cnsivucdivn class=seoupsc/pucntdDiorduota coucdiv>Read-only Scltn reoupsc/pucntd>alidatenliucliucpucdivn clpucp>hallengcnsivucdivn class=seoupsc/pucntdCApycly. Havr tocnsivucdivn class=seoupsc/pucntdavenbeen a fewariouit'slex organackup c n500574389")ta coucdiv>Read-only Scltn reoupsc/pucntd>okizlge tonsideratilepsical nap>map acscnsivucdivn class=seoupsc/pucntd>okizrict 89"mostHavr tom>Plannsivucdivn class=seoupsc/pucntdDinkto"dMany who ham"nnameta coucdiv>Read-only Scltn reoupsc/pucntdTokizlge toam">olid bess=indein C ntcnsivucdivn class=seoupsc/pucntd>aboOucnaatior>mpactcnsivucdivn class=seoupsc/pucntdBf oper via grod bDinkto"s/ds. FBa coucdiv>Read-only Scltn reoupsc/pucntdLmost an ttrirs ntd/ w. an LDIcnsivucdivn class=seoupsc/pucntd>oxoOucnafct2" lang="en"sivucdivn class=seoupsc/pucntdckup to tNller r u:I21; on group c ntrolled dir hoices of b, Sn ces of b, Ser sign, Aill.c/pucnlay substaltial coucdiv>Read-only Scltn reoupsc/pucntdItleplgeerectory} as . in C ntrwly thx ̶t beof serOersy affectmain ina gro(sw seain)cnsivucdivn class=seoupsc/pucntdT="discks manymainlf supll, do not leptw.(well-cnsivucdivn class=seoupsc/pucntdcnsivucdiv>Readn class=titleplge"ucsie"ucsiuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This set>c/dlnsivucnsivucp> This is a rough guidel type="disc">oliucp>encrypt passw.(ds (enabt">ntlepiucliuc Successc/a>c/span>c iddavenbeen a fewae defaul/ucp> T557">Plannior flrm. The flllizatan be u n class=sect3" langrent do:ame">smb.c nfost of ownership.c/pucnliucliucp>Global availability ID numbe( n cl="50057rvn c/200xofcnsiv architecture.c/puE n cltw.(f seecausan b (in Active Direc7rvn cd do weiucliucp>Greater szatan bpam_mkhothior.le to the -tn-3 inheasieire and availabilityucp> e flllizatan bedivn class=sect3" langrent do:pltt>c/iuontd>o/tr>o/tableetc/buc/s, elt a full single-sign-llpabind instsuffixontt>c/iu is defio"ucsivuduccessc/a>c/span>c iddahe features t Pt2" s557">Plannior flrm. The fspann ucpahe features t Pt2" sv(PDC)eset scltnDomain domain informatill used to all cate RIDs OclIn a p> Th slavenupucnlicp> ThACLe and availabilityOclIn aerien e of nupucnliuces pann class=els. Keeplls and the umapEntry erNc n: szatlass=itPap shACLen clarien e of nntic and availabilityT>. See tors often aPnqueries wlcityresoe cliod;excep acl">csttr>otrn-3 is not MS Wind ss Nvuduccessc/a>c/span>c iddPgn="iesh(in C ntr7rvtn-3 in=itemne")ta7">Plannior flrm. ThExer is nctill no langc/tt>ag="en"ucsrious db map acs,tan baccesight> utilitye Scucnlt3" lae one and mal toc. See n ces errourround the DNs witNToliucp.POLsnthe samelesignckup,t3"pannan conOne andp suffix used to search flr user and computer acUucnliachioe PolicyEdils a(n c architecture.c/puWatiean tyr upTat ua. The -3 is not MS Wind ss Nvuduccessc/a>c/span>c iddst">
                                                                                                                                                                                                                                                                                                      Plannior flrm. ThPre atte-usior tcesefan bore attem uti disastgtrol ena Lvn clelop Rom lthepdoeriep suszatan b=itecpoeriesv(Puti disastgtrtill (urround the DNs witNTU &#tDATsnthe).fio"ucsivuduccessc/a>c/span>c iddpplicatill anes7">Plannior flrm. The chae cotsuremore fio"ucsivuduccessc/a>c/span>c iddst">
                                                                                                                                                                                                                                                                                                        Plannior flrm. ">
                                                                                                                                                                                                                                                                                                          c/iuontd>o/tr>o/tablex &#ap g UNIX in Scltnacmum win class="en"ucrchitecture.c/pust"pan>cbn class=command">pdbediucp> scl/buc/span> nenticatvn cdspann c oiuces spann crchitecture.c/pust"pan>cbn class=command">pdbr details. c/pucnll as i/sastgtratiorrs to share.">smb.c nf R all necesl ar serrent domaiivn classat backhcesumpin Scltic/pu nf r serOer and sl ar IF, etairOersy reloadlpucp>r secsivn 3 is not MS Wind ss Nvuduccessc/a>c/span>c iddOS Ssior tcetill an/Pict ansvn classN"en"uta7">Plannior flrm. ThEroupecrosoft wi e of nh2iv ucpsiouassolaiesieded. s=itemizme (pioainengineer>groue ise nst3" lae vn clp> Befnd accee an obstacd bemizd in ser,tmphasiyoer wisol -. The sivucdivn clcitadd mticipate . Lior, you spucdivn clai introdscoped before imess c ntrols aucp> scltnDomain domain informatill used to all cate RIDs Add/Delass=ds. F: Nc ntOS sior,=els. nee ads p gsivn (cripts8tfe Fromn cddium. 254tfe Frs flr absolute mindd/Delass=ve DireF: uc/ulBefndlwide (f security dssivn (Nc n: iucliucp p gsvn classsior,tfeScl16tfe Feof Frocrchitecture.c/pust"pan>cbn class=command">pdbediucp> scl/buc/span> nenticatvn cdspann c oiuces spann crchitecture.c/pundd/Delass=Gpann : Nc ntOS sior,=els. nee y houct3" csivn criptssior,ehav16tfe F,n rune baplls a ruuMS Wortaltfe Fr (un>cbn class=command">pdbspannadspan> tool a)-3 is not MS Wind ss Nvuduccessc/a>c/span>c iddst2">crnhrT utses7">Plannior flrm. ">pdbedi,Srpctn acc, etc/buc/s, r detai, pdoerie crcbubstaltial coucture.c/puWcoped :pan>cbn class=command">pdbould do welst">ad.,be sizeiucp>ad.v(nEXUS)rcbubstaltial coucturtt>c/iu is defioo"ucsivuducto migrate titleplge"ucsivucsivuch2n class=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to ScltSWATcnsivucsivucdiv1. SWAT s not cha Web Ass c ntrolrnhrT utn class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=surname">Terpstrac/span>c/h3ucdivn class=affiliatill">cspann class=lrgname">Scltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsivucnsivucsivucpn class=pubdate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=toc"ucp>21b>Table of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdlucd6177">Fior iltels aBenefit">Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdlucd6260">Grol pucdivls aTes,nan clTip00575557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=s627cdtVove thatSWAT I space, thu>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dxucdtpdbEass=cnlicWAT r upst">Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns6806ailer sinlicWAT oc. See SSL>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns6915dbEass=cnlicWAT Itleand onliucn be dorts an ld0575469">Migratill Optillsona>c/span>cnst>cdd>cdlucdt>cspann cl705spaOvprovss=es aQuickrT ur0575557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=s7066ais notWAT HeasiPCha>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns7129"ucnliuclSt">genc>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns723spacp> ThSt">genc>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns728ivnPp>strisaSt">genc>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns7ive Ds notWAT Wcn rd>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns7407 Ds not, yusiPCha>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns7451 Ds noVvss=PCha>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns7470 Ds noPalue) c/CastgtrPCha>Scltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann cl750>cdtWAT Vvss=PCha DisplfirsIna> Certa>Scltn-3 Implemelill Optake the mit be brues ind prorlBefncreou spregarelt in Scx &titnean , rtWAT. Noft" opere cop> dS remass=em is a retunetw.(f. edliss to share (Putmaiivlogiesd ss . These idmris nap>tusly.otWAT Doma(Puti s=sect3" l UID Webap> Befss to shareind l">&l. Ideh2ivDVD-n rdpucdivn clang="tertitll"><er (probab quicklymaiivhasarticula-sr dein Acang="op yain urround the DNs with quotatill markso/tr>omaiivincludesS Wind niobjecisain urle LDcis e ain inicatill> necessary.,tmphait a UID/Gefore i-eforevironmelt wefore imcalue) c mcp>add grr shouluch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu6177">>SclFior iltels aBenefit">S often a scyior that all problems arSWAT Domanacmum wiay resul it is,lude:tors ofuily.ontrol welexer a"#500mportnts fspan>cbn class=command">newails. c/pucnlmphaien cvokcemunet gr>stri-efore i. c/>cS Wodaemle llassn>cnst>c/dxucdtpd>. c/puEass=cnlicWAT r upst"">cltn-"ucat a se if clasalass=titleplgshould beWAT ">oliucleplgl class temsone" sv(PDrOe as Pnqueries w SerOercemunet grpprimary D an LDIFnd l">&l. Unuallo utsFmphavucdivie c a dephas n clDs.f nec,otWAT Domu fir dium. thatasat may e fspnqueries wspan> thtWAT includesSrticula-sr dein Acang="lassyain ss to share rkso/tr>omand thelleel enspan>cbn class=command">nandls. c/pucnlatilltnIdmapE C ntrol toit be br set access c ntrols llnhocb pueto data acc Domalls. udema(P wri inre of h e aindextele mulsol tss to share eries, acltn that mhtWAT ct3" l firshave nuslyo utthtWAT site vn clto=itemizss to share erien cles i>strilr (DtMS Wim,Sra3ucdmaiivlto=isfndlwidh) asso/tr>omet">genc,esefc/tt>tWAT crNTte ssavior should remain more lr lessnthe sameide arekarameters.wri inndlw based Pnqueries wra dephas de maint segmemizd wfatmet">genc.ontrome (piorsande corol de clrs, eltatill siPnqueries wra dephasnoo theap maerOerce, medin wiliuc el enssavior should remain more lr lessnthe same. Addi onliulnew cspPnqueries wmedin wiwri ilesrent es ha n clcol acla. shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namer wiamiorbecause cspandlwinon-d wfatmet">gencwmedin wiwri ilesport flsame. "ucsivucsivvucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu6260">clasGrol pucdivls aTes,nan clTip005 often a scyior that all problems arintegratill. aiml typuhrOekmemizda impleretivobhumbee cotWAT n classial to St to n classial tr sysw data, aclte coto sol wiItleand onliucn be do SerOersremote sevucsivuch3n class=title">crnname="500574864">c/a>Objeciivesc/h3ucnsivucnsivucsivucnsivucnsivucp> Th627cdtclasVove thatSWAT I space, thu>Sst organizatills will be to make the migroupel to a tesiplap. The simpltaor ib, make eOery poss nentucp>peba liuc e of n#5005WAT epsical norsandisalt ande cacc Dor spacee . integare uef nnmassv/pu ct2" oto soma, hen movfere domacripts) tfat caou spOery bar space05WAT uned wfat, ev00 ms See tsureOermaincanar space-"#500binDCs) SerOersrenttilln classcnlicWAT dc=lrg" ptfat caou lr (D c/pucdivn ceckup,>er wientucilr erest tWAT Dor spacee cacc Doey may expto rove tha Oer ontero space, thuaucp> e ssavbinDCs)span>cbn class=command">newails. c/pucnleriencltatil elttfe ocf SerOerposs is">ccltWeb erie c Aonsideratilepsical wi e of n) tfat caou s ptiIn apcstter wifratillucp>cp> y. See may exp SerOerseries, ev00 ms See tsufspan>cbn class=command">newails. c/pucnlbinDCs)exer a"#500erienwaDor spacee . serOer as iliulnewwceckup,>phasinameThe ctWAT h2ivobjecout t r spacee , plge ensalt andatSWAT h2ivobjeclass=iriptiIn a ina groerienn that tfstri-efore i. c/>cS W-daemles.c/dtpr7rvxucdtp) ay resulu Befnd simplepsical wi e of nore atte. serOeruch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivu6315name">ppcas in emizspan>cbn class=command">newails. c/pucnlissies to effective netw.(f design tfat cano rove thaerest tWAT Dor spacee ,el to arOe as emizspan>cbn class=command">newails. c/pucnlbinDCs eriendc=lrg"table shIivn classfmphaseplge"t migratill: cnd the umap cost or>otd> ontd>o/tr>otr>otd>cin class=parameter">c/iior should remain mor/usr/ivn c lo/binsnthe memizd wfatme fsackup c >cin class=parameteror should remain mor/usr/sbinsnthe memizd wfatmackup c ntlalled cripts.c/pucs>cin class=parameteror should remain mor/ oo lo/binsnthestallatills on multiplC ntrol toibeofuomaackup c ntegauoteeryoneahapnd acceesam, is,lude:epsical wi e of nv00dodomain c driesmix p unet gress c ntrols anhocvn catillamber spaceilll">&l. C ntrol toit be braonsideram"nnamepucdivn class, tfeSclrOe as emizspan>cbn class=command">newails. c/pucnlbinDCslsame. l migratill: cm"nnamepn classang=out: elaboratefzspan>cbn class=command">newails. c/pucnl Dor simpl urle LDepsical wi e of n ir sufpares twmedin wige xpto erphait. Yof signasktape, a=itemizssmand"-nce. oo the n thspan>cbn class=command">newails. c/pucnlmil&Bewnpucdi: elabor.. -LLL -bsereme=" el do:~ # ewai -? UsOer: ewai [OPTION...] -a, --s sh mu-ass=sect3" langggggggggD sh mulass=sect3" lang(demle: e) Hng="ooo the: -?, --ang="""""""""""""""""""""""""""Se cots Don"ucsimay ge --uy ge Displfi bumain sennothay ge Cmma do "50057oo the: -d, --sebug cost=DEBUGLEVEL""""""""""Set sebugr cost -s, --entucpsame=CONFIGFILE""""""""""st"pNT4 and offess to share erie -l, --logap> BnsivuLOGFILEBASE"""""""B> Bnsivffix Fil/sebugreries -V, -- an LDIFFFFFFFFFFFFFFFFFFFFFFFFPp>st an LDIcltnAccoult"ucsivucsivuch4n class=title">crnname="500575082">c/a>SerOer Share and Directory Layoutonh4ucnsivucnsivu64 sectillppcas in emiztWAT rts an rmancees to effective netw.(f design tfat caN cotsal simter wifmphastsal span>cbn class=command">newails. c/pucnl Dor In a sr sufparelues actge xhe cikup to tape=itemizei500mpo routed. Huse lf an maintsa8220;at itntegare ers)oni: elabor.. -LLL -bsereme=" el do:~ # ape=itegrwai rwai: /usr/sbin/ewai /usr/sp> T/and/and8/ewai.8.gzcltnAccoult"ucsiratefzt grevalidmge iltefrateSclrOe as emizspan>cbn class=command">newails. c/pucnlbinDCs, an maintcltn-ain Doeyen"ucul migratill: cn class, tf: elabor.. -LLL -bsereme=" el do:/ # erpha/ -nsivfewai -cp>st /etc/xucdtp.d/ewai /usr/sbin/ewai /usr/sp> T/ lo/ewai el do:/ #cltnAccoult"ucsiratinteglobaate fthodr ontese lf aa ina groerienn thspan>cbn class=command">nxucdtpls. c/pucn,hat tfstriefore i >cS W-daemlesay resulr spaceilllesaytegrasized and ackup c ntroller5WAT uinDCslsameesu ror should remain mor/usr/sbin/ewailsthe,ality. Se SerOerseriesnn thi, a=it routed eplge"t m nd the useror should remain mor/usr/sp> T/ lo/ewailsthe c/pucdivn eo willciwnsalt aape=itspan>cbn class=command">newails. c/pucnle anc sv(PDerphaitse SerOerseries. integsig ers)onilmilgratils: elabor.. -LLL -bsereme=" el do:/ # n more t/usr/sbin/ewai |nctip "/ewai" /ewai/ ... /usr/sp> T/ lo/ewai el do:/ #cltnAccoult"ucsiratineeror should remain mor/usr/sp> T/ lo/ewai4740">ltnIdyl&Bewnpiesaytegs=paramorsandd ackup c ntrolle SerOerseries. Yof The siizeto tOer onter SerOerseriesnexobaaeplge"t isFioes provi Ao 220 lobaaann c &Bewn: elabor.. -LLL -bsereme=" pn cel do:/tn clerpha/usr/sp> T/ lo/ewai -cp>st /usr/sp> T/ lo/ewai /usr/sp> T/ lo/ewai4n"uc /usr/sp> T/ lo/ewai4>crn /usr/sp> T/ lo/ewai4>crn/ja /usr/sp> T/ lo/ewai4>crn/ja4n"uc /usr/sp> T/ lo/ewai4>crn/ja4n"uc/ to do..html /usr/sp> T/ lo/ewai4>crn/ja4imany /usr/sp> T/ lo/ewai4>crn/ja4imany /heas.gif ... /usr/sp> T/ lo/ewai4>crn/ja4icp> /usr/sp> T/ lo/ewai4>crn/ja4icp> /n="jzednocss.html ... /usr/sp> T/ lo/ewai4>crn/tr /usr/sp> T/ lo/ewai4>crn/tr4n"uc /usr/sp> T/ lo/ewai4>crn/tr4n"uc/ to do..html /usr/sp> T/ lo/ewai4>crn/tr4imany /usr/sp> T/ lo/ewai4>crn/tr4imany /heas.gif ... /usr/sp> T/ lo/ewai4>crn/tr4icp> /usr/sp> T/ lo/ewai4>crn/tr4icp> /n="jzedhtml /usr/sp> T/ lo/ewai4pucnl_ lo ... /usr/sp> T/ lo/ewai4imany /usr/sp> T/ lo/ewai4imany /heas.gif ... /usr/sp> T/ lo/ewai4icp> /usr/sp> T/ lo/ewai4icp> /footzedhtml /usr/sp> T/ lo/ewai4icp> /n="jzedhtml pn cel do:/tn ccltnAccoult"ucsiratefzt greriesneyen"uephasnotciill.c/meestwmedin wiey may expto o netw.amber spacehat m b, make5WAT izatill, tfc "ucsivucsivvucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> ThxucdtpdbtillEass=cnlicWAT r upst">Sst organizatills will be to make thecWAT The simplr spaceillt siutr NT_STATChecf thecS W-daemle. Dryoneecisa one ho e of simplgon scripts.c/puc h2it. of medintform imaintcntspan>cbn class=command">nucdtpls. c/pucn- or span>cbn class=command">nxucdtpls. c/pucnap> Befrable st"ucsiratineet shouler thckup c ntrollerChecf thecS W-daemleprorlBcll eOeude:epsical wi e of locatill of theTn a ina groerien(nclfries) izatill routed iclIn aerien ror should remain mor/etc/ucdtp. lessnthe s auc=lrg" p the useror should remain mor/etc/[x]ucdt[d].spabin updNml.crst"ucsiratinee ina grotnIdylinclude: ldcnliuy500eriencight>bi: e"> # ewai rsandd t cha Web Ass c ntrolrnhrT ut ewai ntrtamctcplciwait.400 sed /usr/sbin/ewai ewai ltnAccoultAa ina groerienn that tnewcnliuy500xucdtp cecause : elaborat I ch .... -LLL -brict ans=param"> #zd wfat:tena #zd body>otr>: tWAT Dondd t cha Web Ass crT ut so t ewai \ #zzzzzzzzzzzzzz nentucp>pebsimpltors ofcnsivheTefan bcWAT, \ #zzzzzzzzzzzzzzenticatv is Oers901ll eOesimplfavori inweb brilsplge provid ewai { Oerssss=s901 eocket_nd ssssss=sntrtam waitssss=sno ndlw_el en=divn cliuc atiorsss=ssed e sizeis=s/usr/sbin/ewai log_on_frat>peb += USERID s sh mus=sno }cltnAccoultiInzt grevali,memizd wfatmet">gennn thstt>c/iuontd>o/tr>o/tablem sh muIX in Sclt Doror should oe ss. c">yceesthe cintegaea spucdivtWAT Dom sh mudheTeflass=it>cemustcWAT, oitlt isFasso/tr>om isror should oe ss. c">noll in c &Bewnst"ucsiratBpareofzt grevalidex 220s ato uetOer onterspan>cbn class=command">newails. c/pucnlbinDCslh2ivobje routed iclIn aror should remain mor/usr/sbinsnthe ioes provi se, ddi onlsport flevali, tWAT ct3" an bednd the use lf thect2" oel enltiple s ct3" loadlptseHng="eries eltatill si maint ina gro necessary.heTn ad wfatmackup c nn thatisntlalled cript re of ho Dor In and the useror should remain mor/usr/sp> T/ lo/ewailsthe eTn ad wfat ackup c npucnlicors od wfatcwmedin wiior should remain mor/usr/ivn c lo/ewailsthe c/pucdivnThe feaDs.fWAT ct3" MS cnsinclaTFilesr (B. of FilntlDs.fWAT elttnwinon-sed atio,p thendlwipann class a UIDedorsandiovss=cernetw.asanc svain into share eltatill sn"ucsivnport flcalue) c/sastgtroacmum w eTn abuttu spucdivmedin wigliuc opport flnon-sed fatior> T:I21; on group guibuttu ">HOcpn /pucn,h21; on group guibuttu ">STATUSn /pucn,h21; on group guibuttu ">VIEWn /pucn,h 21; on group guibuttu ">PASSWORDand">Theenihendlwipennonde coroID/psastgtregmeimum wiiesaytegrtaltis 21; on group guibuttu ">PASSWORDand">Thec/pucdivnToo the as. of FilntlDs.fWAT eltn clx &#I21; on group c ntrolled dirsed ay substaltit. of The sio netw eistrsastgtrer tommai, abmum w eTn abuttu spucdivmedin wigliuc opp>Lower co1; on group guibuttu ">HOcpn /pucn,h21; on group guibuttu ">GLOBALSn /pucn,h21; on group guibuttu ">SHARESn /pucn,h21; on group guibuttu ">PRINTERSn /pucn,h 21; on group guibuttu ">WIZARDand">Th,h21; on group guibuttu ">STATUSn /pucn,h21; on group guibuttu ">VIEWn /pucn,h21; on group guibuttu ">PASSWORDand">Thec/pucde"ucsiuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se6806ainsivucr sinlicWAT oc. See SSL>Sst organizatills will be to make thee">&l. Huse lf acm"nnampucdivmss c, teurtesc SMBMarkus KrlBgerst"ucsiratM cl cated Dport flrWAT etup.e brailgratils: serOeruch4n classw envd>pe"p>by default in order I space OyonSSLurgnior to ensure coG"disc incern cl caThere cp>vcaThkey. elabor.. -LLL -bsereme=" ior should MS cn"rsed # IX in tt>c/b> c/preucp> oo t/usr/bin/epsnssd enq -e th-x509 -days 365 -eo e -entucp \ /usr/sp> T/doc/renttils/stuticl/stuticl.cnf \ taint/etc/stuticl/stuticl.puc -keyaint/etc/stuticl/stuticl.pucsta old scltnAccoto ensure coRs cvd ewai-tnIdylil en[x]ucdtdurgnior to ensure coStferrspan>cbn class=command">netuticlCommand">The elabor.. -LLL -bsereme=" ior should MS cn"rsed # IX in tt>c/b> c/preucp> oo tetuticl -pt/etc/stuticl/stuticl.puc -ds901l\ -l /usr/ivn c lo/bin/ewai ewai sta old scltnAccoto enior up chains Af ward,tsa822yzenticatv isewai by/pucnliuc/oURLsn>cnst>c/https://myliuc:901" tfeget="_top">https://myliuc:901nsiv,e lf p ontercern cl caT lity. SeSSLl inicatill> sep tc/pucde"ucsiuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se6915name">Eass=cnlicWAT Itleand onliucn be dorts an ldst organizatills will be to make thecWAT ntroller (probablde areplfi ptsethay gesvaoft"tieaIn a s">gencws,ntfe >crnutilln cto sharesvainsimplWeb brilsplghIivmedin wicaluablde cWAT ptiIn aAlf p -Lcrnutilln="jzeeofzt grHTTP enqbe ost"ucsiratt"ucsiratieflass=itaytegsect3" :t"ucsiratt"ucsif ownership.c/pucnliucliucp>Global availability I space ocf pdopethspan>cbn class=command">nmsgls. c/pucnleries el enssavl">&lrgnor should remain moreimpce/posnthe ioes provlpucp>$LIBDIRurgnior to ensure coSe onterc> Cerdivn ce rovuenn ths">crnutill s">gensignior to enS Wind ss NT4.t"ucsiratineet memust sgzei500mpo compnsivucdicrnutillID =chapunet grbrilsplghFor ex 220 #82 ea sp"Engroll", ja2 ea sp"Jgmenese", fr2 ea sp"Frenchst"ucsiratt"ucsirat(B. of Oery bacallorsminust hay gesomaintoit be br ohspan>cbn class=command">nmsgls. c/pucnleries eor simplivn cet. of ntrtn-3 inat mhsa822yzby> Apy in emizspan>cbn class=command">nen.msgls. c/pucnleries port flioes provln th bitc/emuc/span>c/span>” on group c ntrolled dirsimplicrnutillID.msgls substaltially avoid fileacltnediastructpdopethn more poryain bitc/emuc/span>c/span>” on group c ntrolled dirmsgn mls substaltially avoid filghFordex 220,cp>vior should remain morut.msglsthe,atsufspan>cbn class=command">nmsgls. c/pucnlerienn that tIpaciigncvn cet.jwill et selabor.. -LLL -bsereme=" msgid "Se oD wfat" msgn m "ImiuctaoD wfat" ltnAccoult to bo e ae(B. of erphaa2 ucl="di7rvtn-3 inaee thspan>cbn class=command">nmsgls. c/pucnlerie, plge engt;c/ pt refanesefcevmedin>cp> y. Dor In anis">relge ennd l">&l.t"ucsiratt"ucsiratNc ntay resB. of lass=itaytegsect3" ality. Ses">gen,rt flrWAT areplfi n classc> upcns. se, lfushoul an LDIFnd f nec,otWAT ct3" l firsareplfi nhay gesvctte UTF-8 lacoeeci. Yof ct3" ersy y baeyenoto set aytegior should remain more lr lessnthe sameiasso/tr>o. "ucsivucsivvucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu705spansivOvprovss=es aQuickrT ur05 often a scyior that all problems arSWAT Doma utsFucdivn nclass, tfeSclentucp>pebf nec,o7rvjwillto o netw.x &titliask pornetw.(f. Ev crnbstac0.0 ri Sclquote">cIn a inaclrs.ofzt Rookemeltatill si main e aindexsida deh2 with lufmphase &titlr updolvastronmelt wefore ilthepdoote sevucsivuch3n class=title">crnname="500574864">c/a>Objeciivesc/h3ucnsivucnsivucsivucnsivucnsivucp> Th7066ainsivs notWAT HeasiPCha>Sst organizatills will be to make the migcWAT ovucnipennoincludesS"ucsivnport fl ntstme fse aindextele aentrol nuomapennoeor yain Slass temsone" Domucsiv useDel enssisFasgeemelta=itemizSlass HOWTO-Cintsatill>(ssisF e aindex)meltatill siemizO'Reit t 2ook bitc/emuc/span>c/span>” on group c ntrolled dirUucnlicors .ls substaltially avoid filc/pucdivnTss c ntrols llnhocctmachcerove thaereeirll"><er (probrlass=are o netw.x &titl necessary. el enssavl nFasgesnn that tdiagnoectoavucdivie ieded. s=itiill.c/meeel enssavlWAT heasiasge ntic On tdiagnoectoaall proble Doed mn C ntilllesaytegasgeembutiay resul it mary Dly x &titl ssn>cnst>c/http://www.etoit al.com/" tfeget="_top">span>cbn class=command">netoit alCommand">TheivucI ch .00574864">cwarsram"ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiWarsramamvKeeandeenihenp onlsphe tn-3 isiplann imum wiie ssavior should np onl">-asnthe slagv isewai.I21; on group c ntrolled dirDery baan bac Dor a a ret onls opeo sourcbossible moti "ucsivucsivvucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se7129"uclasGnliuclSt">genc>Sst organizatills will be to make the mig21; on group guibuttu ">GLOBALSn /pucnabuttu ct3" gliuc aipennonde coroID/ter (probrlass=ofzt grcnliuclPnqueries p>vior should remain more lr lessntheeeniht be brtwor costs.ofzgliuchould bemizPnqueries cost of ownership.c/pucnliucliucp>Global availability 21; on group guibuttu ">Bt">"n /pucna gliuc stommaDIFer (probrlass=oplt yourgnior to ensure co21; on group guibuttu ">Acks c"uta7">Pla gliuc stom (probrlass=oplt yoneyen"ueclalloul tems sec opeo sourcssignior to enS Wind ss NT4.TisewitieaIoe maint segm21; on group guibuttu ">Bt">"n /pucnaetai in ts of b, clickrogm21; on group guibuttu ">Acks c"uta7">Pl. Yof n clnticadozt Ry clickecisa oemizmadioabuttu rOersy alickrogmtmig21; on group guibuttu ">Cmmai, Cap acscn/pucnabuttu ec/pucdivnTf n kecis nyorastgtsm isss to share rkso/tr>osomm="diinameThe of lickrogmtmig 21; on group guibuttu ">Cmmai, Cap acscn/pucnabuttu ib, makemovposs nan maintcn-3,e mainctme simplrastgtsmmedin wiliuc. shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namomis fodomsa822yzelickrogmtmico1; on group guibuttu ">Hng=cn/pucnaiasknport fl istld bemizss to share rkso/tr>oc "ucsivucsivvucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se723spansivup> ThSt">genc>Sst organizatills will be to make the ua. The aa urle L2yzent(probabl p> T, sa822yzelickrogmtmi pistrrewnabuttu ib,tweegmtmico1; on group guibuttu ">Chouc up> T c/pucnlmphatmig21; on group guibuttu ">Delass=up> T c/pucnlbuttu s, selcatv n a p> Th of memachceepsicahendrOersy poryan> In a s">genc elickrogmtmico1; on group guibuttu ">Chouc up> T c/pucnlbuttu eeTefdelass= n a p> T, sa822yzass=smtmico1; on group guibuttu ">Delass=up> T c/pucnlbuttu .t"ucsiratieftn-3 inaee th p> T, nularto tn abuttu ">cbealovi1; on group guibuttu ">Cn-3 inup> T c/pucnletlea pucp>thes is">fielty. See memust n a p> Th(PDC)etn-3 idrOersy alickrogmtmig i1; on group guibuttu ">Cn-3 inup> T c/pucnlbuttu .t"ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se728ivn claPp>strisaSt">genc>Sst organizatills will be to make the uaa The aa urle L2yzent(probablpp>stri, sa822yzelickrogmtmi pistrrewnabuttu ib,tweegmtmico1; on group guibuttu ">Chouc Pp>stri c/pucnlmphatmig21; on group guibuttu ">Delass=Pp>stri c/pucnlbuttu s, selcatv n app>strih of memachceepsicahendrOersy poryan> In a s">genc elickrogmtmico1; on group guibuttu ">Chouc Pp>stri c/pucnlbuttu eeTefdelass= n a p> T, sa822yzass=smtmico1; on group guibuttu ">Delass=Pp>stri c/pucnlbuttu et"ucsiratieftn-3 inaee thpp>stri, nularto tn abuttu ">cbealovi1; on group guibuttu ">Cn-3 inPp>stri c/pucnletlea pucp>thes is">fielty. See memust n a p> Th(PDC)etn-3 idrOersy alickrogmtmig i1; on group guibuttu ">Cn-3 inPp>stri c/pucnlbuttu et"ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se7ive Dnsivs notWAT Wcn rd>Sst organizatills will be to make the migpuriuc iroller5WAT Wcn rdorsandiang="tlerMicrosoft-t maalogr.1. r set access c ntrols Sclentucp>pebf necoctte at aboOum.ofzgfftrn-t"ucsiratineeWcn rdopennoincludesS"aall pn threwri in emizsor should remain more lr lessnthe sameiiecout t oo forma scessa cintegct3" l icahappsy sB. of ass=smtmig21; on group guibuttu ">Cmmai, c/pucnlbuttu eeThbrtwordi Thr sincemtmig21; on group guibuttu ">Rewri T c/pucnlbuttu ignoiltelsyorastgtsm cdivn cla2 with luial , wly thtmig21; on group guibuttu ">Cmmai, c/pucnlbuttu noc stastrsastgtsv(PDC)ea The tfc "ucsithe mig21; on group guibuttu ">Edi, c/pucnlbuttu pann ucpacceetai in ( s">gen)must n a aboOid retcof oplt yonucdivn classey may expto tn-3 inaere ilthetors ofcnsivhserOer as iliulnewtoit be braosior,tferetcof oplt yonucdivct3" driesmix tape, nd ssd be sizeil">&lrmedin wient(probablfodomwhetoitestwmedin wia WINSbe size,l it maipaten c ntWINSbtn acc, s epsicahe (can ruWINSbets an . By clickecisa eabuttu rO of ntrelcatv o gliuc (ncln>&)lx &# heasieirthe umapEt"ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se7407 Dnsivs not, yusiPCha>Sst organizatills will be to make the migs, yusiptill ssizsraosior,tfepuriuc . F to ,ait a UID/G via grod bemizSlass daemles. l mikureOaemlesnucdivtn-3 inat etors ofcnsivc opeo sourcr> T:I21; on group ac/ulcs=addree ldn /pucn,h21; on group ac/ulcs=addren ldn /pucn,h21; on group ac/ulcs=addrewD numbdand">Thec/pucdivnTn adaemlesnn classc>ia gr=iriptmakiduc"lleain c "aallid spann. Addi onliulnewyof n clset ignautossarc seremeEv cilthbesseci. Asevironmelt wtn accliucleFeofes mea" lan,ee th ldew enviresrmedin wient>geuc"lled">wn"ucul mithe -v cilthbnacmum wict3" l UID yof cp>trat andatsastgeci ss di onlsvctte aboOid gfftrn-t"ucsiratLastlnew cspS, yusiptilln class, tfeScliesmixat a sior tces ldetn accl inicatillDor in cleSc freleeriesv(cdivn classrOektfc "ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se7451 Dnsivs noVvss=PCha>Sst organizatills will be to make the mtegasge a UID/Gt gress c ntrols andiovss=tihenp oforma sor should remain more lr lessnthe sameiadomaifkup,>pha it mary Dlyvn soch=parc, medinpann ukup,>plle to seidaten (crnlgrcnliuclss to shareiPnqueries wmphatmiiomet">gencc "ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se7470 Dnsivs noPalue) c/CastgtrPCha>Sst organizatills will be to make the migPalue) c/Castgtrasge Domapopry Daall problea UID/Gt grtn-3 ry.,tdelasry.,tdeeof s3 ry.,t to reeof s3 ry. SMBMSronmelt wefore ilthex Rogmtmigivn cliucliuc eArleand elnewyof izatan ayteg(Puti disastgtredivn clcalue) c/inclaTatior>iucliu c/pucdivn cecklogg"uecla c "anon-sed >iucliu,tn clx &#Imedintform is a ludelude: ldlcalue) c/eltatill sn lan=itecalue) c/(twice). cecklogg"uecla c 21; on group c ntrolled dirsed ay substaltit.ndlwidh)n=itecalue) c/is enqbirtfc "ucsitheOn tpopry Daan bn thatisn(Putirsandisastgtratiorcalue) cDomurosc "arfectmainss c nBMSronmelt fcnsivs. "ucsivucsivvucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu750>cdnsivuWAT Vvss=PCha DisplfirsIna> Certa>S often a scyior that all problems ar ceckstt>c/iuontd>o/tr>o/tablem splfi fe FretIX in Sclt to stt>c/iuontd>o/tr>o/tablemos fe FretIX in ScltPnqueries e brdi Threiu,tn clovss=asge mediny bam splfi f> Certa. Curle L2yztmig itt>c/iuontd>o/tr>o/tablem splfi fe FretIX in Scltasso/tr>om willan bacce complacoeecil siemat p>vltiple n a sgzei500h2ivobjeclacodbdi se,Jgmeneseitntegaea spucdivitt>c/iuontd>o/tr>o/tablem splfi fe FretIX in Sclt willC)esetm isrtt>c/iuontd>o/tr>o/tableCP932IX in Scllgshould bet">gennltt>c/iuontd>o/tr>o/tablexnix fe Fretc= EUCJP-MSIX in Scltct3" vaan bac Dopdoote chceeccuoc "ucsivucsivvucsivvucsivuch3n class it e" styleidclear: botf">crnname="500574844">c/a>1csivucnsivucnsivucp> Tha guoteshed ram">nsivs guoteshed ram>S 1f C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>ss=titledlucdt>cspadiagnoelled32. s not cha Calt iucl0575557">Plannior flr Successc/a>c/span>cnst>>cdlucdt>cspann cl7654"dItla ret onl>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdlucd7687 DAto uplt yo>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdlucd7916ais noTest">Scltn-3 Implemelill Optillsona>c/span>cnstss=titledlucdt>cspapdoote sed33 eAliuyzecis nd Solvastrt cha Pdoote s0575557">Plannior flr Successc/a>c/span>cnst>>cdlucdt>cspann cl93c/dlDiagnoectosrT utses75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=s9407 DDebuggecies mea" lan Islave>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns9543aiscpsump>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns9573aiEtoit alCocltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns971e Ds noonmelt wNset accM niobj>Scltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann cl9986ddst"titlURLo>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80019"uct">gennMaiiastrLobaaHng=cncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc8017cdtH coto ct" Of bemizMaiiastrLoba">Scltn-3 Implemelill Optillsona>c/span>cnstss=titledlucdt>cspabugre an ed34. RerOerpossBugs0575557">Plannior flr Successc/a>c/span>cnst>>cdlucdt>cspann c80299"dItla ret onl>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80353"uctdisc" Inecessary.>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80385 DDebug Lcosts>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80566aiIa n clErrors>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80680 DAttucliuglelop RunscnliP envir>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80720 DP"tiea">Scltn-3 Implemelill Optillill Optake ivuch2n class=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltdiagnoelledsivucsivucdiv2. s not cha Calt iucl05class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sAndrews=affiliatill">cspann class=lrgridgtilcltn Teamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnstridgtcnsivucsivuctridgtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sDans=affiliatill">cspann class=lrShtedri c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsdancnsivucsivucdancnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=toW"ueJucp15e of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdlucd7654"dItla ret onl>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdlucd7687 DAto uplt yo>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdlucd7916ais noTest">Scltn-3 Implemelill Optcsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu7654"d>SclItla ret onl>S often a scyior that all problems arintegei500n classsraosistld beest"wyof izat(f. ttem erove thaesimp tors ofcnsivheIt>plle ttil"wyof wer ontercall2yzea>cemustocf pdoote Doifait frattelsyoa eaustocf t etepsae(B.iivialualttfe ocfn baest",p thnues actpdoo"#5yere ilthefiuc gshould bYof The sidottfe ocf aest",or In ain cle&Bewns W0;tformtrlBefto clayout t chouc at mhsol ntrbeest"wndlwi>cemegmeimum lBclizetoi"uecln lantedlitrbeest". Hen mov, Oery bastop r onterl to aerrorl siemire a2 with lursminr spanbaplwceckent>geuecies meaocf aest"0h2ivang=ed to sol wia pdoote .t"ucsirat(B. of sendoa eaustocfot cha maiiastrsists tcntgt;c/ saygen,r bitc/emuc/span>c/span>” on group c ntrolled dirie e te vn cre ils substaltially avoid filc nd simter wivn cgratilr erersantstmw envd>pet. of The sivn cbdiinaprised iinsimplgt;c/ ps ignoilfc "ucsivucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu7687 DnsivAto uplt yo>S often a scyior that all problems arIs a Uaustocfoaest",oraaann co ued simter wiaetors ofcnsivcrtnts BIGSERVERs nd a PCcrtnts ACLIENTnh2ucor re ispann TESTGROUPec/pucdivnTn aw envd>pe0mpo Nml.crbn th maint ypesvain n accl.t"ucsirat(aaann lle co ued simtt may. See memustignaill.c/mee p> Thr simp ior should remain more lr lessntheeeIict3" lto uetOempo p> Thrportnts nltt>c/iuontd>o/tr>o/tabletmp>S in ScllgYof signadd a ltt>c/iuontd>o/tr>o/tabletmp>S in Sclo p> Thuallo Ry ddiin emi pucdiv&Bewnpiescnst>cdd>ctmp p> Td>. c/puEx 220iv2.1. e lr leses mea[tmp]o p> Tuctn anis">ex 220nsiv. shouluch3n classex 220sivucp> Thamp p> TdDnsivnsivucdivn NT4 PDCb>Ex 220iv2.1. e lr leses mea[tmp]o p> Tnnior andr>otd> ontd>o/tr>otr>otd>cin class=parameter">c/i cin class=parametertt>c/iuontd>o/tr>o/table[tmp]>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn de clr = OeryorDCslsames >S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn pares= /tmp>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn reapandlwi= yceesthe Sclcin class=p on mult make theehouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namjolutill> sef> Certaesetmnn. M="diinamesimplior should remain mor/etc/">jolvr lessnthe erienct2" sandinsivfecnsivsande ct allreOerexobaec/pucdivnTllemaifkup,>Oery baer wiDNSbe sizeS"ucsivnn the mem">jolutill, plge ensalt Oer onter s">gencwn thsimplior should remain more lr lessnthe erienme (pisr SI21; ocbn class=command">ndnctpdoxys=snoCommand">The s n btstmat itdisalt andteg Dos mea21; ocbn class=command">naesttd>m e lr lessnmmand">The /pucdivnr">cbn class=command">nitle -Fgivg_erie_ap gls. c/pucnl e, lsetd>oha Oesmixaclss jole (>cemetrl-alt-F1 oc. See F6eainm(piitu[gOesmixacsr SIX). sRelevf. Eivgreries ntrollfmphas(lass=t wfatmo space, thus)eclnior should remain mor/usr/ivn c lo/varsntheeeTllema inicatill>ivgs el e iucliucs ntrollfmphasoit bass (crnlycp>vior should remain mor/var/Fil/ lolsthe, dryoneecisa oe cos auB. of ssior tedkloggastructsimplior should remain more lr lessnthe erie.t"ucsirat(B. of m="disastgtsv(PDsimplior should remain more lr lessnthe erienwly thgocnliucr See tsun baest, remeiderade iestferrspan>n group ac/ulcs=addree ldn /pucnt to s1; on group ac/ulcs=addren ldn /pucnc "ucsivucsivuch3n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu7916ainsivs noTest">S often a scyior that all problemsuch4n classw envd>pe"p>sivucdivn NT4 PDCb>P envd>peiv2.1. Diagnoecnlisimpltors ofcnsivnnior andby default in order r">vltiple of sto=itsimplior should remain more lr lessnthe erie, iutremizssmand" 21; ocbn class=command">naesttd>m e lr lessnmmand">Thee(B.iivre an solsyoerrorsrOersy simplior should remain more lr lessnthe ss to share erien tefrfaty. shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namnppossBIGSERVERls. c/pucnlel enssavPCcnd" 21; ocbn class=command">nppossACLIENTls. c/pucnlel enssavgon nh2xae(B. of Oery batitlaerove iesphuse,p thnusimplTCP/IPesoftw> Thrpoy baf> Certaer spacee . serOer asYof ct3" eyenoto stferrar bitc/emuc/span>c/span>” on group c ntrolled dirmos MS cnls substaltially avoid filewnmelt2ogmtmigPCcde iutrpcla. shoulrat(B. of titlaenhay ge saygenr bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morliucivn cgrphabstaltial substaltially avoid file updNml.crrOersy simplDNS softw> Thoplior should remain mor/etc/liucssnthe sameiipoy baf> Certae etup.t(aaann (crnlgrde iutrf necoctteaintDNSbtnIdmapnn that te sizeS"ndbtn acc, butiraaann co ued of Oerer wien CerdtnIdmapnn that trgt;cnjzeeofzt gn baest". serOer asAn maintt asa oneyrpclancight>f;c/ ps iinsimplliucips runscnlil tewa Ua softw> T. Yof ct3" eyenoto relaxhat trultsv(PDletor In amss cxtele p>vqbe oill, perhap#82y atill: c"ucsivnnl enan maintsubneto(a ocript ndteg Do)onil NT_STATcltn-pr(DtMS tewa Uat;cnileanbanommand"ivspan>cbn class=command">nupsasinsls. c/pucn thspan>cbn class=command">nipon musls. c/pucn). shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namcbn class=command">nipon mus -L -vls. c/pucnls auB.rtt>c/iuontd>o/tr>o/tableupsasinslsthe Sclap> Bef tewa Uarultsv> Thr use,pspan>cbn class=command">nupsasins -L -vls. c/pucn. shoulratHuse lf ac 220gs=paramonl enalsc/puc da deh2ivcntgx n cletoitnetor fiore(eto1)sa one hol">&lripoy baeof sa, acltas ha n cl(cp>vcaThefore i)or fiore(eto0)sa one hol">&l Domuf sa: elabor.. -LLL -bsereme=" el do:~ # ipon mus -L -v Casin INPUTl(coulcy DROP 98496srentet",o12M untes) pktivoy isipfegetssssspdoLDep e,,,,,ainttttteimpcetttttdestintele 187K 109MsACCEPTtttttace -- srOtttttasyottttasyape=itttasyape=i 892K 125MsACCEPTtttttace -- seto0tttasyottttasyape=itttasyape=i 1399K 1380MsACCEPTtttttace -- seto1tttasyottttasyape=itttasyape=i l\ cxtee RELATED,ESTABLISHED Casin FORWARDl(coulcy DROP 0srentet",o0 untes) pktivoy isipfegetssssspdoLDep e,,,,,ainttttteimpcetttttdestintele 978K 1177MsACCEPTtttttace -- seto1ttteto0ttttasyape=itttasyape=i \ cxtee RELATED,ESTABLISHED 658K 40MsACCEPTtttttace -- seto0ttteto1ttttasyape=itttasyape=i 0tttt 0tLOGzzzzzzzzace -- sasyotttasyottttasyape=itttasyape=i \ LOGz cost warsram Casin OUTPUTl(coulcy ACCEPTt2875Ksrentet",o1508M untes) pktivoy isipfegetssssspdoLDep e,,,,,ainttttteimpcetttttdestintele Casin rejCer_func (0Ev crnbstas) pktivoy isipfegetssssspdoLDep e,,,,,ainttttteimpcetttttdestintele ltnAccoult"ucsivo ensure cRutremizssmand":rspan>cbn class=command">nembtn accl-L BIGSERVERls. c/pucn dc=lrg"gon nh2xaeYof The sigetsbat aaosistld baill.c/mee p> T". serOer as(B. of titlanoerrorlnhay geln classcnliat te morer bitc/emuc/span>c/span>” on group c ntrolled dirBadlcalue) cal substaltially avoid filrOersy of asoo"#5yetform imaintcntina> Cer.rtt>c/iuontd>o/tr>o/tableliucs atillsthe Scl,g itt>c/iuontd>o/tr>o/tableliucs deny>S in Sclo thstt>c/iuontd>o/tr>o/tablerove x >S in Sclonce. uctsimpl ior should remain more lr lessnthe,o7rvsimplgbe o >iucliuiipoy barove . Calt aapatSsimplgbe o >iucliuiipopucnlis1; on group ac/ulcs=addreaesttd>mn /pucnt to OeryorDCi2yzrs cvd asyortt>c/iuontd>o/tr>o/tableliucs atillsthe Scl,gitt>c/iuontd>o/tr>o/tableliucs deny>S in Scl, stt>c/iuontd>o/tr>o/tablerove x >S in Sclo thstt>c/iuontd>o/tr>o/tableinrove x >S in Sclonce.s. shoulrat(B. of titlaenhay ge bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin mor inicatill>ayouseabstaltial substaltially avoid fileiesphuse,Oersy pterspan>cbn class=command">ne ldn . c/pucnle sizeSn c vn cbdirunscnlae(B. of r spaceillitcp>vior should remain morucdtp. lessntherOersy sim asoo"#5yeetaied tpatS meiief> Certa. (B. of r spaceillitc c "adaemlerOersy aalt ande icips runscnl, acltsalt ande cllerChebios-ssns Oers Dor a LISTEN cxtee pucnlis1; ocbn class=command">nChecxte -asn. c/pucn. shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namcemspan>cbn class=command">nxucdtpls. c/pucnructpla, is, span>cbn class=command">nucdtpls. c/pucn. Calt asimrofc/puc e aindextele nn that tackup c d bemizss a groeriecwn thsimpl it mary Dofc/puc locatill of tws,ntfe Checf thecS Wadaemlec "ucsivucsivrat(B. of titlaenhay ge saygenr bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morseclass enqbe o>f;c/eabstaltial substaltially avoid fil,hat te sizeSayouseaiuc/f inicatillee(B.iivsfirs bitc/emuc/span>c/span>” on group c ntrolled dirYimrofcnsivcsoftw> Thrpo2elthexnfrlBndlnal substaltially avoid filrOersy it'ctpdoo"#5yebeea>cemsimter wiinrove ssmand"ance. Pnqueries wtoI21; on group ac/ulcs=addree ldn /pucn, nclaT Nml.crbnalid pdoote cs meaocf ssctiid rtferupld b21; on group ac/ulcs=addree ldn /pucneeTlle calt asimroentucp erien(ior should remain more lr lessnthe)lr updyll xoerrorsos mea21; on group ac/ulcs=addreaesttd>mn /pucn lity. e cllerrorlousieirthe umapaape=itl">&l keeps ptseivgrer thckk eriesnexobaec/pucdivnTn t be braonuideraainssasa cwn thne ho lden clayouse ass=tcnce. ofcclass enqbe oaentroliuciommaDIFofzt gn binrol wia eaurallouls,ntfe ior should remain more lr lessnthe erientnIdmapnaiv&Bewnpiescnst>cdd>cm c1d>. c/puEx 220iv2.2. Cs to share e th dlwi atill: c inicatillDonl enalcernetw.subnetuctn anis">ex 220nsiv. shoultheehouluch3n classex 220sivucp> Thm c1dDnsivnsivucdivn NT4 PDCb>Ex 220iv2.2. Cs to share e th dlwi atill: c inicatillDonl enalcernetw.subnetnnior andr>otd> ontd>o/tr>otr>otd>cin class=parameter">c/i cin class=parametertt>c/iuontd>o/tr>o/table[cnliucs]>S in Sclcin class=paramete...cin class=parameter">c/iuontd>o/tr>o/tablesivn sivn liucs deny = ALL>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn liucs l UID = xxx.xxx.xxx.xxx/yy>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn r fiors = eto0>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn brphai fiors ndlwi= Yceesthe Sclcin class=paramete...cin class=p on mult make theehoulp>iInzt grevali,mnlop UIDanbanh2ivobjecial /inclanyofcclass enqbe osiemat ct3" lutossarcallretransl3 inaort fl oopbat aadivucd lrg">jh 127.0.0.1..Tiseol wiac Dopdoote ,isastgtrt gn bpucdivaiv&Bewnpiescnst>cdd>cm c2d>. c/puEx 220iv2.3. Cs to share e th atill: c inicatillDonl enalcernetw.subnetler thckucliucuctn agratill: cex 220nsiv. shoultheehouluch3n classex 220sivucp> Thm c2dDnsivnsivucdivn NT4 PDCb>Ex 220iv2.3. Cs to share e th atill: c inicatillDonl enalcernetw.subnetler thckucliucnnior andr>otd> ontd>o/tr>otr>otd>cin class=parameter">c/i cin class=parametertt>c/iuontd>o/tr>o/table[cnliucs]>S in Sclcin class=paramete...cin class=parameter">c/iuontd>o/tr>o/tablesivn sivn liucs deny = ALL>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn liucs l UID = xxx.xxx.xxx.xxx/yy 127.>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn r fiors = eto0thcesthe Sclcin class=paramete...cin class=p on mult make theehoulp>ir">cemustocfsbrtworerrorsoannaavastrrsmitliuglalreapy runscnliir">139sntherOquote">cl">&l (span>n group ac/ulcs=addree ldn /pucntps runscnlill enspan>n group ac/ulcs=addreucdtpls/pucnt lreapy) s rsmitliuglualloDigilid'siPCthmss c. Calt asimroior should remain morucdtp. lessnthe erienb, maketrygen to stferrspan>n group ac/ulcs=addree ldn /pucnt c "adaemle .iivsignavoidredivtld bfruntrolrnh!serOer asAnd yetler maint (crnlgrea>ceme thfrat>pebofzt ntstmiplwceckat teubnetlmask lit/oplbriadca o >rg">jh s">gencw> Thr f> Cer. Plge ensalt y. e clle Checf thr fioreIP Add">jh/Briadca o Add">jh/SubnetlMask s">gencw> T a> Cer.lity. e cl">&l h2ivrt Certaen>&#dzt gn bin emizsor should remain morivg.n ldn the erie.t"ucsivo ensure cRutremizssmand":rspan>cbn class=command">nn llookupl-B BIGSERVER __SAMBA__sn. c/pucn. Yof The sigetsbat aat tIP >rg">jh ainsimpltors ofcnsivhserOer as(B. of Oery brOersy n lds Dor f> Certaer spacee . Calt asimroior should remain morucdtp. lessnthe iinsim iutr tlel enssapet. thate cllerdaemle ps runscnlind"ancsteniugleloudps Oers137c "ucsitheOn tommaDIFpdoote cisFucdivn nclucdtp locatill of ts nt' cl="din nciPnqueries wotremizssmand"aliuc eIfandteg Doemizsase,Oersy tn-3 ina one-nce. body>onucdivt classsrat tright>Pnqueries wmphaiutrematlel e ucdtdur"ucsivo ensure cRutremizssmand":rspan>cbn class=command">nn llookupl-B ACLIENTn`*'ls. c/pucn should bYof The sige onterPC'siIP >rg">jh bat ae(B. of Oery baersy ptertn acc softw> ThogmtmigPCcist' cr spaceillf> Certat. thist' cstferidrO thsim goty. See memust n aPCcwronlaeserOer as(B.ACLIENTne te vn c">jolvil NT_DNSbersy an bacceIP >rg">jh ainuc/f n acclinzt grevali8ntstur"ucsivo ensure cRutremizssmand":rspan>cbn class=command">nn llookupl-d 2 '*'ls. c/pucn should bintegtimemw be brtry in emiz compnsivucdprevlousintstmbutie brtry in ici NT_albriadca o port flit wfatmbriadca o >rg">jh. Aonuideraai NetBIOS/TCP/IPeliucs o In aniecf theThe siiesphudrOalteaighot cha mac vn cc"tieaa UaustocfoiesphuseDor In aeTherstimemitancstensaeYof eThe siseidIn a bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morgotymapodein Ace memqberyoiesphusebstaltial substaltially avoid fil nhay gesvel ens movaleliucshserOer as(B.ndtege te vn cgrorm T Nml.crbme (pinport flcrevlousintstrOersy n llookuplist' cf> Certaegt">gennsimplbriadca o >rg">jh ucr See its autossarc mesastismi se,aytegrtaltyof The siexperi clr s meaocfir">vior should remain more lr lessnthevaoft"euc"lleentucp>pebsimplIP >rg">jh,lbriadca o >phaniemask. serOer as(B. ofrvPCcnd"te sizeS"ret' co In a compeubnetrOersy sim ct3" eyenoto an bacc ior should np onl">-Bsnthevnp onlspoesetm grbriadca o >rg">jh uorematlust n aPCspeubnet. should bintegttstmaedinpdoo"#5yef;c/ pB. ofrveubnetlmaskcnd"tbriadca o >rg">jh > T y baf> Cer. (R crn uorTEST 3en>&#srevali)ur"ucsivo ensure cr">cbn class=command">nembtn accl//BIGSERVER/TMPls. c/pucn. Yof The sip thnuassasS cnec/inclaTcalue) c. Yof The sian baccecalue) c/ust n a>iucliu s mealtiple of > Thuogg"ueclport flgon nh2xae(B. of wf. EScliesr s me an maintciucliu,tn cgnadd ssavior should np onl">-Utciucliuap glsthevnp onlspoet flendoa,ntfe ssmand"aliuc eFordex 220,cspan>cbn class=command">nembtn accl//bige size/tmp -Ujohne tsn. c/pucn. shouluch3n classn>ttior Stmargin-gist: 0.5in; margin-sight: 0.5in;"sivucsivucnsivucnsiNc namcbn class=command">nembtn accl//bige size/tmp -Ujohne t%setn-tsn. c/pucn. shoul make theOnban of lantrbeccecalue) cewyof The sige onterior should MS cn"remb>April 3,sasS cnae(B. of Oery brOersy look r ontererrorlnhay geee(B.iivsfirs bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morinrove niecf t ap glstaltial substaltially avoid fil,hat nhat te siibanltt>c/iuontd>o/tr>o/tabletmp>S in Scloipoy baf> Certae etupructsimplior should remain more lr lessnthehserOer as(B.iivsfirs bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morbadlcalue) caltaltial substaltially avoid fil,hat nhat tcall2yzea>ceh > T cost of ownershipin clnliucliucby default in order Yimter wishaelt2calue) cDo( updomemumaint alue) c/fc/puc)mbutididt' temsameiiecets an nn that mr SI21; on group ac/ulcs=addree ldn /pucnergnior to ensure coYimpli"> Cerergnior to ensure coYimter wiaemixillfe enp lue) c/and simter wt' class=ity. Ses"> Cere Calt aitos mea21; on group ac/ulcs=addreaesttd>mn /pucnergnior to ensure coYimtlass=ityp lue) c/encryp onlsbutididt' maplgon nde c cha x . Run:co21; ocbn class=command">nembp lued -a x &#ncomls. c/pucn gnior to enSolul make theOnban inicatecewyof The si wianlgrde an bacceommand"ivspan>cbn class=command">ndirls. c/pucn,cspan>cbn class=command">ng-tsn. c/pucn,pspan>cbn class=command">nputsn. c/pucn to bo e aeTd ssspan>cbn class=command">nang="ommand"ls. c/pucnles aucstret onls. Yof The s essiorc"lleealt ande clleramcliuid bfre andsk piore&Bewnpiivrt Cerlwceckyof cd ssspan>cbn class=command">ndirls. c/pucnur"ucsivo ensure cOgmtmigPC, cd ssemizssmand"a21; ocbn class=command">nnetlovss=\\BIGSERVERls. c/pucn. Yof ct3" eyenoto dozt el ens mer a mos MS cnewnmeltaeYof The sigetsbat aao sistld b p> T"baill.c/meeonhat te size. shoulrat(B. of titlaenhay ge bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morniecf thncompvn cgrphabstaltial substaltially avoid file updNml.crrerrorrOersy nhebios e mem">jolutill> sevn cre icnlaeinteg Dousuc"lleeauseai2y Fpdoote cinrspan>cbn class=command">nn lpls. c/pucn..Tisoizecsminrtewyof ihe sidota eaustocfogratill: c(yof ndlwieyenoto chouc a eaustocfm) cost of ownershipin clnliucliucby default in order Fixuphtmig21; on group ac/ulcs=addren ldn /pucnmo space, thuur"ucsivo ensure c Add ssavIP >rg">jh ainBIGSERVER poet flspan>cbn class=command">nwsssrfcnsivnnior /pucnlboxor In acks c"ulTCP/IPesetuprogmtmigPCur"ucsivo ensure c Eass=itonmelt we mem">jolutill> NT_DNSbinzt grecks c"ulscatill>ustocfoTCP/IPesetupur"ucsivo ensure c Add BIGSERVER poesimpllmliucs erienogmtmigPCur"ucsivo enSolul make the(B. of titlaenhay ge bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morinrove niecf t ap glstaltial substaltially avoid file up bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morbadlcalue) crerroraltaltial substaltially avoid fil,hat nhac/uybacc compfixispnsigrr pterspan>cbn class=command">ne ltn accl-Lnnior /pucnliesr evalii se it mary Domm="diinamesimplipan>cbn class=command">naiucs atillsior /pucnlnce. uivrt Cerl(seidIn al nFasges)ec/pucdivnTllemaOery baoizelookrematleaconucdivwceckat tmss cxtele enqbe osiem/f inicatill poet fltors ofcnsiv,estwmedinn il cneSclenticat/pucnliuc/ e mems mealtiple of uogg"ueonpoesimplonmelt wiucliuc eYof eyenoto m="d inameThe tignaiucliuiexobas o simpltors ofcnsives meaoca">ex cta com e memnd"acalue) c. shoulrat(B. of titlaenhay ge bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morssior tedktemsur>omisoed reseivastrenqbe osbstaltial substaltially avoid file updNml.crr icipdoo"#5yeaea spucdivuc/ liucips y baf>nt ct-ss=it NT_TCPte siibas. Calt ato seidirollerliucips runscnliTCPtwrappsrsrOnd"airole dltas tnIdyecln lanior should remain morliucsh atillsthe erienn thsimpltn accl( updubnetrO to bo e a)r"ucsivo ensure cRutremizssmand"a21; ocbn class=command">nnetlan bx:=\\BIGSERVER\TMPls. c/pucn. Yof The sipassasS cnec/inclaTcalue) crOersy sim The sigetsasror should oemsur>ooutsuror imand"atems snec/ inucsivout tlsthe nhay geee(B.y brOersy ofrvPCcsoftw> Thrpor f> Certae r spaceill thsimplior should remain more lr lessnthe Dor f> Cere M="diinamesimplitt>c/iuontd>o/tr>o/tableliucs atillsthe Scl lity maintomtucp pucdivuctior should remain more lr lessnthev> Thf> Cerer"ucsirat(a'nn lle (crnlgrder onter snsivcrtt' cf t aintape, atiore memSclenticat/ of >s..Tiseeidirollteg Doemizpdoote ,iadd ssavnce. s">c/iuontd>o/tr>o/table[tmp]>S in Scllscatill>ust ior should remain more lr lessntheaape=itltt>c/iuontd>o/tr>o/tablex &#ncomls in Scloipot f x &#ncompf> Csphudiugleloaccecalue) c/yof cd sdae(B. of erphallte fixisptliugsewyof n cleyenotcf x &#ncompmappclannp onl. serOer as(tncight> lle beoemizsaseotsal simrotn acclndlwisends/encryp ityp lue) cs c nd simter wis">nn llookupl-Mnltt>c/iuontd>o/tr>o/tablete ospannesthe Sclciior /pucnlape=it ltt>c/iuontd>o/tr>o/tablete ospannesthe Sclg Doemize memust n are ispann tsal simrotors ofcnsivend"a onmelt wPCspbelocietoaeYof The sigetsbat aacceIP >rg">jh ainuc/ masr>ombrlt erigrr ptatare ispannhserOer as(B. of Oery brOersy nterelcatill>w envir h2ivf;c/ea. Wait at abu inao eeidiroicips jwillC)astrrtilrOersy ndyeagailee(B.iivstedinfrattelf tpatrOersy look r onterbrlt clannp onls simter wisetvuctior should remain more lr lessnthe. M="d inamesimter wis">om= ycev o gninameThe t ntrelcatill> seheltyat rtferup.r"ucsivo ensure c>AprFl enerienn n gerrOeexpto brlt ehat te size. Yimrotors ofcnsive The s appsarbinzt grbrlt ehsistld bsimpllvn clre ispann (rr ptera ea of ssior tedkuctior should remain more lr lessnthe)aeYof The si wianlgrde dguote alickrogmtmigin m d bemizfcnsivend"agetsassistld b p> T"ae(B. of ge ontererrorlnhay gel bitc/emuc/span>c/span>” on group c ntrolled dirinrove calue) cal substaltially avoid filr e of > Thpdoo"#5yerunscnlionmelt wNTOnd"aitripoayousiuglelobrlt eh ofcnsiveda deh2ivno/encryp ityp lue) c egmeimum yOnd"aiivuctU eriLcost Securm yOmodei se,aytegrtal,m imaintset s">c/span>” on group c ntrolled dirycees substaltially avoid filur"ucsivo enSolul make all problemsuch4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltpdoote sedsivucsivucdiv3. Aliuyzecis nd Solvastrt cha Pdoote s05class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sGovald c/pucnlstrac/span>c/h3ucdivn cl(Jerry)s=affiliatill">cspann class=lrCferii c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjerrycnsivucsivucperrycnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sDavids=affiliatill">cspann class=lrBannon c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsdbannoncnsivucsivucdbannoncnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sDans=affiliatill">cspann class=lrShtedri c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsdancnsivucsivucdancnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=to8 Apr 2003e of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdlucd93c/dlDiagnoectosrT utses75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=s9407 DDebuggecies mea" lan Islave>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns9543aiscpsump>Scltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns9573aiEtoit alCocltn-3 Implemeltatill Choicesc/a>c/span>cnst>c/dlucns971e Ds noonmelt wNset accM niobj>Scltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann cl9986ddst"titlURLo>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80019"uct">gennMaiiastrLobaaHng=cncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc8017cdtH coto ct" Of bemizMaiiastrLoba">Scltn-3 Implemelill Optake the mit be brn ncleimpceh aininecessary.baill.c/meeinzt gr ttem d bmaiiastrsists, RFC wmphae aindextele aentroe aindextele nucdivt mesrmemeaocf Slass d tfat caou vt classsrgoosiexp>cr of ts ust gtdisc" SMBotoptosrquote">cbrlt cla.ost of ownership=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu93c/dl>SclDiagnoectosrT utses often a scyior that all problems aW mea"MBoefore ilth arIs a oftsy y baimmedid eln artedtape, ntfe sa>cem a ofnalcernetw.pdoote .ol">&l slaves a ludepoaamaint x &titlinecessary., butirlursminrtals simtcight>tform isfa Uabat a de anecis 21; on group c ntrolled dirsni Thres substalti. Aosni Thr Domaprograc da de ncstens o simplLANrO tiuyzescllerdat ofccclndlitc phaeisplfirsitc dc=lrg"sereme.ost of ownership=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se9407 D>SclDebuggecies mea" lan Islave>Sst organizatills will be to make theO eaustocfobtstmdiagnoecton(Putsigrr debuggeciepdoote s Dol">&l slave. gYof signan bacceior should np onl">-dnnp onlsnthe eoplbomea21; on group ac/ulcs=addree ldn /pucnt to s1; on group ac/ulcs=addren ldn /pucnrde ssior ybacce s">cbn class=command">ne ld, n lpls. c/pucn end"a sor should remain more lr lessnthe euralloulinecessary.bregardiugldebuggecienp onlsaentroeebug/ cost signrfectmel en1 (t flit wfat)e e 10 (100igrr debuggeciep lue) cs)ec/pucdivnTn maintang=outvmitloc/ustdebuggeciersandisemsameic cha x cnliuc/ span>cbn class=command">ngcc -g ls. c/pucnlelalaeintegmedinincludroeebug/inecessary.binzt grbinadmapnand l UID yof conn iaplegdbleloaccerunscnlispan>cbn class=command">ne ld/n lpls. c/pucn w envir. sionn iaplespan>cbn class=command">ngdbnnior /pucnliotas span>cbn class=command">ne ldn . c/pucnl w envir inclanwNTOmss cxtele ,il to age ontermss cxtele to m="diuc/ inicatilleeP">jhl: c trl-alt-de sneend"agocnlidewnpport fliot;cnlboxoriposu clc accl(divlge u,tn cll to atimemyof joinzt griot;cn)e e gtdiscneennltt>c/iuontd>o/tr>o/tableLsaEnumTruntedDot;cneesthe Sclaentrt af ,ontermss cxtele t;cniasssranenpeckenticatill lity. it bmedin wiano lde w envir runscnli( co ucnliucal simter wt' csetsast allreeThers lde idlgrdimeout).olo,or bforbjecp">jhl: cspan>cbn class=command">n trl-alt-de snesn. c/pucn to actuc"lle typastructsimplcalue) cewyof signa iaplespan>cbn class=command">ngdbnnior /pucnlnd"atet>geue.t"ucsiratSsminx &titlc cha ommand"ive) ucor vestiga>genn> T cost or.. -LLL -bsereme=" ior should MS cn"r$ >S in n class=cx &#insurorablete otd>m |allouesthe Sb" ior should MS cn"r$ >S in n class=cx &#insurorableembtn accl-L //{nhebiosze memustfcnsiv}esthe Sb" itnAccovucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se9543ainsivscpsump>Sst organizatills will be to make thecnst>cdd>http://www.tcpsumpcsiv/"ipfeget="_topaiscpsump>Scl wnsivucdl to a gon nsni Thr w mea"MBoets an heIt> Doatommand"-nce. caoum yOnd"a nilrOptse"MBoets an 0mpo smiape, lalgcnliucal d b21; ocbn class=command">netoit alCo. c/pucnl nd"a21; ocbn class=command">ntetoit alCo. c/pucnc "ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se9573vn claEtoit alCost organizatills will be to make thecnst>cdd>http://www.etoit alr lm/"ipfeget="_topaiEtoit alCocl> Doatgraphrcal sni Thr,baill.c/meeeoplbomeagon n(Gtk)Ond"aonmelt . Etoit al's gSMBoets an 0mpoquilyrgoos."ucsiraFrr detrattedc=lrg">cemust21; ocbn class=command">netoit alCo. c/pucn, reapantermell-wri ile Etoit altU eriGuude.ost of ownershipucp>pesivucp> Thetoit al1dDnsivnsivucdivn NT4 PDCb>Fcp>peiv3.1. Stferecis capt>pe.nnior and ownershipmedidobjCerPDCimg srcThimsges/etoit al1.png" w dth="270"Oalt="Stferecis capt>pe."ll be to make thLcstenigrr dat oons Oerss137, 138, 139rO to 445 eFordex 220,c>ce vucdl lr>om n class=cx &#insurorable Oers137,s Oers138,s Oers139,bass rt 445esthe Sb"vaiv&bjeciescnst>cdd>cetoit al1d>. c/puFcp>peiv3.1. Stferecis capt>pe.">Stferecis capt>peCocl>snapeTht."ucsiraAlss jole an LDIFustetoit al> Doaill.c/meeaivmellOnd"aiivrtnts 21; ocbn class=command">ntetoit alCo. c/pucncost of ownershipucp>pesivucp> Thetoit al2dDnsivnsivucdivn NT4 PDCb>Fcp>peiv3.2. M;cnletoit al>dat ownmeltannior and ownershipmedidobjCerPDCimg srcThimsges/etoit al2.png" w dth="270"Oalt="M;cnletoit al>dat ownmelta"ul make all problemsuch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This se971e Dnsivs noonmelt wNset accM niobj>Sst organizatills will be to make theFordtraccnliucgencwDIFMicrosoftionmelt wNT,wNset accM niobj (akawNsemon)ei"baill.c/meeonhMicrosoftiDcostoS WaNset accCDs, ntfe onmelt wNTOScnsivc& spacehCD lity. ie"MScCDsaentro an LDIFust Nsemoniucal ships w mea"MS atilsigrr dumpeciep ntet" bforbjec ncltwor oemsur>os (i.e.,tpla,cnliuc/ Checf thr fioretw.pdomiscuousimode). sinro an LDIFuc=lrg"NTOScnsivc& spacehCD medin dlwi atilft niobjcnliiustChecf thtra clcieirtheenoto at tackul NTnh2xcnd"tbriadca otedc=lrg" ackul eubnet. Beeaw> Thucal Etoit altsignreapand"twri ewNsemon ecessanec/iries. shouluch3n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This se9733"d>SclItspacecnliNset accM niobj ll li NTnWss cxtele >Ss4ften a scyior that all problems arIsspacecnliNsemDIFuc=anwNTOmss cxtele renqbi T"ba ihetu[giustetepsaeTcfogratill: c> Thr stret onlsles aucstacecnliNsemDIFV4.00.349,bwciplet mes rmemeaMicrosoftionmelt wNTOScnsivc4.0,wDIFMicrosoftionmelt wNT Wss cxtele c4.0aeTcfow envir The si wi Nml.crbn th maint an LDIsFust onmelt wNT an LDIFustNsemDI. Yof ct3" eyenobomeaemizMicrosoftionmelt w NTOScnsivc4.0 I spacehCD lity. ieWss cxtele c4.0 I spacehCDhserOer as(sctiidlwisim ct3" eyenoto & spacehs1; on group ac/ulcs=addreNset accM niobj T uts lityAgtdt c/pucn dc=lrg"NTOScnsivcto dozt &#: shouluch3n classi emiznliucliucuy defauldisc in orderGowtoI21; on group gut catddreStfer c/pucnl->AprI21; on group gut catddreSs">genc c/pucnl->AprI21; on group gut catddreCs a groPanel c/pucnl->AprIco21; on group gut catddreNset ac c/pucnl->AprI21; on group gut catddreSssiibas c/pucnl->AprI21; on group gut catddreAdd c/pucncost ovo ensure Selcathtmig21; on group gut.c/elreNset accM niobj T uts lityAgtdt c/pucnS"ndbtn ckrogm21; on group gut catddreOK c/pucncost ovo ensure Cn ckrogm21; on group gut catddreOK c/pucnFuc=lrg"Nset accCs a groPanelcost ovo ensure I serthtmigonmelt wNTOScnsivc4.0c& spacehCD mhensasS cneccost ovo en/ul Optake theAtiac Dopt2" ,=lrg"Nsemre eries The siexobaawelsor should remain mor%SYSTEMROOT%\Sc/puc32\nsemre\*.*snthe. siworeubeirthe umapaexobaaaivmell,lsor should remain morpar \sntheaapiplet classsrat tnenvirDCslDLLs ece>Pnq cnliuc/ Nsemre p ntet dumprO to sor should remain morcapt>pe8\snthe. should bio & spacehuc/ Nsemre (Putsill li NTnWss cxtele ,isim ct3" l to aeyenoto & spacehlrg" Nset acccM niobj Agtdtlel enssavWss cxtele ci spacehCDhserOeruch3n classi emiznliucliucuy defauldisc in orderGowtoI21; on group gut catddreStfer c/pucnl->AprI21; on group gut catddreSs">genc c/pucnl->AprI21; on group gut catddreCs a groPanel c/pucnl->AprIco o21; on group gut catddreNset ac c/pucnl->AprI21; on group gut catddreSssiibas c/pucnl->AprI21; on group gut catddreAdd c/pucncost ovo ensure Selcathtmig21; on group gut.c/elreNset accM niobj Agtdt c/pucn,btn ckrogm21; on group gut catddreOK c/pucncost ovo ensure Cn ckrogm21; on group gut catddreOK c/pucnFic=lrg"Nset accCs a groPanelcrgnior to ensure I serthtmigonmelt wNTOWss cxtele c4.0 & spacehCD mhensasS cneccost ovo en/ul Optake theNilfcopyivucdl lesvel enlrg"NTOScnsivc& lsor should remain mor%SYSTEMROOT%\Sc/puc32\nsemresnthe toI2or should remain mor%SYSTEMROOT%\Sc/puc32\nsemresntheFuc=lrg"Wss cxtele cnd"te t permis LDIs as simtdeemTcltn-pr(DtMS thsimplsily. Yof ct3" eyenoadminintrolrv trightsFuc=lrg"NTOh2xcde iutrNsemDI. "ucsivucsivuch3n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This se9962"d>SclItspacecnliNset accM niobj ll onmelt w9x/Me>Ss4ften a scyior that all problems ario & spacehNsemDIFuc=onmelt w9x/Me, & spacehuc/ Nset accM niobj Agtdt el enssavWnmelt w9x/MehCD (ior should remain mor\admin\nse(Puts\nsemresnthe). sinrse lf acreapmcdl lesrOeuted memeaocf NsemDIFdrisivcl lesvuc=lrg"CD iinsim eyeno inecessary.ba oe coto dozt &#.cCspyivucdl lesvel enacre icnl NsemDIFo space, thuur"ucsivmake all problemsuch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsivu9986dd>Sclst"titlURLo>S often a scyior that all problemsuch4n classi emiznliucliucuy defauldisc in orderSeide coScoor Merrt3" Nmul3 if acBDCi waavanclat zzzzzzzcnst>cdd>http://www.skippy.nsevo nux/smb-e cto.html"ipfeget="_topai zzzzzzzhttp://www.skippy.nsevo nux/smb-e cto.htmlnsiv. nior to ensure FTPlsilybn th llge"SMBoepec#: zzzzzzzcnst>cdd>ftp://ftp.microsoftr lm/dcostoSr/drg/CIFS/"ipfeget="_topai zzzzzzzftp://ftp.microsoftr lm/dcostoSr/drg/CIFS/>Scltnt ovo en/ul Optake oblemsuch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80019"u>Sclct">gennMaiiastrLobaaHng=cn often a scyior that all problems anTn t be braonuideraainc cha-relatablmaiiastrsists. GowtoI2nst>cdd>http://nsivucsivuipfeget="_topaihttp://nsivucsiv>Scl,btn ckrogmsimplntedrstncirror lity. ecken ckrogm21; ocbn class=command">nSts an nnior /pucnlnd"anis">en ckrogm21; ocbn class=command">n c cha-relatablmaiiastrsistsls. c/pucn. shoulratFordqbe oills relatiuglelol"><NG, gowtoecnst>cdd>http://www.nsivu-tngcsiv/"ipfeget="_topaihttp://www.nsivu-tngcsiv/.Cocl>s(tnh2ivobjecenqbe oediucal simtOery bapiuciqbe oills abaintc cha-;NGppoet f t;cn-ntreamol"><sists.erOer as(B. of Oerpiuciaenhay ge tota eaustocfosists, plge enobfcnsitocfogratill: cguudepucdiv:serOeruch3n classi emiznliucliucuy defauldisc in orderAlwfirsremeideradte cllerdcostoS Wcw> ThvolunteersrOersy > T y bapaid lity. icleysivcguarantee tottn-ducelaTcat mary Dofeat>pelat aTcat mary Dodime. Ancltimepucdivarel bitc/emuc/span>c/span>” on group c ntrolled dirbtstmgbe ees substaltially avoid fillnd"anotliugllloucrgnior to ensure Alwfirsndexia oneat an LDIFustl">< of > Thanecis d"twa de oS Watiuglfc/puc a'nnrunscnlieplgeaeYof The sisistlocfoielevf. EscatillDoof simplior should remain more lr lessnthe erie, divlge u pterapaou spr rtt>c/iuontd>o/tr>o/table[cnliuc]>S in Scl The tiffcathPDCiets an hrgnior to ensure I >rgitill poet fl an LDI, iinsim oblassedil"><via CVS,sndexia ollerdatelwceckyof le u ealt illitcaincost ovo ensure TryOnd"am="disimplqbe oills artedtnd"tbrief. LotsFustloci, tenroluoediqbe oills ge ode snednb, mak ersy > Tatems sne2yzrsad! Dery bapiuciHTML/encodablmhay ges.cM st peopmeeonhmaiiastrsists sa822yzde sne Themhrgnior to ensure e(B. of iutra eaustocuc niftyl bitc/emuc/span>c/span>” on group c ntrolled dirI'mba oe lidfires substaltially avoid fillucgencwwcec simbe brawfiomm="diinameptseentucp>penoto y baenswzeSn iiastrsisthtra clc. Auto-iesphuseD Tohmaiiastrsists t allreirrixtee llerteaisnd"ivustpeopmeewholendoupnaavastrto d al memeaquotebadlnseiqbetsbaaavanchrgnior to ensure Dot' cfrosnn (t."Wss aintapiple Doemizbtstmsisthterpiuci e nd"te etwa dehappslsaeDery bapiucielobomeansivu-ntd enandansivu-technrcalhrgM nclpeopmeemuf savuc=lrg"sists subbodybe totlloul Thetra easisthnd"agetsannoyenoto seidIn a compnhay ge twoauralloultimeshrgOftsy smia eact3" seidaenhay ge lity. inicnl stwmhe si wibt"> Wad alde memeae cnd maintsist, ct3" lorwarllitcanS thsimcost ovo ensure Yimtcight>includro21; on group c ntrolled dircat malCo substalti ivgrl lesvwri ile blea debug/ cost fcneScl2ivmuote">c20. s Plge enOery basendet flenti Thuog butijwillla See Sclgrormemizss ais">ainuc/f errorlnhay gescost ovo ensure Ifesimter wiaatems sne Nsemre (riore(el enssavnpececienf The pipinaort flerror)ewyof signsendet fl*.CAPdl lesaivmellcost ovo ensure Plge en. ini siayoul5yebe makea iaplecis e aindexliotas gt;c/hrgChusidint altcnliuc/ ielevf. Ecat seclport flbodyaustocfonhay geees not cha maiiastrsists gowtoea huge nuideraainpeopmeaeDerersy >3" eyenoafcopyid bsimplrgnor should remain more lr lessnthe c=lrgirna iapleeirthe uy?tnt ovo en/ul Optake oblemsuch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv8017cdtCoclH coto ct" Of bemizMaiiastrLoba">S often a scyior that all problems aToter wisimpln mem"> cvddvel enact cha maiiastrsist, gowtodIn a com pla, iape=itsim cdexlio subbodybe totit. GowtoI2nst>cdd>http://sists.nsivucsiv/"ipfeget="_topaihttp://sists.nsivucsiv>Scl,b tn ckrogmsimplntedrstncirror,ken ckrogm21; ocbn class=command">nSts an nnior /pucnlnd"a . ecken ckrog21; ocbn class=command">nct cha relatablmaiiastrsistsls. c/pucn. serOer asPlge enOery bapiucinhay gesvto at taobaaaikiuglelobem"> cvdd. Yof ct3" dlw bem">crnbablto at tevali8>rg">jh (unl>jh ucatow envir f;c/eairlursminwfi)ur"ucsivmake all pruch4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltbugre an edsivucsivucdiv4. Re an iuglBugs05class=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sJohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sAng">ws=affiliatill">cspann class=lrTridgell c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnstridgecnsivucsivuctridgecnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=to 27 Ju ea1997 e of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc80299vnI a gdet onlcncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80353"uctdisc" Inecessary.cncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80385 DDebugiLcosto>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80566aiI nc" Errors>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80680 DA iaplecistoea RunscnliP envir>Scltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc80720 DP"tiee">Scltn-3 Implemelill Optake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80299vn claI a gdet onlcn often a scyior that all problems aPlge enre an bugshanecisl">&l'secnst>cdd>https://bugzt3"a.nsivucsiv/"ipfeget="_topaiBugzt3"aCocl>facoum mapnand t="diuc/ timemde ieapantis erienb, makesim ubmit atbug re an eeTlle,eealt aniseeidiroitnh2ivsastgtd bforbjecieletals,saivme n clbevsastgcnliuc/ bugire an iuglmesastismyat rsminpt2" .serOer asPlge enOer2ivmuote">cyof signsimplavesnisang="(riokidewnppc/fbug.ol">&l wiucniasseai2y Fdedieuted spann ustpeopmeewholvolunteer lrgirntime, ikilts lityeffOers. We reseive>faralloulsivu ucan we sign (crnlyaenswze, bo simter wiaamuotehighivcrhanbanofnaliesphuse lityaifixriinsim sendeuf ac bitc/emuc/span>c/span>” on group c ntrolled dirdcostoS W frlBndlnal substaltially avoid fil bugire an ucato sns usifixritlea(t."serOer asDery ba co uThucal iinsim piuciec/ bugito at ttems.w et1"ols.nmb newsspann urdIn al iiastrsisthttatareact3" ieapainae(B. of uepect tsal simro pdoote cisFy ba bugibutiezss to share pdoote ,irIs a bt"> Waniseed"a it poet fltors omaiiastrsist, nsivuct be brteaisnd"ivust maintx zon ucato isthwholn clbevanlgrde ang="simc should bYof n cl lle uallode lookrem See She resental iiastrsistharplevls, apiple> Tatenven acclyaeucsivi/meeonhat ttors oWebFasges ato2nst>cdd>http://nsivucsiv/nsivu/uipfeget="_topaihttp://nsivucsiv/nsivu/nsiv. shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80353"u>Sclctdisc" Inecessary.cn often a scyior that all problems anB, make ubmitrecis bugire an ,eealt asimroentucp e updNllw errors. Lookructsimplivgrl lesvn th bvlousinhay gesvtte clell sim' wimis-entucp>penorsmitliug. Run te otd>m to chlt asimroentucp erienn thrt Cerldyll xc should bHr wisim lookediucr See cnst>cdd>cdiagnoeisd>. c/pucsivucdiv2. s not cha Calt iuclius not cha Calt iucl>Scl?einteg Doextremelreim an a" .serOer as(B. of includrocat nofnalivgrl le memeasimplbugire an ,e thnuassinameTo annoxtee itos meaex ctlrewcal simtwct bdocnlioy ptertn acc r onte timemlityex ctlrewcal ocfoiesultstwct . shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80385 D>SclDebugiLcosto>S often a scyior that all problems anIfiec/ bugih2ivanytlecistoeOers mea" lan waavastrucf> Certae2iva fcnsive(ualloayousiuglelonpeckarl le),hat nhat tcvgrl lesvwedinpdoo"#5y bemquilyrx &tit. Depecdcnlioy pterpdoote ,iatcvgr cost nf bforbjec3nand 10e&Bewcnliuc/ pdoote cn clbevaltn-pr(DtM. Aohighivc cost grorsallou detrat, butin clan baooamuotendsk pior. should bio setm grdebug/ cost,nan baccei">otgrcvgsvn theapleiucliuc ebio dozt &#,iadd ssavgratill: cpucdivpoesimplt;cnlior should remain more lr lessnthe erie:serOerr>otd> ontd>o/tr>otr>otd>cin class=parameter">c/ii">c/iuontd>o/tr>o/tablesivn sivn cvgr cost = 10>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn cvgrl le = /usr/ackul/nsivu/lib/ivg.%m>S in Sclcin class=parameter">c/iuontd>o/tr>o/tablesivn sivn r cludro= /usr/ackul/nsivu/lib/e lr les.%m>S in Sclcin class=p on multpl litytn-3 inarl le ior should remain mor/usr/ackul/nsivu/lib/e lr les.rtt>c/iuonre la, n mu/tableiucliuc>S in Sclcinheaape=i rtt>c/iuonre la, n mu/tableiucliuc>S in Sclg Doemize memust n atn acc sim ctshrto d bug.oItrematleema putienylior should remain more lr lessnthe ommand"iv of wf. ,vn thex 220e s">o/tr>oes">gen highivcThetr ror should oe ss. c">3snthe. Ntedlle a Uabugshsignbe trioked blea s">gen ust2or should oe ss. c">10sntherObutibe pdetd>ec/inclaTlfegelvolumemustcvgrdat . shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80566ai claI a nc" Errors>S often a scyior that all problems anIfi of ge onternhay ge bitc/emuc/span>c/span>” on group c ntrolled dir21; on group crrorin morINTERNAL ERRORbstaltial substaltially avoid fileuctsimplivgrl les,a it aea spucdiv" lan gotymecunexpeheeno Ngn clrh le runscnlheIt> Dopdoo"#5yea fcgndextele n wfatmlityalmiucicernetw5yeaea sp bugiuct" lan (unl>jh simter wi wfatyterrdw> Thorlfc/puc softw> T)hserOer as(B.ndernhay ge ccompfl ens ld, itmaedinpdoo"#5yeb a>iucmssnieai2y aenhay ge tcdivdetratte grce u SMBonhay ge reseiveai2y s ld. inte inecessary.b a oftsy x &titlin triokcnlidewnppc/ pdoote cle lge e r cludroiteuctsimplbugire an . should bYof The si lle detratoe coto re n-ducelpterpdoote ,iif (crnlg. Plge enm="diucipoayason"#5yedetratec. shoulrati">cem tewyof dozt &#:ti">Sclti">S in n class=cx &#insurorablegdbl ldeclouesthe Sb" itnAccopl lddcnlicltn-pr(DtMSpareivpoe ldend"ateake oegdblsignerphaThe .o(B. of Oery bter wigdbrOeexp n class=cx &#insurorabledbxesthe Sb"ees nnns mer grdebuggerr an bacceommand"lspan>cbn class=command">nwpe=innior /pucnliotgrorm T tat aarioreustape=itnte pdoote cocaurrsdae( cludrollteg ctsimplre an . should bIfi of kn coenylassem#5ye styu gemaOerasspan>cbn class=command">ndisassls. c/pucnaustocfoioutce. ape=itnte pdoote cocaurrsd (iroitsicnla librDCslioutce.rOersy disassem#5etocfoioutce.nucdivttnts it)Ond"aeexpto cf t aintex ctlr ape=itnte pdoote ciivCy lookcnlic onter urrrphal: c odei EvjeciB. of Oery btkn coessem#5y, includcnliucgs/inecessary.binzt grbugire an signbe x &tit. shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80680 D claA iaplecistoea RunscnliP envir>S often a scyior that all problems anUnecetund eln, rsmingon es (inTcat mary DorsminresentaL nux kernsts) ayousgrde dumptihrt cdl lesirollertaskch2ivsastgtd uid (apiple ld Oeea oftsy).oTordebug/memeaocmpo st nofnfc/pucewyof ihe sieexpto a iapl eloaccerunscnliw envir usiug n class=cx &#insurorablegdbl ldertt>c/iuonre la, n mu/tablePID>S in Sclcinhe Sb"vape=itsim get stt>c/iuonre la, n mu/tablePID>S in Sclpfl en21; on group ac/ulcs=addree lcxteus c/pucn..Thsy x &cspan>cbn class=command">n nnior /pucnliottet>geueOnd"aeexpto sa>cemacceomt bdump x cnliuc/ tn accaentroeebuggive The s satceaocf wfatmlitylell. of ape=ititcacaurrsda shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv80720 DnsivP"tiee">S often a scyior that all problems ani">Sclti">ScltTmizbtstm st nofnbugire an a oe.nucdivr cludrsyaifix!e(B. of endeuf p"tiee", plge enx &csn class=cx &#insurorabledi T -ucinhe Sb"vecessaciB. ofro an LDIFust di T ets an sm tew mainwi enx &csn class=cx &#insurorabledi T -c4esthe Sb"eeM="diiname yof dozt eadi Teagailuciaearteno an LDIFustnter impcemlitylet aetkn co ex ctlrewcal an LDIFyof usea. shoulptake dlucdt>cspann class=seccat e" styleidclear: botf">crnname="500574844">c/a>1ill from NT4 PDC to ScltAppecdcx D claAppecdcxe">S 1f C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>ss=title>cnst>cdd>csemsamcnl">35. H coto Cemsameic chaes75557">Plannior flr Successc/a>c/span>cnst>an>cnst>cdd>cdluc8088f DAucsivotors oSimpcemCodet NT_Sub an LDIes75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=80888vnI a gdet onlcncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=80929>nStb an LDI Aucsivopoe sivucsivate"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c81110 DAucsivcnliuc/ tors oSimpcest NT_rsyncmlityft=cncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc81175lrVcdifyecisl">&l's PGP SNgn t>peCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc81313aiBuildcnliuc/ Binadmapes75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=81497reCsmsamcnl tors omemeaAuf savDirthe uyaSts an nne"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c81655">Stferecisnter ldend"an lpls75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=81748">Stferecisfl ence.tdr lessncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=8195spaAla ncf sa: Stferecis ldensyaiDaemnlcncltn-3 Implemelill Optillill Optillsona>c/span>cnstss=title>cnst>cdd>cPan aimum y">36. Pan aimum yes75557">Plannior flr Successc/a>c/span>cnst>an>cnst>cdd>cdluc82120 DHPUXCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82197reSCOngon Cocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82234">Don Cocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82376">Rtd HataL nuxCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc8241spaAn Cocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82418">Snqben mal ReapaAheapnne"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c82440 DSoy DisCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82445">LookcnliIm a lem>Planncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann clwinb -soy Dis9>nWinb wDIFSoy Dis 9cncltn-3 Implemelill Optillill Optillsona>c/span>cnstss=title>cnst>cdd>cOmain-Cn accs">37.t" lan nd"aOmain CIFS Cn accses75557">Plannior flr Successc/a>c/span>cnst>an>cnst>cdd>cdluc82620 DMa,cntosh Cn accses75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc82685 DOS2 Cn accCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82690reCs ucp>pcnliOS/2 Warp4844icat/oriOS/2 Warp44sncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=8281spaCs ucp>pcnliOmain Van LDIsFustOS/2sncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=82864">Prr DrisivcDownloac/inclOS/2 Cn accses75557">Planniorill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c8295spaWnmelt winclWe ispannsCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82958">Laiesr TCP/IPeStat afl enMicrosoftsncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83030 DDe sne .pwl F lesvAf P lue) c/Castgtsncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83056paCs ucp>pcnliWnmelt winclWe ispanns P lue) c/Hnd"mcnlsncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83103 DP"lue) c/Ce enSensif sm yes75557">Plannior atill Choicesc/a>c/cdt>cspann class=83130 DU enTCP/IPensyDt wfatiP et1"oles75557">Plannior atill Choicesc/a>c/cdt>cspann class=83146 DSpyenoIm a lem>Ples75557">Planniorill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c83185 DWnmelt w95/98Cocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=83247aiSpyenoIm a lem>Ples75557">Planniorill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c83267 DWnmelt w2000 Sssiiba P t a2es75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83471 DWnmelt wNT 3.1es75557">Planniorill Optillsona>c/span>cnstss=title>cnst>cdd>cspyen">38.t" lan PerecessnbanTuncnlsncltn-3 Implemeltflr Successc/a>c/span>cnst>an>cnst>cdd>cdluc83577reCsms Disonses75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83615 DSontet Opaou ses75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83704">Rtac/Sizees75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83742 DMax Xmites75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83785">LogiLcostes75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83806">Rtac/Rawes75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83859>nWri ewRawes75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83899vnStilfLogi ses75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc83918">Cn accnTuncnlsncltn-3 Implemeltessc/a>c/span>cnst>an>cnst>cdd>cdluc83939ail"><PerecessnbanPdoote Dugrde CastgcnliL nux Kernstsncltn-3 Implemeltessc/a>c/span>cnst>an>cnst>cdd>cdluc8399spaCsrrupt tdb F lessncltn-3 Implemeltessc/a>c/span>cnst>an>cnst>cdd>cdluc84053"ul"><Perecessnbanis VanyaStiles75557">Planniorill Optillsona>c/span>cnstss=title>cnst>cdd>cDNSDHCP">39. DNS nd"aDHCP Cs to share Guudesncltn-3 Implemeltflr Successc/a>c/span>cnst>an>cnst>cdd>cdluc84130 DFeat>pesO to Beneficses75557">Plannior essc/a>c/span>cnst>an>cnst>cdd>cdluc8421e DEx 220eCs to shareCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=84273vnDynamic DNSes75557">Plannior atill Choicesc/a>c/cdt>cspann clDHCP">DHCP Scnsivcncltn-3 Implemelill Optillill Optillill Optake uch4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltsemsamcnl">sivucsivucdiv5. H coto Cemsameic chaesclass=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sJelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sAng">ws=affiliatill">cspann class=lrTridgell c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnstridgecnsivucsivuctridgecnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=to 22 Mayw2001 shoulptake uchcnsivucdivn class=to 18 March 2003 e of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc8088f DAucsivotors oSimpcemCodet NT_Sub an LDIes75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=80888vnI a gdet onlcncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=80929>nStb an LDI Aucsivopoe sivucsivate"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c81110 DAucsivcnliuc/ tors oSimpcest NT_rsyncmlityft=cncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc81175lrVcdifyecisl">&l's PGP SNgn t>peCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc81313aiBuildcnliuc/ Binadmapes75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=81497reCsmsamcnl tors omemeaAuf savDirthe uyaSts an nne"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c81655">Stferecisnter ldend"an lpls75557">Plannior flr Successc/a>c/span>cnst>cdt>cspann class=81748">Stferecisfl ence.tdr lessncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=8195spaAla ncf sa: Stferecis ldensyaiDaemnlcncltn-3 Implemelill Optillill Optlems anYof signoblassiuc/ tors o impcemel enssa 2nst>cdd>http://nsivucsiv/uipfeget="_topaitors oWebsily.Cocl>TonoblassiardcostoS clr an LDI, yof signdownloac/tors oel enStb an LDI orhanecisspan>cbn class=command">nrsyncls. c/pucn. shouluch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv8088f D claAucsivotors oSimpcemCodet NT_Sub an LDIes often a scyior that all problemsuch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s80888vn claI a gdet onlcn 3ften a scyior that all problems ani">&l wdcostoS aicnlanenpeckenvironmaccaeDcostoS Wcwx &ca Stb an LDI poe bitc/emuc/span>c/span>” on group c ntrolled dirchlt inal substaltially avoid file( lle kn cnensy bitc/emuc/span>c/span>” on group c ntrolled dircmmaites substaltially avoid fil) newo impcem odei l">&l's vadmousiStb an LDI brsnbheshsig b a>iusiv ai NT_anonymousiStb an LDI x cnliuc/ r stret onls detratecbinzt iivsasvucd. should biniivsasvucd lf acmodifieai an LDIFustnterr stret onlslesund r onte 2nst>cdd>http://nsivucsiv/nsivu/stb an LDI.html"ipfeget="_topaic chaes75 weblsily. "ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s80929>nes75Stb an LDI Aucsivopoe sivucsivat 3ften a scyior that all problems anTheaiucliucm sivucsiverunDomapubliclyaeucsivi/meeStb an LDI re asie uyainclaucsivopoenter impcem odemustfcvisc" p nt ges,a includcnlic cha,_rsync, d tfcc, ccuclerO to ji ilrbug.oTuct be brtwolt;cnlwfiriustaucsivcnliuc/ ttb an LDI fcnsiveonzt iivhost: shouluch3n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This s8094f D claAucsivo NT_SVNweb>Ss4ften a scyior that all problems ari">cdd>http://nvnweb.nsivucsiv/"ipfeget="_topaihttp://nvnweb.nsivucsiv/nsivcost ovucsivuch3n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This s80977 D claAucsivo NT_Sub an LDIes 4ften a scyior that all problems arYof signalle ucsivopter impcem odem NT_aa nirmalrttb an LDI tn accaentteggrorsayof nuotelloulcs a groosivewcal simtsign Oers meauc/ re asie uyalityaltilsiyof conchlt aintapole impcemtrees rlitykeepeThe up-to-datel NT_nirmalrttb an LDI tmmand"i.einteg Dolrg" p">crnbablmitloc/ust ucsivoiinsim e braodcostoS W nd"anot jwill casualrbrlt gea should II ord Wanisbevanlgrde downloac/uc/ tors o impcesvusfrttb an LDI,nsim eyeno arttb an LDI tn accaeYofrod tfrt caLDI cight>includrooe.rO thsim signdownloac/lrg" impcesvfl en2nst>cdd>http://ntb an LDI.tigriscsiv/"ipfeget="_topaihttp://ntb an LDI.tigriscsiv/nsiv. should bio gassiaucsivo NT_anonymousiStb an LDI,nan baccegratill: cetepsae shouluch3n classw envd>pesivsivucdivn NT4 PDCb>P envd>peiv5.1. Refrtevcnl tors oanecislub an LDIesior andoy defaul1 in order I spacehanresentacopyid blub an LDIeeTll. of i allreeyenolf ac tepyaustocfottb an LDI tn accrbinady. s ost ovo ensure Run tcceommand"ls ost o n class=cx &#insurorableevI tm evI://nvnanon.nsivucsiv/nsivu/trenkm sivuesthe Sb"es ost o integmedintn-3 inareirthe uyattnts 2or should remain moresivuestheet classcnliuc/ laiesr tors o impcem odem(usuc"llet grbrsnbhnucdivrsagocnlinisbevat tnextin jorcieletal).einteg turrscclyaf> Csphudvopoenter3.1rdcostoS clr tree.ls ost o Stb an LDI brsnbhesh maintat nharenkmsignbe oblassedi2y ddcnlibrsnbhes/BRANCH_NAME TohacceURLhsim shlt aainc Arsisthofnbrsnbhnin meg tignbe esund usiuc/ bitc/emuc/span>c/span>” on group c ntrolled dirDcostoS clral substaltially avoid fileAPc/austocfotors oWebFsily. AeommaDI enqbe og Dolonoblassiuc/ laiesr 3.0cieletalm odei iniivshe si widoe.n2y x cnliuc/ gratill: command":s ost o n class=cx &#insurorableevI tm evI://nvnanon.nsivucsiv/nsivu/brsnbhes/SAMBA_3_0m sivu_3esthe Sb"es ost ovo ensure Wt nysivc of wf. totleegelssiuc/ laiesr odemsastgts,nan b The gratill: command"vfl ens mer grtors oeirthe uy:ls ost o n class=cx &#insurorableevI updateesthe Sb" ost ovo en/ol03c/pucnsivucnsivucdivucnsivu4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv81110 D claAucsivcnliuc/ tors oSimpcest NT_rsyncmlityft=cn often a scyior that all problems an i">Sclt i">Sclt itt>c/iuontd>o/tr>o/tablepfcnsiv.nsivucsiv>S in Sclpalle ex an smunpioked tepiesvuszmiucicat seustocfottb an LDI Treeral ocfotors ocnst>cdd>ftp://pfcnsiv.nsivucsiv/pub/unpioked"ipfeget="_topaipfcnsivCocl>s rOeutle cnd"talle NT_anonymousirsyncmll ocfotors t i">t>cdd>rsync://pfcnsiv.nsivucsiv/ftp/unpioked/"ipfeget="_topairsynclscl>scnsiverOeutle .ls I Ce)mmendeufastrrsyncmrathivcThetrftp. Seid2nst>cdd>http://rsync.nsivucsiv/"ipfeget="_topaiuc/ rsyncmhome-e="5Cocl>furalloulinec usirsync. s ost o ineadisadvf. Pc/austocfounpioked trees isadte clleynOery basts an 0autossarc leeggen ustackul sastgts uallottb an LDI Oeea.sspan>cbn class=command">nrsyncls. c/pucnt ucsivoiszmiucitenven acc s incla.binctiidFo space. s ost oivucnsivu4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv81175 D>SclVcdifyecisl">&l's PGP SNgn t>peCo often a scyior that all problems ani"> Dotfrong2yzrse)mmendediucal simtvcdifytocfoPGP sNgn t>pe/inclancl impcemerienb, mak ucstacecnliinaeEvjeciB. of'pe/y badownloacecisfl enancirrorFsily,tvcdifycnliPGP sNgn t>pes The si wi T tandarll>cdlexeeM=nclpeopmeetod clan bacfoGNU GPGlpool-setminTclioreustPGP. GPGlsignsubstctulybn thPGP. ost o W meaucat raid, gowaheapand"tdownloac/lrg"gratill: cl les:cost or.. -LLL -bsereme=" ior should MS cn"r$ >S in n class=cx &#insurorablewge ohttp://us1.nsivucsiv/nsivu/ftp/nsivu-3.0.0.pfe.ascesthe Sb" ior should MS cn"r$ >S in n class=cx &#insurorablewge ohttp://us1.nsivucsiv/nsivu/ftp/nsivu-pubkey.ascesthe Sb" itnAccopl i">pe/incluc/ tors o impceme le;nssavnthivc Doemiztors opublic PGP keyoitself.oIm orthtmigpublic PGP keyos me:cost or.. -LLL -bsereme=" ior should MS cn"r$ >S in n class=cx &#insurorablegpg --im an nsivu-pubkey.ascesthe Sb" itnAccopl nd"tvcdifytocfotors o impcem odemr grm yOs me:cost or.. -LLL -bsereme=" ior should MS cn"r$ >S in n class=cx &#insurorablegzip -dansivu-3.0.0.pfe.gzesthe Sb" ior should MS cn"r$ >S in n class=cx &#insurorablegpg --vcdifytnsivu-3.0.0.pfe.ascesthe Sb" itnAccopl (B. of ieseive>aenhay ge uall, bitc/emuc/span>c/span>” on group c ntrolled dirGood sNgn t>pe/il enSors oD tfrt caLDI Vcdiflcs=add Key...al substaltially avoid fil . eckacehiivmellcentrowarngencwabaintareo arelationshipshsignbe NgnorsdaeAn ex 220eustapal simtwhe siy bawf. tote etwhe si w:cost or.. -LLL -bsereme=" gpg: BAD sNgn t>pe/il en bitc/emuc/span>c/span>” on group c ntrolled dirSors oD tfrt caLDI Vcdiflcs=add Keyal substaltially avoid fil itnAccoivucnsivu4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv81313ainsivBuildcnliuc/ Binadmapes often a scyior that all problems ani">o/csn class=cx &#insurorable./entucp>pes osnhe Sb"vr gr impcemeirthe uyi iniiv The si utossarcc"lle tenucp>pe/tors oe thsimploS Watiuglfc/pucae(B. of er wiunusuc"e eyens,hat nhyof n clctshrto runost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorable./entucp>pe --ang= osnhe Sb"itnAccopll to atote etwcat rpeciidFapaou spsim signen"#5ei Nilfexeculyb n class=cx &#insurorable./entucp>pecinhe Sb"va meaenylargindexsm t cight>eyen:ost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorable./entucp>pe stt>c/iuonre la, n mu/table[...largindexsm...]>S in Sclcinhe Sb"itnAccoplExeculcnlsnpms ani">Sclt ost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorablem="dcinhe Sb"itnAccoplmedintn-3 int grbinadmap. Onbanit> Dotuucsivoul5ye temsamedpsim signx &ost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorablem="dFo spacecinhe Sb"itnAccoplto & spacehlrg"binadmapOnd"am=nuc" p ges. Yof sign setd>otglrei spacehlrg"binadmapOnd"/uralign gesvufastost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorablem="dFo spacebin osnhe Sb"itnAccoplnd"ost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorablem="dFo spaceligs osnhe Sb"itnAccoplNotThucal iinsim > Thapg>ocecisfl enanpieviousi an LDI ustl">< of cight>uallode kn codte cllerold" an LDIsFust The binadmapOmedinbem">ap gdva meaenn bitc/emuc/span>c/span>” on group c ntrolled dir.oldal substaltially avoid file n LDIeeYof tigngowbat anispc/ pdeviousi an LDI a meost or.. -LLL -bsereme="ior should MS cn"rroot# >S in n class=cx &#insurorablem="dFrysivt osnhe Sb"itnAccopliinsim erphaThisi an LDI aadisa/pur!shouluch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s81497resivucsmsamcnl tors omemeaAuf savDirthe uyaSts an nn 3ften a scyior that all problems aII ord Waniscemsameic chaomemeaADSasts an ,nsim eyenototer wio spaceed uctsimplfc/puc:erOeruch3n classi emiznliucliucuy defauldisc in orderntroMITO thHeimdc" KerberosrdcostoS clr librDCieD (eithivc spacehel enssav impcesvurwx &ca p nt ge)cost ovo ensure ntroOpenLDAPrdcostoS clr librDCieD.tnt ovo en/ul Optake Ifesimr KerberosrlibrDCieD > Thssiarnon-ntandarllrOeutle rOersy remeideradoiadd ssaventucp>pe apaou t oor should apaou ">--meme-krb5=stt>c/iuonre la, n mu/tableDIR>S in Sclcinhe.erOer aAf of iutrentucp>peomm="diinameta de gnor should remain morincludr/entucp.hsnthe t gtdisc if t classcpucdivuallo gt &#:ost or.. -LLL -bpdog>o/ncstcnl=" #defiucmHAVE_KRB5 1 #defiucmHAVE_LDAPr1 itnAccoplIroitnOeea y b,ventucp>pe disiy baerphasimr KRB5 librDCieD or simplLDAPrlibrDCieD. Lookructsor should remain morcttucp.lov>S inadoiucp>pes aintapyalityfixrit.shouluch3n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This s81563vn claIcstacecnlissavRequibablP nt gesoe thDebiaIes 4ften a scyior that all problems aOnhDebiaI,nsim eyenototi spacehlrg"gratill: cp nt ges:ost o rOeruch3n classi emiznliucliucuy defauldisc in orlibkrb5-dcoovo ensurkrb5-x &#ovo en/ul Optake s ost oivucnsivu4n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This s81588vn claI stacecnlissavRequibablP nt gesoe thRtd HataL nuxCo 4ften a scyior that all problems aOnhRtd HataL nux,aThisiaea spyof The sier wiaivlge u: ost o rOeruch3n classi emiznliucliucuy defauldisc in orkrb5-cf tsxtele n(e thkinct)ovo ensurkrb5-libsn(e thlinicnl meme)ovo ensurkrb5-dcost (besa>cemsim > Thsemsamcnlpfl ensimpce)ovo en/ul Optake s ost opli >rgitill poet flntandarlldcostoS clr environmaccashould Istocfserl lesvape/y bao spaceed uctsimplfc/puc,pyof The siealt anhwio spacetele CDsadoiucd"twaiplehnsivucenandai spacehlrg"g lesvufastrsimplpooliustchoiceae(B.iI Oeubt abaintwcal ooolidoi>ce,m">crn poet flRtd HataL nux e aindexutle .ost oivucnsivu4n class=tit3e">crnname="500574430">c/a>LDAPc/h3ucnsivucnsiv4csivucnsivucnsivucp> This s81630>nes75StSEaL nux P nt gevRequibam>Plann 4ften a scyior that all problems aStSEaL nux i spaceshHeimdc" p nt geseta den clbevrequibablte atiliyof conbuild binady p nt gesaeYof The sivcdifytocatm grdeostoS clr librDCieDier wiobjeco spaceed uc simplfc/pucas ost oplStSEaL nux c chaoRPMsasts an 0Kerberos. Plge en">crn poet fle aindexutle oe t simplStSEaL nux fc/puc e thinecessary.bregarlecisluSEaL nux fpecificzss to shareas Argitillc"ll,sluSEaape/vanyamuf savr griucniainnbanofntors op nt geseta de a lide Theriuximum sipaimum ieseta dee bravail"#5ei Yof The sichusidintanecisluSEa a lided p nt geseape=itnteyee bravail"#5eis ost oivucnssivucdivucnsivu4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv81655">es75Stferecisnter21; on group ac/ulcs=addree ldr /pucnlnd"a21; on group ac/ulcs=addren ldr /pucncn often a scyior that all problems an i">Sclt Yof neo achoosgrde stferr21; on group ac/ulcs=addree ldr /pucnlnd"a21; on group ac/ulcs=addren ldr /pucn eithiv asrdaemnlsvurwfl en21; on group ac/ulcs=addrece.td c/pucn. Dot' ctry Tohdlobome! Eithivcsim signputivucenuctsor should remain mor ce.tdr lessn inand"aer wivucenstfered uctdeand" byn21; on group ac/ulcs=addrece.td c/pucnvurw21; on group ac/ulcs=addrexce.td c/pucn, uvcsim signstferrvucenaD daemnlsveithivcel enssavommand"vpucd thintsor should remain mor /etc/rc.ackulsnthe. SeidIn align gesve thdetratt uctssavommand"vpucd paou s. T="dicat mary Doce brte ieap The bit abaintwcal x &#nsim eyenototer wide stfer tors .oItrmenylctals,syof neo abevrootashould T griucn advf. Pc/auststferecis21; on group ac/ulcs=addree ldr /pucn ad"a21; on group ac/ulcs=addren ldr /pucn x cnliuc/ rse)mmendedidaemnllmitloc csadte clleynct3" Csphud slight5yealoulquicklyliotas inctiidFc44icatiDI enqbe o.shouluch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s81748">es75Stferecisfl ence.tdr lessn 3ften a scyior that all problems">Scl500574430">cn>ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiNotTsn 3ftd T grgratill: cmedinbemdi Thre. Eist yof use NIS, NIS+ thLDAPrTohd tfrt cae>scnsicesvmaps.ost oivucnsp>Lookral simplior should remain mor/etc/scnsicessnthe. Wcdivrsadefiucd r o an 0139/tcp?e(B.n>&lecisrsadefiucd,o gt e >rgla line>uallod &#:ost or.. -LLL -bpdog>o/ncstcnl="e.tbios-ssn 139/tcpitnAccoplSimil"dllee th137/udp,pyof The sier wian tnIdyeuall:ost or.. -LLL -bpdog>o/ncstcnl="e.tbios-ns 137/udpitnAccoplN , egit simplior should remain mor/etc/ce.tdr lessn ina gnd"tadd swocpucdivuallot &#:ost or.. -LLL -bpdog>o/ncstcnl=" e.tbios-ssn tfreaenscp.n>wait root /usr/ackul/nsivu/bin/ lde lde e.tbios-lsvdg>o/cudp wait root /usr/ackul/nsivu/bin/n ldan lp rOAccoplT grex ctldyll xOust2or should remain mor/etc/ce.tdr lessn ina gvDCieDibforbjecgon es. Lookre cllerothivctnIdiesvssice.tdr lesa ginclaTguude. ost o ">nes75 Ssmind tfrt caLDIcwx &cxce.tdco speapaust .tdr4844sultiuc/ xce.tdcm=nuc" n thrt to share rnecessary. shouluch3n classn>ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiNotTsn 3ftd Ssmingon es alieapyier witnIdiesvualloe.tbios_neg (no int gru rsomt )hintsor should remain mor/etc/scnsicessnthe. Yof neo aegit sor should remain mor/etc/scnsicessnthe or 2or should remain mor/etc/ce.tdr lessn inatotl="diuc/michusisaint. rOerivucnsivu4n classn>ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiNotTsn 3ftd ">Sclt Otrmenylfc/pucswyof n cleyenototan bacfo ">jh nd"anetm sk/ofesimr r faces. Run 1; on group ac/ulcs=addrecfrt to r /pucn gns root iinsim Oery btkn cowcal ocfobroadca og Doe thsimp e.t.a21; on group ac/ulcs=addren ldr /pucn Idiesvto d iine>ic r orun time, butifratteDI fsmingon es. rOerivucnsivu4n classwarngen8ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiWarngensn 3ftd M=nclgon es onlyaeucspdee sund f sav td>o/tr>osFusiuc/ ommand"vpucd inz2or should remain morce.tdr lessn in. Thisiaea spyof The st' can b piorDibforbjeclleropaou spnd"ls argindexsrO thsim The six &ca scriptmlitystferrvuc scriptm gil en21; ocbn class=command">nce.td c. c/pucn.ost oivucnsp>Restferr21; on group ac/ulcs=addrece.td c/pucn, perhapsFjwilleed"a vn rll HUP. ost o .. -LLL -bsereme=" 2or should MS cn"rroot# >S in n class=cx &#insurorablekiltaceh-HUP ce.td cthe Sb" itnAccoivucnsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s8195spa claAla ncf sa: Stferecis21; on group ac/ulcs=addree ldr /pucnlnsyaiDaemnlcn 3ften a scyior that all problems an ">o/ncstcnl=" #!/bin/ h /usr/ackul/nsivu/bin/ lde-D /usr/ackul/nsivu/bin/n lde-D rOAccoplM="diitfexeculanlgrmemeaspan>cbn class=command">n hmo"a vn+x etfere lcibubstaltialt o Yof signt e run span>cbn class=command">netfere lcibubstaltin2y hlity thexeculybitlel en2or should remain mor/etc/rc.ackulsnthe.t ost or>Toykiltm teweed"aaykiltm Ngn clnispc/ pdenvirmeg 1; on group ac/ulcs=addren ldr /pucnlnd"a21; on group ac/ulcs=addree ldr /pucn shouluch3n classn>ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiNotTsn 3ftd (B. of an bacfoSVR4ttior inctlfc/puc,p yof n cluallode lookral ocfo2or should remain morex 220s/svr4-etferupsnthe scriptmtotl="ditors oeiteucnispcatlfc/puc. 2003c/pucnsivucnsivucdivucnsivu4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to ScltPan aimum y">sivucsivucdiv6. Pan aimum yesclass=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sJelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnstsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc82120 DHPUXCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82197reSCOngon Cocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82234">Don Cocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82376">Rtd HataL nuxCocltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc8241spaAn Cocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82418">Snqben mal ReapaAheapnne"tn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c82440 DSoy DisCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82445">LookcnliIm a lem>Planncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann clwinb -soy Dis9>nWinb wDIFSoy Dis 9cncltn-3 Implemelill Optillill Optlems aS chaomf ts DI aawide rstgt0574platecess butinhwio face acehlrg" platecess a lideg Doy btalwfir oemssarilei iniivsasvucd t classs" plateces-fpecificzinecessary.babaintsemsamcnlpandeufastrtors .shouluch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82120 DcnclHPUXCo often a scyior that all problems anHP's [0..UID_MAX]sntherOape=it2or should oe ss. c">UID_MAXsnthe s (Iot &nk) 60000 turrscclyae oHP-UXi iniivOAccludrsy-2pande65534,nt grusuc"e2or should oe ss. c">nobodysn in GIDs. should bIfi of encou th Dopdoote ,im="diinameta/ pdog>o/seta dee brfratcnli toti ctgnanns() e brrun acwx &rs,ay bao aenylgnanns memeaGIDspainsidiodtev atiltd rstgt. should integ Doe aindexecbinzt eoHPam=nuc" p gesru r s"gnanns(2)Ond"ap"lued(4)hserOer asO oHP-UXsyof neo ausgrgcc ncluc/ HPaANSIscemsamercentrofreercemsamer ucdivtomes memeaHP-UXs Doy btANSIscemsassntmlitysigy btcemsameic chaa shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82197rees75SCOngon Co often a scyior that all problems a (B. of iunlanenlai an LDIFustSCOngon ,wyof n cleyenototge oim an sntm TCP/IPep"tiee" forcS chaoto cf t f> Cctlr. W meoutinhwip"tie,wyof n cl encou csrrupt dat aarinsfers x cnlic chaa shoul anTheap"tiensim eyeno DoUOD3854844icatLDIFDrisivs SLSheIt> Doavail"#5elel e SCOn(cnst>cdd>ftp://ftp.sco.cem/"ipfeget="_topaiftp.sco.cemes75,reirthe uyaSLS, g lesvuod385a.Zpandeuod385a.ltr.Z)a shoul anTheainecessary.b a lidedsuct n">crnsliotas nlai an LDIFustSCOngon ae(B. of requiba binadmapOfuralloulresentaSCOngon n-duct", plge ent clactaSCOnlonoblassip nt geseta dee b ieapyitoti spacei Yof The sialle cdifytmemeaSCOnlhal simplplateces> Doup-to-datelincluc/ binady p nt ges simtwiltm spacei integ Doim an sntmiinsim ctshrto avoid dat acsrruptiDI pdoote s memeasimr r spacetele .oTorbuildetors oe thSCOngon n-duct" n c requibam Ngniflcsntap"tiegen usttors o impcem odeheIt> Donuotege irn poeoblassibinady p nt ges eirthelleel enSCOa shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82234">es75Don Co often a scyior that all problems a Don ehnsia pdoote cmemea s"euid()Ond"a s"egid()centrsfoioutce.svape eyened forcS chaoto cf t f> Cctlr, butinhwytmct nlefu aintustocfoDon C librDCslforcrsminreasona shoul anForiucipoayasoncS chaobyede wfatidefiucDoemizmacro NO_EIDbinzt eoDon scatLDIFust cludrs.hi integmf ts e sund nte pdoote cinla limixecbwfi, butiit> Dofavcel enidealrO to rsmintliugDotfiltmwiltmy b cf t righta shoul a bio fixrnte pdoote ctn-perlr, sim eyenototassem#5etocfogratill: ctwo funcaou spnd"lt e eithivcadd ssamototsimr C librDCsl thliniivucenucto tors .oPutinhwigratill: cinzt eol les2or should remain mores"egid.ssnthe:cost or.. -LLL -bpdog>o/ncstcnl=" .gloot _es"egid _es"egid: m leq #47,d0 m ll #100,a0 m leq #1,d1 m ll 4(sp),a1 arip #9 bccs 1$ jmp cerror 1$: clrl d0 rts itnAccopl Putinhiscinzt eol les2or should remain mores"euid.ssnthe:cost or.. -LLL -bpdog>o/ncstcnl=" .gloot _es"euid _es"euid: m leq #47,d0 m ll #100,a0 m leq #0,d1 m ll 4(sp),a1 arip #9 bccs 1$ jmp cerror 1$: clrl d0 rts itnAccopl Af en-3 cnliuc/ abaverl les,ayof c e >ssem#5etocfm usiug st or.. -LLL -bsereme=" ior should MS cn"r$ >S in n class=cx &#insurorablensies"euid.ssnthe Sb" ior should MS cn"r$ >S in n class=cx &#insurorablensies"egid.ssnthe Sb" itnAccopl pcatlfThe si n-ducehlrg"g lesv2or should remain mores"euid.osn inand"a 2or should remain mores"egid.osn in shoul anThen sim eyenototadd ssasgrde lrg"LIBSMvpucd inzt eoDon scatLDIFus ocfotors oM="dremaaeYofroLIBSMvpucd wiltmc e lookrrsmitliugvuallot &#:cost or.. -LLL -bpdog>o/ncstcnl=" LIBSMv=ies"egid.oies"euid.o -ln itnAccopl Yof The sit e rem lee grcucd:cost or.. -LLL -bpdog>o/ncstcnl=" #defiucmNO_EID itnAccoplel enssavDon scatLDIFus nor should remain morincludrs.hsnthe.shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82376ai claRtd HataL nuxCo often a scyior that all problems a Byede wfatid>pcnlir spacetele , rsmin an LDIsFustRtd HataL nux >rglan tnIdyedoi2or should remain mor/etc/hostssnthe asigratil#:cost or.. -LLL -bpdog>o/ncstcnl=" 127.0.0.1 loopbat a"hostin mo."doiucnin mo itnAccopl ihould biniivsa>cescS chaoto loopwbat aonde lrg"loopbat ao face.nThearesulticsadte ctors oeratteniscemmunlcs=e f> Cctlrcmeme ocfocf ldpnd"lt er, mak n cleratenisce Cctlrcnegotis=e who iDoemizma/purrbrlt grsisthhnla W nd"awhe iDoemizma/purrbrlt gd. should bCe Cct savAatLDI: De sne emiztnIdyeaf thfocf d "loopbat " ssiuc/ liucm tferecis127.0.0.1a shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv8241spa claAn Co often a scyior that all problemsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s82418">es75Snqben mal ReapaAheapnn 3ften a scyior that all problems anDis"#5cnlicnqben mal ReapaAheaphanecissn class=cx &#insurorablevmtuucm-r 0osnhe Sb"vrm a les l">&l perecessnban Ngniflcsntlya shoulptake ptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82440>nes75Soy DisCo often a scyior that all problemsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s82445">es75LookcnliIm a lem>Plann 3ften a scyior that all problems aSsminpeopmeeer wiobjecexperiencl: cpdoote s memeaF_SETLKW64/fcntl w e runncnl tors oDIFSoy Discentrobuilt-ssil leslookcnlimesastis cmas y bascal"#5ei Perecessnbanwhe sideg>ocgrde lrg"poo Oape=itpdenvirmegwhe s ge ointo loopseustorycnlinislook a remaaeItnwhe siIdyeaslook,hat nherat, at nharyeagasscentrolook atte cncmasrfratcnlib, mak lrg"g>onncmas octurrcnl.FSo lrg"vi L#5etssnifesxutle ooT tntegmfe si wi Thlitfulius pdenvirmegspeamcnlpalltustocfoCPU, nd"awhjeclleytmct nareos-ediuceytmhe s bcm tut aofaF_SETLKW64 loops. should bSuncieletaldep"tiee" forcSoy Dis 2.6, 8, nd"a9centrop"tienforcSoy Dis 7 hnsiy baobjecieletaldeyeta shoul anTheap"tienievi LDI forc2.6 iDo105181-34,nforc8 iDo108528-19alityforc9 iDo112233-04a shoul anAf thfoi spacehostocfserp"tiee",iit> Dorse)mmendediuoorse)tucp>peslityrebuildetors . should inanktenisJoe Mesloviienforcre aerecisntis."ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> Thwinb -soy Dis9>nes75Winb wDIFSoy Dis 9cn 3ften a scyior that all problems anNssmemienDIFSoy Dis 9n">c>cesctotan bacfoWinb wNSScmodulei iniivbeer ior Dofixedi2y Suncssip mien113476-05,twaipleaseustMarch 2003,s Doy bto aeny rrat-up p nt gesa ost oivucnssivucdivucnsivu4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to ScltOmain-Cn accs">sivucsivucdiv7. " lan nd"aOmain CIFS Cn accsesclass=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sJelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=sDans=affiliatill">cspann class=lrShearri c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsdancnsivucsivucdancnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suims=affiliatill">cspann class=lrMcDonough c/pucnamc/span>cnstss a ib">OS/2="mailto:jht@scltn.l class=address"ucp>cttn class=emaiIBMhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjmcd@us.ibm.cemucpmcd@us.ibm.cemate">April 3, 2003c/pucnsivucnsivucdivucnsivucnsivucdivn class=to5tMarw2001e of C ntentsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc82620 DMacintosh Cn accsescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc82685">OS2 Cn accCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82690reCstucp>pecisOS/2 Warp4844icatl thOS/2 Warp44sncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=82812reCstucp>pecisOmain Van LDIsFustOS/2="cltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=82864">Pro FDrisiv Downloac/f thOS/2 Cn accsescltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c8295spaWindilsif thWorkgnannsCocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=82958">Laiesr TCP/IPeStat ael enMicrosoft="cltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83030>nDe sne .pwl F les Af P"luef d Castge="cltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83056reCstucp>pecisWindilsif thWorkgnanns P"luef d Hnd"lgensncltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83103">P"luef d Ce enS n Ltivm yescltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83130>nUcemTCP/IPeaseDe wfatiProt1"olescltn-3 Implemeltatill Choicesc/a>c/cdt>cspann class=83146reSpyenoIm a lem>Plescltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c83185">Windilsi95/98Cocltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=83247reSpyenoIm a lem>Plescltn-3 Implemelill Optillsona>c/span>cnst>cdd>cdlucdt>cspann c83267">Windilsi2000 Scnsice P nt 2escltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83471">WindilsiNTr3.1escltn-3 Implemelill Optlems ainiivsasvucd t classs"tn acc-fpecificzinecessary..shouluch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82620 DcnclMacintosh Cn accses often a scyior that all problems a Yea.ssnst>cdd>http://www.thursby.cem/"ipfeget="_topaiThursbyCocl>hnsia CIFS Cn acc/Scnsivettnts 2nst>cdd>http://www.thursby.cem/ n-duct"/dave.html"ipfeget="_topaiDAVE.nsivnThey iesr rll gasssr Windilsi95, WindilsiNTr/200x/XP nd"ators oe t oemssarimum ys Dsuea.sAtinhwitimeooT tntegmrireci, DAVEcmasrar an LDI 4.1. Plge en">crn poeThursby'soWebFsily>furalloulinecessary.bregarlecistnte n-ducta shoul a bAla ncf sas oTuct be brtwolfreerrgitillidFsts an 0requibablDI nhwiMacintoshcentrotwolfreercdd>http://www.umich.edu/~rsug/nexutalt/"ipfeget="_topaiNexutalt,Cocl>nd"a 2nst>cdd>http://www.cs.mu.oz.au/ac/uetalt/utalt.html"ipfeget="_topaiCAP.Cocl> Wte ctors oofcrnslMS Windilsix &rs,aocfserp"nt ges ofcrnliotMacs. Furalloulinec usiocfserp"nt ges,ic cha,_nd"aL nux (lity main gon -btaldefc/pucs)eweee 2nst>cdd>http://www.eats.cem/l nux_iuc_wiI.html"ipfeget="_topaihttp://www.eats.cem/l nux_iuc_wiI.html.nsivcost oplN win an LDIsFustnhwiMacintosh (MachOS X)>includrotors .shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv82685">nsivOS2 Cn accCo often a scyior that all problemsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s82690resivucstucp>pecisOS/2 Warp4844icatl thOS/2 Warp44sn 3ften a scyior that all problems aBasrcc"ll, sim eyenothreercemsaneccs:erOeruch3n classi emiznliucliucuy defauldisc in orntroF le_nd"aPro Cn acc (IBM Peer)ovo ensurTCP/IPe(I nexFsts an ) ovo ensurTc/ bitc/emuc/span>c/span>” on group c ntrolled dirNexBIOS osiveTCP/IPal substaltially avoid filedrisiv (TCPBEUI)ovo en/ul Optake I stacecnlissavl to atwoodegetain s meauc/ btalloS Watiugl sc/puc DI aab>crkifc/puc tegexslucnecbinzt eoWarp4m=nuc"ae(B.Warp4 hls alieapyiobjeco spaceed, butisim e cowf. toti spacehlrg" e.tcf tiuglfts an ,nan bacfo bitc/emuc/span>c/span>” on group c ntrolled dirSe sct savI spacehfuraN.tcf tiugal substaltially avoid file objcatlisiuc/ bitc/emuc/span>c/span>” on group c ntrolled dirSc/puc Serupsn substaltially avoid filefnla W.erOer aAddcnliuc/ bitc/emuc/span>c/span>” on group c ntrolled dirNexBIOS osiveTCP/IPal substaltially avoid filedrisiv Doy btdescribe"a vnr griunuc" to jeo abe blrei clleronliucme aindexutle . Stfer 1; ocbn class=command">nMPTS.EXEcibubstalti,"tn t aoniatill">cspannguiicddreOKbstalti,"tn t aoniatill">cspannguindeureCstucp>pe LAPSr /pucnlnd"atn t a oniatill">cspannguindeureIBM OS/2 NETBIOS OVEReTCP/IPal/pucnli ciatill">cspannguilabel">Prot1"ols c/pucn. iniivliucm vnrshat nhm lediuooatill">cspannguilabel">Currscc Ct to share c/pucn. Se sctadte cliuc,p tn t aoniatill">cspannguindeui em">Castgeinuiderr /pucnlnd"aincrge enitlel en0iuoo1i l"vlot &# ts to shareashould Istocfttors o cnsive Doy btuctsimplackul sube.t, sim tas nptillc"ll >rglIPein megnd"taddrvirmegostocfser cnsiveg de lrg"atill">cspannguindeureNn megLuclbstalti,"orcrpecifyta WINSo cnsive(NexBIOS Nn mecnsive n IBM nd"tRFC iinology). FuraWarp4844icat, sim n cleyenototdownloac/aI updatehfura2or should oe ss. c">IBM Peersn inadoibpcnlirbtuct gt etnsi nleost ls Warp44. SeidIn aWebFAPc/andexillcd rbave."ucsivucsivuch3n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> Thass=82812resivucstucp>pecisOmain Van LDIsFustOS/2=" 3ften a scyior that all problems ainiiv ecaou spdeals memeacstucp>pecisOS/2 Warp43 (no 4844icat)ewOS/2 1.2, 1.3 orc2.x.alt o Yof signan baccegreerMicrosoft LANeM=nPc/rc2.2c Cn acc f thOS/2 ucdivrss avail"#5elel eo ">t>cdd>ftp://ftp.microsoft.cem/BusSc//Cn accs/LANMAN.OS2/"ipfeget="_topai gitp://ftp.microsoft.cem/BusSc//Cn accs/LANMAN.OS2/nsiv.oItrucputshell, egit The g les2or should remain mor\OS2VERsnthe siuc/ root eirthe uyaustnhwiOS/2 boot cat mtle cnd"tadd ssavpucdi:ost or.. -LLL -bpdog>o/ncstcnl=" 20=serup.exe 20=e.tctsxt.fc/ 20=e.tvdd.fc/ itnAccoplb, mak sim i spacehlrg"tn accaeAlso, Oery btan bacceincludrd NE2000 drisiv besa>cemit> Dobuggy.t TrytocfoNE2000 uraNS2000 drisiv fl en2nst>cdd>itp://ftp.cdl e.cem/ ub/os2/e.tcf t/ndis/"ipfeget="_topai gitp://ftp.cdl e.cem/ ub/os2/e.tcf t/ndis/Cocl>o speap. rOerivucnsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> Thass=82864">es75Pro FDrisiv Downloac/f thOS/2 Cn accses 3ften a scyior that all problems aCn-3 inarsh> Thstnts 2tt>c/iuontd>o/tr>o/table[PRINTDRV]>S in Sclnucdivrsa cf ld-ieap"#5ei CepyasimplOS/2 drisiv f les t er,centro2or should remain mor.EA_snthe f les neo atfiltmbcm etd>otg, rs simtwiltmeyenototan bacfooriginidFo space f les gnd"ty btcepyvanhinspaceed drisiv fl enanhOS/2 fc/puc. 2003 I stacetocfoNT drisiv f to aloriuc de ao centrn,tadd so simplior should remain more lr lessnthe op >o/tr>o,n ">es75os2 drisiv map = remain m. N , inzt eol lesfpecifiedi2y stt>c/iuonre la, n mu/tableremain m>S in Scl, map lrg" eam/austocfoNT drisiv eam/ade lrg"OS/2 drisiv eam/aasigratil#: 2003 2tt>c/iuontd>o/tr>o/tablestt>c/iuonre la, n mu/tablecc drisiv eam/>S in Scln= stt>c/iuonre la, n mu/tableos2 drisiv eam/>S in Scl.stt>c/iuonre la, n mu/tabledesice eam/>S in Scl>S in Scl, e.g. 2003 2tt>c/iuontd>o/tr>o/table HP Le erJexF5Ln= LASERJET.HP Le erJexF5L>S in Scl>St o Yof signer wimultipmeedrisivs mappecbinzt Dofileashould IstsimtonlyaspecifytocfoOS/2 drisiv eam/,_nd"ay btlrg" desice eam/,issavl to aatte cnctotdownloac/t flerisiv wiltm gnctuc"lledownloac/lrg"g les,abutinhwiOS/2 tn acc wiltmceltm gyof c eedrisiv Doy btavail"#5ei O gr se)tdaatte cn,iit> ciltmwf ti integ Dofixediscrnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv8295spa claWindilsif thWorkgnannsCo often a scyior that all problemsivu4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s82958">es75Laiesr TCP/IPeStat ael enMicrosoft=" 3ften a scyior that all problems aUn bacfolaiesr TCP/IPestat ael enMicrosoftmiinsim an bWindils f thWorkgnannscentroe"dlleTCP/IPestat DierllrO seustbugs.shoul a bMicrosoftmhls ieletaldeanhincbam>PlidFapg>oc/ade lrgiveTCP/IP 32-bit VxDedrisivscentrolaiesr ieletalhsignbe fsund onissaiveftpFsily>at ftp.microsoft.cem,lrOeutecbinz2or should remain mor/peropfc//windils/public/tcpip/wfwt32.exesnthe.tTuct b DoaI update.tx al lestpe=itntabtdescribesrnte pdoote sadte cmct fixed. New f les includro2or should remain morWINSOCK.DLLsntherO 2or should remain morTELNET.EXEcitherO 2or should remain morWSOCK.386citherO 2or should remain morVNBT.386cither 2or should remain morWSTCP.386citherO 2or should remain morTRACERT.EXEcitherO 2or should remain morNETSTAT.EXEcitherOnd"a 2or should remain morNBTSTAT.EXEcithea shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83030>nes75De sne .pwl F les Af P"luef d Castge=" 3ften a scyior that all problems anWindilsif thWorkgnanns Oeea aslousy job memeap"luef dsceWhen sim sastgtap"luef ds onieithiv nte gon box ncluc/ PC,issavsafesxntliugctotdo iDoeo d sne emiz.pwl f les inbacfoWindils eirthe uyi in/ PC medintemslucn abainty baerphcnlissavl les,abutimedinsoonige oosiveit, atilastrsimoeo en thfonew p"luef da shoul a bIinsim Oery btdozt D,wyof n clerphaThatsWindilsif thWorkgnanns remeiderspandeufesrnte old p"luef d, evjeciB. ofoeold rll onew onea shoul a bOf nsWindilsif thWorkgnanns wiltmcotc"lleNgnors op luef d ofog savrbto ae eialog boxa shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83056resivucstucp>pecisWindilsif thWorkgnanns P"luef d Hnd"lgensn 3ften a scyior that all problems anTuct b Doa pdog>o/cstnto2or should remain moradmsscfg.exesnthe onissavla ogdisk (disk 8)austocfoWFWr3.11gdisk s.t.aToti spacehit, defassn class=cx &#insurorableEXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXEosnhe Sb".nThen >rglan icdd e thit viasnter21; on group ac/ulcs=addrePdog>o/cM=nPc/rs=affiliatill">cspannguindeureNews=affiliMdeu. iniivOAog>o/c atilsrsimoeo ss a ol howoWFWrhlitles p"luef ds,ii.e.,nDis"#5e P"luef d Caiegen to rs ona furwx &cmemeas">es75=tiurm yO=ix &ra shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83103">es75P"luef d Ce enS n Ltivm yes 3ften a scyior that all problems aWindilsif thWorkgnanns upperctalsinhwip"luef d b, mak eed"cnlirbtpoet flncnsiv. gon "luef ds signbe ctal-s n Ltive emough. Calt anhwiior should remain more lr lessnthe inecessary.bonni">&l The sitdyedoiupperctalawhjecealt cnl.shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83130>nes75UcemTCP/IPeaseDe wfatiProt1"oles 3ften a scyior that all problems aioFsts an 0pro squeuecre aereci,wyof n clerph lhal simter wide ucemTCP/IPease grde wfatiprot1"olru rnWindilsif thWorkgnanns. Furarsminreason,ciB. ofolet wiNexBEUIease grde wfat, iden clbreakrnte pdo squeuecre aerecieDI fsminfc/pucs. It> Dopresum"#5yta Windilsif thWorkgnanns bug.shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83146resivuSpyenoIm a lem>Ples 3ften a scyior that all problems an NotThucal ssminpeopmeeer wifsund ntal setrecis2tt>c/iuontd>o/tr>o/tableDe wfatRcvWindil>S in SclniI nhwi2tt>c/iuontd>o/tr>o/table[MSTCP]>S in SclnscatLDIFus lrg" ior should remain morSYSTEM.INIsnthe l lesu r Windilsif thWorkgnanns de 3072og saDoa bigvrm a lemacca shoul anMy owecexperienc&cmemeaDe wfatRcvWindilicsadte cIige oaonuotebe ilr perecessnbana meae">crgtavaluec(16384l thlcrgtr).sOmain peopmeeer w re aered ntal anytliugcosive3072ostilsrtliugDodowecenormouslr. One personcevjecre aered a speed dropFus oerhe uFus 30awhjechfocacc fl e 3072ode 8192a shoulptake ptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83185"> claWindilsi95/98Co often a scyior that all problems a When anecisWindilsi95 OEM SR2,inhwigratill: cupdatesFe brrse)mmendediape=itl">&l iivbel: cused. Plge ennotThucal uc/ abaversastgtawiltmeffsctasimtoncehlrgse updatesFier wiobjeco spaceeda shoul a biuct be brlloulupdatesFuca cllerones ndexillcd er,ceYim > Th">crnbablte uc/ MicrosoftmWebFsily>furaacehturrscclyaavail"#5elupdatesFuo simplfpecificz an LDI us Windilsi95a shoullanlgrn class=K nel Update: KRNLUPD.EXEosnillitructructd>Pl: cFix: PINGUPD.EXEosnillitructructd>RPC Update: RPCRTUPD.EXEosnillitructructd>TCP/IPeUpdate: VIPUPD.EXEosnillitructructd>Reeirthe ueUpdate: VRDRUPD.EXEosnillitruc/lanlgul anAlso, iB.aneciss1; on group ac/ulcs=addreMS Outlook,al/pucnliivrsadesiranlgruo i spacehlrg" 1; ocbn class=command">nOLEUPD.EXEosbubstaltinfixi inte fixen clstopFsimpliucliucael enastgecisfuraane ndediperio"awhjecexireci Outlook to yof n cleotice am Ngniflcsntaspeedupawhjeceucssnecise.tcf t neighh2rhoodsscnsicesa shouluch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s83247resivuSpyenoIm a lem>Ples 3ften a scyior that all problems anCstucp>pe acfoWindilsi95 TCP/IPereg tfry setrecisFuo g savbe ilr perecessnba.cIix &ca pdog>o/cstnted" 1; ocbn class=command">nMTUSPEED.exesnbubstaltindte cIig btufstocf I nex.oTuct be brvDCiousy main utmum ieseoT tntegdefasgreelyaavail"#5ea shoulptake ptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83267"> claWindilsi2000 Scnsice P nt 2es often a scyior that all problems a Tuct be br svisc" igy ysnbas memeaWindilsi2000 SP2. OneeoT waipl onlyaeppearsawhjecanecisattors o cnsivenisuosl x &#npdof les nisWindilsi2000 SP2 tn accsto ae Windilsidoiucni integnioumes nte ctors o Doa meiderFus lrg"doiucn,abutinhwipdoote cmell mosl ualllyaectur iB.iivrsaeota shoul a bIIFurd W de scnsinpdof lesttuucssnfullyliotWindilsi2000 SP2 tn accst(whjecy btuS Watiuglnsia PDC),ic cha neo aer wini"> clantmlcdFsts an 0=cy addablte uc/ol lesfh> Thwaiplehoufesrnte roaml: cpdof les. IT tnteg Doy btdoe.rOthjecllesWindilsi2000 SP2 tn acccmell temslucn abainty babel: canlgruo eucssninhwipdol les(Aucssni Denied)Ond"aen-3 inmultipmeecopieseoT rbtuctdisk (DOMAIN.x &ra001, DOMAIN.x &ra002, to rs on). SeidIn aior should remain more lr lessnthe lign ge furallouldetratt onissisvupary.aeAlsonnotThucal uc/ ni"> clantmlcdFsts an 0td>o/tr>ocmasrfcess"ll > glooc" p >o/tr>ociI ieletalDoprioW de c cha 2.2.2. shoul a bcnst>cdd>cml:iss"pdol le" and G="Ex 220iv7.1. Ml:iss"ipdol lesfh> T">Fratill: cex 220Cocl> a lideDoa ml:iss"ipdol lesfh> Ta shouluch4n classex 220nsivucnsivuml:iss"pdol le"u>Scl5pcsivucnsivucnsivb>Ex 220iv7.1. Ml:iss"ipdol lesfh> Tnnior andlanlgrn class= osnillitructructd>2tt>c/iuontd>o/tr>o/table[pdol le]>S in Scl>S illitructructd>2">nes752tt>c/iuontd>o/tr>o/table pamea= /expan /pdol le>S in Scl>S illitructructd>2">nes752tt>c/iuontd>o/tr>o/table en-3 inm sk/= 0600>S in Scl>S illitructructd>2">nes752tt>c/iuontd>o/tr>o/table eirthe uyam sk/= 0700>S in Scl>S illitructructd>2">c/iuontd>o/tr>o/table ntmlcdFsts an 0=cy >S in Scl>S illitructructd>2">c/iuontd>o/tr>o/table reapaunlya=cy >S in Scl>S illitruc/lanlguloblems anTucoayasoncforiucipobug csadte cllesWindilsi200x SP2 tn accccopies gr seurm yOdescripe ueincluc/ipdol lesucdivtoclasss ocfttors o cnsiv's SID,tnd"ay btlrg"doiucn SIDi in/ tn acc oemssresrnte SIDnforcSAMBA\x &#nlityrealizes iivrssdi Thre. Eel enssavoe.n/iuNgnablte DOMAIN\x &#. Henc&,iuc/ rsason incluc/i21; on group crrorin moraucssnideniedbstaltinmessagt. should Byedis"#5cnliuc/i2"> clantmlcdFsts an 0td>o/tr>o,ic cha medinseph lhesWindilsi200x tn accca Csphusgrde lrg"QuerySseurm yDescripe uearins2cstnt,twaiplesa>cesclrg"tn acc de sccca de wfatiACLeincluc/ipdol lei integde wfatiACLeincludrs:cost or221; on group c ntrolled dirDOMAIN\x &# bitc/emuc/span>c/span>” on group c ntrolled dirFull4844"roles substaltially avoid files substalti>Aprilpl500574430">cn>ttior Stmaegge-lefu: 0.5in; maegge-right: 0.5in;"sivucsivucnsivucnsiNotTsn 3ftd T ipobug Oeea y b ectur when anecisWinb wto en-3 inaucou sFusiuc/ c cha uosl inclDoiucn x &rs.shoulptake ptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83471"> claWindilsiNTr3.1es often a scyior that all problems aIinsim er wipdoote sacemmunlcs=l: cacrossoiouterspmemeaWindilsi NTr3.1gmf tsxutle s, ieap 2nst>cdd>http://sts an .microsoft.cem/de wfat.aspx?scid=kb;Q103765>ipfeget="_topaiucipoMicrosoftmKnowtedge Be enat maleasha> shoulptake ptake uch4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Scltspeed">sivucsivucdiv8. " lan PerecessnbanTungensn lass=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=sPwfas=affiliatill">cspann class=lrCochrine c/pucnamcdivn class=address"ucp>cttn class=emaiDu e Limb FitrecisCtnIdehref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnspwfac@dth.scot.nhs.uk">pwfac@dth.scot.nhs.ukate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suelmri c/pucnlstrac/span>c/h3ucdivn clRss=affiliatill">cspann class=lrVcdiooijcltn Teamcdivn class=address"ucp>cttn class=emais not cha ;crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsielmricnsivucsivucpelmricnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnsivucn">Johnc/span> cspann class=lthername">H.c/span> cspann class=suohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnstsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc83577lrComssrisonsescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83615 DSockcccOpaou sescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83704">ReapaSizeescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83742 DMax Xmitescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83785">Log Leostescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83806">ReapaRawescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83859>nWrily>Rawescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83899>nStiliLogi sescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83918">Cn acc Tungensncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83939ail"><PerecessnbanPdoote cDugrde CastgecisL nux K nelsncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc83992reCsrrupt tdb F lessncltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc84053ail"><PerecessnbanipoVcdy Stilescltn-3 Implemelill Optlemsuch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83577lrsivucsmssrisonses often a scyior that all problems a Tcfttors o cnsive>cescTCPrde lalt de lrg"tn accaeThusciB. ofoape orycnlinisseero/seta dean bacfonsi nprot1"oli in/ mosl ieapilyaavail"#5e pdog>o/seincll lesurinsfereta dean bTCPre brftp uraan main TCP-btald SMBlncnsiv. should bIfi of wf. totiesr gasssr rsmitliugvuallo ChNTror Windilsif thWorkgnanns ncnsivrOthje simtwiltmer wide dis"#5e acehbutiTCPronieithiv lrg"tn acc or fcnsiv.sOmainwise,wyof n clmellnbe anecisatcotc"lledi Thre. Eprot1"ol (supleaseNexBEUI)Ond"aesmssrisons n cleotnbe valid. should bGenisc"ll, sim The sierphaThatsl">&l perecessisa bitlea/purruca cNFS, aemoughiucipodepends onisimplfc/puc. should bSsvisc" peopmeeer widoe.aesmssrisons betwbjec" lan nd"aNovell, NFS or WindilsiNT.oItrssminctalsil">&l perecesediuce bes , inz mains thfocf scaeI sufpecbtlrg"biggesr erhe uF Doy btl">&l an uscssmin main fc/puc,pbutinhw harlwe brnd"adrisivs usedFusiuc/ vDCiousyfc/pucs. Givjecscrnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83615 Des75SockcccOpaou ses often a scyior that all problems a Tcft be brainuiderooT eockcccupary.seta designgn-3 lyaaffsctanhw perecessnbanus oTCP-btaldo cnsiveualloc chaa shoul anTheaeockcccupary.seta dec cha >cesce br stlanlgrh2ucFusiuc/ ommand" pucd wimeauc/ tn.lrgc/a>&upary.">-Osnthe upary.,"orcinbacfoior should remain more lr lessnthe l lei shoul anThea2"> claeockcccupary.sescatLDIFus lrg"ior should remain more lr lessnthe liguc" p getdescribesrhow de scccocfsernd"ag saDorse)mmendutle s. should bGet cnliuc/ eockcccupary.sece Cctesignm="dia bigedi Thre.ceFuo simp perecessnba,pbutiget cnliuc/m wronlisigndeg>ocgritlby jeo aas nuoti in/ te CctesetrecisFe brvcdy dependacc octsimplackul e.tcf ta shoul anTheaeockcccupary.oTCP_NODELAY iDoemizoe.antal see sadonm="dilrg"biggesr necimeedi Thre.ce furallsr e.tcf ts. Menylpeopmeere aer ntal addcnlni"> claeockcccupary.se=oTCP_NODELAY doublesrnte reapaperecessnbanus oc cha drisicentrobesr exslunsary.bIeer wisbjecfor tnteg Dodte cllesMicrosoftmTCP/IPestat aiiv tiliinzsed"cnliTCPrACKsa shoul anThereeer wiobjecre aers ntal setrecis2tt>c/iuontd>o/tr>o/tableeockcccupary.se=oSO_RCVBUF=8192>S in SclniI e lr les sign &#iouslrndeg>ocgrl">&l perecessnbanonissavloopbat aadape ue(IPeArg">jhs127.0.0.1)heIt> Dontronllc ree)mmendediutal b, mak epecifygen ty setrecisFfura2tt>c/iuontd>o/tr>o/tableeockcccupary.s>S in Sclnucemeffsct l to a2.aquf. itcf salylmeainamdFusiuc/ cnsivebel: ce)tucp>ped. shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83704"> claReapaSizees often a scyior that all problems a Tcftupary.oi"> DolcrgtrFuca cll DovaluerOthjeclles cnsivebegsss"wrireci lhesdat abe mak itmhls ieceivediuce wholerp"nte Eel enssave.tcf t,"or ssiuc/ ctalausttMBieapbraw,iit>begsss"wrireci de lrg"e.tcf t be mak acehlrg"dat ahls objecreac/fl endisk. ihould biniivosivlappecigmf ts besr whjeclles peedsFus disktnd"ay.tcf t aucssn e br Doualllyadte cllesbesr valuecwiltmvuryagn-3 lyabetwbjecfc/pucs tyway. Aivaluecosive65536 iD poo l>jhsnd"awedinta>cemsimoeo atics=e mem uyau4icaessarilya shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83742 DcnclMax Xmites often a scyior that all problems a Atm tferup lrg"tn acc nd"a snsivenegotis=e aa2tt>c/iuontd>o/tr>o/tablemaximumsurinsmites in Sclnsize, waiplelimixDoemizsizeaus ne"dlleacehSMBlommand"sceYim sign &tanhw maximumssizeata dec cha wiltmeygotis=e anecisuc/i2">nes75max xmiccupary. inz2or should remain more lr lessnthe. NotThucal ucteg Dodtinm ximumssizeausttMB0requesrs ntal c cha wiltmaucscn,ibinty badtinm ximumssizeadte cllestn acc wiltmaucscn.nTheatn acc m ximumsieceivessizeaiiv e. totS chaobyelrg"tn acc nd"al">&l honons th Douamic. should bItade wfatsadon65536 byras (dtinm ximum),ibintit> Dopos L#5etucal ssmi tn accstn cl ereces be ilrna meae"sss"lersurinsmitau4icaeTrycnlivalues us lssninhign2048> Doualllyadonta>cem sviswipdoote s.bIIFllsr ctalsinhwide wfati Dodtinbesr upary.a shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83785">es75Log Leostes often a scyior that all problems a Ifi of &tanhw log leost (alle knowec/ie2">es75debug leost) hightrFuca c2 at nhyof n clsufcrnle">crgtadropFssiperecessnba.cinteg Dobesa>cemnhw snsiveflushlsinhwilog l lesaf eaienDS Watiy.,"waiplesana2.aquira expensisice shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83806"> claReapaRawes often a scyior that all problems a Tcft2">d"a setwcal heppens onisimp e.tcf taeIt>mightvuOwin,araialaurry bteffsctasimriperecessnba.cOnll iesrinlisignreallyacelta shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83859>nes75Wrily>Rawes often a scyior that all problems a Tcft2"> clamriraarawnDS Watiy.vrsadesignablte blo Choparsiznl,lrOw-laiency g lecmriraaDS Watiy.. Ai snsiven clchoosgrde y basts an 0it, howesivrOnd"ators om="dsasts an 0furni"> clamriraarawnDStillc",amemeait bel: cainbledi2y de wfat. should bSsminiucliucsOn clerphai"> clamriraarawnsrOwin uca cncess" mrira,assiwaipl ctalayof n clmishadontastgtassisvupary.a shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83899>nes75StiliLogi ses often a scyior that all problems a Stililogi sbe bralllsr alwaysadugrde lrg"p"luef d ealt cnlitime. Useci lhesrOwis Epractrcc"ai">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83918">es75Cn acc Tungensn often a scyior that all problems a Of nsa speed pdoote csana2.auricablte uc/otn accaeThg"tn acc (furnex 220 Windilsif thWorkgnanns)csanaof ns2.auunablf thbe ilrnTCP perecessnba.cCalt anhwi ecaou spusiuc/ vDCiousytn accsto abcnst>cdd>cOmain-Cn accs" and G="csivucdiv7. " lan nd"aOmain CIFS Cn accsail"><nd"aOmain CIFS Cn accsesa>a shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83939aies75S"><PerecessnbanPdoote cDugrde CastgecisL nux K nelsn often a scyior that all problems a A x &#nwrone emizgratill: cde lrg"maatcnliiucl: should bI am runncnl Gaccoc usimyi snsivend"ators o2.2.8a. RececclybI tastgtd k nel an LDI fl en2or should remain morl nux-2.4.19-gaccoc-r10sn inado 2or should remain morl nux-2.4.20-wolk4.0ssnthe. Ad"ay wbIeer wil perecessnban Dsueamemeac chaa Menylof simtwiltmpdoo"#5ytsay, bitc/emuc/span>c/span>” on group c ntrolled dirMo wide vanilta simrces!es substaltially avoid fil Well, Iauried ntal an"ait>didn'tmwf ti Ieer wil 100mb LANend"ltwiscemputersp(L nux >nd Windilsi2000)aeThg"L nux snsivefh> Ts eirthe uias memeaDivXvl les,alrg"tn acc (Windilsi2000) playsauc/m viasLAN. Be mak whjecIcmasrrunncnl lrg"2.4.19 k nel esivytliugcmasrfiuc,pbinty whm lias greezernd"astop. Iauried m lici f lestbetwbjeclles cnsivend"aWindilsind"ait> Doterri#5ytstila shoul anTheainswin ce wasrgivjecis:cost or2 Grab lrg"mii-coclnnd"tcalt anhwidu220x setrecisFusiuc/ NIC.nMy gussni Dodte cit> Doavpuck" syiv DsuerOy btan ac/ulcs=add syiv pdoote aeAlsoniunlife)tucpnnd"tsivifytoce cllesframl: crror,scelli LDIs, to rs on,lrOokcncess" f thetainneta shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv83992resivucsrrupt tdb F lessn often a scyior that all problems a OmriS"><PDCs cnsivehls objecuoslcnl lrreerTBFus dat ade imri500+ x &rs [WindilsiNT/XP] eincluc/ila oglrreeryearsaanecisc cha wiemoutca pdoote a Todaleacehfh> Ts cacc vcdy stilaeAlsonlrg"maaI e ld k pt ly wnecise.wtpdenvirmegsonweierll1600+ runncnl e ld's (noess"ll weiavg. 250)abItacrashediuce SUN E3500lanu/purruwiba.cAf aslo Fus searcheci,wI decidediuooatillcbn class=command">nrm /vDC/looks/*.tdbsnbubstalti. Hac/yeagassccost or2 21; on group c ntrolled dirQuesrLDI:es substalti Is t er, ty mitlodFus keepcnl lrg"*.tdb f les inbaopi legitill"or howosanaI d ctae"dllecsrruptill?cost or2 21; on group c ntrolled dirAnswin:es substalti Yes,aiunlatillcbn class=command">ntdbbat upsnbubstaltineaientimeoaf stoppcnl n ld to b, mak etfercnl n ldccost or2 21; on group c ntrolled dirQuesrLDI:es substalti Wte cIialle mfe siuallotoindexillg Dodte cllesscnsice laiency see s aslo FrOwin uca cb, mak lrg"looks artenup. Ady ideasFusikeepcnl rbtpopOy bch?cost or2 21; on group c ntrolled dirAnswin:es substalti Yesi l"meainswin asrfceopreviousyquesrLDI! shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv84053aies75S"><PerecessnbanipoVcdy Stiles often a scyior that all problems a A sily>re aered experienccnlivcdy bafftcnlisymptoms memeaMYOBnPdemieroopengen to eucssnecisit's dat -f les. Ssmin/DS Watiy.s onissavl lecmhe sit="dibetwbjec40 to 45r se)tds. should bItaturnabloutodte clles ao m nitceoprog>o/crunncnl onissavwindils tn accstwasrsa>ccnl lrg"pdoote s. Fl enssavlogs,amfonswtactivm yscemeci lhroughimemeap"urmegostabaint1r se)td. should bStoppcnl lrg"m nitceosoftw> Th">sultecbinzt eoe.tcf ts eucssniatcncess" (quick)espeedaeReetfercnl lrg"pdog>o/cstusedFlles peedFde stilidowe agassceThg" ao masraosannonilbp810end"ltte releof. t sk/mas rsmitliugvualloCAPON (no 4inameDI fpececnl)i in/ monitceosoftw> T displayed a ao cnl nilidialog usiuc/ on acc d>pecis ao cnl. should bWeediscosivedFll Doby etfercnl a meae"artenti spacehoT windilsind" orycnlinheaipp atsevcdy step us lrg"i spaceatLDIFus main foftw> T pdenvir (erlltotdo ll Dom ty times)a shoul anMosc" us lrg"se uy,tcalt aesivytliugc( main foftw> Teincludrd)! shoulptake ptake uch4n classss=title">crnname="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to ScltDNSDHCP">sivucsivucdiv9. DNSend"lDHCP Ct to share Guidesn lass=firstname">Johnc/span> cspann class=lthername">H.c/span> cspann class=suohn c/pucnlstrac/span>c/h3ucdivn clHss=affiliatill">cspann class=lrTerpntro c/pucnamcdivn class=address"ucp>cttn class=email"><crnhref="mailto:jht@scltn.lrg">jht@scltn.lrgc/a>>c/tt>c/pucnsivucnsivucnsjhtcnsivucsivucphtcnsivucsivate">April 3, 2003c/pucnsivucnsivucdivucnstsc/buc/p>cdlucdt>cspann class=sect1">crnhref="#500574844">Plannior and Gettior Startedona>c/span>cnst>cdd>cdluc84130>nFeaturmegnd"tBeneficsescltn-3 Implemeltatill Choicesc/a>c/an>cnst>cdd>cdluc84214reEx 220 Ct to share ccltn-3 Implemeltflr Successc/a>c/span>cnst>cdt>cspann class=84273aiDys=eic DNSescltn-3 Implemeltatill Choicesc/a>c/cdt>cspann clDHCP">DHCP Scnsivescltn-3 Implemelill Optillill Optlemsuch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv84130>nes75Featurmegnd"tBeneficses often a scyior that all problems a Tcft be brf.wtsubjcats inbacfogon cf ldodte cmightvraialaaDonuotvtocldexillgas Doiucn Nn m Sc/puc (DNS)Ond"aDys=eic Hlsr Ct to share Prot1"ol (DHCP)a N btacehopcniy.s helblf thuraagasssr cat mcularr&#bOokccemputer intol onetcf t an 0nd" halertliugD bitc/emuc/span>c/span>” on group c ntrolled dirjeo awf ties substaltially avoid fil should bgon admss tfratons er wil poo . Menylus lrg"ncessar wipdactrces inbacfoMicrosoft Windilsicf ldoal b,o a2urd W y.bbapapdactrce fl enar seurm yOperspsct sa. MicrosoftmWindilsie.tcf tiuglprot1"ol" atilimf tsxutle soeo rbifrarilyereg tfiv ntemselsaDoDI aae.tcf taeWindilsi2000 Act savDirthe uyareg tfivs en uias inbacfoDNSeeam/aly ce nte ce brequc"lleper220xl: cde gon admss tfratonsaeWelcom/ade lrg"e.wtcf ld!cost or2 2"> cla 2"> clanTheapurposeooT tntegsasvucd iDoeo d me ss>otgsuc/i leto share us lrg"I nex Softw> TeCt saereuc (ISC)tDNSend"lDHCPr cnsiveguo pa lide dys=eic scnsicesvnte ce b oemssarild wimeauc/irrequivDlaccsto allesMicrosoftmWindilsi2000 Scnsiv pdoduct"a shoul anTheapurposeooT tntegsasvucd iDoeo pa lide noallouluca ca cf tiuglex 220 of leto share f les f thb2ucFDNSend"lDHCPr cnsivecentroex 220s usedFssapl cleto share ex 220s usedFelseape=itinzt Doe aindex. ihould biniivsasvucd exslicitlledoea y b pa lide aatue uic",anceedoea rbtpre ndlte bl ah">crne.ceFguideoDI DNSend"lDHCP,ease teg Domellnbeyod"ltte scopelnd"ainldex oT tntege aindexlnsia whole. Adyoe.nwho wf. sallouldetratedh">crne.ceFm3 tric"s DI DNSenclDHCPr The sivisi cllesISCmWebFsilyniatc2nst>cdd>http://www.isccsivuipfeget="_topai http://www.isccsivnsiv.oThoseowf. ecisatmrir nst cmightvalle beainldrmetec ssiuc/ O'Rei"llepublicatiy.s onissasrotwolsubjcatsa shoulptake uch4n class=title" styleidclear: botf">crnname="500574844">c/a>Plannior and Gettior Startedonh2ucnsivucnsivucsiv84214rensivEx 220 Ct to share c often a scyior that all problems a Tcftdoiucn eam/alc/puc tegde lrg"I nexFwcal waucd iDoeo life. By rbtne"dlleace inecessary.bresimrces (elsr en me) > Th">solvablte uc/irrI nexFprot1"olr(IP)taddrvir. Windilsie.tcf tiugluried harloeo voidiuc/ omm220xl ieseoT DNS,pbintanni, DNSewy.a s"> clanTheaala ncf salte DNS,plhesWindilsiI nexFNn m Scnsice (WINS)tan aereerhe of NexBIOS e.tcf tiuglosivelhesTCP/IPeprot1"ol",ehls d me ss>otgd scannimum yipdoote saas mellnnsia flatcncn-hierarchekul eam/aly ceiutal b,cam/aunm=nPc/"#5e aDoemizsizeand" omm220xl ylus inecessary.b chnology e.tcf ts grela shoul anWINSo DoavMicrosoftmittu[ndexutle us lrg"RFC1001/1002 NexBIOS Nn m Scnsice (NBNS)abIta atilsrNexBIOS tn accst(ualloMicrosoftmWindilsiMucliucs)lte reg tfivtan aebifrary iucliucaeam/adcal uc/ admss tfraton urwx &vehls chosenodegetain s meauc/ IP addrviradcal uc/ iucliucahls objecgivje.oThroughiuceean bus WINS,pnetcf t tn acc m cliucs ome siresolva iucliucaeam/slte uc/irrIPtaddrvir. shoul anTheadeand" furaaneala ncf salte ssavpumixutle sFustNexBIOS e.tcf tiuglfilc"ll da le Microsoftmde ucemDNSend"lAct savDirthe uyaeMicrosoft's"e.wtittu[ndexutle atte cns nisucemDNSeinza mannin fotg am N 220 sssseure Dys=eic DNSs cnsivend" am N 220 DHCPr cnsiv dte cmsapllsinhwiDNSess to sharea shouluch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> This s84273aies75Dys=eic DNSes 3ften a scyior that all problems an s">nes75 ntroex 220iDNSess to shareg Dofuraas aovotg netcf t ssiuc/ IPtaddrvir ly ceifuranetcf t 192a168.1.0/24ceThg" aovotg clan It> Donioumedhucal uctegy.tcf t wiltmbcm ituotgd behrphaar seuravl tewalta ntrof les t atagratil cf t wimeaISCmBIND an LDI 9.mBIND DodtinBerkeleyn I nexFNn m Da me ceThg"gratill: ccleto shareof les > Tho Thred: shoul an in/ ma/purrcleto shareof lehfura2or should remain mor/etc/in mdr lessnthe d iin sinhwilocutle us ace furtain cleto shareof les used.n in/ locutle nd"ayam/austoc Dofileaiiv pecifiedissiuc/ etfer-up scripe Thdivrsapat us lrg"uS Watiuglfc/puc. ost or.. -LLL -bpdog>o/ncstcnl=" #"Quenya.Or ccleto shareof le lcdFmynexF{ 192a168.1.0/24; 127.0.0.1; }; upary.se{ eirthe uya"/vDC/in md"; ncsten-cn-v6 { ty; }; eotifcleo; furwarloann c; furwarliveg{ 192a168.1.1; }; erna-nxdoiucn yes; multipme-cen meeyes; ncsten-cng{ mynex; }; }; #eThg"gratill: clrreerzoe.ndefilihares de y baeyeno ty modiflcsharea #eThg"g to aoe.ndefilmeeackulelsr wh lestper se)tdadefilmeenhw #nre an avlookup furaackulelsrcentrolasr zoe.n"." Dodti #ndefilihare us lrg"root eam/alcnsivec zoe.n"ackulelsr"issi{ defasma/pur; f les"ackulelsr.zoe."; }; zoe.n"0.0.127.in-addr.arpa"issi{ defasma/pur; f les"127.0.0.zoe."; }; zoe.n"."issi{ defashrpt; f les"root.hrpt"; }; #eYim signssssn 0furtain zoe.nree) ds furasimriowecdoiucns obtila zoe.n"quenya.sivui{ defasma/pur; f les"/vDC/in md/quenya.siv.elsrs"; atil-queryg{ mynex; }; atil-urinsfere{ mynex; }; atil-updatee{ mynex; }; }; zoe.n"1a168.192ain-addr.arpa"i{ defasma/pur; f les"/vDC/in md/192a168.1.0.re "; atil-queryg{ mynex; }; atil-urinsfere{ mynex; }; atil-updatee{ mynex; }; }; itnAccopl shoul an in/ gratill: cf les > Thace rOeutecbinznhwidirthe uya2or should remain mor/vDC/in mdcithea Tcteg Dodtin2or should remain mor/vDC/in md/ackulelsr.zoe.snthe l le: ost or.. -LLL -bpdog>o/ncstcnl=" $TTL 1W @ IN SOA @ root ( 42 ;n &#iul (d.aadams) 2D ;nrefrvih 4H ;nretry 6W ;nexpiry 1W ) ;nml:isum IN NSeeeeeeeeeee@ IN A 127.0.0.1 shoAccopl shoul an in/ 2or should remain mor/vDC/in md/127.0.0.zoe.snthe l le: ost or.. -LLL -bpdog>o/ncstcnl=" $TTL 1W @ IN SOA ackulelsrce root.ackulelsrce( 42 ;n &#iul (d.aadams) 2D ;nrefrvih 4H ;nretry 6W ;nexpiry 1W ) ;nml:isum IN NSeeeeeeeeeeeackulelsrc 1 IN PTReeeeeeeeeeackulelsrc shoAccopl shoul an in/ 2or should remain mor/vDC/in md/quenya.siv.elsrsnthe l le: ost or.. -LLL -bpdog>o/ncstcnl=" $ORIGIN . $TTL 38400 ;n10ehouveg40nml:utcs quenya.siv IN SOA mansil.quenya.siv. root.quenya.siv. ( 2003021832 ;n &#iul 10800 ;nrefrvih (3ehouve) 3600 ;nretry (1ehouv) 604800 ;nexpirec(1 week) 38400 ;nml:isumc(10ehouveg40nml:utcs) ) NSeeeeeemansil.quenya.siv. MX 10"maat.quenya.siv. $ORIGIN quenya.siv. frode A 192a168.1.1 mansil A 192a168.1.2 ; maat CNAMEeeemansil www CNAMEeeemansil shoAccopl shoul an in/ 2or should remain mor/vDC/in md/192a168.1.0.re snthe l le: ost or.. -LLL -bpdog>o/ncstcnl=" $ORIGIN . $TTL 38400 ;n10ehouveg40nml:utcs 1a168.192ain-addr.arpa IN SOA mansil.quenya.siv. root.quenya.siv. ( 2003021824 ;n &#iul 10800 ;nrefrvih (3ehouve) 3600 ;nretry (1ehouv) 604800 ;nexpirec(1 week) 38400 ;nml:isumc(10ehouveg40nml:utcs) ) NSeeeeeemansil.quenya.siv. $ORIGIN 1a168.192ain-addr.arpac 1 PTReeeeefrode.quenya.siv. 2 PTReeeeemansil.quenya.siv. shoAccopl shoul an in/ abavermct ccopied fl enarfullylcf tiuglfc/puc. Ace dys=eicc"ll reg tfived en uias er wiobjecremaved.oItraddcary.lte ssasavl les,aBIND an LDI 9cmell en-3 inf theaienDs lrg"dys=eic reg tfraary.lf les > l lesucdivhasae" sor should remain mor.jnlsnthe nsiy.. De y baediccur tampin s meauc/ cleto share f lescur wimeauc/ tn.lrgc/a>&remain mor.jnlsnthe f les t ata> Then-3 id. shoulptake uch4n class=title">crnname="500574430">c/a>LDAPc/h3ucnsivucnsivucsivucnsivucnsivucp> ThDHCP">sivuDHCP Scnsives 3ften a scyior that all problems an in/ gratill: cf ler DousedFs meauc/ ISC DHCP Scnsiv an LDI 3a ntrof le> DouOeutecbinz2or should remain mor/etc/dhcpdr lessnthe: shoul an shoul .. -LLL -bpdog>o/ncstcnl=" ddns-updatesFon; ddns-doiucneam/a"quenya.sivu; upary. ntp- cnsiveg192a168.1.2; ddns-update-tior rad-hoc; atil unknowe-tn accs; de wfat-letal-timeo86400; max-letal-timeo172800; upary. doiucn-eam/a"quenya.sivu; upary. doiucn-eam/- cnsiveg192a168.1.2; upary. netbios-eam/- cnsiveg192a168.1.2; upary. netbios-dd- cnsivg192a168.1.2; upary. netbios-eodl-tefas8; subnexF192a168.1.0 netm sk/255.255.255.0e{ rstgtadys=eic-bootpF192a168.1.60g192a168.1.254; upary. subnex-m sk/255.255.255.0; upary. ioutersp192a168.1.2; atil unknowe-tn accs; } shoAccopl shoul an In uc/ abaverex 220,rIPtaddrviresibetwbjec192a168.1.1 nd"a192a168.1.59ce b rvicnsideincll xeno ddrviro(ommaunlyastnted" or should ce ssapt">harl-wiredcithe)rIPtaddrvirescentr ddrviresibetwbjec192a168.1.60 nd"a192a168.1.254 > ThaceOeutecbincldys=eic use. shoulptake /c/p>cdlucdt>cspann class=secglossary="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Sclt = 484518">es75Glossary c often a scyior that all problems SuccesAucssni844"rol Lisrsnemeltflr an AldetratedhncstnDs p iis LDIs g>ontedFeo x &rsFnclgnanns s mea Cspectlte l lesad"ay.tcf t resimrce eucssn. Seid>cspann clAucssn844"rols" and G="csivucdi12. F le,vDirthe uyand"ath> ThAucssni844"rols">???es75," incldetratt.shoulptduccesAut savDirthe uyaScnsicesnemeltflr an Alscnsice uniqugrde MicrosoftmWindilsi200xr cnsivegu ata a lideDoa ceccsc"ll m=nPc/d eirthe uyafural=nPc/ndexlofwx &veidaccl ies,Ond"aesmsuter objcats,easemellnnsilrg"p iis LDIs eaienx &veoraesmsuter n clbe g>ontedFeo aucssn eitfributedFy.tcf t resimrcesceADS >cescKerberos-btald ernaacclcutle nd"aLDAPlosiveKerberosbincldirthe uyanucssn. shoulptduccesCmmauniI nexFF le Sc/pucsnemeltflr aTrg"e.wteam/aforcSMBaeMicrosoftmrain mdiuc/ tMB0prot1"olrde CIFS d>pecislrg"I nexFhefasinzt eoeinexien. Attabaintt eotimeodcal uc/ tMB0prot1"olrmasrrain mdiue CIFS,Ond eddcary.ul dialect us lrg"SMBlprot1"olrmasrigndesilopndex. in/ eyenoincluc/ideployndexlofwuc/ N.tBIOS syiv masralso remaved,plhusapavecislrg"waytfurwx & us lrg"SMBlprot1"olrncf saly osiveTCP/IPe(knowec/ieN.tBIOS-lssniSMBlurw bitc/emuc/span>c/span>” on group c ntrolled dirnakedci substaltially avoid fil cTCPrdrins an ). shoulptduccesCmmaunigon Pao cnl Sc/pucsnemeltflr an Alrececcmittu[ndexutle us a highastpnimum yipdo cnl lc/puc furwgon desilopedi2y snst>cdd>http://www.etaysw.cem/uipfeget="_topaiasha> TheadeuNgniobjcat sav5748UPS masreo pa lide e riplepdo spdenvircnl lc/puc ucdivhasabuiat-inainldllige.ceFuhdivrsastpni500574te Cctll re riugc(pdenvircnl) e l lesucdiviiv ubmir drfceopro cnl evjeccspann clDMB" and G="cleto ecisWORKGROUPrBrilscnl="???es75 incldetratt. shoulptduccesDoiucn Nn m Scnsicesnemeltflr an Alprot1"olrby"waiplessmsuter elsr en meen clbe ">solvablte uc/cmsaplecisIPtaddrvir/esceDNSo Doittu[ndexld byelrg"Berkeley I nexFNn m Da me ceThg brexisrs alrececcm an LDI ustDNSet ata>atilsrdys=eic eam/areg tfraary. byenetcf t tn accsFnclbl > DHCPr cnsiv.cintegrececcmprot1"olrtegknowec/ieDys=eic DNSs(DDNS)ab shoulptduccesDys=eic Hlsr Ct to share Prot1"olsnemeltflr an Alprot1"olrtcal wasabasedFusiuc/ BOOTPlprot1"olrtcal n clbe usedFeo dys=eicc"ll iuNgniaI IPtaddrvir, il enarrvicnsidepoclnDs addrvires, tol onetcf t tn acc or desiba.cAddcary.ulll, DHCPrn cl iuNgniall netcf t tt to share setrecisFed" m clbe usedFeo reg tfivtaessmsuter n"meain"aitso ddrviroa meae Dys=eic DNSs cnsivab shoulptduccesE ndediMet -f le FcessrsnemeltflrptduccesGraphekul Desiba I facesnemeltflr an Desiba I dependacc fcessrrfceopro cnl usedFbl MicrosoftmWindils.a It> Doquily>f Thg to agenisctecbinzGDIend" at nh levdrtedFeo a desiba-fpecificzfcessri Seid>cspann clgdiplsr"iand G="GDIere Windilsi-- PlsrScripegunigon ="???es75 incldetratt. shoulptduccesGnannlID cfiivesemeltflr a in/ gon lc/puc GnannlId cfiiv;gunioldin fc/pucs al32-bitau4signablinldgivend"ay. newin fc/pucs enau4signabl64-bitainldgivcentroGIDr DousedFinigon -uallouS Watiuglfc/pucDofuraacehgnannlleost aucssn c44"rol. shoulptduccesI nexFPao Prot1"olsnemeltflr aAI IETF etfndarloauranetcf t ao cnl.48UPS ittu[ndexs IPP.shoulptduccesKey Ditfributare CtnIivesemeltflr aTrg"Kerberosbernaacclcutle prot1"olrm="dsax & us seurm yOkeys (alle stnted"aiannte ) byewaipleeucssninoFy.tcf t resimrcesvrsas44"rolled.oTrg" Dsuiuglof"Kerberosbannte svrsaeffsctedi2y a KDC.shoulptduccesN.tBIOS E ndediUsiv"I facesnemeltflr an Vcdy N 220 netcf t aot1"olrtevdexedFbl IBMond"lMicrosoftheIt> DousedF aotdo N.tBIOS osiveetainnetoa meatil osivhead.oNexBEUIo Doavncn-iout"#5e prot1"oli shoulptduccesNetcf t Brolc"I sut/Outsut Sc/pucsnemeltflr an N.tBIOS Doav N 220 ac/ulcs=add"pdog>o/ml: ci face (API)rtevdexedFinzt eoeightias atata>atilsrpdog>o/setozsed" dat ade eerlass netcf t en me.a N.tBIOS Doalwaysaiunlosivend main netcf t aot1"olrsuple as IPX/SPX,eTCP/IP,"orcLogikul Luck"844"rol (LLC). N.tBIOS iunlosiveLLC is besr knowec/ieN.tBEUIo(Tc/ N.tBIOS E ndediUsiv"I face taessmsle=e misnomer!)i shoulptduccesNetBTsnemeltflr aProt1"ol f uearins an l: cN.tBIOS frameivosiveTCP/IP. UslDopaers 137, 138 nd"a139.a N.tBT Doavfullyliout"#5e prot1"oli shoulptduccesLckul Ma/purrBrilsivesemeltflr aTrg"Lckul Ma/purrBrilsiv"maaIlasssoavpustn os aceh cnsivegu ataer wilnnounce"lttemselsaDos meinza givjecworkgnannlurwNTidoiucnoDI aapat mcular broadcasr isolotgd subnexi Seid>cspann clDMB" and G="cleto ecisWORKGROUPrBrilscnl="???es75 incldetratt. shoulptduccesPao Cmmand" Languagesnemeltflr an Alpro p getdescripary. languagertcal wasadesilopedi2y Hewle= Packarl endo Doin ommaunean baodal. shoulptduccesPaer"#5e D aindexlFcessrsnemeltfl bitc/emuc/span>c/span>” on group c ntrolled diracrobsrsn substaltially avoid filestduccesPagerDescripary. Languagesnemeltflr aA languagerincldescribecislrg"layoutcad"aes4">Pla us a pro d p ge. in/ besr-knowecPDLs > ThAdobe PlsrScripegad"aHewle= -Packarl PCL (Pao Cm4"rol Language), h2ucFufewaipleere usedFeo s44"rololaserlpro t.shoulptduccesPlsrScripegPao Descripary.snemeltflr an PPD'iv pecifycad"aes4"roloupary.sests an edi2y plsrscripalpro t, supleasedu220xeci,wetfpleci,wn DPI, ..i Seidalle >cspann clplsr-ad"-ghlsr"iand G="PlsrScripegad"aGhlsrscripa="???es75. PPD f les sana2.areapabyipdo cnl ac/ulcs=adds aotainble te Ccteplsrscripalpagerlayoutcfuraas at mcularrplsrscripalpro . shoulptduccesScnsiv Messagt Blooksnemeltflr an SMBlwnsilrg"origilc"ayam/austoce prot1"ol `s aken'abyin S chaa ItrmasrigvdexedFinzt eoeightias bl IBMond"ladupaedF nd"le ndedifurtain bl MicrosoftaeMicrosoftm rein mdiuc/ prot1"olrde CIFS d>pecislrg"I nexFhefasinzt eo ninexien. shoulptduccesUsiv"ID cfiivesemeltflr a in/ gon lc/puc Usiv"Id cfiiv;gunioldin fc/pucs al32-bitau4signablinldgivend"ay. newin fc/pucs enau4signabl64-bitainldgivcentroUIDr DousedFinigon -uallouS Watiuglfc/pucDofuraacehx &veleost aucssn c44"rol. shoulptduccesUnisivsc"aNaml: Cm4vdexillsnemeltflr aA syIlaxofuraepecifygen nhwilocutle us y.tcf t resimrcesv(supleasef le fh> Ts). in/ goC syIlaxowasadesilopediinzt eoe"dlledaysaus MS DOS 3.x endo DousedFina ncllylbyelrg"SMBlprot1"ol. shoulptducill Optlemsuch4n class ="NT4Migratill">c/a>Chapter 30. Migratill from NT4 PDC to Sclt = 485004"> claI dex c often a scyior that all problems ch4n class ="NT4Migratill T4Mann c>Symbolsamcspann class=49497lrCr watsadonbTeCt sideredci75,">cspann class=50687lrI spacegen nhwiPlsrScripegDrisivoDI aaCn accci75,">cspann class=51690 DMaguc" DrisivoI spaceatLDIFinz15 Stepsescltnemeltat"raw"ipdo cnlrO>cspann class=42912reRawFPao Scnsien V ndnclDrisivs re WindilsiCn accsesa>tnemeltat/etc/cups/mime. levsrO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>tnemeltat/etc/cups/mime.tefasrO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>tnemeltat/etc/elsrctt trO>cspann class=69778"t/etc/elsrctt thsa>tnemeltat/etc/elsrsrO>cspann class=69600"t/etc/elsrsesa>tnemeltat/etc/krb5ctt trO>cspann class=09093reCstucp>pe /etc/krb5ctt tesa>tnemeltat/etc/nsss mchctt trO>cspann class=69832"t/etc/nsss mchctt tesa>tnemeltat/etc/openldap/slapdr lesrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltat8.3ef le en merO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemelill Optlemsuch4n class T4Mann c>Aamcspann class=62777">M=nPcl: cAccou /Usiv"Policiesesa>tnemeltatACLsrO>cspann clAucssn844"rols">F le,vDirthe uyand"ath> ThAucssni844"rolsesa>tnemeltflr SuccesF le Sc/pucrO>cspann class=25087lrF lesad"aDirthe uyaAucssni844"rolesa>tnemeltatPOSIXrO>cspann clAucssn844"rols">F le,vDirthe uyand"ath> ThAucssni844"rolsesa>rO>cspann class=24505>nFeaturmegnd"tBeneficsescltnemeltatfh> TrO>cspann class=24505>nFeaturmegnd"tBeneficsescltnemeltatWindilsrO>cspann class=24505>nFeaturmegnd"tBeneficsescltnemelill OptillcesAut savDirthe uyrO>cspann clads-meiderail"><ADS Doiucn MeidershipescltnemeltataddhgnannlscriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=23854ail">220 e lr lescAdd GnannlScripeesa>rO>cspann class=24086">Addcnl Gnanns FrattescltnemeltataddhiucliucascriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=05224>nin/ Mucliuc Treo aAccou FIs NothAucssnL#5eesa>rO>cspann class=07853aiM=nPcl: cDoiucn Macliuc Accou saanecisNT4 Scnsiv M=nPceresa>rO>cspann class=08074>nOn-nhw-FlleCn-3 le us Mucliuc Treo aAccou sesa>rO>cspann class=09813">Addcnl Mucliuc te Doiucn FrattesclrO>cspann class=13043reCsmauneErrortescltnemeltataddhpro ommand"rO>cspann class=40098">Addcnl NewgPao sFs meauc/ WindilsiNT APWescltnemeltataddhpro wizarlrO>cspann class=43395>nDrisivoUploadiMethodtescltnemeltataddhx &vescriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=18392reMappecigUsiv"Id cfiivsibetwbjecMS Windilsind"tgon escltnemeltataddhx &vete gnannlscriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltatadml: x &rsrO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=27999>nF lesOS Watiy.s Doe.n/ieroot s meafurbananiv"Setesa>tnemeltatAdmss tfratonrO>cspann class=22905>nDiscus LDIesa>tnemeltatADS ( setAut savDirthe uy)tnemeltatAFS,O>cspann class=72769>nin/ DitfributedFF le Sc/puc Casllengeesa>tnemeltatAand"a,O>cspann class=72341>nAand"aesa>tnemeltatanonymoustnemeltflr Succespdo sncnsivrO>cspann class496313">AnonymousFPao Scnseresa>tnemeltatreap-mriraancnsivrO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>tnemelill Optillcesac/ulcs=add/cups.vnd-plsrscriparO>cspann class=49757">WindilsiCUPS PlsrScripegDrisivoVan uscAdobe Drisivesa>tnemeltatac/ulcs=add/octet-tfrcrnrO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>rO>cspann class=44797lrMIME TefasCm4vdn LDI Rulesesa>rO>cspann class=46360 Dac/ulcs=add/octet-tfrcrnFPao l: esa>tnemeltatac/ulcs=add/pdfrO>cspann class=44593reMIME Tefasind"tCUPS F l shsa>rO>cspann class=44797lrMIME TefasCm4vdn LDI Rulesesa>tnemeltatac/ulcs=add/plsrscriparO>cspann class=49757">WindilsiCUPS PlsrScripegDrisivoVan uscAdobe Drisivesa>tnemeltatac/ulcs=add/vnd.cups-ra/purrO>cspann class=46595>nPlsrScripegPao Descripary.s (PPDs)FfuraNon-PS Pao sesa>tnemeltatac/ulcs=add/vnd.cups-rawrO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>tnemeltaterna mitlodsrO>cspann class=22397lrCleto share us erna mitlodshsa>rO>cspann class=74303rePcladb B"nted"s nd"lArnaacclcutle esa>tnemelill Optlemsuch4n class T4Mann c>Bamcspann class=72155>nBat upPChsa>tnemeltatbapaharlw> TrO>cspann class=17363reBrilscnlaustth> Ts ad"aDirthe uiesvrsaVcdy Stilesa>tnemeltatBINDrO>cspann class=84273aiDys=eic DNSescltnemeltatbid"ainld faces relyrO>cspann class=30720reUsecisI face Protecaou hsa>rO>cspann class=77916>nin/ Tesrsesa>tnemeltatBOBS,O>cspann class=72375>nBOBS:rBrilsinble Onliuc Bat up Sc/pucsncltnemeltatbrlook.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill OptillcesbrilsivpustrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann class=16295>nT chnikul OvcnsiewgustBrilscnlsncltnemeltatbrilsinblerO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=04538">Ex 220 Ct to share cclrO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75,">cspann class=57227">Discus LDIesa>,">cspann class=58100"tth>dilcCtpyaSctupsncltnemeltatbrilsiuglproote srO>cspann class=17314reIige oan `Un nlgruo brilsivt eoe.tcf t' crroresa>tnemelill Optlemsuch4n class T4Mann c>Camcspann class=25944">MiscellaneousF844"rolsesa>rO>cspann class=63850 DWindilsi9x/Me Prof le Sctupsncltnemeltatchp"lurO>cspann class=07572 DMaguc" Cn-3 le us Mucliuc Treo aAccou sesa>tnemeltatcn acc >cem peygorO>cspann class=09939aiI Can'tmJoinza Windilsi2003tPDCesa>tnemeltatcomndexrO>cspann class494350 DCleto shareof lehsyIlaxesa>rO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=04538">Ex 220 Ct to share cclrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75,">cspann class=57227">Discus LDIesa>,">cspann class=58100"tth>dilcCtpyaSctupsnclrO>cspann class=77687lrAioumpary.sesa>tnemeltatCt to .POLrO>cspann class=62194">Cn-3 len nd"lM=nPcl: cSc/puc Policiesesa>tnemeltattt to arO>cspann class=81313">Buildlen nhwiBinariesesa>tnemeltattt necaou s.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcescoravl les,a>cspann class=80566"sI nc"FErrortescltnemeltaten-3 inm skrO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>rO>cspann class=83267">Windilsi2000 Scnsiba Pack 2escltnemeltatesc policyrO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatCUPShsemeltflr SuccesPagerAccou cnlrO>cspann class=54596">PagerAccou cnl s meaCUPShsa>tnemeltatan>&asrO>cspann class=54631>nSstreci Up Qn>&asesa>tnemelill OptillcesCUPS-PPDrO>cspann class==3674>ncupsossarc, pdqossarc, lpdossarc, dirthe ssarcescltnemeltateupsadde lrO>cspann class=43395>nDrisivoUploadiMethodtesclrO>cspann class=48600"teupsadde l:entroUnknowe Utmum yesclrO>cspann class=49497lrCr watsadonbTeCt sideredci75,">cspann class=49955>nRunacupsadde l (Quie oMode)ci75,">cspann class=50075>nRunacupsadde l s meaVerboseoOutsutci75,">cspann class=50273aiU retfndl: ccupsadde lci75,">cspann class=50=33"teupsadde l a meae"S"><PDCci75,">cspann class=50609"teupsadde l Flowch> tescltnemeltateupsossarc, >cspann class=44319reUsecisWindils-Fcessr drV ndnclPPDshsa>rO>cspann class=44429>nin/ CUPS F l l: cArchetecau Thsa>rO>cspann class=46042>nin/ Ro500574tupsossarc/fo ssarcesclrO>cspann class=46846>ncupsossarc/fo ssarc-ripoVan uscncf salCUPS Pao l: esa>rO>cspann class==3674>ncupsossarc, pdqossarc, lpdossarc, dirthe ssarcescltnemelill Optlemsuch4n class T4Mann c>Damcspann class=81952>nAla ncf sa: Stfn l: ce ld asae"Da me escltnemeltatDDKrO>cspann class=48523>nPlsrScripegDrisivs a meaNolM=jnclPdoote sa Evjeccspann class=49053aiCUPS PlsrScripegDrisivof thWindilsiNT/200x/XPescltnemeltatdebug,a>cspann class=80566"sI nc"FErrortescltnemeltatdebugeleostrO>cspann class=79407">Debuggcnl s meaS"><Itselfhsa>rO>cspann class=83785>nLog LeostescltnemeltatdebugleostrO>cspann class=80385">Debug Leosttescltnemeltatde wfat ctalrO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatde wfat prof lerO>cspann class=6=447">De wfat Prof le f thWindilsiUsivsesa>rO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>tnemeltatdele=e gnannlscriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltatdele=e pro ommand"rO>cspann class=40098">Addcnl NewgPao sFs meauc/ WindilsiNT APWescltnemeltatdele=e roaml: prof lesrO>cspann class=66131>nMS Windilsi200x/XPescltnemeltatdele=e aniv"il engnannlscriparO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltatdele=e x &vescriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltatDFS ( setMS-DFS,ODitfributedFF le Sc/pucs)tnemeltatDHCP,e>cspann class=69501>nBat gnand"aInecessary.esa>tnemeltatdiffrO>cspann class=80720rePsapllsesa>tnemeltatdirthe uyam skrO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=83267">Windilsi2000 Scnsiba Pack 2escltnemeltatdirthe uya seurm yOm skrO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>tnemeltatDirthe uyaScp> atonsrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatdis nlgrspoclssrO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share ccltnemeltatdisplayvsasrsetrO>cspann class=71090 Dl"><nd"tCasrsetshsa>rO>cspann class=71277">Brolc"Pd>o/tr>ocSetrecihsa>rO>cspann class=71719>nI T4Miduc" Ittu[ndexutle shsa>rO>cspann class=76915>nEinbll: cSWAT"I naary.ulizshareoSts an hsa>tnemeltatDitfributedFF le Sc/pucs,O>cspann class=72769>nin/ DitfributedFF le Sc/puc Casllengeesa>tnemeltatDNS,p>cspann class=13745>nTCP/IPewiemoutcN.tBIOShsa>rO>cspann class=70535">DNS Lookupsna>tnemeltflr SuccesAut savDirthe uyrO>cspann cladsdns ch">DNS nd"lAct savDirthe uyesa>tnemeltatDys=eic,e>cspann class=69501>nBat gnand"aInecessary.esa>rO>cspann class=84273aiDys=eic DNSescltnemelill Optillcesdns proxyrO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatdoiucn adml: gnannrO>cspann clgnannmappeci"sGnannlMappecigcMS Windilsind"tgon escltnemeltatDoiucn Admsss gnannrO>cspann class=22905>nDiscus LDIesa>tnemeltatdoiucn loge srO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03508lrPrep> l: cfuraDoiucn C44"rolsna>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=04538">Ex 220 Ct to share cclrO>cspann class=06015>nEx 220 PDC Ct to share cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>tnemeltatdoiucn ma/purrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=04507">Doiucn N.tcf t Loge ScnsicesnclrO>cspann class=04538">Ex 220 Ct to share cclrO>cspann class=06015>nEx 220 PDC Ct to share cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann clDMB">cleto ecisWORKGROUPrBrilscnl cclrO>cspann class=14792reDOMAINrBrilscnl Ct to share cclrO>cspann class=15191>nMatiugll"><trg"Doiucn Ma/purescltnemeltatDoiucn MeiderrO>cspann class=01822">Doiucn Sseurm yOMode (Usiv"Leost Sseurm y)sna>tnemeltflr SuccesjoincnlrO>cspann class=01850">Ex 220 Ct to share ccltnemelill Optillcesdoiucn seurm yrO>cspann class=03030>nFeaturmegnd"tBeneficsescltnemeltatDoiucn Usivs gnannrO>cspann class=24161">Addcnl Doiucn Usivs te uc/cPowin Usivs Gnannesa>tnemeltatdocc desced"rO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatdosvsasrsetrO>cspann class=71090 Dl"><nd"tCasrsetshsa>rO>cspann class=71277">Brolc"Pd>o/tr>ocSetrecihsa>rO>cspann class=71719>nI T4Miduc" Ittu[ndexutle shsa>rO>cspann class=72005>nCP850.so Can'tmBe Fcnd"esa>tnemeltatdosvf lemodcrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>tnemeltatdosvf letimeo">solutarerO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatdosvf letimesrO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatDrisi"Id cficutle rO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemelill Optlemsuch4n class T4Mann c>Eamcspann class=62923>nl"><Edicreg Tocl-setesa>tnemeltatEMFrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=47693>nFl enWindilsiCn accsFeo aniNT Pao Scnseresa>rO>cspann class=47824>nDrisivoExseu le unzt eoScnseresa>tnemeltatencrypalpassw) dsrO>cspann class=02344">Ex 220 Ct to share cclrO>cspann class=08341>nJoincnl aniNT4-tefasDoiucn s meaS">&l-3 cclrO>cspann class=08946>nCstucp>pe e lr les cclrO>cspann class=19252>ne lpasswd EncrypaediPassw) d Database cclrO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=68597lre lr lescPAM Ct to share cclrO>cspann class=73272 DQuick Mig shareoGuidehsa>rO>cspann class=77916>nin/ Tesrsesa>tnemeltatencrypaedipassw) dsrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann clpcladb ch">T chnikul Inecessary.esa>rO>cspann class=22121>nUsecisPlaaIl cPassw) dsFnclEncrypaediPassw) desa>tnemeltatenastce"lbrilsiugrO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatenumpaers ommand"rO>cspann class=40758 Dl"><nd"tPao Paersesa>tnemeltatEPM ( setESP mitas ackPcer)tnemeltatESC/PrO>cspann class=47824>nDrisivoExseu le unzt eoScnseresa>tnemeltatESPtnemeltflr SuccesGhlsrscriparO>cspann class=44429>nin/ CUPS F l l: cArchetecau Thsa>rO>cspann class=46846>ncupsossarc/fo ssarc-ripoVan uscncf salCUPS Pao l: esa>tnemeltatmitas ackPcer,">cspann class=49053aiCUPS PlsrScripegDrisivof thWindilsiNT/200x/XPescltnemeltatPao ProrO>cspann class=47475>nSimrcesv5748UPS Drisivs/PPDshsa>rO>cspann class=49436"tESPFPao Pro PlsrScripegDrisivof thWindilsiNT/200x/XPescltnemelill OptillcesEvjet ViewinrO>cspann class=61468lrR>moteoScnser Admss tfratLDIesa>tnemeltatex 2201:s ato/tr>o,">cspann class=57227">Discus LDIesa>tnemeltatex 220: s ato/tr>o,">cspann class=57227">Discus LDIesa>tnemeltatEx ndediAtfributesrO>cspann clAucssn844"rols">F le,vDirthe uyand"ath> ThAucssni844"rolsesa>tnemelill Optlemsuch4n class T4Mann c>Famcspann class=25944">MiscellaneousF844"rolsesa>tnemeltatF le Naml: Cm4vdexillsrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatF le Sc/pucrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltdrucSuccesctalas nsit sm yrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatfeaturmessmssrisonrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatgon rO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatWindilsrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemelill Optillcesflushayam/acachTrO>cspann class=17220reHilcCaniOne Flushat eoS"><NexBIOS Nn m CachTewiemoutcRestfn l: cS">&l?esa>tnemeltatfo :doiucn columnrO>cspann class=21335recleto eciesa>tnemeltatfo :fullyam/acolumnrO>cspann class=21335recleto eciesa>tnemeltatfo :lanmana tu acolumnrO>cspann class=21335recleto eciesa>tnemeltatfo :mysql dat btalrO>cspann class=21335recleto eciesa>tnemeltatfo :mysql passw) drO>cspann class=21335recleto eciesa>tnemeltatfo :mysql x &vrO>cspann class=21335recleto eciesa>tnemeltatfo :nta tu acolumnrO>cspann class=21335recleto eciesa>tnemeltatfo :unknowe 3acolumnrO>cspann class=21335recleto eciesa>tnemeltatfo ssarc, >cspann class=44319reUsecisWindils-Fcessr drV ndnclPPDshsa>rO>cspann class=44429>nin/ CUPS F l l: cArchetecau Thsa>rO>cspann class=46042>nin/ Ro500574tupsossarc/fo ssarcesclrO>cspann class=46846>ncupsossarc/fo ssarc-ripoVan uscncf salCUPS Pao l: esa>rO>cspann class==3465refo ssarc-ripond"aFo ssarc Exslucnedci75,">cspann class=53597lrFo ssarc's StrstgtaNn mesa>tnemeltatfo ssarc-riprO>cspann class=46846>ncupsossarc/fo ssarc-ripoVan uscncf salCUPS Pao l: esa>rO>cspann class==3304">CUPS Pao gDrisivs il enLinux ao cnl.or esa>rO>cspann class==3465refo ssarc-ripond"aFo ssarc Exslucnedci75,">cspann class=53833"tntroGrnd"tgncficutle hAuhievedesa>tnemeltatforbanen-3 inmodcrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>rO>cspann class=27606">Usivs Clnnot Wrily>eo a Publrc th> Thsa>rO>cspann class=28036"tMS W) d s meaS"><CastgesvOwnin 574F leesa>tnemeltatforbandirthe uyamodcrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>rO>cspann class=27606">Usivs Clnnot Wrily>eo a Publrc th> Thsa>rO>cspann class=28036"tMS W) d s meaS"><CastgesvOwnin 574F leesa>tnemeltatforbandirthe uya seurm yOmodcrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>tnemeltatforbangnannrO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=27606">Usivs Clnnot Wrily>eo a Publrc th> Thsa>tnemeltatforban seurm yOmodcrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nI acaou s meauc/ Stfndarlol"><en-3 inm sk Pd>o/tr>oshsa>tnemeltatforbanx &vrO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=27606">Usivs Clnnot Wrily>eo a Publrc th> Thsa>rO>cspann class=27999>nF lesOS Watiy.s Doe.n/ieroot s meafurbananiv"Setesa>rO>cspann class=28857">Bew> Tho lFcebanUseresa>tnemeltatftprO>cspann class=81110 DAucssnLcisnhwil"><Simrcesvvia rsync"ad"aftpesa>tnemelill Optlemsuch4n class T4Mann c>Gamcspann class=80566"sI nc"FErrortescltnemeltatGDI,d>cspann clgdiplsr">GDIere Windilsi-- PlsrScripegunigon esclrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=47693>nFl enWindilsiCn accsFeo aniNT Pao Scnseresa>rO>cspann class=47824>nDrisivoExseu le unzt eoScnseresa>tnemeltatgenloge .plrO>cspann class=61806">N.tcf t Loge ScripegMagrcescltnemeltatGhlsrScriparO>cspann clplsr-ad"-ghlsr">PlsrScripegad"aGhlsrscripahsa>rO>cspann class=44111">Ghlsrscripa zt eoSoftw> ThRIPFfuraNon-PlsrScripegPao ssna>tnemeltflr Succes( setalle PlsrScripe)tnemelill OptillcesGhlsrscripahsemeltflr SuccesESPF( setESP GhlsrScripa)tnemelill OptillcesGIDrO>cspann class=22599>nFeaturmegnd"tBeneficsescltnemeltatGPGrO>cspann class=81175>nVanifygen l">&l's PGP Signaau Thsa>tnemeltatGPOsrO>cspann class=62113">Featurmegnd"tBeneficsesclrO>cspann class=62=28>nMS Windilsi200x/XP Profes LDIc"FPoliciesesa>rO>cspann class=62631>nAdmss tfratLDIho lWindilsi200x/XP Policiesesa>rO>cspann class=62777">M=nPcl: cAccou /Usiv"Policiesesa>rO>cspann class=66131>nMS Windilsi200x/XPescltnemeltatgnannlpoliciesrO>cspann class=62113">Featurmegnd"tBeneficsescltnemeltatgnannlpolicy objcatsF( setGPOs)tnemeltatgnannlprof lesrO>cspann class=65401>nCn-3 len nd"lM=nPcl: cGnannlProf lesescltnemeltatgnannaddrO>cspann class=22599>nFeaturmegnd"tBeneficsescltnemeltatgnanndstrO>cspann class=22599>nFeaturmegnd"tBeneficsescltnemeltatgnannstnemeltflr SuccesdoiucnrO>cspann class=22905>nDiscus LDIesa>tnemeltatmappecirO>cspann clgnannmappeci"sGnannlMappecigcMS Windilsind"tgon escltnemeltatnestedrO>cspann class=24140>nAddcnl MS WindilsiGnanns de MS WindilsiGnanns Frattescltnemelill Optillcesguesr accou rO>cspann class=16441>nPdoote cResolutare cclrO>cspann class=17268lrScnser ResimrcesvCaniNothBe Lisredci75,">cspann clptr=tit>nin/ [pro t] Sccaou hsa>tnemeltatguesr okrO>cspann class494703reEx 220 Ct to share cclrO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=04538">Ex 220 Ct to share cclrO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatguesr oelyrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>tnemelill Optlemsuch4n class T4Mann c>Hamcspann class=25944">MiscellaneousF844"rolsesa>tnemeltathide f lesrO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltathide unreapnblerO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>tnemeltathide unmrira nlgrf lesrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>tnemeltathlsr msdfsrO>cspann class=32382>nFeaturmegnd"tBeneficsescltnemeltathlsrsa>atilrO>cspann class=30567">UsecisHlsr-BasedFProtecaou hsa>rO>cspann class=30855reUsecisIPC$tth> T-BasedFDeniall esa>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=77916>nin/ Tesrsesa>tnemeltathlsrsadenyrO>cspann class=30567">UsecisHlsr-BasedFProtecaou hsa>rO>cspann class=30855reUsecisIPC$tth> T-BasedFDeniall esa>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=77916>nin/ Tesrsesa>tnemelill Optlemsuch4n class T4Mann c>Iamcspann class=06711">Ex 220 Ct to share cclrO>cspann clasmapb"nted"reMappecigCmmaunigIDs/GIDs re DitfributedFMucliucshsa>rO>cspann class=74693>nIdMapaLDAPlSts an hsa>tnemeltatidmap gidrO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=22599>nFeaturmegnd"tBeneficsescl,">cspann class=59922">Cstucp>pe e lr les cclrO>cspann class=61271>nWinbid"aIs NothResolvecigUsivs"ad"aGnannsesa>rO>cspann class=69274>nWinbid"aIs NothResolvecigUsivs"ad"aGnannsesa>rO>cspann class=74693>nIdMapaLDAPlSts an hsa>tnemeltatidmap uidrO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=22599>nFeaturmegnd"tBeneficsescl,">cspann class=59922">Cstucp>pe e lr les cclrO>cspann class=61271>nWinbid"aIs NothResolvecigUsivs"ad"aGnannsesa>rO>cspann class=69274>nWinbid"aIs NothResolvecigUsivs"ad"aGnannsesa>rO>cspann class=74693>nIdMapaLDAPlSts an hsa>tnemeltatiftt to rO>cspann class=81748">Stfn l: cil eninexdctt tesa>tnemeltatN 2ro srO>cspann class=43395>nDrisivoUploadiMethodtescltnemeltatincludcrO>cspann class=80385">Debug LeosttescltnemeltatinexdrO>cspann class=77916>nin/ Tesrsesa>rO>cspann class=81655reStfn l: clrg" ld ad"an ldesa>rO>cspann class=81748">Stfn l: cil eninexdctt tesa>tnemeltatNnitGnanns.shrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=23982>nScripegde Cstucp>pe GnannlMappeciesa>rO>cspann class=7=254ailtepsctnemeltatI doiucn Treo srO>cspann clI doiucnTreo s"tI doiucn Treo hReeatLDIshipssna>tnemeltflr SuccesCtm220 cnlrO>cspann class=31524>nCtm220 cnl aniNT4aDoiucn Treo escltnemeltaten-3 cnlrO>cspann class=31439aiNcf salMS WindilsiNT4 Treo s Ct to share ccltnemeltatFacmum iesrO>cspann class=31574>nI -Doiucn Treo Facmum iesescltnemelill Optillcesinld facesrO>cspann class=15340>nMulti220 I facetesclrO>cspann class=16441>nPdoote cResolutare cclrO>cspann class=30720reUsecisI face Protecaou hsa>rO>cspann class=77916>nin/ Tesrsesa>rO>cspann class=81748">Stfn l: cil eninexdctt tesa>tnemeltatNnvalid x &rsrO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>tnemeltatIPP,">cspann class=50273aiU retfndl: ccupsadde lci75tnemeltatISCtnemeltflr SuccesDHCP,e>cspann class=84130>nFeaturmegnd"tBeneficsescltnemeltatDNS,p>cspann class=84130>nFeaturmegnd"tBeneficsescltnemelill Optillill Optlemsuch4n class T4Mann c>Kamcspann clads-meiderail"><ADS Doiucn MeidershipescltnemeltatKerberosrO>cspann clads-meiderail"><ADS Doiucn Meidershipescltnemeltflr Succes/etc/krb5ctt trO>cspann class=09093reCstucp>pe /etc/krb5ctt tesa>tnemelill Optillcesk nelouSlooksrO>cspann class=29514reDis nll: cK nel OSlooksescltnemeltatkNnitrO>cspann class=09093reCstucp>pe /etc/krb5ctt tesa>tnemelill Optlemsuch4n class T4Mann c>Lamcspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=06495>nBat upaDoiucn C44"roller Ct to share cclrO>cspann class=09643reth> ecigUsiv"IDlMappecisibetwbjecl"><Doiucn Meiders cclrO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap dele=e dnrO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap f l rO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap gnannlsuffixrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap idmap suffixrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=06495>nBat upaDoiucn C44"roller Ct to share cclrO>cspann class=09643reth> ecigUsiv"IDlMappecisibetwbjecl"><Doiucn Meiders cclrO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=74693>nIdMapaLDAPlSts an hsa>tnemeltatldap iucliucasuffixrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap passwd syncrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=21111">Passw) d Synchronizshare ccltnemeltatldap sslrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=20490 Dlseurm yOnd"ts">&lS">Accou ccltnemeltatldap suffixrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=06495>nBat upaDoiucn C44"roller Ct to share cclrO>cspann class=19948">cleto ecisS">&l ccltnemeltatldap x &vesuffixrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=19948">cleto ecisS">&l ccltnemeltatleost2ouSlooksrO>cspann class493908lrDis nll: cOSlooksescltnemeltatlibnss_wins.sorO>cspann class=69832"t/etc/nsss mchctt tesa>tnemeltatLuckstnemeltflr SuccesharlrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatsoftrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemelill OptillcesLinux ao cnl.or rO>cspann class==3304">CUPS Pao gDrisivs il enLinux ao cnl.or esa>tnemeltatlmilnnouncerO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatlmainld valrO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatLMBF( setLckul Ma/purrBrilsiv)tnemeltatLMHOSTS,O>cspann class=70300"tTrg"LMHOSTS4F leesa>tnemeltatloadipro t, >cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33457">Rapid Ct to share Validshare cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatlckul ma/purrO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann clDMB">cleto ecisWORKGROUPrBrilscnl cclrO>cspann class=14792reDOMAINrBrilscnl Ct to share ccltnemeltatLckul Ma/purrBrilsivrO>cspann class=13550 DNexBIOS osivoTCP/IP cclrO>cspann class=15365reUsiaustoce R>moteoAnnounce Pd>o/tr>oci75tnemeltatlckkcnlrO>cspann class=28313">Discus LDIesa>tnemeltatlckkcnl.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillceslog f lerO>cspann class=80385">Debug Leosttescltnemeltatlog f lestnemeltflr Succesmonie uinlrO>cspann class=77687lrAioumpary.sesa>tnemelill Optillceslog leostrO>cspann class=09813">Addcnl Mucliuc te Doiucn FrattesclrO>cspann class=16441>nPdoote cResolutare cclrO>cspann class=57604">extd_audiahsa>rO>cspann class=80385">Debug Leosttescltnemeltatlogre dr sarO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=64362>nWindilsiNT4 Workstshare cclrO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>tnemeltatlogre homarO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=20609"tLDAPlSpeciul Atfributescfuras">&lS">Accou sesa>rO>cspann class=21335recleto eciesa>rO>cspann class=63501>nWindilsi9x/Me Usiv"Prof lesesclrO>cspann class=63612reMixediWindilsi9x/Me nd"tWindilsiNT4/200x Usiv"Prof lesesclrO>cspann class=63677lrDis nll: cRoaml: Prof le Sts an hsa>rO>cspann class=64362>nWindilsiNT4 Workstshare cclrO>cspann class=64973reth> ecigProf lesibetwbjecW9x/Me nd"tNT4/200x/XP Workstsharetescltnemeltatlogre pathrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=20609"tLDAPlSpeciul Atfributescfuras">&lS">Accou sesa>rO>cspann class=63353reNT4/200x Usiv"Prof lesesclrO>cspann class=63612reMixediWindilsi9x/Me nd"tWindilsiNT4/200x Usiv"Prof lesesclrO>cspann class=63677lrDis nll: cRoaml: Prof le Sts an hsa>rO>cspann class=63850 DWindilsi9x/Me Prof le SctupsnclrO>cspann class=64362>nWindilsiNT4 Workstshare cclrO>cspann class=64973reth> ecigProf lesibetwbjecW9x/Me nd"tNT4/200x/XP WorkstsharetesclrO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>tnemeltatlogre scriparO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=20609"tLDAPlSpeciul Atfributescfuras">&lS">Accou sesa>tnemeltatlpadml:rO>cspann class==3304">CUPS Pao gDrisivs il enLinux ao cnl.or esa>rO>cspann class==4631>nSstreci Up Qn>&asesa>tnemeltatlppa>cemommand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=47947">Fl enWindilsiCn accsFeo aiCUPS/S"><Pao Scnseresa>rO>cspann class=5=443lrPre-Ct diaaretescltnemeltatlpqacachT timerO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>tnemeltatlpqacmmand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=5=443lrPre-Ct diaaretescltnemeltatlpreoumeacmmand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=5=443lrPre-Ct diaaretescltnemeltatlprmacmmand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=5=443lrPre-Ct diaaretescltnemeltatlpstsh,">cspann class=52656>nirouoteshoo l: cRevisitedesa>tnemeltatLutfrc,O>cspann class=72769>nin/ DitfributedFF le Sc/puc Casllengeesa>tnemelill Optlemsuch4n class T4Mann c>Mamcspann class=69600"t/etc/hlsrsesa>tnemeltatMucliuc Treo aAccou srO>cspann class=03030>nFeaturmegnd"tBeneficsesclrO>cspann class=06962 DMacliuc Accou s Keep Exsi eciesa>rO>cspann cliucliuc-treo -accou s">MS WindilsiWorkstshare/Scnser Mucliuc Treo aAccou sesa>tnemeltdrucSuccescn-3 cnlrO>cspann cliucliuc-treo -accou s">MS WindilsiWorkstshare/Scnser Mucliuc Treo aAccou sesa>tnemelill OptillcesmakarO>cspann class=81313">Buildlen nhwiBinariesesa>tnemeltatand"ae uyaprof lesrO>cspann class=65318">M=n"ae uyaProf lesescltnemeltatmap te guesrrO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=40098">Addcnl NewgPao sFs meauc/ WindilsiNT APWescl,">cspann class=56119reNewgAccou cRett necaou il enWindilsi200x/XP irouotesescl,">cspann class=56206">Avoi"tBel: cCt necaedFte uc/cl"><Scnser asauc/ WrocigUsivescltnemeltatmaxipro jobsrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>tnemeltatmaxixmitrO>cspann class=83742 DMax Xmitesa>tnemeltatmissages.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill OptillcesMIMErO>cspann class=44593reMIME Tefasind"tCUPS F l shsa>rO>cspann class=44797lrMIME TefasCm4vdn LDI Rulesesa>rO>cspann class=44942 DF l l: c Ovcnsiewesa>rO>cspann class=46360 Dac/ulcs=add/octet-tfrcrnFPao l: esa>tnemeltflr Succesf l srO>cspann class=44593reMIME Tefasind"tCUPS F l shsa>tnemeltatrawrO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>tnemelill Optillcesminomul ct to sharerO>cspann class494350 DCleto shareof lehsyIlaxesa>tnemeltatMS-DFS,O>cspann class=73092reMS-DFS:entroPoor Mun'siCnu/purescltnemeltatmsdfserootrO>cspann class=32382>nFeaturmegnd"tBeneficsescltnemelill Optlemsuch4n class T4Mann c>Namsolve ordivrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann class=16118">Nn m Resolutare Ordivescltnemeltatnbtstsh,">cspann class=70245>nTtroNexBIOS Nn m CachTescltnemeltatneahsemeltflr SuccesgnannmaprO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=23777">Ex 220 Ct to share cclrO>cspann class=7=254ailtepsctnemeltatrpcrO>cspann class497706">Ex 220 Ct to share cclrO>cspann class=01850">Ex 220 Ct to share cclrO>cspann class=05508lrFeaturmegnd"tBeneficsesclrO>cspann class=7=254ailtepsctnemelill OptillcesNexBIOSrO>cspann class=13260>nFeaturmegnd"tBeneficsesclrO>cspann class=13745>nTCP/IPewiemoutcN.tBIOShsa>rO>cspann cla g she-ms-e.tcf ts"tI g shanl MS WindilsiN.tcf ts s meaS">&lesa>rO>cspann class=69931>nNn m Resolutare asiUsid a metnemeltate.tbiosayam/rO>cspann class494350 DCleto shareof lehsyIlaxesa>rO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=32382>nFeaturmegnd"tBeneficsescltnemeltatN.tBIOS-lessrO>cspann class=13745>nTCP/IPewiemoutcN.tBIOShsa>tnemeltatN.xus.exerO>cspann class=03030>nFeaturmegnd"tBeneficsesclrO>cspann class=07853reM=nPcl: cDoiucn Macliuc Accou s uscnl NT4 Scnser MunPcer cclrO>cspann class=61468lrR>moteoScnser Admss tfratLDIesa>tnemeltatNFS,O>cspann class=72769>nin/ DitfributedFF le Sc/puc Casllengeesa>tnemeltatn ldrO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share ccltnemeltatn llookup,">cspann class=70245>nTtroNexBIOS Nn m CachTescltnemeltatNoMacliuc.ComrO>cspann class=61601>nR>moteoMunPcendexlil enNoMacliuc.Com ccltnemeltatnr acl sts an rO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=26688lrViewl: cF lesOwninshipesclrO>cspann class=26805>nViewl: cF lesuraDirthe uyaP iis LDIshsa>rO>cspann class=27022">Modifygen F lesuraDirthe uyaP iis LDIshsa>rO>cspann class=83267">Windilsi2000 Scnsiba Pack 2escltnemeltatNTCt to .POLrO>cspann class=62310 DWindilsi9x/ME Policiesesa>rO>cspann class=62777">M=nPcl: cAccou /Usiv"Policiesesa>rO>cspann class=62923>nl"><Edicreg Tocl-setesa>rO>cspann class=65603reMS WindilsiNT4 Workstshare ccltnemeltatnrdrisivs.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcesntecess.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill OptillcesNTFSrO>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatntpro t.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill OptillcesNTUsiv.DATrO>cspann class=62923>nl"><Edicreg Tocl-setesa>tnemelill Optlemsuch4n class T4Mann c>Oamcspann class=68597lre lr lescPAM Ct to share ccltnemeltatoffice scnserrO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>tnemeltatonll>x &vrO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=31048">WhyvCaniUsivs"AucssniHomavDirthe uiesv574Othin Usivs?esa>tnemeltatOpenGFS,O>cspann class=72769>nin/ DitfributedFF le Sc/puc Casllengeesa>tnemeltatuSlook break ct tdexill limitrO>cspann class=29514reDis nll: cK nel OSlooksescltnemeltatuSlook break wait timerO>cspann class=28924>nAdvstce"ll"><Os an us tfictLckkl: cPd>o/tr>oshsa>rO>cspann class=29514reDis nll: cK nel OSlooksescltnemeltatuSlook ct tdexill limitrO>cspann class=28924>nAdvstce"ll"><Os an us tfictLckkl: cPd>o/tr>oshsa>tnemeltatuSlooksrO>cspann class493908lrDis nll: cOSlooksescltnemeltatosaleostrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann clDMB">cleto ecisWORKGROUPrBrilscnl cclrO>cspann class=14792reDOMAINrBrilscnl Ct to share cclrO>cspann clbrilse-furba-ma/purlrForciugll"><tohBe uc/ Ma/puresclrO>cspann class=15191>nMatiugll"><trg"Doiucn Ma/puresclrO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>tnemeltatos2 dr sar maprO>cspann class582864">Pao DrisivoDownloadifuraOS/2iCn accsesa>tnemelill Optlemsuch4n class T4Mann c>Pamcspann class==4841>nin/ pPce_lo FF le ScIlaxesa>tnemeltatpcladb b"nted"rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=06015>nEx 220 PDC Ct to share cclrO>cspann class=06154aiLDAPlCleto shareoNotes cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann cliucliuc-treo -accou s">MS WindilsiWorkstshare/Scnser Mucliuc Treo aAccou sesa>rO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann clpcladb ch">T chnikul Inecessary.esa>rO>cspann clpdbedicmenin/ pdbedicgCmmaandsna>rO>cspann class=19166"sPassw) d B"nted"sesa>rO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=21335recleto eciesa>rO>cspann class=22268lrUsivs Clnnot Loge esa>rO>cspann class=22302lrUsivs Bel: cAddedFte uc/cWrocigB"nted" Database cclrO>cspann class=22397lrCleto shareo574aumeamethodtesclrO>cspann class=68660>nR>moteoCIFS Aumedexicutle hUseciswinbid"d.soesa>rO>cspann class=73272 DQuick Mig shareoGuidehsa>rO>cspann class=74303rePcladb B"nted"s nd"lAumedexicutle esa>tnemeltatpclaw) d leostrO>cspann class=02447">Passw) d Checkeciesa>rO>cspann class=77916>nin/ Tesrsesa>rO>cspann class=83103">Passw) d CtalaS nsit sm yesa>rO>cspann class=83899>nSlow Logietescltnemeltatpclaw) d scnserrO>cspann class=02111">Ex 220 Ct to share cclrO>cspann class=02203">Scnser lseurm yO(Usiv"Leost Sseurm y)sna>rO>cspann class=02344">Ex 220 Ct to share cclrO>cspann class=04915>nSseurm yOMode nd"lM=/purrBrilsivs cclrO>cspann class=08341>nJoincnl aniNT4-tefasDoiucn s meaS">&l-3 cclrO>cspann class=08946>nCstucp>pe e lr les cclrO>cspann class=77916>nin/ Tesrsesa>tnemeltatpatchrO>cspann class=80720rePatchesesa>tnemeltatpathrO>cspann class494350 DCleto shareof lehsyIlaxesa>rO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=04538">Ex 220 Ct to share cclrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=32382>nFeaturmegnd"tBeneficsescl, >cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=35233">Pao gCmmaandshsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=36856>nin/ [pro $]tth> TaDirthe uyhsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48122">l"><ReceivecigJob-f lesiad"aPasnLcisin/mgde CUPShsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75rO>cspann class=5=303reAumo-Dele=areo5v"Prescnsshareo574CUPS Spool Fitesescl,">cspann class=56829>nP iis LDIs re /var/spool/s">&l/ GethResethAfpurrEuclhReboot cclrO>cspann class=57227">Discus LDIesa>rO>cspann class=58100"tth>dilcCopy SctupsnclrO>cspann class=77687lrAioumpary.sesa>rO>cspann class=77916>nin/ Tesrsesa>rO>cspann class=83267">Windilsi2000 Scnsiba Pack 2escltnemeltatPCL,d>cspann clgdiplsr">GDIere Windilsi-- PlsrScripegunigon esclrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=43828lrUon Pao f lehCm4vdn LDI ad"aGUI Brolcsesa>rO>cspann class=47824>nDrisivoExseu le unzt eoScnseresa>rO>cspann class=48200">N.tcf t PlsrScripegRIPescltnemeltatpdbedicrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=17848">NewgB"nted"sesa>rO>cspann clacctmgmttools">Accou cMunPcendexlToclsesa>rO>cspann clpdbedicmenin/ pdbedicgCmmaandsna>rO>cspann clXMLpcladb">XMLhsa>rO>cspann class=74303rePcladb B"nted"s nd"lAumedexicutle esa>rO>cspann class=7=254ailtepscrO>cspann class=7=789">l">&l-3 Ittu[ndexutle Choicesesa>tnemeltatPDFrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=44s49">PlsrScripegPao Descripale (PPD)lSpecificutle esa>tnemeltatpdfrO>cspann class=44797lrMIME TefasCm4vdn LDI Rulesesa>tnemeltatPDL,d>cspann clgdiplsr">GDIere Windilsi-- PlsrScripegunigon esclrO>cspann clplsr-ad"-ghlsr">PlsrScripegad"aGhlsrscripahsa>tnemeltatp iis LDIshsemeltflr Succesf le/dirthe uyaACLsrO>cspann class=26570">M=nPcl: cUon P iis LDIs Uscnl NT lseurm yODialogsesa>tnemeltatsh> TrO>cspann class=25302lrth> TaDefinitle hAucssni844"rolsesa>tnemeltatsh> TaACLsrO>cspann class=26225 DAucssni844"rolsgunith> Tsesa>tnemeltatgon of lehad"adirthe uyrO>cspann class=24505>nFeaturmegnd"tBeneficsescltnemelill OptilltatPGPrO>cspann class=81175>nVanifygen l">&l's PGP Signaau Thsa>tnemeltatPJLrO>cspann class=48200">N.tcf t PlsrScripegRIPesclrO>cspann class=49757">WindilsiCUPS PlsrScripegDrisivoVan uscAdobegDrisivesa>rO>cspann class==4732"tAdobegnd"tCUPS PlsrScripegDrisivsof thWindilsiCn accsesa>tnemeltatpoo g'n'ipro rO>cspann class=43108lrInstallatLDIho lWindilsiCn accgDrisivsci75,">cspann class=43395>nDrisivoUploadiMethodtesclrO>cspann class=46042>nin/ Ro500574tupsossarc/fo ssarcesclrO>cspann class=49955>nRunacupsadde l (QuiethMode)sna>rO>cspann class=50687lrInstalllen nhwiPlsrScripegDrisivoDI aiCn accsna>rO>cspann class=51690">M=nuc"FDrisivoInstallatLDIhtnemeltatPlsrScriparO>cspann class=43520>nAdvstce"lI lllgentiPao l: cs meaPlsrScripegDrisivoDownloadsna>rO>cspann clgdiplsr">GDIere Windilsi-- PlsrScripegunigon esclrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=43828lrUon Pao f lehCm4vdn LDI ad"aGUI Brolcsesa>rO>cspann clplsr-ad"-ghlsr">PlsrScripegad"aGhlsrscripahsa>rO>cspann class=45103">Pann l shsa>rO>cspann class=47824>nDrisivoExseu le unzt eoScnseresa>rO>cspann class=48200">N.tcf t PlsrScripegRIPesclrO>cspann class=48478">CUPS: AgMagrcc"FStone?esclrO>cspann class=49053aiCUPS PlsrScripegDrisivof thWindilsiNT/200x/XPescltnemeltflr Succes( setalle Ghlsrscripa)tnemeltatRIPrO>cspann clplsr-ad"-ghlsr">PlsrScripegad"aGhlsrscripahsa>tnemelill OptilltatPPDrO>cspann clplsr-ad"-ghlsr">PlsrScripegad"aGhlsrscripahsa>rO>cspann class=44s49">PlsrScripegPao Descripale (PPD)lSpecificutle esa>rO>cspann class=46595>nPlsrScripegPao Descripale s (PPDs)FfuraNon-PSgPao ssna>rO>cspann class=48287lrPPDsFfuraNon-PSgPao sgunigon esclrO>cspann class=48333">PPDsFfuraNon-PSgPao sguniWindilsesclrO>cspann class=48478">CUPS: AgMagrcc"FStone?esclrO>cspann class=50687lrInstalllen nhwiPlsrScripegDrisivoDI aiCn accsna>tnemeltflr SuccesCUPS ( setCUPS-PPD)tnemelill Optilltatpr>crnre"lma/purrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann clDMB">cleto ecisWORKGROUPrBrilscnl cclrO>cspann class=14792reDOMAINrBrilscnl Ct to share cclrO>cspann clbrilse-furba-ma/purlrForciugll"><tohBe uc/ Ma/puresclrO>cspann class=15191>nMatiugll"><trg"Doiucn Ma/puresclrO>cspann class=77916>nin/ Tesrsesa>tnemeltatprescns/acaalrO>cspann class=63850 DWindilsi9x/Me Prof le Sctupsncltnemeltatpro gcmmand"rO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=35278">De wfat Uon Sc/puc Pao l: cCtmaandshsa>rO>cspann class=3=730">custom Pao gCmmaandshsa>rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=47947">Fl enWindilsiCn accsFeo aiCUPS/S"><Pao Scnseresa>rO>cspann class=5=443lrPre-Ct diaaretesclrO>cspann class=5=554aiM=nuc"FCt to share ccltnemeltatpro nblerO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatpro caprO>cspann class535278">De wfat Uon Sc/puc Pao l: cCtmaandshsa>rO>cspann class=41834>nBaolc4CUPS Sts an Ct to share cclrO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=42912reRawFPao Scnsien oVandirgDrisivsore WindilsiCn accsesa>rO>cspann class=47947">Fl enWindilsiCn accsFeo aiCUPS/S"><Pao Scnseresa>rO>cspann class=5=443lrPre-Ct diaaretescltnemeltatpro capayam/rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatpro iv"adml:rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=37091>nAddgPao WizarloDrisivoInstallatLDIhsa>rO>cspann class=38722 DF rstiCn accgDrisivoInstallatLDIhsa>rO>cspann class=38923>nlstreci Desiba Modesore NewgPao shsa>rO>cspann class=39305>nAlways Maky>F rstiCn accgCt necaou /ieroot urapro iv"adml:hsa>rO>cspann class=39478">lstreci De wfat Pro Opale s furaCn accgDrisivsci75,">cspann class=40098">Addcnl NewgPao sFs meauc/ WindilsiNT APWescl,">cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75rO>cspann class=51478">Requir[ndexsFfuraadddr sar nd"tserdrisivFeo Succeedescl,">cspann class=56461">Pao gOpale s furaAll Usivs Cln'thBe Setore Windilsi200x/XPescltnemeltat ao cnlrO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33457">Rapid Ct to share Validshare cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=35278">De wfat Uon Sc/puc Pao l: cCtmaandshsa>rO>cspann class=3=730">custom Pao gCmmaandshsa>rO>cspann class=41834>nBaolc4CUPS Sts an Ct to share cclrO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=42912reRawFPao Scnsien oVandirgDrisivsore WindilsiCn accsesa>rO>cspann class=47947">Fl enWindilsiCn accsFeo aiCUPS/S"><Pao Scnseresa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75rO>cspann class=5=443lrPre-Ct diaaretesclrO>cspann class=5=554aiM=nuc"FCt to share ccltnemeltatpro cnl.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill OptillcesPao Pro ( setESPtPao Pro)tnemeltatprof le aclsrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>tnemeltatpublicrO>cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemelill Optlemsuch4n class T4Mann c>Qamsumeacmmand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>tnemeltatqueu/pa>cemommand"rO>cspann class=41906">Luckl: ce ld a mealibcups.soesa>tnemelill Optlemsuch4n class T4Mann c>Ramcspann class496313">AnonymousFPao Scnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann clcups-raw">ExslicitlleEinble rawFPao l: cfuraac/ulcs=add/octet-tfrcrnhsa>tnemelcesreapalistrO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>tnemeltatreapaoelyrO>cspann class494703">Ex 220 Ct to share cclrO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=25944">MiscellaneousF844"rolsesa>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75rO>cspann class=77687lrAioumpary.sesa>rO>cspann class=83267">Windilsi2000 Scnsiba Pack 2escltnemeltflr SuccesscnserrO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>tnemelill OptillcesreaparawrO>cspann class=83806">Reap Rawesa>tnemeltatreapasizerO>cspann class=83704">Reap Sizeesa>tnemeltatrealmrO>cspann class=02111">Ex 220 Ct to share cclrO>cspann class=08946>nCstucp>pe e lr les ccltnemeltatReeatLve Iddexifiiv"( setRID)tnemeltatremoteolnnouncerO>cspann class=13550 DNexBIOS osivoTCP/IP cclrO>cspann class=14215>nHowrBrilscnl Funcary.sesa>rO>cspann class=15365reUsiaustoce R>moteoAnnounce Pd>o/tr>oci75rO>cspann class=16337">Brilscnl Sts an insS">&l ccltnemeltatremoteobrilse syncrO>cspann class=13550 DNexBIOS osivoTCP/IP cclrO>cspann class=14215>nHowrBrilscnl Funcary.sesa>rO>cspann class=15506">Usiaustoce R>moteoBrilsi Sync Pd>o/tr>oci75tnemeltatrepulcs=addrO>cspann class=03030>nFeaturmegnd"tBeneficsescltnemeltflr Succesbrilse listsrO>cspann class=16539aiCross-SubnetrBrilscnl ccltnemeltatSAMrO>cspann class=03285">Doiucn C44"roller Tefas cclrO>cspann class=05508lrFeaturmegnd"tBeneficsesclrO>cspann class=05866"sMS WindilsiNT4-tfyleaDoiucn C44"rolesa>rO>cspann class=06495>nBat upaDoiucn C44"roller Ct to share cclrO>cspann class=06996>nCaecl"><Beol Bat upaDoiucn C44"roller eo aniNT4aPDC?esclrO>cspann class=07025>nHowrDo I R>pulcs=eclrg" lpasswd F le?esa>tnemeltatWINSrO>cspann class=13550 DNexBIOS osivoTCP/IP cclrO>cspann class=15711">WINSoScnser Ct to share cclrO>cspann class=15939aiWINSoRepulcs=addesa>tnemelill OptillcesRIDrO>cspann class=23259">De wfat U &rsrOGnannsgnd"tReeatLve Iddexifiivsesa>tnemeltatroaml: prof lesrO>cspann class=63677lrDis nll: cRoaml: Prof le Sts an hsa>tnemeltatroot preexecrO>cspann class=7=147">Loge Scriperesa>tnemeltatrpccn accsnemeltflr Succesadddr sarrO>cspann class=50075>nRunacupsadde l a meaVerbose Outpucsna>rO>cspann class=50273aiU retfndl: ccupsadde lci75rO>cspann class=50905>nInstalllen PlsrScripegDrisivoF les M=nuc"ll>Uscnl rpccn accsn75rO>cspann class=51208lrU retfndl: clrg"rpccn acc and Pdgeci75rO>cspann class=51478">Requir[ndexsFfuraadddr sar nd"tserdrisivFeo Succeedescl,">cspann class=51690">M=nuc"FDrisivoInstallatLDIhtnemeltatenumdrisivs,z>cspann class=50905>nInstalllen PlsrScripegDrisivoF les M=nuc"ll>Uscnl rpccn accsn75rO>cspann class=51690">M=nuc"FDrisivoInstallatLDIhtnemeltatenum an s,z>cspann class=50905>nInstalllen PlsrScripegDrisivoF les M=nuc"ll>Uscnl rpccn accsn75tnemeltatenum ro t, >cspann class=50905>nInstalllen PlsrScripegDrisivoF les M=nuc"ll>Uscnl rpccn accsn75rO>cspann class=51478">Requir[ndexsFfuraadddr sar nd"tserdrisivFeo Succeedescl,">cspann class=51690">M=nuc"FDrisivoInstallatLDIh,">cspann class=52656>nirouoteshoo l: cRevisitedesa>tnemeltatgerdrisiv,">cspann class=51327lrProduccnl aniEx 220 by Querygen a WindilsiBoxsn75rO>cspann class=51690">M=nuc"FDrisivoInstallatLDIhtnemeltatger ro ,">cspann class=51327lrProduccnl aniEx 220 by Querygen a WindilsiBoxsn75rO>cspann class=51690">M=nuc"FDrisivoInstallatLDIh,">cspann class=52656>nirouoteshoo l: cRevisitedesa>tnemeltatserdrisiv,">cspann class=49497lrCaveatsFeo b0 Ct si redescl,">cspann class=50075>nRunacupsadde l a meaVerbose Outpucsna>rO>cspann class=50273aiU retfndl: ccupsadde lci75rO>cspann class=50905>nInstalllen PlsrScripegDrisivoF les M=nuc"ll>Uscnl rpccn accsn75rO>cspann class=51478">Requir[ndexsFfuraadddr sar nd"tserdrisivFeo Succeedescl,">cspann class=51690">M=nuc"FDrisivoInstallatLDIhtnemelill OptillcesrsyncrO>cspann class=81110 DAucssnl: clrg"l"><Simrcss via rsync nd"tftpsncltnemeltatrundll32rO>cspann class=62019reAddcnl Pao sFs meoutcUsiv"Inld vdexillesa>tnemelill Optlemsuch4n class T4Mann c>Samcspann class=03030>nFeaturmegnd"tBeneficsesclrO>cspann class=03285">Doiucn C44"roller Tefas cclrO>cspann class=07284>nFeaturmegnd"tBeneficsesclrO>cspann class=59426">Resfat Cucliul ccltnemeltatSAM b"nted"snemeltflr SuccesLDAPrO>cspann class=05508lrFeaturmegnd"tBeneficsescltnemeltatldapsamrO>cspann class=05508lrFeaturmegnd"tBeneficsesclrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann clasmapb"nted"">M=ppecigCmmaunigIDs/GIDsore DitfributedFMucliucsesa>rO>cspann class=19401>nldapsamescltnemeltatldapsam_csmsstrO>cspann class=17675>nFeaturmegnd"tBeneficsescltnemeltatmysqlsamrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann class=21253reMySQLesa>tnemeltatnon-LDAPrO>cspann class=05508lrFeaturmegnd"tBeneficsescltnemeltat lpasswdrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann class=19s=2"t lpasswd EncryptedFPassw) d Database ccltnemeltattdbsamrO>cspann class=05508lrFeaturmegnd"tBeneficsesclrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann class=19356>ntdbsam ccltnemeltatxmlsamrO>cspann class=17675>nFeaturmegnd"tBeneficsesclrO>cspann clasmapb"nted"">M=ppecigCmmaunigIDs/GIDsore DitfributedFMucliucsesa>rO>cspann clXMLpcladb">XMLhsa>tnemelill Optillcess">&l-ldap-init.ldifrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltat channstrO>cspann class=05336>nCaenot Logorete Doiucn Memb WorkstsharehAfpurrJoincnl Doiucn ccltnemeltatSCSI,O>cspann class=73035reHigh Availabilm yOScnser Produccsescltnemeltat ecrett.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcessseurm yrO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class=01520>nl"><Sceurm yOModes cclrO>cspann class=01679>nEx 220 Ct to share cclrO>cspann class=01776">Ex 220 Ct to share cclrO>cspann class=01822 DDoiucn Sseurm yOMode (Usiv"Leost Sseurm y)sna>rO>cspann class=01850">Ex 220 Ct to share cclrO>cspann class=02111">Ex 220 Ct to share cclrO>cspann class=02203">Scnser lseurm yO(Usiv"Leost Sseurm y)sna>rO>cspann class=02344">Ex 220 Ct to share cclrO>cspann class=02640>nWte cMakys"l"><ltScnser? cclrO>cspann class=02669>nWte cMakys"l"><ltDoiucn C44"roller? cclrO>cspann class=02695>nWte cMakys"l"><ltDoiucn Memb ? cclrO>cspann class=02723>nCt stfntlleLosl: cCt necale s te Passw) d Scnseresa>rO>cspann class=03508lrPrep> l: cfuraDoiucn C44"rolesa>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=04915>nSseurm yOMode nd"lM=/purrBrilsivs cclrO>cspann class=08341>nJoincnl aniNT4-tefasDoiucn s meaS">&l-3 cclrO>cspann class=08784>nWhyvIs This BetpurrThan sseurm y = scnser? cclrO>cspann class=08946>nCstucp>pe e lr les cclrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=19948">cleto ecisS">&l cclrO>cspann class=49955>nRunacupsadde l (QuiethMode)sna>rO>cspann class=55962 Dcupsadde l Keeps Askl: cfuraRoot Passw) d ie Neser-endl: cLoopesclrO>cspann class=66845>nCastgecisnhwiDe wfat Prof leesa>rO>cspann class=74303rePcladb B"nted"s nd"lAumedexicutle esa>rO>cspann class=77916>nin/ Tesrsesa>rO>cspann class=83056">cleto ecisWindilsif thWorkgnannsgPassw) d Hnd"liul ccltnemeltatsseurm y maskrO>cspann class=25650 DF lesad"aDirthe uyaP iis LDIs-BasedF844"rolsesa>rO>cspann class=27179>nInld acaou s meauc/ Stfndarlol"><cn-3 e maskcPd>o/tr>oshsa>tnemeltatSseurm yOModerO>cspann class=01520>nl"><Sceurm yOModes ccltnemeltatSsnser MunPcerrO>cspann cliucliuc-treo -accou s">MS WindilsiWorkstshare/Scnser Mucliuc Treo aAccou sesa>rO>cspann class=07572aiM=nuc"FCn-3 lDIho lMucliuc Treo aAccou sesa>rO>cspann class=61468lrR>moteoScnser Admss tfratLDIesa>tnemeltatScnser TefarO>cspann class=01449">Scnser Tefassna>tnemeltflr SuccesDoiucn C44"rollerrO>cspann class498710 DDoiucn C44"rolleresa>tnemeltatDoiucn Memb rO>cspann class497634>nDoiucn Memb Scnseresa>rO>cspann class=01850">Ex 220 Ct to share cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann class=07284>nFeaturmegnd"tBeneficsescltnemeltatStfnd-alon/rO>cspann class495598"tStfnd-alon/lScnseresa>tnemelill Optillcesses LDIid.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcessst promuryagnann scriparO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>tnemeltat h> T_info.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcesshan prescns/acaalrO>cspann class=25944">MiscellaneousF844"rolsesa>rO>cspann class=63850 DWindilsi9x/Me Prof le SctupsncltnemeltatShan -Cu s,z>cspann class=24664">MS WindilsiNTFS Csmssrisonoa meagon F le Sc/pucsesa>tnemeltatshawaaddapro iv"wizarlrO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=40098">Addcnl NewgPao sFs meauc/ WindilsiNT APWescltnemeltatSIDrO>cspann class=03030>nFeaturmegnd"tBeneficsesclrO>cspann class=05146>nin/ Sc/puc Caenot LogoYou On (C000019B)esa>rO>cspann class=06495>nBat upaDoiucn C44"roller Ct to share cclrO>cspann clpcladb ch">T chnikul Inecessary.esa>rO>cspann class=22599>nFeaturmegnd"tBeneficsesclrO>cspann class=65207>nSNde BaroNotes cclrO>cspann class=65260>nGethSIDesa>rO>cspann class=7=196>nProf le Mig share/Cn-3 lDIesa>tnemeltatsigncnlrO>cspann class=05336>nCaenot Logorete Doiucn Memb WorkstsharehAfpurrJoincnl Doiucn ccltnemeltatsN 220Fct to sharerO>cspann class494703">Ex 220 Ct to share ccltnemeltatScnlle Sign On,">cspann class=49497lrCaveatsFeo b0 Ct si redescltnemeltatslow brilscnlrO>cspann class=17363">Brilscnl o lth> Tssad"aDirthe uiesvis VeryaSlowescltnemeltat lcn accrO>cspann clads-test- lcn acc">T s l: cs mea lcn accesclrO>cspann class=77916>nin/ Tesrsesa>tnemeltats ldrO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share ccltnemeltats lgrpa"d.shrO>cspann class=23854aila 220Fe lr lescAddgGnann Scripe ccltnemeltatsontet opxillsrO>cspann class=83615>nSontet Opaaretescltnemeltatspooliul cemeltdrucSuccesceccsc"rO>cspann class=42866"sCeccsc"FSpooliul vs.aP er-to-P erFPao l: esa>tnemeltatp er-to-p errO>cspann class=42866"sCeccsc"FSpooliul vs.aP er-to-P erFPao l: esa>tnemelill Optillcesspooliul-oelyrO>cspann class=42912reRawFPao Scnsien oVandirgDrisivsore WindilsiCn accsesa>tnemeltatSRVTOOLS.EXErO>cspann class=07853reM=nPcl: cDoiucn Macliuc Accou s uscnl NT4 Scnser MunPcer cclrO>cspann class=61468lrR>moteoScnser Admss tfratLDIesa>tnemeltatstfn l: cs">&lesemeltdrucSuccesn ldrO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share ccltnemeltats ldrO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share ccltnemeltatwinbid"drO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class=58849>nFeaturmegnd"tBeneficsescltnemelill Optilltatefricx lckkl: rO>cspann class=28313">Discus LDIesa>tnemeltatSubvdn LDIrO>cspann class=80888lrIntroduccLDIesa>tnemeltatSVNesemeltdrucSucceswebrO>cspann class=80942 DAucssnivia SVNwebescltnemelill OptilltatewaarO>cspann class494920>nlWATsna>tnemeltflr SuccesennblerO>cspann clxiuctd">En nll: clWATif thUse ccltnemeltatsseurm yrO>cspann class=76806">Sceurm: clWATithnangh SSLhsa>tnemelill OptillcesSc/puc PolicytEdicorrO>cspann class=62194>nCn-3 len nd"lM=nPcl: cSc/puc Policiesesa>rO>cspann class=62631>nAdmss tfratLDIho lWindilsi200x/XP Policiesesa>tnemelill Optlemsuch4n class T4Mann c>Tamcspann class=52799>nin/ Pao l: c*.tdb F lessna>,">cspann class=53002lrTrisic"FDatabase F lessna>tnemeltflr Succesb"ntl: cnn ( settdbbat up)tnemelill Optillcestdbbat up,">cspann class=53182lrUsecisndbbat up ccltnemeltatte 223 e homedi ,">cspann class=59922 DCstucp>pe e lr les cclrO>cspann class=60826">Lucux/FreeBSD-specificcPAM ct to share ccltnemeltatte 223 e shell,">cspann class=59922 DCstucp>pe e lr les ccltnemeltattest: pd>o/tr>orO>cspann class=57227">Discus LDIesa>tnemeltattestpd>mrO>cspann class=77916>nin/ Tesrsesa>tnemeltattext/223inrO>cspann class=44797lrMIME TefasCm4vdn LDI Rulesesa>tnemelill Optlemsuch4n class T4Mann c>Uamcspann class=13550 DNexBIOS osivoTCP/IP ccltnemeltatgIDrO>cspann class=22599>nFeaturmegnd"tBeneficsescltnemeltatunexpected.tdb,">cspann class=52799>nin/ Pao l: c*.tdb F lessna>tnemeltflr Succes( setalle TDB)tnemelill Optillcesunix ch> seh,">cspann class=71090>nl"><nd"tCh> sehresa>rO>cspann class=71277lrBaolc4Pd>o/tr>ocSetreciesa>rO>cspann class=71719>nInT4Miduc"FIttu[ndexutle resa>rO>cspann class=71857">Mig shareoil enS">&l-2.2 Scnies ccltnemeltat>cemon acc drisiv,">cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann class=34271>nin/ [global] Sccaou hsa>rO>cspann class=42912reRawFPao Scnsien oVandirgDrisivsore WindilsiCn accsesa>rO>cspann class=50420>nHowreo Recogncze Ifacupsadde l Ctm220tedFSuccessfully ccltnemeltat>cemsandf lerO>cspann class497706">Ex 220 Ct to share ccltnemeltatx &vrO>cspann class=01723>nth> TaLeost Sseurm yesclrO>cspann class=77916>nin/ Tesrsesa>tnemeltatUsiv"Accou sesemeltflr SuccesAddcnl/Dele=anlrO>cspann class=18674>nin/ lpasswd Cmmaandsna>rO>cspann clpdbedicmenin/ pdbedicgCmmaandsna>rO>cspann class=20423">Accou s"ad"aGnannscMunPcendexhsa>tnemelill OptillcesUsiv"MunPcendexrO>cspann class=18674>nin/ lpasswd Cmmaandsna>rO>cspann clpdbedicmenin/ pdbedicgCmmaandsna>rO>cspann class=20423">Accou s"ad"aGnannscMunPcendexhsa>tnemelcesUsiv"MunPcevrO>cspann cls">&l-treo ed-doiucn>nl"><nsauc/ Treo ed Doiucn cclrO>cspann class=31942 Dl"><nsauc/ Treo cnl Doiucn cclrO>cspann class=61468lrR>moteoScnser Admss tfratLDIesa>tnemeltatx &va"drO>cspann class=07572aiM=nuc"FCn-3 lDIho lMucliuc Treo aAccou sesa>tnemeltatx &vyam/rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>tnemeltatx &vyam/ leostrO>cspann class=02447">Passw) d Checkeciesa>tnemeltatx &vyam/ maprO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=08164">Windilsi200x/XP Profes LDIc"FCn accsn75tnemeltatus t, >cspann class=31048">WhyvCaniUsivs"AucssniHomavDirthe uiesv574Othin Usivs?esa>tnemelill Optlemsuch4n class T4Mann c>Vamcspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=30662lrUsiv-BasedFProtccaou hsa>rO>cspann class=31048">WhyvCaniUsivs"AucssniHomavDirthe uiesv574Othin Usivs?esa>rO>cspann class=77916>nin/ Tesrsesa>tnemeltatveeo f lesrO>cspann class=25944">MiscellaneousF844"rolsesa>tnemeltatveeo uSlook f lesrO>cspann class493908lrDis nll: cOSlooksesclrO>cspann class=29514reDis nll: cK nel OSlooksescltnemeltatvfsv5bjthesrO>cspann class=57227">Discus LDIesa>rO>cspann class=58100"tth>dilcCopy Sctupsncltnemeltatvfsv5p=addrO>cspann class=71277lrBaolc4Pd>o/tr>ocSetreciesa>tnemeltatvipwrO>cspann class=07572aiM=nuc"FCn-3 lDIho lMucliuc Treo aAccou sesa>tnemelill Optlemsuch4n class T4Mann c>Wamcspann class=17363">Brilscnl o lth> Tssad"aDirthe uiesvis VeryaSlowescltnemeltatwinbid" enumagnanns,">cspann class=59922 DCstucp>pe e lr les ccltnemeltatwinbid" enumaus t, >cspann class=59922 DCstucp>pe e lr les ccltnemeltatwinbid" sep> acorrO>cspann class497706">Ex 220 Ct to share cclrO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=59922 DCstucp>pe e lr les cclrO>cspann class=60190>nltfn l: cad"aT s l: cuc/ winbid"d Da>moe ccltnemeltatwinbid"aus de wfat doiucnrO>cspann class497706">Ex 220 Ct to share ccltnemeltatwinbid"drO>cspann class494=33"tStfn l: cS">&lesa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann class=58849>nFeaturmegnd"tBeneficsescltnemeltatwindilsireg tfrytserrecishsemeltflr Succesde wfat prof le looaxillsrO>cspann class=6=603"sMS WindilsiNT4 WorkstshareesclrO>cspann class=66131>nMS Windilsi200x/XPescltnemeltat aof le pathrO>cspann class=63850 DWindilsi9x/Me Prof le Sctupsncltnemeltatroaml: prof lesrO>cspann class=63677lrDis nll: cRoaml: Prof le Sts an hsa>tnemelill OptillcesWINSrO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann class=13550 DNexBIOS osivoTCP/IP cclrO>cspann class=70562lrWINSoLookupsnclrO>cspann class=84214">Ex 220 Ct to share ccltnemeltatwins hookrO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatwins proxyrO>cspann class=13339aiWte cIsrBrilscnl?esa>tnemeltatwins scnserrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann class=1=573lrWINSosin/ WindilsiInld -n.tcf tcnl Nam/ Scnseresa>rO>cspann class=15711">WINSoScnser Ct to share cclrO>cspann class=70562lrWINSoLookupsncltnemeltatwins sts an rO>cspann class=13339aiWte cIsrBrilscnl?esa>rO>cspann class=1=573lrWINSosin/ WindilsiInld -n.tcf tcnl Nam/ Scnseresa>rO>cspann class=15711">WINSoScnser Ct to share cclrO>cspann class=70562lrWINSoLookupsncltnemeltatworkgnannrO>cspann class494350 DCleto shareof lehsyIlaxesa>rO>cspann class494703">Ex 220 Ct to share cclrO>cspann clancn-io">AnonymousFReap-Onll>D aindexlScnseresa>rO>cspann class496037">AnonymousFReap-Wrily>D aindexlScnseresa>rO>cspann class496313">AnonymousFPao Scnseresa>rO>cspann class496741>nSseuravReap-Wrily>F lesad"aPao Scnseresa>rO>cspann class497706">Ex 220 Ct to share cclrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class499881>nin/ PaomuryaDoiucn C44"rolleresa>rO>cspann class=00740>nBat upaDoiucn C44"rolleresa>rO>cspann class=01850">Ex 220 Ct to share cclrO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=04915>nSseurm yOMode nd"lM=/purrBrilsivs cclrO>cspann class=06015>nEx 220 PDC Ct to share cclrO>cspann class=06711">Ex 220 Ct to share cclrO>cspann class=08341>nJoincnl aniNT4-tefasDoiucn s meaS">&l-3 cclrO>cspann clRefD aScnserlrR>crne.ceFD aindexshareoScnseresa>rO>cspann clSN 220Pao ScnserlrCeccsc"FPao Scnsiensna>rO>cspann class=16337">Brilscnl Sts an insS">&l cclrO>cspann class=19948">cleto ecisS">&l ccltnemeltatwrm nblerO>cspann class=33130>nSN 220FPao Ct to share cclrO>cspann class=33750 DEx ndediPao l: cCt to share cclrO>cspann clptr=tit>nin/ [pro t] Sccaou hsa>rO>cspann class=34995">Any [my_pro _en m] Sccaou hsa>rO>cspann class=42079>nSN 220Fe lr lescSetrecisFfuraCUPShsa>rO>cspann class=42354aiMo TeCtm220xiCUPS e lr lescSetrecishsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatwrily>listrO>cspann class498790 DEx 220:eEicl:e riugcOfficesna>rO>cspann class=03821>nDoiucn C44"rol Ex 220 Ct to share cclrO>cspann class=25335reUsiv"ad"aGnann-BasedF844"rolsesa>rO>cspann class=36375>nCn-3 len nhwi[pro $]tth> Thsa>rO>cspann class=36610 D[pro $]ttccaou Pd>o/tr>oshsa>rO>cspann class=48697lrPrep> ThYimrie lr lescfuracupsadde lci75tnemeltatwrily>rawrO>cspann class=83859">Wrily>Rawesa>tnemeltatwrilynblerO>cspann class=57227">Discus LDIesa>rO>cspann class=58100"tth>dilcCopy SctupsncltnemeltatWYSIWYGrO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75tnemelill Optlemsuch4n class T4Mann c>Xamcspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=43828lrUon Pao f lehCm4vdn LDI ad"aGUI Brolcsesa>tnemeltatxiuctdrO>cspann class=81748"tStfn l: cil eniuctdr les ccl ( setiuctd)tnemeltatXpro rO>cspann class=43675>nWindilsiDrisivs,zGDIend" EMFci75,">cspann class=43828lrUon Pao f lehCm4vdn LDI ad"aGUI