By josseossa
I’m working in AIX 6.1, i’ve installed samba and i managed myself to share a folder and be able to write a read from windows. i tried to log the machine in the domain, but i couldn’t, the machine appeared in the domain but in the UNIX it show a message that the operation was failed. Now the last useful configuration as standalone server doesn’t work.
This is mi smb.conf file:
# Samba config file created using SWAT
# from 10.18.1.43 (10.18.1.43)
# Date: 2013/07/16 16:00:56
[global]
workgroup = XXXXXX
security = SHARE
passdb backend = tdbsam
guest account = sambapru
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
load printers = No
[public]
comment = Public Stuff
path = /XXXXXX/pruebas31
force user = sambapru
force group = staff
read only = No
guest ok = Yes
I checked the users prmissions on share and they’re ok, this are the permissions on shared folder:
root@YYYYYY:/> ls -dltr /psreports/pruebas31
drwxrwxr-x 5 sambapru staff 256 Jul 16 15:04 /XXXXXXX/pruebas31
and this is the error log when i establish a new connection to share from windows:
[2013/07/16 15:01:45, 3] smbd/process.c:process_smb(1110)
Transaction 1 of length 137
[2013/07/16 15:01:45, 3] smbd/process.c:switch_message(914)
switch message SMBnegprot (pid 618634) conn 0x0
[2013/07/16 15:01:45, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [LANMAN1.0]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [Windows for Workgroups 3.1a]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [LM1.2X002]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [LANMAN2.1]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(508)
Requested protocol [NT LM 0.12]
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_nt1(360)
not using SPNEGO
[2013/07/16 15:01:45, 3] smbd/negprot.c:reply_negprot(609)
Selected protocol NT LM 0.12
[2013/07/16 15:01:45, 3] smbd/process.c:process_smb(1110)
Transaction 2 of length 246
[2013/07/16 15:01:45, 3] smbd/process.c:switch_message(914)
switch message SMBsesssetupX (pid 618634) conn 0x0
[2013/07/16 15:01:45, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/07/16 15:01:45, 3] ...read more
Reports are pouring in about the manhunt for suspected 