Samba
From DWIKI
Documentation
- Homepage
- Samba HOWTO collection
- my old samba links
- O'Reilly book
- Gentoo Samba Howto
- fully automating the installation of Windows 2000 Professional and Server, Windows XP, and Windows Server 2003
- User Rights and Privileges
- Oplocks
- Samba error messages
- Samba Domain Model
Samba and ACLs
http://www.bluelightning.org/linux/samba_acl_howto/
Migration
- NT to Samba migration
- Migration from NT4 PDC to Samba-3 PDC
- http://lists.samba.org/archive/samba/2005-December/114772.html
- Migrating profiles
Samba and LDAP
- Samba&LDAP doc
- smbldap-tools
- Samba-LDAP on Debian
- Debian Samba 3 / LDAP / PHP LDAP Admin HOWTO
- samba and ldap
- Part I: Using OpenLDAP on Debian Woody to serve Linux and Samba Users
- http://swik.net/Samba+LDAP (vague collection of links)
- change password on samba/ldap
- LJ quick howto for samba/ldap
- LDAP Authentication
- Samba3 and LDAP
- Another pam/ldap page, just some broken pics there
- Samba (v.3) PDC LDAP howto
- http://gentoo-wiki.com/HOWTO_LDAP_SAMBA_PDC_Basic_Setup
- Samba-LDAP howto
Samba as PDC
- Samba as PDC
- Samba PDC mini-HOWTO
- Troubleshooting Roaming Profiles on Microsoft Windows NT/2000
- Samba as PDF on Gentoo
- profile management
- Samba and windows profiles
- UNIX and Windows User Management
- Managing Samba: Remote GUI tools
- HOWTO LDAP SAMBA PDC Performance Tuning
- How to setup PDC using Samba in Debian
net rpc group addmem "Domain Users" someuser
nt 4.0 reskit to manage domain users!!
cpau.exe to run stuff as other user
remember to add option netbios-name-servers to dhcpd.conf
Terms
Commands and tools
- net
- testparm
- pdbedit
- smbmount or just mount -t smbfs -o username=foo,password=bar //server/share /mnt/point
- smbclient
- smbstatus
- smbtree
- nmblookup -M domainname
- nltest (on windows)
- gpresult
- gpedit
- LDAP Account Manager
- mkntpwd.tar.gz
- Samba Account Management Tools
- gsambad too manage samba users
FAQ
Cannot update roaming profile
Usually because a file is in use, check out
HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ExcludeProfileDirs
Windows complaining about wrong rights on profile
- http://gentoo-wiki.com/HOWTO_Implement_Samba_as_your_PDC#Configure_Windows_XP_clients
- http://support.microsoft.com/kb/327259
- http://support.microsoft.com/kb/221833
No security tab in Explorer
Windows did not load your profile because a server copy of the profile folder already exists that does not have the correct security
profile acls = yes
Can't join domain
close all shares log in to windows, no anonymous 'login'
on access virus scanning
smbmount
mount -t smbfs -o username=someuser //servername/sharename /mnt/sharename/
If you get very vague warnings on debian this means you didn't install one of many smb* packages, probably smbfs
Windows cannot connect to the domain, etc..
Switch to workgroup, set system name first, reboot, join domain again, reboot.
win2k: Error joining domain: User name could not be found
means samba couldn't find MACHINE name, probably a failing add machine script? also check /var/log/samba/log.machinename for Get_Pwnam and "add machine"