On 05/12/11 15:28, Christian PERRIER wrote:
> tags 587563 moreinfo
> thanks
>
> Hello Giovanni,
>
> I'm really sorry that we come back only now on this bug you reported against
> samba in Debian back in June 2010 :
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587563
>
> To remind you, you wrote:
>
> ================================================
> testparm warns about a too low value of rlimit_max, it should be
> increased via ulimit in the init.d script or by patching [n,s]mbd.
> ================================================
>
> I would like to understand the context here as I never went in this
> situation. Could you send the output of testparm and give us more
> information about the context in which you're seeing this situation?
>
Recently I upgraded the server to Debian 6.0.1 but I have the same
warning in testparm.
To work around the issue I have to run `ulimit -n 16384` before the
testparm command.
The main problem was that I had to tweek limits.conf to allow
workstations to login on the pdc, I think a warning during upgrade would
be useful.
Thanks
Giovanni
* - nofile 16384
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[netlogon]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
dos charset = 850
unix charset = ISO8859-1
workgroup = XXXXX
server string = %h
passdb backend = ldapsam:ldap://127.0.0.1/
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
time server = Yes
paranoid server security = No
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" %u%
add machine script = /usr/sbin/smbldap-useradd -i -w "%u"
logon path =
logon home = \\srv2003\home\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
ldap admin dn = cn=admin,dc=xxxx,dc=lan
ldap delete dn = Yes
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = yes
ldap suffix = dc=xxxx,dc=lan
ldap ssl = no
ldap user suffix = ou=Users
panic action = /usr/share/samba/panic-action %d
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
ldapsam:editposix = yes
ldapsam:trusted = yes
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[netlogon]
path = /home/netlogon
guest ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers