[Samba] error samba-3.0-rc4
Luis Torrontegui
luis at sisnema.com.br
Fri Sep 19 21:58:23 GMT 2003
hi. i'm testing samba-3.0-rc4 with ldap(edirectory 8.7.1).
I extended the schema whitout problems.
i'm configure the samba server how a primary domain authtenticating in
the ldap server.
my smb.conf file is here:
workgroup = bla
ldap server = localhost
ldap ssl = no
ldap admin dn="cn=admin,o=suporte"
ldap machine suffix="ou=geral,o=suporte"
ldap suffix = "ou=geral,o=suporte"
ldap passwd sync = yes
server string = Samba Server
log level = 3
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
.
.
.
####my shares .... #######
but when i try to add the machine in the domain bla, the log files
reporting the follow error:
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/09/19 17:15:52, 3] auth/auth.c:check_ntlm_password(216)
check_ntlm_password: Checking password for unmapped user
[bla]\[root]@[SUPTEL] with the new password interface
[2003/09/19 17:15:52, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: mapped user is: [bla]\[root]@[SUPTEL]
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/09/19 17:15:52, 3] smbd/uid.c:push_conn_ctx(287)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/09/19 17:15:52, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(uid=root)(objectclass=sambaAccount))]
[2003/09/19 17:15:52, 2] lib/smbldap.c:smbldap_open_connection(623)
smbldap_open_connection: connection opened
[2003/09/19 17:15:52, 3] lib/smbldap.c:smbldap_connect_system(785)
ldap_connect_system: succesful connection to the LDAP server
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/09/19 17:15:52, 3] auth/auth_sam.c:check_sam_security(439)
Couldn't find user 'root' in passdb file.
[2003/09/19 17:15:52, 3]
auth/auth_winbind.c:check_winbind_security(79)
check_winbind_security: Not using winbind, requested domain was for
this SAM.
[2003/09/19 17:15:52, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: Authentication for user [root] -> [root] FAILED
with error NT_STATUS_NO_SUCH_USER
[2003/09/19 17:15:52, 3] smbd/process.c:timeout_processing(1099)
timeout_processing: End of file from client (client has
disconnected).
[2003/09/19 17:15:52, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/09/19 17:15:52, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/09/19 17:15:52, 3] smbd/connection.c:yield_connection(69)
but the new schema say that the new objectclass is sambaSamAccount and
not sambaAccount how show the logs.
this is a bug or a configuration error ?????
obs.: i run smbpasswd -w <secret_password>
the user root in the ldap is:
dn: cn=root,ou=geral,o=suporte
sambaPrimaryGroupSID: S-1-5-21-636805976-1992644568-3666589737-1201
sambaSID: S-1-5-21-636805976-1992644568-3666589737-3000
sambaHomePath: \\_PDCNAME_\homes
sambaProfilePath: \\_PDCNAME_\profiles\root
sambaLogonScript: root.cmd
sambaHomeDrive: _HOMEDRIVE_
sambaKickoffTime: 2147483647
sambaLogoffTime: 2147483647
sambaLogonTime: 0
sambaPwdMustChange: 2147483647
sambaPwdCanChange: 0
sambaPwdLastSet: 0
sambaAcctFlags: [UX]
sambaNTPassword: 091B0CAFC6F620D1ADE947B8D323BC92
sambaLMPassword: 7B9112B10EA66140AAD3B435B51404EE
loginShell: /bin/sh
homeDirectory: /root
gecos:
gidNumber: 0
uidNumber: 0
displayName: System User
uid: root
sn: root
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: ndsLoginProperties
objectClass: top
objectClass: posixAccount
objectClass: uamPosixUser
objectClass: sambaSamAccount
groupMembership: cn=teste,ou=geral,o=suporte
cn: root
ACL: 2#subtree#cn=root,ou=geral,o=suporte#[All Attributes Rights]
ACL: 6#entry#cn=root,ou=geral,o=suporte#loginScript
ACL: 2#entry#[Public]#messageServer
ACL: 2#entry#[Root]#groupMembership
ACL: 6#entry#cn=root,ou=geral,o=suporte#printJobConfiguration
ACL: 2#entry#[Root]#networkAddress
thanks...
Luis Afonso.
Suporte Sisnema Informatica.
51 32264111
"How can you make a living from something you give away for free?"
More information about the samba
mailing list