Operating System - OpenVMS
1753474 Members
5010 Online
108794 Solutions
New Discussion юеВ

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

 
SOLVED
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.

SMB.CONF

[global]
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

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750

[Jetform_shr]
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?

LOG_TAL.SMBD

[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!
4 REPLIES 4
The Brit
Honored Contributor
Solution

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.

Dave.
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.

Regards,
Shilpa
Peter Barkas
Regular Advisor

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

Thank you for your help.

Dave

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

Shilpa

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

Regards

Peter
Peter Barkas
Regular Advisor

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

Job's done.