Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

SAMBA CIFS V1.1-1 - error messages - normal?

Go to solution
Peter Barkas
Regular Advisor

SAMBA CIFS V1.1-1 - error messages - normal?

I have set up a very simple standalone server and can read/write from Windows clients to the Samba served OpenVMS directories.


server string = Samba %v on %h(OpenVMS)
security = user
passdb backend = tdbsam
domain master = yes
guest account = SAMBA$GUEST
domain logons = Yes
log file = /samba$root/var/log_%h.%m
printcap name = /dev/null
load printers = no
printing = OpenVMS
workgroup = PHBWorld
netbios name = %h
create mode = 0755
vfs objects = varvfc

comment = Home Directories
browseable = no
read only = no
create mode = 0750

browsable = yes
writeable = yes
path = /DKA100/jetforms

I see error messages in the log file and I wonder if these are due to a faulty configuration, or 'normal' with this release?


[2010/01/12 17:27:08, 0] SAMBA$SRC:[SOURCE.NSSWITCH]IDMAP.C;1:(387)
idmap_init: Ignoring domain PHBWORLD

[2010/01/12 17:27:08, 1] SAMBA$SRC:[SOURCE.NSSWITCH]IDMAP_TDB.C;1:(397)
idmap uid range missing or invalid
idmap will be unable to map foreign SIDs

[2010/01/12 17:27:08, 0] SAMBA$SRC:[SOURCE.NSSWITCH]IDMAP.C;1:(700)
ERROR: Initialization failed for alloc backend tdb, deferred!
The Brit
Honored Contributor

Re: SAMBA CIFS V1.1-1 - error messages - normal?

Hi Peter,

I think you need to add the following under the [global] section

idmap uid = 15000-20000
idmap gid = 15000-20000

I think this will fix the errors.

Shilpa K
Valued Contributor

Re: SAMBA CIFS V1.1-1 - error messages - normal?

Hi Peter,

As Dave mentions, the errors are related to the missing "idmap uid" and "idmap gid" parameters. If CIFS is configured as Standalone server or even as Primary Domain Controller (with no trusts), you do not need to define these 2 parameters. But when the idmap parameters are missing, these errors are logged though they are more like informational messages.
Looking at your configuration file, it appears to me that you have configured CIFS as Primary Domain Controller instead of standalone server because the values of the parameters "domain logons" and "domain master" are set to YES. Thought of mentioning this as you said that the configured CIFS role is standalone server.

Peter Barkas
Regular Advisor

Re: SAMBA CIFS V1.1-1 - error messages - normal?

Thank you for your help.


That works thank you, I thought that these were unnecessary in this configuration.


Yes true, I think that those lines got left in from earlier experiments.


Peter Barkas
Regular Advisor

Re: SAMBA CIFS V1.1-1 - error messages - normal?

Job's done.