Samba: Difference between revisions

From DWIKI
Line 18: Line 18:
*[http://www.nomis52.net/?section=docs&page=samldap Debian Samba 3 / LDAP / PHP LDAP Admin HOWTO]
*[http://www.nomis52.net/?section=docs&page=samldap Debian Samba 3 / LDAP / PHP LDAP Admin HOWTO]
*[http://www.ofb.net/~jheiss/samba/ldap.shtml samba and ldap]
*[http://www.ofb.net/~jheiss/samba/ldap.shtml samba and ldap]
*[http://mawi.org/sambaldap/Samba_and_LDAP_on_Debian.html Samba & LDAP ...on Debian made simple!]
*[http://aqua.subnet.at/~max/ldap/ Part I: Using OpenLDAP on Debian Woody to serve Linux and Samba Users]
*[http://aqua.subnet.at/~max/ldap/ Part I: Using OpenLDAP on Debian Woody to serve Linux and Samba Users]
*[http://swik.net/Samba+LDAP http://swik.net/Samba+LDAP] (vague collection of links)
*[http://swik.net/Samba+LDAP http://swik.net/Samba+LDAP] (vague collection of links)

Revision as of 20:04, 5 April 2008

Documentation

Samba and LDAP

Samba as PDC

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

  • 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


No security tab in Explorer


Can't join domain

close all shares log in to windows, no anonymous 'login'


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