Operating System - HP-UX
1836444 Members
2341 Online
110100 Solutions
New Discussion

Samba and prompting for password

 
Coolmar
Esteemed Contributor

Samba and prompting for password

Hi,

I am getting the following error message for only SOME users trying to access shares on my HPUX system. They click on the share from windows and are prompted for a password which is not accepted. Here is what the log file for those users says:

[2005/09/28 09:45:49, 0] auth/auth_util.c:make_server_info_info3(1122)
make_server_info_info3: pdb_init_sam failed!

I can't imagine it would be the smb.conf as I mentioned earlier that it is only certain users and not others.

Thanks,
Sally
9 REPLIES 9
Rick Garland
Honored Contributor

Re: Samba and prompting for password

Not into SAMBA but 1st thought I have is the smb passwd. Has this been configuraed for those users having trouble?

Coolmar
Esteemed Contributor

Re: Samba and prompting for password

smb passwd has not been configured for anybody because we are using "Domain" security. I have never had to use it in the past.
Stephen Keane
Honored Contributor

Re: Samba and prompting for password

Do the users that can use Samba shares have local accounts on your HP system, and those that don't not have accounts?
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

Yes, the users who can't access the shares don't have accounts and the users who can access have shares. However, I just copied the smb.conf to another server (just changed the server name) and everyone could access the shares...even those without accounts.
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

Sorry...the user with all the problems DOES have an account on the server with the shares he cannot access.
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

Here is my smb.conf file too just in case:

[global]
workgroup = wkgrp
netbios name = SERVERA
server string = SERVERA share
security = DOMAIN
map to guest = Bad User
password server = PWSERVER
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 1000
wins server = WINSSERVER
idmap uid = 10000-20000
idmap gid = 10000-20000
short preserve case = No
dos filetime resolution = Yes

[LYRS]
comment = Lyrs
path = /lyrs
read only = Yes

[NAIS]
comment = Nais
path = /nais
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

I wonder if there is a limit or something to that effect regarding how many samba users can connect at one time?
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

Just found the following error in my winbind.log file:

[2005/09/28 11:03:15, 0] sam/idmap_tdb.c:db_allocate_id(105)
idmap Fatal Error: UID range full!! (max: 20000)

As you can see above, my max on UID is 20000. So can I just increase that value, or get rid of it all together?

Thanks,
Sally
Coolmar
Esteemed Contributor

Re: Samba and prompting for password

I increased the idmap to 200000 and restarted Samba and so far so good.