Opened 9 years ago

Closed 9 years ago

#248 closed defect (fixed)

idmap config * : backend=tdb added to smb.conf

Reported by: David McKenna Owned by: Herwig Bauernfeind
Priority: minor Milestone:
Component: Samba Server GUI Tools Version: Server 3.6.x
Keywords: Cc: herwig.bauernfeind@…, abwillis

Description

I recently updated my 3.5.21 Samba Server to 3.6.24, using the update utility provided by SSCC. When I went to restart the server I got this error message:

512 +++ GLOBAL.idmap_config_ * _!_backend = 'tdb';

REX0041: Error 41 running C:\programs\samba\smb.cmd, line 512: Bad arithmetic conversion

512 +++ Interpret istr; 302 +++ Call LoadSmbConf??; 29 +++ Call _SambaGetProperties;

I discovered that there was a new line in SMB.CONF:

idmap config * : backend=tdb

Removing this line I was able to restart the server and everything seems to work fine.

Further scrutiny shows that just starting SSCC (in simple mode - haven't tried expert yet), then closing it will add this line to smb.conf. Any idea why? This did not happen with version 3.5.21.

Change History (3)

comment:1 Changed 9 years ago by Silvan Scherrer

Cc: herwig.bauernfeind@… added
Owner: set to Herwig Bauernfeind
Status: newassigned

comment:2 Changed 9 years ago by abwillis

Cc: abwillis added

comment:3 Changed 9 years ago by Herwig Bauernfeind

Resolution: fixed
Status: assignedclosed

Lines that have an asterisk (*) or a "|" will make sscc.exe crash. There is already code to avoid some of these lines, added "idmap config *" in changeset #875.

Note: See TracTickets for help on using tickets.