Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2004-01-11 21:34:14
Size: 496
Editor: anonymous
Comment:
Revision 6 as of 2008-04-09 17:51:44
Size: 1451
Editor: ?eecharlie
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== SAMBA Client Setup ==
Should work out of the box if you install samba-common and smbfs (on Lenny with stock kernel):

 * The smb:// protocol in Firefox/Iceweasel: try smb://<computer-name>/
 * smbclient -L <computer-name>
 * Using the Gnome file browser to browse Samba hosts and shares
''Mounting ''samba shares for easy access by programs does not work out of the box because netbios name resolution isn't set up correctly. However, if you figure out the IP address of a server you'd like to connect to (while you have a page accessing smb://<name> open in firefox, do 'netstat' from a command prompt and look for IP addresses using the "netbios-ssn" service), the following will work:

Add the following line to /etc/fstab:

/<IPAddress>/<share name> /mnt/smb cifs password=,uid=1000,umask=000 0 0

Here we're using the mountpoint /mnt/smb (which you must create) and assuming the share has no password.

TODO: Set up netbios name resolution; document smbnetfs configuration.

----
Line 3: Line 20:
== SAMBA Client Setup ==
The setup for a simple client needs nothing particular.
TIP: if you change something in the LDAP tree (NCSD still caches the old entry) you can clean the cache of NSCD with the following commands...
Line 6: Line 22:
TIP: if you change something in the LDAP tree (NCSD still caches the old entry) you can clean the cache of NSCD with the following commands...
Line 14: Line 29:
See Also:  . See Also:

SAMBA Client Setup

Should work out of the box if you install samba-common and smbfs (on Lenny with stock kernel):

  • The smb:// protocol in Firefox/Iceweasel: try smb://<computer-name>/

  • smbclient -L <computer-name>

  • Using the Gnome file browser to browse Samba hosts and shares

Mounting samba shares for easy access by programs does not work out of the box because netbios name resolution isn't set up correctly. However, if you figure out the IP address of a server you'd like to connect to (while you have a page accessing smb://<name> open in firefox, do 'netstat' from a command prompt and look for IP addresses using the "netbios-ssn" service), the following will work:

Add the following line to /etc/fstab:

/<IPAddress>/<share name> /mnt/smb cifs password=,uid=1000,umask=000 0 0

Here we're using the mountpoint /mnt/smb (which you must create) and assuming the share has no password.

TODO: Set up netbios name resolution; document smbnetfs configuration.


Configuring LDAP Authentication for Debian

TIP: if you change something in the LDAP tree (NCSD still caches the old entry) you can clean the cache of NSCD with the following commands...

  # nscd --invalidate=group

  # nscd --invalidate=passwd


  • See Also:
  • ["LDAPAuthentication"]
  • ?"SAMBAServerSetup"] http:index.cgi?["SAMBAServerSetup"