[Samba] Samba 3.0.1 W2K Joing domain error - the user name could
not be found
sun at percipia.com
sun at percipia.com
Sat Dec 27 19:11:45 GMT 2003
Hi,
I am trying to add Windows 2000 (newly installed with service pack 4)
machine to suse linux 8.2 samba 3.0.1 + LDAP PDC. Its giving me user could
not be found error message.
When I join it automatically creates account for machine (sales$) under
Computers tree,
Ldap log file it searching under People tree.
Dec 27 13:54:20 rishi slapd[4581]: conn=409 op=1 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2 filter="(&(objectClass=posix
Account)(uid=sales$))"
Dec 27 13:54:20 rishi slapd[4581]: conn=409 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[5270]: conn=409 op=2 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2 filter="(&(objectClass=posix
Account)(uid=SALES$))"
Dec 27 13:54:20 rishi slapd[5270]: conn=409 op=2 SEARCH RESULT tag=101
err=0 nentries=0 text=
Here is some more information.
rishi:/usr/local/sbin # rpm -qa | grep -i samba
samba3-3.0.1-14
samba3-client-3.0.1-14
samba3-winbind-3.0.1-14
samba3-doc-3.0.1-14
rishi:/usr/local/sbin # rpm -qa | grep -i openldap
openldap2-client-2.1.12-50
openldap2-2.1.12-50
openldap-lib-1.2.13-285
testparm command output:-
# Global parameters
[global]
workgroup = TECHGROUP
server string = rishi Samba Server
null passwords = Yes
passdb backend = ldapsam
passwd program = /usr/local/bin/smbldap-passwd.pl -o %u
passwd chat = *new*password* %n\n *new*password:* %n\ *successfully*
passwd chat debug = Yes
log level = 3
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/local/sbin/smbldap-useradd.pl -a "%u"
delete user script = /usr/local/sbin/smbldap-useradd.pl -d "%u"
add group script = /usr/local/sbin/smbldap-useradd.pl -a -g "%g"
delete group script = /usr/local/sbin/smbldap-useradd.pl -d -g "%g"
add user to group script = /usr/local/sbin/smbldap-useradd.pl -j
-u "%u" -g "%g"
delete user from group script = /usr/local/sbin/smbldap-useradd.pl
-j -u "%u" -g "%g"
set primary group script = /usr/local/sbin/smbldap-useradd.pl -m
-u "%u" -gid "%g"
add machine script = /usr/local/sbin/smbldap-useradd.pl -a -w "%m"
domain logons = Yes
os level = 22
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap suffix = dc=sfgroup,dc=com
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap admin dn = "cn=Manager,dc=sfgroup,dc=com"
ldap ssl = no
printing = cups
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
rishi:/var/log/samba # id Administrator
uid=0(Administrator) gid=512(Domain Admins) groups=512(Domain Admins)
rishi:/usr/local/sbin # ./smbldap-usershow.pl Administrator
dn: uid=Administrator,ou=People,dc=sfgroup,dc=com
cn: Administrator
sn: Administrator
objectClass: inetOrgPerson,sambaSAMAccount,posixAccount
uid: Administrator
homeDirectory: /home
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaHomePath: \\_PDCNAME_\homes
sambaHomeDrive: _HOMEDRIVE_
sambaProfilePath: \\_PDCNAME_\profiles\
loginShell: /bin/false
gecos: Netbios Domain Administrator
gidNumber: 512
sambaSID: S-1-5-21-3516781642-1962875130-3438800523-1000
sambaPrimaryGroupSID: S-1-5-21-3516781642-1962875130-3438800523-512
uidNumber: 0
sambaLMPassword: 78BCCAEE08C90E29AAD3B435B51404EE
sambaAcctFlags: [U]
sambaNTPassword: F9E37E83B83C47A93C2F09F66408631B
sambaPwdLastSet: 1072465723
sambaPwdMustChange: 1076353723
userPassword: {SSHA}dboB3GxKxhYDDZqacEuJ5aUnf1Oya8O2
ldap log file output
=====================
Dec 27 13:54:17 rishi slapd[4494]: conn=401 fd=20 ACCEPT from IP=::1 2998
(IP=:: 389)
Dec 27 13:54:17 rishi slapd[4580]: conn=401 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:17 rishi slapd[4580]: conn=401 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:17 rishi slapd[4580]: conn=401 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:17 rishi slapd[5265]: conn=401 op=1 SRCH
base="dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=sambaDomain)(sambaDomainName=TECHGROUP))"
Dec 27 13:54:17 rishi slapd[5265]: conn=401 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[7378]: conn=401 op=2 SRCH
base="dc=sfgroup,dc=com" scope=2
filter="(&(uid=Administrator)(objectClass=sambaSamAccount))"
Dec 27 13:54:17 rishi slapd[7378]: conn=401 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[4581]: conn=380 op=3 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=Administrator))"
Dec 27 13:54:17 rishi slapd[4581]: conn=380 op=3 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[4494]: conn=402 fd=23 ACCEPT from
IP=127.0.0.1:2999 (IP=:: 389)
Dec 27 13:54:17 rishi slapd[5270]: conn=402 op=0 BIND dn="" method=128
Dec 27 13:54:17 rishi slapd[5270]: conn=402 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:17 rishi slapd[4580]: conn=402 op=1 SRCH
base="dc=sfgroup,dc=com" scope=2 filter="(uid=Administrator)"
Dec 27 13:54:17 rishi slapd[4580]: conn=402 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[5265]: conn=402 op=2 SRCH
base="ou=Groups,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixGroup)(|(memberUid=Administrator)(uniqueMember=uid=administrator,ou=people,dc=sfgroup,dc=com)))"
Dec 27 13:54:17 rishi slapd[5265]: conn=402 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[7378]: conn=401 op=3 SRCH
base="ou=Groups,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=sambaGroupMapping)(gidNumber=512))"
Dec 27 13:54:17 rishi slapd[7378]: conn=401 op=3 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:17 rishi slapd[4581]: conn=380 op=4 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=administrator))"
Dec 27 13:54:17 rishi slapd[4581]: conn=380 op=4 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:18 rishi slapd[5270]: conn=401 op=4 SRCH
base="dc=sfgroup,dc=com" scope=2
filter="(&(uid=sales$)(objectClass=sambaSamAccount))"
Dec 27 13:54:18 rishi slapd[5270]: conn=401 op=4 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:18 rishi slapd[4580]: conn=380 op=5 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=sales$))"
Dec 27 13:54:18 rishi slapd[4580]: conn=380 op=5 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:18 rishi slapd[7378]: conn=380 op=6 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=SALES$))"
Dec 27 13:54:18 rishi slapd[7378]: conn=380 op=6 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:19 rishi slapd[4494]: conn=380 fd=22 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=403 fd=22 ACCEPT from
IP=127.0.0.1:3000 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[5265]: conn=403 op=0 BIND dn="" method=128
Dec 27 13:54:20 rishi slapd[5265]: conn=403 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[4581]: conn=403 op=1 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uidNumber=1000))"
Dec 27 13:54:20 rishi slapd[4581]: conn=403 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:20 rishi slapd[5270]: conn=403 op=2 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uidNumber=1001))"
Dec 27 13:54:20 rishi slapd[5270]: conn=403 op=2 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[4494]: conn=404 fd=26 ACCEPT from
IP=127.0.0.1:3001 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[4580]: conn=404 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:20 rishi slapd[4580]: conn=404 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:20 rishi slapd[4580]: conn=404 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[7378]: conn=404 op=1 SRCH
base="dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=sales))"
Dec 27 13:54:20 rishi slapd[7378]: conn=404 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[5265]: conn=404 op=2 UNBIND
Dec 27 13:54:20 rishi slapd[5265]: conn=404 fd=26 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=405 fd=26 ACCEPT from
IP=127.0.0.1:3002 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[4581]: conn=405 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:20 rishi slapd[4581]: conn=405 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:20 rishi slapd[4581]: conn=405 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[5270]: conn=405 op=1 SRCH
base="ou=Groups,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixGroup)(gidNumber=553))"
Dec 27 13:54:20 rishi slapd[5270]: conn=405 op=1 SEARCH RESULT tag=101
err=0 nentries=1 text=
Dec 27 13:54:20 rishi slapd[4494]: conn=405 fd=26 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=406 fd=26 ACCEPT from
IP=127.0.0.1:3003 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[4580]: conn=406 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:20 rishi slapd[4580]: conn=406 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:20 rishi slapd[4580]: conn=406 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[7378]: conn=406 op=1 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(sambaSID=S-1-5-21-3516781642-1962875130-3438800523-3002)"
Dec 27 13:54:20 rishi slapd[7378]: conn=406 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[4494]: conn=407 fd=29 ACCEPT from
IP=127.0.0.1:3004 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[5265]: conn=406 op=2 UNBIND
Dec 27 13:54:20 rishi slapd[5265]: conn=406 fd=26 closed
Dec 27 13:54:20 rishi slapd[4581]: conn=407 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:20 rishi slapd[4581]: conn=407 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:20 rishi slapd[4581]: conn=407 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[4494]: conn=408 fd=26 ACCEPT from
IP=127.0.0.1:3005 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[5270]: conn=408 op=0 BIND
dn="cn=Manager,dc=sfgroup,dc=com" method=128
Dec 27 13:54:20 rishi slapd[5270]: conn=408 op=0 AUTHZ
dn="cn=Manager,dc=sfgroup,dc=com" mech=simple ssf=0
Dec 27 13:54:20 rishi slapd[5270]: conn=408 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[4580]: conn=408 op=1 ADD
dn="uid=sales$,ou=Computers,dc=sfgroup,dc=com"
Dec 27 13:54:20 rishi slapd[4580]: conn=408 op=1 RESULT tag=105 err=68 text=
Dec 27 13:54:20 rishi slapd[7378]: conn=408 op=2 UNBIND
Dec 27 13:54:20 rishi slapd[7378]: conn=408 fd=26 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=407 fd=29 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=409 fd=26 ACCEPT from
IP=127.0.0.1:3006 (IP=:: 389)
Dec 27 13:54:20 rishi slapd[4494]: conn=403 fd=22 closed
Dec 27 13:54:20 rishi slapd[5265]: conn=409 op=0 BIND dn="" method=128
Dec 27 13:54:20 rishi slapd[5265]: conn=409 op=0 RESULT tag=97 err=0 text=
Dec 27 13:54:20 rishi slapd[4581]: conn=409 op=1 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=sales$))"
Dec 27 13:54:20 rishi slapd[4581]: conn=409 op=1 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[5270]: conn=409 op=2 SRCH
base="ou=People,dc=sfgroup,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=SALES$))"
Dec 27 13:54:20 rishi slapd[5270]: conn=409 op=2 SEARCH RESULT tag=101
err=0 nentries=0 text=
Dec 27 13:54:20 rishi slapd[4494]: conn=401 fd=20 closed
Dec 27 13:54:20 rishi slapd[4494]: conn=402 fd=23 closed
samba log file:
---------------
Transaction 1 of length 137
switch message SMBnegprot (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
using SPNEGO
Selected protocol NT LM 0.12
Transaction 2 of length 202
switch message SMBsesssetupX (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 32
Got NTLMSSP neg_flags=0xe0088297
Transaction 3 of length 330
switch message SMBsesssetupX (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got user=[Administrator] domain=[TECHGROUP] workstation=[SALES] len1=24
len2=24
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_ntlm_password: Checking password for unmapped user
[TECHGROUP]\[Administrator]@[SALES] with the new password interface
check_ntlm_password: mapped user is: [TECHGROUP]\[Administrator]@[SALES]
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
smbldap_search_suffix: searching
for:[(&(uid=Administrator)(objectclass=sambaSamAccount))]
init_sam_from_ldap: Entry found for user: Administrator
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
ldapsam_search_one_group: searching
for:[(&(objectClass=sambaGroupMapping)(gidNumber=512))]
init_group_from_ldap: Entry found for group: 512
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
fetch sid from gid cache 512 ->
S-1-5-21-3516781642-1962875130-3438800523-512
check_ntlm_password: sam authentication for user [Administrator] succeeded
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_ntlm_password: authentication for user [Administrator] ->
[Administrator] -> [Administrator] succeeded
User name: Administrator Real name: Administrator
UNIX uid 0 is UNIX user Administrator, and will be vuid 100
Adding/updating homes service for user 'Administrator' using home
directory: '/home'
adding home's share [Administrator] for user 'Administrator' at '/home'
Transaction 4 of length 80
switch message SMBtconX (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Connect path is '/tmp' for service [IPC$]
se_access_check: user sid is S-1-5-21-3516781642-1962875130-3438800523-1000
se_access_check: also S-1-5-21-3516781642-1962875130-3438800523-512
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
Initialising default vfs hooks
se_access_check: user sid is S-1-5-21-3516781642-1962875130-3438800523-1000
se_access_check: also S-1-5-21-3516781642-1962875130-3438800523-512
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
setting sec ctx (0, 512) - sec_ctx_stack_ndx = 0
sales (192.168.0.102) connect to service IPC$ initially as user
Administrator (uid=0, gid=512) (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
tconX service=IPC$
Transaction 5 of length 104
switch message SMBntcreateX (pid 8023)
setting sec ctx (0, 512) - sec_ctx_stack_ndx = 0
nt_open_pipe: Known pipe lsarpc opening.
Transaction 6 of length 160
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=72 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 720e)api_pipe_bind_req:
\PIPE\lsarpc -> \PIPE\lsass
check_bind_req for \PIPE\lsarpc
Transaction 7 of length 172
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=84 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 720e)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: LSA_OPENPOLICY2
se_access_check: user sid is S-1-5-21-3516781642-1962875130-3438800523-1000
se_access_check: also S-1-5-21-3516781642-1962875130-3438800523-512
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
free_pipe_context: destroying talloc pool of size 816
Transaction 8 of length 134
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 720e)free_pipe_context:
destroying talloc pool of size 0
free_pipe_context: destroying talloc pool of size 0
Transaction 9 of length 134
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 720e)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
free_pipe_context: destroying talloc pool of size 512
Transaction 10 of length 104
switch message SMBntcreateX (pid 8023)
nt_open_pipe: Known pipe winreg opening.
Transaction 11 of length 160
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=72 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)api_pipe_bind_req:
\PIPE\winreg -> \PIPE\winreg
check_bind_req for \PIPE\winreg
Transaction 12 of length 124
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=36 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: REG_OPEN_HKLM
free_pipe_context: destroying talloc pool of size 0
Transaction 13 of length 272
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=184 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: REG_OPEN_ENTRY
free_pipe_context: destroying talloc pool of size 110
Transaction 14 of length 236
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=148 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: REG_INFO
free_pipe_context: destroying talloc pool of size 42
Transaction 15 of length 132
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 16 of length 132
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 720f)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 17 of length 45
switch message SMBclose (pid 8023)
Transaction 18 of length 100
switch message SMBntcreateX (pid 8023)
nt_open_pipe: Known pipe samr opening.
Transaction 19 of length 160
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=72 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)api_pipe_bind_req:
\PIPE\samr -> \PIPE\lsass
check_bind_req for \PIPE\samr
Transaction 20 of length 152
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=64 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_CONNECT4
se_access_check: user sid is S-1-5-21-3516781642-1962875130-3438800523-1000
se_access_check: also S-1-5-21-3516781642-1962875130-3438800523-512
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
free_pipe_context: destroying talloc pool of size 748
Transaction 21 of length 140
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=52 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_ENUM_DOMAINS
free_pipe_context: destroying talloc pool of size 1080
Transaction 22 of length 170
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=82 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_LOOKUP_DOMAIN
Returning domain sid for domain TECHGROUP ->
S-1-5-21-2924897325-2396345819-675404899
free_pipe_context: destroying talloc pool of size 18
Transaction 23 of length 164
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=76 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_OPEN_DOMAIN
se_access_check: user sid is S-1-5-21-3516781642-1962875130-3438800523-1000
se_access_check: also S-1-5-21-3516781642-1962875130-3438800523-512
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
free_pipe_context: destroying talloc pool of size 732
Transaction 24 of length 172
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=84 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_CREATE_USER
push_sec_ctx(0, 512) : sec_ctx_stack_ndx = 1
push_conn_ctx(100) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
smbldap_search_suffix: searching
for:[(&(uid=sales$)(objectclass=sambaSamAccount))]
pop_sec_ctx (0, 512) - sec_ctx_stack_ndx = 0
failed to add entry: Already exists at /usr/local/sbin//smbldap_tools.pm
line 302.
_samr_create_user: Running the command
`/usr/local/sbin/smbldap-useradd.pl -a -w "sales"' gave 0
free_pipe_context: destroying talloc pool of size 14
Transaction 25 of length 132
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_CLOSE_HND
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 26 of length 132
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 7210)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: SAMR_CLOSE_HND
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 27 of length 45
switch message SMBclose (pid 8023)
Transaction 28 of length 132
switch message SMBtrans (pid 8023)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 720e)free_pipe_context:
destroying talloc pool of size 0
api_rpcTNP: rpc command: LSA_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 29 of length 45
switch message SMBclose (pid 8023)
Transaction 30 of length 39
switch message SMBtdis (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
sales (192.168.0.102) closed connection to service IPC$
Yielding connection to IPC$
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Transaction 31 of length 43
switch message SMBulogoffX (pid 8023)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
ulogoffX vuid=100
timeout_processing: End of file from client (client has disconnected).
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Closing connections
Yielding connection to
Server exit (normal exit)
More information about the samba
mailing list