[Samba] Could not create posix account info

Thiagasundaram, PariX P PariXP.Thiagasundaram at intel.com
Thu Sep 9 22:49:20 GMT 2004


[root at red docs]# net rpc vampire -S NTPDC -d 3

[2004/08/17 14:09:29, 3] param/loadparm.c:lp_load(3911)

  lp_load: refreshing parameters

[2004/08/17 14:09:29, 3] param/loadparm.c:init_globals(1324)

  Initialising global parameters

[2004/08/17 14:09:29, 3] param/params.c:pm_process(566)

  params.c:pm_process() - Processing configuration file
"/usr/lib/smb.conf"

[2004/08/17 14:09:29, 3] param/loadparm.c:do_section(3404)

  Processing section "[global]"

[2004/08/17 14:09:29, 2] lib/interface.c:add_interface(79)

  added interface ip=192.168.138.25 bcast=192.168.138.255
nmask=255.255.255.0

[2004/08/17 14:09:29, 3] libsmb/cliconnect.c:cli_start_connection(1376)

  Connecting to host=NTPDC

[2004/08/17 14:09:29, 3] lib/util_sock.c:open_socket_out(752)

  Connecting to 192.168.138.5 at port 445

[2004/08/17 14:09:29, 2] lib/util_sock.c:open_socket_out(789)

  error connecting to 192.168.138.5:445 (Connection refused)

[2004/08/17 14:09:29, 3] lib/util_sock.c:open_socket_out(752)

  Connecting to 192.168.138.5 at port 139

Fetching DOMAIN database

SAM_DELTA_DOMAIN_INFO not handled

Creating unix group: 'Domain Admins'

/usr/local/sbin/smbldap-groupadd: group Domain Admins exists

[2004/08/17 14:09:30, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Domain Admins"' gave 6

Creating unix group: 'Domain Users'

/usr/local/sbin/smbldap-groupadd: group Domain Users exists

[2004/08/17 14:09:30, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Domain Users"' gave 6

Creating unix group: 'Domain Guests'

/usr/local/sbin/smbldap-groupadd: group Domain Guests exists

[2004/08/17 14:09:30, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Domain Guests"' gave 6

Creating account: Administrator

/usr/local/sbin/smbldap-useradd: user Administrator exists

[2004/08/17 14:09:31, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -m
"Administrator"' gave 9

Could not create posix account info for 'Administrator'

Creating account: Guest

[2004/08/17 14:09:32, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -m
"Guest"' gave 0

Could not create posix account info for 'Guest'

Creating account: NTPDC$

[2004/08/17 14:09:32, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"NTPDC$"' gave 0

Could not create posix account info for 'NTPDC$'

Creating account: user1

[2004/08/17 14:09:33, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -m
"user1"' gave 0

Could not create posix account info for 'user1'

Creating account: user2

.

.

.

.

.

Creating account: user9

[2004/08/17 14:09:38, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -m
"user9"' gave 0

Could not create posix account info for 'user9'

Creating account: red$

[2004/08/17 14:09:38, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"red$"' gave 0

Could not create posix account info for 'red$'

Creating account: localhost$

[2004/08/17 14:09:39, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"localhost$"' gave 0

Could not create posix account info for 'localhost$'

Creating account: fc2$

[2004/08/17 14:09:40, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"fc2$"' gave 0

Could not create posix account info for 'fc2$'

Creating account: linux$

[2004/08/17 14:09:41, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"linux$"' gave 0

Could not create posix account info for 'linux$'

Creating account: COMP1$

[2004/08/17 14:09:41, 1] utils/net_rpc_samsync.c:fetch_account_info(434)

  fetch_account: Running the command `/usr/local/sbin/smbldap-useradd -w
"COMP1$"' gave 0

Could not create posix account info for 'COMP1$'

[2004/08/17 14:09:41, 0]
utils/net_rpc_samsync.c:fetch_group_mem_info(582)

  Could not find global group 512

[2004/08/17 14:09:41, 0]
utils/net_rpc_samsync.c:fetch_group_mem_info(582)

  Could not find global group 513

[2004/08/17 14:09:41, 0]
utils/net_rpc_samsync.c:fetch_group_mem_info(582)

  Could not find global group 514

Creating unix group: 'group1'

[2004/08/17 14:09:42, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "group1"' gave 0

Creating unix group: 'lgroup2'

[2004/08/17 14:09:42, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "lgroup2"' gave 0

Fetching BUILTIN database

SAM_DELTA_DOMAIN_INFO not handled

Creating unix group: 'Account Operators'

[2004/08/17 14:09:43, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Account Operators"' gave 0

Creating unix group: 'Administrators'

[2004/08/17 14:09:44, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Administrators"' gave 0

Creating unix group: 'Backup Operators'

/usr/local/sbin/smbldap-groupadd: group Backup Operators exists

[2004/08/17 14:09:44, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Backup Operators"' gave 6

Creating unix group: 'Guests'

[2004/08/17 14:09:45, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Guests"' gave 0

Creating unix group: 'Print Operators'

/usr/local/sbin/smbldap-groupadd: group Print Operators exists

[2004/08/17 14:09:45, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Print Operators"' gave 6

Creating unix group: 'Replicator'

[2004/08/17 14:09:46, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Replicator"' gave 0

Creating unix group: 'Server Operators'

[2004/08/17 14:09:46, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Server Operators"' gave 0

Creating unix group: 'Users'

[2004/08/17 14:09:47, 3] groupdb/mapping.c:smb_create_group(1113)

  smb_create_group: Running the command
`/usr/local/sbin/smbldap-groupadd -p "Users"' gave 0

[2004/08/17 14:09:47, 2] utils/net.c:main(792)

  return code = 0

[root at red docs]#

 

 

When I do a slapcat, iam able to see the users user1, user2,
user3.....user9. 

 

But when I try to authenticate from a WIN NT WORKSTATION with
user9/password, (with the NT4 shutdown and samba acting as a BDC)

I am able to login only with the cached profile.

 

What is it I'm missing here?

 



More information about the samba mailing list