No subject


Tue Nov 22 09:47:03 MST 2011


To          : samba-it at xsec.it
Cc          :
Date      : Thu, 24 Feb 2005 15:00:46 +0100
Subject : [Samba-it] Info ldap samba-3 debian-sarge smbldaptools

> volevo sapere se qualcuno di voi ha già usato gli script in questione
> Ho un problema sullo script e non ho ben capito i prerequisti su una sarge
> lanciando il lo script :
> /usr/share/doc/smbldap-tools/configure.pl
>
> Samba Config File Location [/etc/samba/smb.conf] >
> Use of uninitialized value in concatenation (.) or string at
> /usr/share/doc/smbldap-tools/configure.pl line 65, <STDIN> line 1.
>
> penso di aver fatto tutto giusto ma non vorrei che mancasse qualche modulo
> perl (che io NON CONOSCO AFFATTO) o qualcosatro su sldap
> grazie
>

ciao potresti allegare il tuo smbldap.conf?



____________________________________________________________
Navighi a 2 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it


_______________________________________________
Samba-it mailing list
Samba-it at xsec.it
https://lists.xsec.it/mailman/listinfo/samba-it

------=_NextPart_000_00A0_01C51A88.AF79D9C0
Content-Type: application/octet-stream;
	name="smb.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="smb.conf"

#=0A=
# Sample configuration file for the Samba suite for Debian GNU/Linux.=0A=
#=0A=
#=0A=
# This is the main Samba configuration file. You should read the=0A=
# smb.conf(5) manual page in order to understand the options listed=0A=
# here. Samba has a huge number of configurable options most of which =0A=
# are not shown in this example=0A=
#=0A=
# Any line which starts with a ; (semi-colon) or a # (hash) =0A=
# is a comment and is ignored. In this example we will use a #=0A=
# for commentary and a ; for parts of the config file that you=0A=
# may wish to enable=0A=
#=0A=
# NOTE: Whenever you modify this file you should run the command=0A=
# "testparm" to check that you have not many any basic syntactic =0A=
# errors. =0A=
#=0A=
=0A=
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
Global Settings =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
=0A=
[global]=0A=
=0A=
## Browsing/Identification ###=0A=
=0A=
# Change this to the workgroup/NT-domain name your Samba server will =
part of=0A=
   workgroup =3D IDEALX=0A=
=0A=
# server string is the equivalent of the NT Description field=0A=
   server string =3D %h server (Samba %v)=0A=
=0A=
# Windows Internet Name Serving Support Section:=0A=
# WINS Support - Tells the NMBD component of Samba to enable its WINS =
Server=0A=
;   wins support =3D no=0A=
=0A=
# WINS Server - Tells the NMBD components of Samba to be a WINS Client=0A=
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both=0A=
;   wins server =3D w.x.y.z=0A=
=0A=
# This will prevent nmbd to search for NetBIOS names through DNS.=0A=
   dns proxy =3D no=0A=
=0A=
# What naming service and in what order should we use to resolve host =
names=0A=
# to IP addresses=0A=
;   name resolve order =3D lmhosts host wins bcast=0A=
=0A=
=0A=
#### Debugging/Accounting ####=0A=
=0A=
# This tells Samba to use a separate log file for each machine=0A=
# that connects=0A=
   log file =3D /var/log/samba/log.%m=0A=
=0A=
# Put a capping on the size of the log files (in Kb).=0A=
   max log size =3D 1000=0A=
=0A=
# If you want Samba to only log through syslog then set the following=0A=
# parameter to 'yes'.=0A=
;   syslog only =3D no=0A=
=0A=
# We want Samba to log a minimum amount of information to syslog. =
Everything=0A=
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log=0A=
# through syslog you should set the following parameter to something =
higher.=0A=
   syslog =3D 0=0A=
=0A=
# Do something sensible when Samba crashes: mail the admin a backtrace=0A=
   panic action =3D /usr/share/samba/panic-action %d=0A=
=0A=
=0A=
####### Authentication #######=0A=
=0A=
# "security =3D user" is always a good idea. This will require a Unix =
account=0A=
# in this server for every user accessing the server. See=0A=
# /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc=0A=
# package for details.=0A=
;   security =3D user=0A=
=0A=
# You may wish to use password encryption.  See the section on=0A=
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.=0A=
   encrypt passwords =3D true=0A=
=0A=
# If you are using encrypted passwords, Samba will need to know what=0A=
# password database type you are using.  =0A=
   passdb backend =3D tdbsam guest=0A=
=0A=
   obey pam restrictions =3D yes=0A=
=0A=
;   guest account =3D nobody=0A=
   invalid users =3D root=0A=
=0A=
# This boolean parameter controls whether Samba attempts to sync the Unix=0A=
# password with the SMB password when the encrypted SMB password in the=0A=
# passdb is changed.=0A=
;   unix password sync =3D no=0A=
=0A=
# For Unix password sync to work on a Debian GNU/Linux system, the =
following=0A=
# parameters must be set (thanks to Augustin Luton =
<aluton at hybrigenics.fr> for=0A=
# sending the correct chat script for the passwd program in Debian =
Potato).=0A=
   passwd program =3D /usr/bin/passwd %u=0A=
   passwd chat =3D *Enter\snew\sUNIX\spassword:* %n\n =
*Retype\snew\sUNIX\spassword:* %n\n .=0A=
=0A=
# This boolean controls whether PAM will be used for password changes=0A=
# when requested by an SMB client instead of the program listed in=0A=
# 'passwd program'. The default is 'no'.=0A=
;   pam password change =3D no=0A=
=0A=
=0A=
########## Printing ##########=0A=
=0A=
# If you want to automatically load your printer list rather=0A=
# than setting them up individually then you'll need this=0A=
;   load printers =3D yes=0A=
=0A=
# lpr(ng) printing. You may wish to override the location of the=0A=
# printcap file=0A=
;   printing =3D bsd=0A=
;   printcap name =3D /etc/printcap=0A=
=0A=
# CUPS printing.  See also the cupsaddsmb(8) manpage in the=0A=
# cupsys-client package.=0A=
;   printing =3D cups=0A=
;   printcap name =3D cups=0A=
=0A=
# When using [print$], root is implicitly a 'printer admin', but you can=0A=
# also give this right to other users to add drivers and set printer=0A=
# properties=0A=
;   printer admin =3D @ntadmin=0A=
=0A=
=0A=
######## File sharing ########=0A=
=0A=
# Name mangling options=0A=
;   preserve case =3D yes=0A=
;   short preserve case =3D yes=0A=
=0A=
=0A=
############ Misc ############=0A=
=0A=
# Using the following line enables you to customise your configuration=0A=
# on a per machine basis. The %m gets replaced with the netbios name=0A=
# of the machine that is connecting=0A=
;   include =3D /home/samba/etc/smb.conf.%m=0A=
=0A=
# Most people will find that this option gives better performance.=0A=
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html=0A=
# for details=0A=
# You may want to add the following on a Linux system:=0A=
#         SO_RCVBUF=3D8192 SO_SNDBUF=3D8192=0A=
   socket options =3D TCP_NODELAY=0A=
=0A=
# The following parameter is useful only if you have the linpopup package=0A=
# installed. The samba maintainer and the linpopup maintainer are=0A=
# working to ease installation and configuration of linpopup and samba.=0A=
;   message command =3D /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm =
%s' &=0A=
=0A=
# Domain Master specifies Samba to be the Domain Master Browser. If this=0A=
# machine will be configured as a BDC (a secondary logon server), you=0A=
# must set this to 'no'; otherwise, the default behavior is recommended.=0A=
;   domain master =3D auto=0A=
=0A=
# Some defaults for winbind (make sure you're not using the ranges=0A=
# for something else.)=0A=
;   idmap uid =3D 10000-20000=0A=
;   idmap gid =3D 10000-20000=0A=
;   template shell =3D /bin/bash=0A=
=0A=
#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =
Share Definitions =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
=0A=
[homes]=0A=
   comment =3D Home Directories=0A=
   browseable =3D no=0A=
=0A=
# By default, the home directories are exported read-only. Change next=0A=
# parameter to 'yes' if you want to be able to write to them.=0A=
   writable =3D no=0A=
=0A=
# File creation mask is set to 0700 for security reasons. If you want to=0A=
# create files with group=3Drw permissions, set next parameter to 0775.=0A=
   create mask =3D 0700=0A=
=0A=
# Directory creation mask is set to 0700 for security reasons. If you =
want to=0A=
# create dirs. with group=3Drw permissions, set next parameter to 0775.=0A=
   directory mask =3D 0700=0A=
=0A=
# Un-comment the following and create the netlogon directory for Domain =
Logons=0A=
# (you need to configure Samba to act as a domain controller too.)=0A=
;[netlogon]=0A=
;   comment =3D Network Logon Service=0A=
;   path =3D /home/samba/netlogon=0A=
;   guest ok =3D yes=0A=
;   writable =3D no=0A=
;   share modes =3D no=0A=
=0A=
[printers]=0A=
   comment =3D All Printers=0A=
   browseable =3D no=0A=
   path =3D /tmp=0A=
   printable =3D yes=0A=
   public =3D no=0A=
   writable =3D no=0A=
   create mode =3D 0700=0A=
=0A=
# Windows clients look for this share name as a source of downloadable=0A=
# printer drivers=0A=
[print$]=0A=
   comment =3D Printer Drivers=0A=
   path =3D /var/lib/samba/printers=0A=
   browseable =3D yes=0A=
   read only =3D yes=0A=
   guest ok =3D no=0A=
# Uncomment to allow remote administration of Windows print drivers.=0A=
# Replace 'ntadmin' with the name of the group your admin users are=0A=
# members of.=0A=
;   write list =3D root, @ntadmin=0A=
=0A=
# A sample share for sharing your CD-ROM with others.=0A=
;[cdrom]=0A=
;   comment =3D Samba server's CD-ROM=0A=
;   writable =3D no=0A=
;   locking =3D no=0A=
;   path =3D /cdrom=0A=
;   public =3D yes=0A=
=0A=
# The next two parameters show how to auto-mount a CD-ROM when the=0A=
#	cdrom share is accesed. For this to work /etc/fstab must contain=0A=
#	an entry like this:=0A=
#=0A=
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0=0A=
#=0A=
# The CD-ROM gets unmounted automatically after the connection to the=0A=
#=0A=
# If you don't want to use auto-mounting/unmounting make sure the CD=0A=
#	is mounted on /cdrom=0A=
#=0A=
;   preexec =3D /bin/mount /cdrom=0A=
;   postexec =3D /bin/umount /cdrom=0A=
=0A=

------=_NextPart_000_00A0_01C51A88.AF79D9C0--




More information about the samba-it mailing list